@wgb5445/aptos-intent-npm 0.0.11 → 0.0.12

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.
@@ -18,6 +18,28 @@ export enum BatchArgumentType {
18
18
  */
19
19
  export class BatchArgument {
20
20
  free(): void;
21
+ /**
22
+ * @param {Uint8Array} bytes
23
+ * @returns {BatchArgument}
24
+ */
25
+ static new_bytes(bytes: Uint8Array): BatchArgument;
26
+ /**
27
+ * @param {number} signer_idx
28
+ * @returns {BatchArgument}
29
+ */
30
+ static new_signer(signer_idx: number): BatchArgument;
31
+ /**
32
+ * @returns {BatchArgument}
33
+ */
34
+ borrow(): BatchArgument;
35
+ /**
36
+ * @returns {BatchArgument}
37
+ */
38
+ borrow_mut(): BatchArgument;
39
+ /**
40
+ * @returns {BatchArgument}
41
+ */
42
+ copy(): BatchArgument;
21
43
  }
22
44
  /**
23
45
  * Call a Move entry function.
@@ -70,11 +92,11 @@ export interface InitOutput {
70
92
  readonly batchedfunctioncallbuilder_add_batched_call: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
71
93
  readonly batchedfunctioncallbuilder_generate_batched_calls: (a: number, b: number) => void;
72
94
  readonly batchedfunctioncallbuilder_load_module: (a: number, b: number, c: number, d: number, e: number) => number;
73
- readonly batchargumentwasm_new_bytes: (a: number, b: number) => number;
74
- readonly batchargumentwasm_new_signer: (a: number) => number;
75
- readonly batchargumentwasm_borrow: (a: number, b: number) => void;
76
- readonly batchargumentwasm_borrow_mut: (a: number, b: number) => void;
77
- readonly batchargumentwasm_copy: (a: number, b: number) => void;
95
+ readonly batchargument_new_bytes: (a: number, b: number) => number;
96
+ readonly batchargument_new_signer: (a: number) => number;
97
+ readonly batchargument_borrow: (a: number, b: number) => void;
98
+ readonly batchargument_borrow_mut: (a: number, b: number) => void;
99
+ readonly batchargument_copy: (a: number, b: number) => void;
78
100
  readonly __wbg_batchedfunctioncall_free: (a: number) => void;
79
101
  readonly __wbindgen_malloc: (a: number, b: number) => number;
80
102
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
@@ -106,3 +128,5 @@ export function initSync(module: SyncInitInput): InitOutput;
106
128
  * @returns {Promise<InitOutput>}
107
129
  */
108
130
  export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
131
+
132
+ export function get_wasm(): Promise<any>;