@wgb5445/aptos-intent-npm 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/aptos_dynamic_transaction_composer.d.ts +14 -43
- package/dist/cjs/entry.js +75 -77
- package/dist/esm/entry.js +76 -77
- package/package.json +5 -3
@@ -6,69 +6,39 @@
|
|
6
6
|
* @returns {(MoveFunctionCall)[]}
|
7
7
|
*/
|
8
8
|
export function generate_batched_call_payload_wasm(script: Uint8Array): (MoveFunctionCall)[];
|
9
|
-
|
10
|
-
|
11
|
-
*/
|
12
|
-
export enum ArgumentOperation {
|
13
|
-
/**
|
14
|
-
* Move the returned value to the next caller. This can be used for values that don't have
|
15
|
-
* `copy` ability.
|
16
|
-
*/
|
17
|
-
Move = 0,
|
18
|
-
/**
|
19
|
-
* Copy the returned value and pass it to the next caller.
|
20
|
-
*/
|
21
|
-
Copy = 1,
|
22
|
-
/**
|
23
|
-
* Borrow an immutable reference from a returned value and pass it to the next caller.
|
24
|
-
*/
|
25
|
-
Borrow = 2,
|
26
|
-
/**
|
27
|
-
* Borrow a mutable reference from a returned value and pass it to the next caller.
|
28
|
-
*/
|
29
|
-
BorrowMut = 3,
|
9
|
+
export class AllocatedLocal {
|
10
|
+
free(): void;
|
30
11
|
}
|
31
|
-
export
|
32
|
-
|
33
|
-
is_parameter: boolean;
|
34
|
-
local_idx: number;
|
12
|
+
export class BuilderCall {
|
13
|
+
free(): void;
|
35
14
|
}
|
36
|
-
|
37
15
|
/**
|
38
|
-
*
|
16
|
+
* WASM Representation of CallArgument. This is because wasm_bindgen can only support c-style enum.
|
39
17
|
*/
|
40
|
-
// export type CallArgument = { Raw: number[] } | { Signer: number } | { PreviousResult: PreviousResult };
|
41
|
-
|
42
18
|
export class CallArgument {
|
43
19
|
free(): void;
|
44
20
|
/**
|
45
21
|
* @param {Uint8Array} bytes
|
46
22
|
* @returns {CallArgument}
|
47
23
|
*/
|
48
|
-
static new_bytes(bytes: Uint8Array)
|
24
|
+
static new_bytes(bytes: Uint8Array): CallArgument;
|
49
25
|
/**
|
50
26
|
* @param {number} signer_idx
|
51
27
|
* @returns {CallArgument}
|
52
28
|
*/
|
53
|
-
static new_signer(signer_idx: number)
|
29
|
+
static new_signer(signer_idx: number): CallArgument;
|
54
30
|
/**
|
55
31
|
* @returns {CallArgument}
|
56
32
|
*/
|
57
|
-
borrow(): CallArgument
|
33
|
+
borrow(): CallArgument;
|
58
34
|
/**
|
59
35
|
* @returns {CallArgument}
|
60
36
|
*/
|
61
|
-
borrow_mut()
|
37
|
+
borrow_mut(): CallArgument;
|
62
38
|
/**
|
63
39
|
* @returns {CallArgument}
|
64
40
|
*/
|
65
|
-
copy()
|
66
|
-
}
|
67
|
-
export class AllocatedLocal {
|
68
|
-
free(): void;
|
69
|
-
}
|
70
|
-
export class BuilderCall {
|
71
|
-
free(): void;
|
41
|
+
copy(): CallArgument;
|
72
42
|
}
|
73
43
|
export class IntoUnderlyingByteSource {
|
74
44
|
free(): void;
|
@@ -213,14 +183,15 @@ export interface InitOutput {
|
|
213
183
|
readonly transactioncomposer_load_module: (a: number, b: number, c: number, d: number, e: number) => number;
|
214
184
|
readonly transactioncomposer_load_type_tag: (a: number, b: number, c: number, d: number, e: number) => number;
|
215
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;
|
216
|
-
readonly
|
217
|
-
readonly __wbg_previousresult_free: (a: number, b: number) => void;
|
218
|
-
readonly __wbg_movefunctioncall_free: (a: number, b: number) => void;
|
186
|
+
readonly __wbg_callargument_free: (a: number, b: number) => void;
|
219
187
|
readonly callargument_new_bytes: (a: number, b: number) => number;
|
220
188
|
readonly callargument_new_signer: (a: number) => number;
|
221
189
|
readonly callargument_borrow: (a: number, b: number) => void;
|
222
190
|
readonly callargument_borrow_mut: (a: number, b: number) => void;
|
223
191
|
readonly callargument_copy: (a: number, b: number) => void;
|
192
|
+
readonly generate_batched_call_payload_wasm: (a: number, b: number, c: number) => void;
|
193
|
+
readonly __wbg_previousresult_free: (a: number, b: number) => void;
|
194
|
+
readonly __wbg_movefunctioncall_free: (a: number, b: number) => void;
|
224
195
|
readonly __wbg_readablestreamgetreaderoptions_free: (a: number, b: number) => void;
|
225
196
|
readonly readablestreamgetreaderoptions_mode: (a: number) => number;
|
226
197
|
readonly __wbg_pipeoptions_free: (a: number, b: number) => void;
|