Skip to content

Commit 4fef2d0

Browse files
committed
Exporting necessary types
1 parent f5f4c10 commit 4fef2d0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@execution-machine/sdk",
3-
"version": "0.1.38",
3+
"version": "0.1.39",
44
"description": "",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/test/test-function.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
import {ExecuteConfig, simulateContract, SimulateContractType, SimulateInput, Tag} from "three-em-0-3-14";
22
import {guidGenerator} from "../common/utils/commons";
33

4+
export type TestContractType = SimulateContractType;
5+
export type WriteInput = SimulateInput;
6+
export type ExecutionConfig = ExecuteConfig;
7+
48
export interface TestFunctionOpts {
59
contractSource: Uint8Array,
6-
contractType: SimulateContractType,
10+
contractType: TestContractType,
711
contractInitState: any;
8-
writes: SimulateInput[];
9-
gatewayConfig?: ExecuteConfig
12+
writes: WriteInput[];
13+
gatewayConfig?: ExecutionConfig
1014
settings?: Record<string, any> | undefined | null,
1115
exmContext?: any | undefined | null
1216
}

0 commit comments

Comments
 (0)