@wgb5445/aptos-intent-npm 0.0.4 → 0.0.6

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.
@@ -1,13 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- */
5
- export enum ArgumentOperation {
6
- Move = 0,
7
- Copy = 1,
8
- Borrow = 2,
9
- BorrowMut = 3,
10
- }
3
+
4
+ import * as exp from "constants";
5
+
11
6
  /**
12
7
  * Arguments for each function.
13
8
  */
@@ -17,6 +12,14 @@ export enum BatchArgumentType {
17
12
  PreviousResult = 2,
18
13
  }
19
14
  /**
15
+ */
16
+ export enum ArgumentOperation {
17
+ Move = 0,
18
+ Copy = 1,
19
+ Borrow = 2,
20
+ BorrowMut = 3,
21
+ }
22
+ /**
20
23
  * Arguments for each function. Wasm bindgen only support C-style enum so use option to work around.
21
24
  */
22
25
  export class BatchArgument {
@@ -76,11 +79,11 @@ export class BatchedFunctionCallBuilder {
76
79
  */
77
80
  generate_batched_calls(): Uint8Array;
78
81
  /**
79
- * @param {string} network
82
+ * @param {string} api_url
80
83
  * @param {string} module_name
81
84
  * @returns {Promise<void>}
82
85
  */
83
- load_module(network: string, module_name: string): Promise<void>;
86
+ load_module(api_url: string, module_name: string): Promise<void>;
84
87
  }
85
88
  /**
86
89
  */
@@ -137,5 +140,4 @@ export function initSync(module: SyncInitInput): InitOutput;
137
140
  */
138
141
  export function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
139
142
 
140
-
141
- export function get_wasm()
143
+ export function get_wasm(): any