@aptos-labs/script-composer-pack 0.0.10-beta.1 → 0.0.10-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.d.mts CHANGED
@@ -2,82 +2,48 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Wrapper to decompile script in its serialized form and wrap it with wasm errors.
5
- * @param {Uint8Array} script
6
- * @returns {(MoveFunctionCall)[]}
7
5
  */
8
- declare function generate_batched_call_payload_wasm(script: Uint8Array): (MoveFunctionCall)[];
6
+ declare function generate_batched_call_payload_wasm(script: Uint8Array): MoveFunctionCall[];
7
+ type ReadableStreamReaderMode = "byob";
9
8
  declare class AllocatedLocal {
9
+ private constructor();
10
10
  free(): void;
11
11
  }
12
12
  declare class BuilderCall {
13
+ private constructor();
13
14
  free(): void;
14
15
  }
15
16
  /**
16
17
  * WASM Representation of CallArgument. This is because wasm_bindgen can only support c-style enum.
17
18
  */
18
19
  declare class CallArgument {
20
+ private constructor();
19
21
  free(): void;
20
- /**
21
- * @param {Uint8Array} bytes
22
- * @returns {CallArgument}
23
- */
24
22
  static newBytes(bytes: Uint8Array): CallArgument;
25
- /**
26
- * @param {number} signer_idx
27
- * @returns {CallArgument}
28
- */
29
23
  static newSigner(signer_idx: number): CallArgument;
30
- /**
31
- * @returns {CallArgument}
32
- */
33
24
  borrow(): CallArgument;
34
- /**
35
- * @returns {CallArgument}
36
- */
37
25
  borrowMut(): CallArgument;
38
- /**
39
- * @returns {CallArgument}
40
- */
41
26
  copy(): CallArgument;
42
27
  }
43
28
  declare class IntoUnderlyingByteSource {
29
+ private constructor();
44
30
  free(): void;
45
- /**
46
- * @param {any} controller
47
- */
48
31
  start(controller: any): void;
49
- /**
50
- * @param {any} controller
51
- * @returns {Promise<any>}
52
- */
53
32
  pull(controller: any): Promise<any>;
54
33
  cancel(): void;
55
- readonly autoAllocateChunkSize: number;
56
34
  readonly type: string;
35
+ readonly autoAllocateChunkSize: number;
57
36
  }
58
37
  declare class IntoUnderlyingSink {
38
+ private constructor();
59
39
  free(): void;
60
- /**
61
- * @param {any} chunk
62
- * @returns {Promise<any>}
63
- */
64
40
  write(chunk: any): Promise<any>;
65
- /**
66
- * @returns {Promise<any>}
67
- */
68
41
  close(): Promise<any>;
69
- /**
70
- * @param {any} reason
71
- * @returns {Promise<any>}
72
- */
73
42
  abort(reason: any): Promise<any>;
74
43
  }
75
44
  declare class IntoUnderlyingSource {
45
+ private constructor();
76
46
  free(): void;
77
- /**
78
- * @param {any} controller
79
- * @returns {Promise<any>}
80
- */
81
47
  pull(controller: any): Promise<any>;
82
48
  cancel(): void;
83
49
  }
@@ -88,25 +54,29 @@ declare class IntoUnderlyingSource {
88
54
  * which can be a return value of a previous `MoveFunctionCall`.
89
55
  */
90
56
  declare class MoveFunctionCall {
57
+ private constructor();
91
58
  free(): void;
92
59
  }
93
60
  /**
94
61
  * Raw options for [`pipeTo()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo).
95
62
  */
96
63
  declare class PipeOptions {
64
+ private constructor();
97
65
  free(): void;
98
- readonly preventAbort: boolean;
99
- readonly preventCancel: boolean;
100
66
  readonly preventClose: boolean;
67
+ readonly preventCancel: boolean;
68
+ readonly preventAbort: boolean;
101
69
  readonly signal: AbortSignal | undefined;
102
70
  }
103
71
  /**
104
72
  * Representing a returned value from a previous list of `MoveFunctionCall`s.
105
73
  */
106
74
  declare class PreviousResult {
75
+ private constructor();
107
76
  free(): void;
108
77
  }
109
78
  declare class QueuingStrategy {
79
+ private constructor();
110
80
  free(): void;
111
81
  readonly highWaterMark: number;
112
82
  }
@@ -114,44 +84,35 @@ declare class QueuingStrategy {
114
84
  * Raw options for [`getReader()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader).
115
85
  */
116
86
  declare class ReadableStreamGetReaderOptions {
87
+ private constructor();
117
88
  free(): void;
118
- readonly mode: any;
89
+ readonly mode: ReadableStreamReaderMode;
119
90
  }
120
91
  declare class TransactionComposer {
92
+ private constructor();
121
93
  free(): void;
122
94
  /**
123
95
  * Create a builder with one distinct signer available. This should be the default configuration.
124
- * @returns {TransactionComposer}
125
96
  */
126
97
  static single_signer(): TransactionComposer;
127
98
  /**
128
99
  * Create a builder with one signer needed for script. This would be needed for multi-agent
129
100
  * transaction where multiple signers are present.
130
- * @param {number} signer_count
131
- * @returns {TransactionComposer}
132
101
  */
133
102
  static multi_signer(signer_count: number): TransactionComposer;
134
103
  /**
135
104
  * Consume the builder and generate a serialized script with calls in the builder.
136
- * @param {boolean} with_metadata
137
- * @returns {Uint8Array}
138
105
  */
139
106
  generate_batched_calls(with_metadata: boolean): Uint8Array;
140
107
  /**
141
108
  * Load up a module from a remote endpoint. Will need to invoke this function prior to the
142
109
  * call.
143
- * @param {string} api_url
144
- * @param {string} module_name
145
- * @returns {Promise<void>}
146
110
  */
147
- load_module(api_url: string, module_name: string): Promise<void>;
111
+ load_module(api_url: string, api_key: string, module_name: string): Promise<void>;
148
112
  /**
149
113
  * Load up the dependency modules of a TypeTag from a remote endpoint.
150
- * @param {string} api_url
151
- * @param {string} type_tag
152
- * @returns {Promise<void>}
153
114
  */
154
- load_type_tag(api_url: string, type_tag: string): Promise<void>;
115
+ load_type_tag(api_url: string, api_key: string, type_tag: string): Promise<void>;
155
116
  /**
156
117
  * This would be the core api for the `TransactionComposer`. The function would:
157
118
  * - add the function call to the builder
@@ -161,13 +122,8 @@ declare class TransactionComposer {
161
122
  *
162
123
  * This function would also check for the ability and type safety when passing values
163
124
  * into the function call, and will abort if there's a violation.
164
- * @param {string} module
165
- * @param {string} _function
166
- * @param {(string)[]} ty_args
167
- * @param {(CallArgument)[]} args
168
- * @returns {(CallArgument)[]}
169
125
  */
170
- add_batched_call(module: string, _function: string, ty_args: (string)[], args: (CallArgument)[]): (CallArgument)[];
126
+ add_batched_call(module: string, _function: string, ty_args: string[], args: CallArgument[]): CallArgument[];
171
127
  }
172
128
 
173
129
  type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
@@ -179,49 +135,53 @@ interface InitOutput {
179
135
  readonly __wbg_transactioncomposer_free: (a: number, b: number) => void;
180
136
  readonly transactioncomposer_single_signer: () => number;
181
137
  readonly transactioncomposer_multi_signer: (a: number) => number;
182
- readonly transactioncomposer_generate_batched_calls: (a: number, b: number, c: number) => void;
183
- readonly transactioncomposer_load_module: (a: number, b: number, c: number, d: number, e: number) => number;
184
- readonly transactioncomposer_load_type_tag: (a: number, b: number, c: number, d: number, e: number) => number;
185
- readonly transactioncomposer_add_batched_call: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
138
+ readonly transactioncomposer_generate_batched_calls: (a: number, b: number) => [number, number, number, number];
139
+ readonly transactioncomposer_load_module: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
140
+ readonly transactioncomposer_load_type_tag: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
141
+ readonly transactioncomposer_add_batched_call: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number, number, number];
186
142
  readonly __wbg_callargument_free: (a: number, b: number) => void;
187
143
  readonly callargument_newBytes: (a: number, b: number) => number;
188
144
  readonly callargument_newSigner: (a: number) => number;
189
- readonly callargument_borrow: (a: number, b: number) => void;
190
- readonly callargument_borrowMut: (a: number, b: number) => void;
191
- readonly callargument_copy: (a: number, b: number) => void;
192
- readonly generate_batched_call_payload_wasm: (a: number, b: number, c: number) => void;
145
+ readonly callargument_borrow: (a: number) => [number, number, number];
146
+ readonly callargument_borrowMut: (a: number) => [number, number, number];
147
+ readonly callargument_copy: (a: number) => [number, number, number];
193
148
  readonly __wbg_previousresult_free: (a: number, b: number) => void;
194
149
  readonly __wbg_movefunctioncall_free: (a: number, b: number) => void;
150
+ readonly generate_batched_call_payload_wasm: (a: number, b: number) => [number, number, number, number];
151
+ readonly __wbg_queuingstrategy_free: (a: number, b: number) => void;
152
+ readonly queuingstrategy_highWaterMark: (a: number) => number;
153
+ readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
154
+ readonly intounderlyingsink_write: (a: number, b: any) => any;
155
+ readonly intounderlyingsink_close: (a: number) => any;
156
+ readonly intounderlyingsink_abort: (a: number, b: any) => any;
157
+ readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
158
+ readonly intounderlyingbytesource_type: (a: number) => [number, number];
159
+ readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
160
+ readonly intounderlyingbytesource_start: (a: number, b: any) => void;
161
+ readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
162
+ readonly intounderlyingbytesource_cancel: (a: number) => void;
163
+ readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
164
+ readonly intounderlyingsource_pull: (a: number, b: any) => any;
165
+ readonly intounderlyingsource_cancel: (a: number) => void;
195
166
  readonly __wbg_readablestreamgetreaderoptions_free: (a: number, b: number) => void;
196
167
  readonly readablestreamgetreaderoptions_mode: (a: number) => number;
197
168
  readonly __wbg_pipeoptions_free: (a: number, b: number) => void;
198
169
  readonly pipeoptions_preventClose: (a: number) => number;
199
170
  readonly pipeoptions_preventCancel: (a: number) => number;
200
171
  readonly pipeoptions_preventAbort: (a: number) => number;
201
- readonly pipeoptions_signal: (a: number) => number;
202
- readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
203
- readonly intounderlyingsource_pull: (a: number, b: number) => number;
204
- readonly intounderlyingsource_cancel: (a: number) => void;
205
- readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
206
- readonly intounderlyingbytesource_type: (a: number, b: number) => void;
207
- readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
208
- readonly intounderlyingbytesource_start: (a: number, b: number) => void;
209
- readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
210
- readonly intounderlyingbytesource_cancel: (a: number) => void;
211
- readonly __wbg_queuingstrategy_free: (a: number, b: number) => void;
212
- readonly queuingstrategy_highWaterMark: (a: number) => number;
213
- readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
214
- readonly intounderlyingsink_write: (a: number, b: number) => number;
215
- readonly intounderlyingsink_close: (a: number) => number;
216
- readonly intounderlyingsink_abort: (a: number, b: number) => number;
172
+ readonly pipeoptions_signal: (a: number) => any;
173
+ readonly __wbindgen_exn_store: (a: number) => void;
174
+ readonly __externref_table_alloc: () => number;
175
+ readonly __wbindgen_export_2: WebAssembly.Table;
217
176
  readonly __wbindgen_malloc: (a: number, b: number) => number;
218
177
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
219
- readonly __wbindgen_export_2: WebAssembly.Table;
220
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h05d404cb64162693: (a: number, b: number, c: number) => void;
221
- readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
178
+ readonly __wbindgen_export_5: WebAssembly.Table;
179
+ readonly __externref_table_dealloc: (a: number) => void;
222
180
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
223
- readonly __wbindgen_exn_store: (a: number) => void;
224
- readonly wasm_bindgen__convert__closures__invoke2_mut__hbdef1ea83a9567de: (a: number, b: number, c: number, d: number) => void;
181
+ readonly __externref_drop_slice: (a: number, b: number) => void;
182
+ readonly closure294_externref_shim: (a: number, b: number, c: any) => void;
183
+ readonly closure589_externref_shim: (a: number, b: number, c: any, d: any) => void;
184
+ readonly __wbindgen_start: () => void;
225
185
  }
226
186
 
227
187
  type SyncInitInput = BufferSource | WebAssembly.Module;
package/dist/main.d.ts CHANGED
@@ -2,82 +2,48 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Wrapper to decompile script in its serialized form and wrap it with wasm errors.
5
- * @param {Uint8Array} script
6
- * @returns {(MoveFunctionCall)[]}
7
5
  */
8
- declare function generate_batched_call_payload_wasm(script: Uint8Array): (MoveFunctionCall)[];
6
+ declare function generate_batched_call_payload_wasm(script: Uint8Array): MoveFunctionCall[];
7
+ type ReadableStreamReaderMode = "byob";
9
8
  declare class AllocatedLocal {
9
+ private constructor();
10
10
  free(): void;
11
11
  }
12
12
  declare class BuilderCall {
13
+ private constructor();
13
14
  free(): void;
14
15
  }
15
16
  /**
16
17
  * WASM Representation of CallArgument. This is because wasm_bindgen can only support c-style enum.
17
18
  */
18
19
  declare class CallArgument {
20
+ private constructor();
19
21
  free(): void;
20
- /**
21
- * @param {Uint8Array} bytes
22
- * @returns {CallArgument}
23
- */
24
22
  static newBytes(bytes: Uint8Array): CallArgument;
25
- /**
26
- * @param {number} signer_idx
27
- * @returns {CallArgument}
28
- */
29
23
  static newSigner(signer_idx: number): CallArgument;
30
- /**
31
- * @returns {CallArgument}
32
- */
33
24
  borrow(): CallArgument;
34
- /**
35
- * @returns {CallArgument}
36
- */
37
25
  borrowMut(): CallArgument;
38
- /**
39
- * @returns {CallArgument}
40
- */
41
26
  copy(): CallArgument;
42
27
  }
43
28
  declare class IntoUnderlyingByteSource {
29
+ private constructor();
44
30
  free(): void;
45
- /**
46
- * @param {any} controller
47
- */
48
31
  start(controller: any): void;
49
- /**
50
- * @param {any} controller
51
- * @returns {Promise<any>}
52
- */
53
32
  pull(controller: any): Promise<any>;
54
33
  cancel(): void;
55
- readonly autoAllocateChunkSize: number;
56
34
  readonly type: string;
35
+ readonly autoAllocateChunkSize: number;
57
36
  }
58
37
  declare class IntoUnderlyingSink {
38
+ private constructor();
59
39
  free(): void;
60
- /**
61
- * @param {any} chunk
62
- * @returns {Promise<any>}
63
- */
64
40
  write(chunk: any): Promise<any>;
65
- /**
66
- * @returns {Promise<any>}
67
- */
68
41
  close(): Promise<any>;
69
- /**
70
- * @param {any} reason
71
- * @returns {Promise<any>}
72
- */
73
42
  abort(reason: any): Promise<any>;
74
43
  }
75
44
  declare class IntoUnderlyingSource {
45
+ private constructor();
76
46
  free(): void;
77
- /**
78
- * @param {any} controller
79
- * @returns {Promise<any>}
80
- */
81
47
  pull(controller: any): Promise<any>;
82
48
  cancel(): void;
83
49
  }
@@ -88,25 +54,29 @@ declare class IntoUnderlyingSource {
88
54
  * which can be a return value of a previous `MoveFunctionCall`.
89
55
  */
90
56
  declare class MoveFunctionCall {
57
+ private constructor();
91
58
  free(): void;
92
59
  }
93
60
  /**
94
61
  * Raw options for [`pipeTo()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo).
95
62
  */
96
63
  declare class PipeOptions {
64
+ private constructor();
97
65
  free(): void;
98
- readonly preventAbort: boolean;
99
- readonly preventCancel: boolean;
100
66
  readonly preventClose: boolean;
67
+ readonly preventCancel: boolean;
68
+ readonly preventAbort: boolean;
101
69
  readonly signal: AbortSignal | undefined;
102
70
  }
103
71
  /**
104
72
  * Representing a returned value from a previous list of `MoveFunctionCall`s.
105
73
  */
106
74
  declare class PreviousResult {
75
+ private constructor();
107
76
  free(): void;
108
77
  }
109
78
  declare class QueuingStrategy {
79
+ private constructor();
110
80
  free(): void;
111
81
  readonly highWaterMark: number;
112
82
  }
@@ -114,44 +84,35 @@ declare class QueuingStrategy {
114
84
  * Raw options for [`getReader()`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader).
115
85
  */
116
86
  declare class ReadableStreamGetReaderOptions {
87
+ private constructor();
117
88
  free(): void;
118
- readonly mode: any;
89
+ readonly mode: ReadableStreamReaderMode;
119
90
  }
120
91
  declare class TransactionComposer {
92
+ private constructor();
121
93
  free(): void;
122
94
  /**
123
95
  * Create a builder with one distinct signer available. This should be the default configuration.
124
- * @returns {TransactionComposer}
125
96
  */
126
97
  static single_signer(): TransactionComposer;
127
98
  /**
128
99
  * Create a builder with one signer needed for script. This would be needed for multi-agent
129
100
  * transaction where multiple signers are present.
130
- * @param {number} signer_count
131
- * @returns {TransactionComposer}
132
101
  */
133
102
  static multi_signer(signer_count: number): TransactionComposer;
134
103
  /**
135
104
  * Consume the builder and generate a serialized script with calls in the builder.
136
- * @param {boolean} with_metadata
137
- * @returns {Uint8Array}
138
105
  */
139
106
  generate_batched_calls(with_metadata: boolean): Uint8Array;
140
107
  /**
141
108
  * Load up a module from a remote endpoint. Will need to invoke this function prior to the
142
109
  * call.
143
- * @param {string} api_url
144
- * @param {string} module_name
145
- * @returns {Promise<void>}
146
110
  */
147
- load_module(api_url: string, module_name: string): Promise<void>;
111
+ load_module(api_url: string, api_key: string, module_name: string): Promise<void>;
148
112
  /**
149
113
  * Load up the dependency modules of a TypeTag from a remote endpoint.
150
- * @param {string} api_url
151
- * @param {string} type_tag
152
- * @returns {Promise<void>}
153
114
  */
154
- load_type_tag(api_url: string, type_tag: string): Promise<void>;
115
+ load_type_tag(api_url: string, api_key: string, type_tag: string): Promise<void>;
155
116
  /**
156
117
  * This would be the core api for the `TransactionComposer`. The function would:
157
118
  * - add the function call to the builder
@@ -161,13 +122,8 @@ declare class TransactionComposer {
161
122
  *
162
123
  * This function would also check for the ability and type safety when passing values
163
124
  * into the function call, and will abort if there's a violation.
164
- * @param {string} module
165
- * @param {string} _function
166
- * @param {(string)[]} ty_args
167
- * @param {(CallArgument)[]} args
168
- * @returns {(CallArgument)[]}
169
125
  */
170
- add_batched_call(module: string, _function: string, ty_args: (string)[], args: (CallArgument)[]): (CallArgument)[];
126
+ add_batched_call(module: string, _function: string, ty_args: string[], args: CallArgument[]): CallArgument[];
171
127
  }
172
128
 
173
129
  type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
@@ -179,49 +135,53 @@ interface InitOutput {
179
135
  readonly __wbg_transactioncomposer_free: (a: number, b: number) => void;
180
136
  readonly transactioncomposer_single_signer: () => number;
181
137
  readonly transactioncomposer_multi_signer: (a: number) => number;
182
- readonly transactioncomposer_generate_batched_calls: (a: number, b: number, c: number) => void;
183
- readonly transactioncomposer_load_module: (a: number, b: number, c: number, d: number, e: number) => number;
184
- readonly transactioncomposer_load_type_tag: (a: number, b: number, c: number, d: number, e: number) => number;
185
- readonly transactioncomposer_add_batched_call: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
138
+ readonly transactioncomposer_generate_batched_calls: (a: number, b: number) => [number, number, number, number];
139
+ readonly transactioncomposer_load_module: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
140
+ readonly transactioncomposer_load_type_tag: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
141
+ readonly transactioncomposer_add_batched_call: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number, number, number];
186
142
  readonly __wbg_callargument_free: (a: number, b: number) => void;
187
143
  readonly callargument_newBytes: (a: number, b: number) => number;
188
144
  readonly callargument_newSigner: (a: number) => number;
189
- readonly callargument_borrow: (a: number, b: number) => void;
190
- readonly callargument_borrowMut: (a: number, b: number) => void;
191
- readonly callargument_copy: (a: number, b: number) => void;
192
- readonly generate_batched_call_payload_wasm: (a: number, b: number, c: number) => void;
145
+ readonly callargument_borrow: (a: number) => [number, number, number];
146
+ readonly callargument_borrowMut: (a: number) => [number, number, number];
147
+ readonly callargument_copy: (a: number) => [number, number, number];
193
148
  readonly __wbg_previousresult_free: (a: number, b: number) => void;
194
149
  readonly __wbg_movefunctioncall_free: (a: number, b: number) => void;
150
+ readonly generate_batched_call_payload_wasm: (a: number, b: number) => [number, number, number, number];
151
+ readonly __wbg_queuingstrategy_free: (a: number, b: number) => void;
152
+ readonly queuingstrategy_highWaterMark: (a: number) => number;
153
+ readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
154
+ readonly intounderlyingsink_write: (a: number, b: any) => any;
155
+ readonly intounderlyingsink_close: (a: number) => any;
156
+ readonly intounderlyingsink_abort: (a: number, b: any) => any;
157
+ readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
158
+ readonly intounderlyingbytesource_type: (a: number) => [number, number];
159
+ readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
160
+ readonly intounderlyingbytesource_start: (a: number, b: any) => void;
161
+ readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
162
+ readonly intounderlyingbytesource_cancel: (a: number) => void;
163
+ readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
164
+ readonly intounderlyingsource_pull: (a: number, b: any) => any;
165
+ readonly intounderlyingsource_cancel: (a: number) => void;
195
166
  readonly __wbg_readablestreamgetreaderoptions_free: (a: number, b: number) => void;
196
167
  readonly readablestreamgetreaderoptions_mode: (a: number) => number;
197
168
  readonly __wbg_pipeoptions_free: (a: number, b: number) => void;
198
169
  readonly pipeoptions_preventClose: (a: number) => number;
199
170
  readonly pipeoptions_preventCancel: (a: number) => number;
200
171
  readonly pipeoptions_preventAbort: (a: number) => number;
201
- readonly pipeoptions_signal: (a: number) => number;
202
- readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
203
- readonly intounderlyingsource_pull: (a: number, b: number) => number;
204
- readonly intounderlyingsource_cancel: (a: number) => void;
205
- readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
206
- readonly intounderlyingbytesource_type: (a: number, b: number) => void;
207
- readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
208
- readonly intounderlyingbytesource_start: (a: number, b: number) => void;
209
- readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
210
- readonly intounderlyingbytesource_cancel: (a: number) => void;
211
- readonly __wbg_queuingstrategy_free: (a: number, b: number) => void;
212
- readonly queuingstrategy_highWaterMark: (a: number) => number;
213
- readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
214
- readonly intounderlyingsink_write: (a: number, b: number) => number;
215
- readonly intounderlyingsink_close: (a: number) => number;
216
- readonly intounderlyingsink_abort: (a: number, b: number) => number;
172
+ readonly pipeoptions_signal: (a: number) => any;
173
+ readonly __wbindgen_exn_store: (a: number) => void;
174
+ readonly __externref_table_alloc: () => number;
175
+ readonly __wbindgen_export_2: WebAssembly.Table;
217
176
  readonly __wbindgen_malloc: (a: number, b: number) => number;
218
177
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
219
- readonly __wbindgen_export_2: WebAssembly.Table;
220
- readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h05d404cb64162693: (a: number, b: number, c: number) => void;
221
- readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
178
+ readonly __wbindgen_export_5: WebAssembly.Table;
179
+ readonly __externref_table_dealloc: (a: number) => void;
222
180
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
223
- readonly __wbindgen_exn_store: (a: number) => void;
224
- readonly wasm_bindgen__convert__closures__invoke2_mut__hbdef1ea83a9567de: (a: number, b: number, c: number, d: number) => void;
181
+ readonly __externref_drop_slice: (a: number, b: number) => void;
182
+ readonly closure294_externref_shim: (a: number, b: number, c: any) => void;
183
+ readonly closure589_externref_shim: (a: number, b: number, c: any, d: any) => void;
184
+ readonly __wbindgen_start: () => void;
225
185
  }
226
186
 
227
187
  type SyncInitInput = BufferSource | WebAssembly.Module;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Aptos Labs <opensource@aptoslabs.com>"
5
5
  ],
6
6
  "description": "Generating Move Script from composer",
7
- "version": "0.0.10-beta.1",
7
+ "version": "0.0.10-beta.3",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
@@ -44,9 +44,9 @@
44
44
  }
45
45
  },
46
46
  "dependencies": {
47
- "@aptos-labs/aptos-dynamic-transaction-composer": "0.1.3-beta.2"
47
+ "@aptos-labs/aptos-dynamic-transaction-composer": "0.1.3-beta.3"
48
48
  },
49
49
  "scripts": {
50
- "build": "npx tsup"
50
+ "build": "pnpm tsup"
51
51
  }
52
52
  }