@wgb5445/aptos-intent-npm 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,29 +72,40 @@ export class BatchedFunctionCallBuilder {
72
72
  * @returns {Uint8Array}
73
73
  */
74
74
  generate_batched_calls(): Uint8Array;
75
+ /**
76
+ * @param {string} api_url
77
+ * @param {string} module_name
78
+ * @returns {Promise<void>}
79
+ */
80
+ load_module(api_url: string, module_name: string): Promise<void>;
75
81
  }
76
82
 
77
83
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
78
84
 
79
85
  export interface InitOutput {
80
86
  readonly memory: WebAssembly.Memory;
87
+ readonly generate_intent_payload_wasm: (a: number, b: number, c: number) => void;
81
88
  readonly __wbg_batchargumentwasm_free: (a: number) => void;
82
89
  readonly __wbg_batchedfunctioncallbuilder_free: (a: number) => void;
83
90
  readonly batchedfunctioncallbuilder_single_signer: () => number;
84
91
  readonly batchedfunctioncallbuilder_multi_signer: (a: number) => number;
85
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;
86
93
  readonly batchedfunctioncallbuilder_generate_batched_calls: (a: number, b: number) => void;
94
+ readonly batchedfunctioncallbuilder_load_module: (a: number, b: number, c: number, d: number, e: number) => number;
87
95
  readonly batchargumentwasm_new_bytes: (a: number, b: number) => number;
88
96
  readonly batchargumentwasm_new_signer: (a: number) => number;
89
97
  readonly batchargumentwasm_borrow: (a: number, b: number) => void;
90
98
  readonly batchargumentwasm_borrow_mut: (a: number, b: number) => void;
91
99
  readonly batchargumentwasm_copy: (a: number, b: number) => void;
92
- readonly generate_intent_payload_wasm: (a: number, b: number, c: number) => void;
93
100
  readonly __wbg_batchedfunctioncall_free: (a: number) => void;
94
101
  readonly __wbindgen_malloc: (a: number, b: number) => number;
95
102
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
103
+ readonly __wbindgen_export_2: WebAssembly.Table;
104
+ readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8273ed02fd8578ca: (a: number, b: number, c: number) => void;
96
105
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
97
106
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
107
+ readonly __wbindgen_exn_store: (a: number) => void;
108
+ readonly wasm_bindgen__convert__closures__invoke2_mut__h7a552e5a28352106: (a: number, b: number, c: number, d: number) => void;
98
109
  }
99
110
 
100
111
  export type SyncInitInput = BufferSource | WebAssembly.Module;