@wgb5445/aptos-intent-npm 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/aptos_intent.d.ts +14 -12
- package/dist/cjs/{aptos_intent_bg-C1GQufHE.js → aptos_intent_bg-DG0JV4lY.js} +1 -1
- package/dist/cjs/aptos_intent_bg-DUElQ7EK.js +42 -0
- package/dist/cjs/entry.js +4 -4
- package/dist/esm/aptos_intent_bg-5HKQ9euF.js +40 -0
- package/dist/esm/{aptos_intent_bg-BhFZXsdI.js → aptos_intent_bg-BNAl9sFX.js} +1 -1
- package/dist/esm/entry.js +4 -4
- package/entry.js +5 -0
- package/package.json +11 -2
- package/rollup.config.mjs +18 -0
package/dist/aptos_intent.d.ts
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
/* tslint:disable */
|
2
2
|
/* eslint-disable */
|
3
|
-
|
4
|
-
|
5
|
-
|
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}
|
82
|
+
* @param {string} api_url
|
80
83
|
* @param {string} module_name
|
81
84
|
* @returns {Promise<void>}
|
82
85
|
*/
|
83
|
-
load_module(
|
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
|