@cartridge/controller-wasm 0.9.0 → 0.9.1
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.
- package/package.json +1 -1
- package/pkg-controller/account_wasm.d.ts +32 -32
- package/pkg-controller/account_wasm_bg.js +24 -24
- package/pkg-controller/account_wasm_bg.wasm +0 -0
- package/pkg-session/session_wasm.d.ts +17 -17
- package/pkg-session/session_wasm_bg.js +24 -24
- package/pkg-session/session_wasm_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Result type for signExecuteFromOutside containing both the OutsideExecution and signature
|
|
5
|
+
*/
|
|
6
|
+
export interface JsSignedOutsideExecution {
|
|
7
|
+
outside_execution: JsOutsideExecutionV3;
|
|
8
|
+
signature: JsFelt[];
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
/**
|
|
4
12
|
* JavaScript-friendly OutsideExecution V3 structure
|
|
5
13
|
*/
|
|
@@ -11,18 +19,10 @@ export interface JsOutsideExecutionV3 {
|
|
|
11
19
|
nonce: [JsFelt, JsFelt];
|
|
12
20
|
}
|
|
13
21
|
|
|
14
|
-
|
|
15
|
-
* Result type for signExecuteFromOutside containing both the OutsideExecution and signature
|
|
16
|
-
*/
|
|
17
|
-
export interface JsSignedOutsideExecution {
|
|
18
|
-
outside_execution: JsOutsideExecutionV3;
|
|
19
|
-
signature: JsFelt[];
|
|
20
|
-
}
|
|
22
|
+
export type Felts = JsFelt[];
|
|
21
23
|
|
|
22
24
|
export type JsFeeSource = "PAYMASTER" | "CREDITS";
|
|
23
25
|
|
|
24
|
-
export type Felts = JsFelt[];
|
|
25
|
-
|
|
26
26
|
export type JsFelt = Felt;
|
|
27
27
|
|
|
28
28
|
export interface JsCall {
|
|
@@ -42,11 +42,6 @@ export interface CallPolicy {
|
|
|
42
42
|
authorized?: boolean;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export interface TypedDataPolicy {
|
|
46
|
-
scope_hash: JsFelt;
|
|
47
|
-
authorized?: boolean;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
45
|
export interface ApprovalPolicy {
|
|
51
46
|
target: JsFelt;
|
|
52
47
|
spender: JsFelt;
|
|
@@ -55,6 +50,11 @@ export interface ApprovalPolicy {
|
|
|
55
50
|
|
|
56
51
|
export type Policy = CallPolicy | TypedDataPolicy | ApprovalPolicy;
|
|
57
52
|
|
|
53
|
+
export interface TypedDataPolicy {
|
|
54
|
+
scope_hash: JsFelt;
|
|
55
|
+
authorized?: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
58
|
export type JsAddSignerInput = SignerInput;
|
|
59
59
|
|
|
60
60
|
export interface WebauthnSigner {
|
|
@@ -63,28 +63,33 @@ export interface WebauthnSigner {
|
|
|
63
63
|
publicKey: string;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export interface Signer {
|
|
67
|
-
webauthns?: WebauthnSigner[];
|
|
68
|
-
webauthn?: WebauthnSigner;
|
|
69
|
-
starknet?: StarknetSigner;
|
|
70
|
-
eip191?: Eip191Signer;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type JsRemoveSignerInput = SignerInput;
|
|
74
|
-
|
|
75
66
|
export interface StarknetSigner {
|
|
76
67
|
privateKey: JsFelt;
|
|
77
68
|
}
|
|
78
69
|
|
|
70
|
+
export type JsRemoveSignerInput = SignerInput;
|
|
71
|
+
|
|
79
72
|
export interface Eip191Signer {
|
|
80
73
|
address: string;
|
|
81
74
|
}
|
|
82
75
|
|
|
76
|
+
export interface Signer {
|
|
77
|
+
webauthns?: WebauthnSigner[];
|
|
78
|
+
webauthn?: WebauthnSigner;
|
|
79
|
+
starknet?: StarknetSigner;
|
|
80
|
+
eip191?: Eip191Signer;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
83
|
export type JsRevokableSession = RevokableSession;
|
|
84
84
|
|
|
85
|
-
export
|
|
86
|
-
|
|
85
|
+
export type JsSubscribeSessionResult = SubscribeCreateSessionSubscribeCreateSession;
|
|
86
|
+
|
|
87
|
+
export interface AuthorizedSession {
|
|
88
|
+
session: Session;
|
|
89
|
+
authorization: JsFelt[] | null;
|
|
90
|
+
isRegistered: boolean;
|
|
87
91
|
expiresAt: number;
|
|
92
|
+
allowedPoliciesRoot: JsFelt;
|
|
88
93
|
metadataHash: JsFelt;
|
|
89
94
|
sessionKeyGuid: JsFelt;
|
|
90
95
|
guardianKeyGuid: JsFelt;
|
|
@@ -95,14 +100,9 @@ export interface Credentials {
|
|
|
95
100
|
privateKey: JsFelt;
|
|
96
101
|
}
|
|
97
102
|
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
export interface AuthorizedSession {
|
|
101
|
-
session: Session;
|
|
102
|
-
authorization: JsFelt[] | null;
|
|
103
|
-
isRegistered: boolean;
|
|
103
|
+
export interface Session {
|
|
104
|
+
policies: Policy[];
|
|
104
105
|
expiresAt: number;
|
|
105
|
-
allowedPoliciesRoot: JsFelt;
|
|
106
106
|
metadataHash: JsFelt;
|
|
107
107
|
sessionKeyGuid: JsFelt;
|
|
108
108
|
guardianKeyGuid: JsFelt;
|
|
@@ -285,20 +285,20 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
285
285
|
|
|
286
286
|
let WASM_VECTOR_LEN = 0;
|
|
287
287
|
|
|
288
|
-
function
|
|
289
|
-
wasm.
|
|
288
|
+
function __wasm_bindgen_func_elem_8624(arg0, arg1) {
|
|
289
|
+
wasm.__wasm_bindgen_func_elem_8624(arg0, arg1);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
function
|
|
293
|
-
wasm.
|
|
292
|
+
function __wasm_bindgen_func_elem_8774(arg0, arg1, arg2) {
|
|
293
|
+
wasm.__wasm_bindgen_func_elem_8774(arg0, arg1, addHeapObject(arg2));
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
function __wasm_bindgen_func_elem_3270(arg0, arg1, arg2) {
|
|
297
297
|
wasm.__wasm_bindgen_func_elem_3270(arg0, arg1, addHeapObject(arg2));
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
function
|
|
301
|
-
wasm.
|
|
300
|
+
function __wasm_bindgen_func_elem_10868(arg0, arg1, arg2, arg3) {
|
|
301
|
+
wasm.__wasm_bindgen_func_elem_10868(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -1621,7 +1621,7 @@ export function __wbg_credentials_36e0572b476d4883(arg0) {
|
|
|
1621
1621
|
return addHeapObject(ret);
|
|
1622
1622
|
};
|
|
1623
1623
|
|
|
1624
|
-
export function
|
|
1624
|
+
export function __wbg_crypto_86f2631e91b51511(arg0) {
|
|
1625
1625
|
const ret = getObject(arg0).crypto;
|
|
1626
1626
|
return addHeapObject(ret);
|
|
1627
1627
|
};
|
|
@@ -1668,7 +1668,7 @@ export function __wbg_getItem_1340bfc9a10d5991() { return handleError(function (
|
|
|
1668
1668
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1669
1669
|
}, arguments) };
|
|
1670
1670
|
|
|
1671
|
-
export function
|
|
1671
|
+
export function __wbg_getRandomValues_b3f15fcbfabb0f8b() { return handleError(function (arg0, arg1) {
|
|
1672
1672
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
1673
1673
|
}, arguments) };
|
|
1674
1674
|
|
|
@@ -1807,7 +1807,7 @@ export function __wbg_loginresult_new(arg0) {
|
|
|
1807
1807
|
return addHeapObject(ret);
|
|
1808
1808
|
};
|
|
1809
1809
|
|
|
1810
|
-
export function
|
|
1810
|
+
export function __wbg_msCrypto_d562bbe83e0d4b91(arg0) {
|
|
1811
1811
|
const ret = getObject(arg0).msCrypto;
|
|
1812
1812
|
return addHeapObject(ret);
|
|
1813
1813
|
};
|
|
@@ -1869,7 +1869,7 @@ export function __wbg_new_ff12d2b041fb48f1(arg0, arg1) {
|
|
|
1869
1869
|
const a = state0.a;
|
|
1870
1870
|
state0.a = 0;
|
|
1871
1871
|
try {
|
|
1872
|
-
return
|
|
1872
|
+
return __wasm_bindgen_func_elem_10868(a, state0.b, arg0, arg1);
|
|
1873
1873
|
} finally {
|
|
1874
1874
|
state0.a = a;
|
|
1875
1875
|
}
|
|
@@ -1911,7 +1911,7 @@ export function __wbg_next_3cfe5c0fe2a4cc53() { return handleError(function (arg
|
|
|
1911
1911
|
return addHeapObject(ret);
|
|
1912
1912
|
}, arguments) };
|
|
1913
1913
|
|
|
1914
|
-
export function
|
|
1914
|
+
export function __wbg_node_e1f24f89a7336c2e(arg0) {
|
|
1915
1915
|
const ret = getObject(arg0).node;
|
|
1916
1916
|
return addHeapObject(ret);
|
|
1917
1917
|
};
|
|
@@ -1960,7 +1960,7 @@ export function __wbg_parse_7ff95c018af680b3(arg0, arg1) {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
};
|
|
1962
1962
|
|
|
1963
|
-
export function
|
|
1963
|
+
export function __wbg_process_3975fd6c72f520aa(arg0) {
|
|
1964
1964
|
const ret = getObject(arg0).process;
|
|
1965
1965
|
return addHeapObject(ret);
|
|
1966
1966
|
};
|
|
@@ -1983,7 +1983,7 @@ export function __wbg_queueMicrotask_fca69f5bfad613a5(arg0) {
|
|
|
1983
1983
|
queueMicrotask(getObject(arg0));
|
|
1984
1984
|
};
|
|
1985
1985
|
|
|
1986
|
-
export function
|
|
1986
|
+
export function __wbg_randomFillSync_f8c153b79f285817() { return handleError(function (arg0, arg1) {
|
|
1987
1987
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
1988
1988
|
}, arguments) };
|
|
1989
1989
|
|
|
@@ -1995,7 +1995,7 @@ export function __wbg_removeItem_33ed1aeb2dc68e96() { return handleError(functio
|
|
|
1995
1995
|
getObject(arg0).removeItem(getStringFromWasm0(arg1, arg2));
|
|
1996
1996
|
}, arguments) };
|
|
1997
1997
|
|
|
1998
|
-
export function
|
|
1998
|
+
export function __wbg_require_b74f47fc2d022fd6() { return handleError(function () {
|
|
1999
1999
|
const ret = module.require;
|
|
2000
2000
|
return addHeapObject(ret);
|
|
2001
2001
|
}, arguments) };
|
|
@@ -2176,7 +2176,7 @@ export function __wbg_value_57b7b035e117f7ee(arg0) {
|
|
|
2176
2176
|
return addHeapObject(ret);
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
2179
|
-
export function
|
|
2179
|
+
export function __wbg_versions_4e31226f5e8dc909(arg0) {
|
|
2180
2180
|
const ret = getObject(arg0).versions;
|
|
2181
2181
|
return addHeapObject(ret);
|
|
2182
2182
|
};
|
|
@@ -2193,15 +2193,9 @@ export function __wbindgen_cast_4082834687a71a5d(arg0, arg1) {
|
|
|
2193
2193
|
return addHeapObject(ret);
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
export function
|
|
2197
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2198
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2199
|
-
return addHeapObject(ret);
|
|
2200
|
-
};
|
|
2201
|
-
|
|
2202
|
-
export function __wbindgen_cast_4892f1fb8f346ce7(arg0, arg1) {
|
|
2203
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 1000, function: Function { arguments: [Externref], shim_idx: 1001, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2204
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8761, __wasm_bindgen_func_elem_8776);
|
|
2196
|
+
export function __wbindgen_cast_7ee5a51087797a77(arg0, arg1) {
|
|
2197
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 964, function: Function { arguments: [], shim_idx: 965, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2198
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8615, __wasm_bindgen_func_elem_8624);
|
|
2205
2199
|
return addHeapObject(ret);
|
|
2206
2200
|
};
|
|
2207
2201
|
|
|
@@ -2211,6 +2205,12 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
|
2211
2205
|
return addHeapObject(ret);
|
|
2212
2206
|
};
|
|
2213
2207
|
|
|
2208
|
+
export function __wbindgen_cast_c1e81174c416a26f(arg0, arg1) {
|
|
2209
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 999, function: Function { arguments: [Externref], shim_idx: 1000, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2210
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8759, __wasm_bindgen_func_elem_8774);
|
|
2211
|
+
return addHeapObject(ret);
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2214
2214
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
2215
2215
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2216
2216
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|
|
@@ -19,11 +19,11 @@ export interface JsSignedOutsideExecution {
|
|
|
19
19
|
signature: JsFelt[];
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type JsFelt = Felt;
|
|
23
23
|
|
|
24
24
|
export type Felts = JsFelt[];
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type JsFeeSource = "PAYMASTER" | "CREDITS";
|
|
27
27
|
|
|
28
28
|
export interface JsCall {
|
|
29
29
|
contractAddress: JsFelt;
|
|
@@ -36,13 +36,13 @@ export interface Owner {
|
|
|
36
36
|
account?: JsFelt;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
export type Policy = CallPolicy | TypedDataPolicy | ApprovalPolicy;
|
|
40
|
+
|
|
39
41
|
export interface TypedDataPolicy {
|
|
40
42
|
scope_hash: JsFelt;
|
|
41
43
|
authorized?: boolean;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
|
-
export type Policy = CallPolicy | TypedDataPolicy | ApprovalPolicy;
|
|
45
|
-
|
|
46
46
|
export interface ApprovalPolicy {
|
|
47
47
|
target: JsFelt;
|
|
48
48
|
spender: JsFelt;
|
|
@@ -55,8 +55,6 @@ export interface CallPolicy {
|
|
|
55
55
|
authorized?: boolean;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export type JsAddSignerInput = SignerInput;
|
|
59
|
-
|
|
60
58
|
export interface Eip191Signer {
|
|
61
59
|
address: string;
|
|
62
60
|
}
|
|
@@ -67,6 +65,8 @@ export interface WebauthnSigner {
|
|
|
67
65
|
publicKey: string;
|
|
68
66
|
}
|
|
69
67
|
|
|
68
|
+
export type JsAddSignerInput = SignerInput;
|
|
69
|
+
|
|
70
70
|
export interface Signer {
|
|
71
71
|
webauthns?: WebauthnSigner[];
|
|
72
72
|
webauthn?: WebauthnSigner;
|
|
@@ -74,13 +74,18 @@ export interface Signer {
|
|
|
74
74
|
eip191?: Eip191Signer;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
export type JsRemoveSignerInput = SignerInput;
|
|
78
|
+
|
|
77
79
|
export interface StarknetSigner {
|
|
78
80
|
privateKey: JsFelt;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
|
-
export
|
|
83
|
+
export interface Credentials {
|
|
84
|
+
authorization: JsFelt[];
|
|
85
|
+
privateKey: JsFelt;
|
|
86
|
+
}
|
|
82
87
|
|
|
83
|
-
export type
|
|
88
|
+
export type JsRevokableSession = RevokableSession;
|
|
84
89
|
|
|
85
90
|
export interface AuthorizedSession {
|
|
86
91
|
session: Session;
|
|
@@ -101,12 +106,7 @@ export interface Session {
|
|
|
101
106
|
guardianKeyGuid: JsFelt;
|
|
102
107
|
}
|
|
103
108
|
|
|
104
|
-
export type
|
|
105
|
-
|
|
106
|
-
export interface Credentials {
|
|
107
|
-
authorization: JsFelt[];
|
|
108
|
-
privateKey: JsFelt;
|
|
109
|
-
}
|
|
109
|
+
export type JsSubscribeSessionResult = SubscribeCreateSessionSubscribeCreateSession;
|
|
110
110
|
|
|
111
111
|
export interface JsFeeEstimate {
|
|
112
112
|
l1_gas_consumed: number;
|
|
@@ -118,16 +118,16 @@ export interface JsFeeEstimate {
|
|
|
118
118
|
overall_fee: number;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export type JsPriceUnit = "WEI" | "FRI";
|
|
122
|
-
|
|
123
121
|
export interface JsEstimateFeeDetails {
|
|
124
122
|
nonce: JsFelt;
|
|
125
123
|
}
|
|
126
124
|
|
|
127
|
-
export type
|
|
125
|
+
export type JsPriceUnit = "WEI" | "FRI";
|
|
128
126
|
|
|
129
127
|
export type JsRegisterResponse = ResponseData;
|
|
130
128
|
|
|
129
|
+
export type JsRegister = RegisterInput;
|
|
130
|
+
|
|
131
131
|
|
|
132
132
|
export class CartridgeSessionAccount {
|
|
133
133
|
private constructor();
|
|
@@ -244,16 +244,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
244
244
|
|
|
245
245
|
let WASM_VECTOR_LEN = 0;
|
|
246
246
|
|
|
247
|
-
function
|
|
248
|
-
wasm.
|
|
247
|
+
function __wasm_bindgen_func_elem_4013(arg0, arg1, arg2) {
|
|
248
|
+
wasm.__wasm_bindgen_func_elem_4013(arg0, arg1, addHeapObject(arg2));
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
function
|
|
252
|
-
wasm.
|
|
251
|
+
function __wasm_bindgen_func_elem_3868(arg0, arg1) {
|
|
252
|
+
wasm.__wasm_bindgen_func_elem_3868(arg0, arg1);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
function
|
|
256
|
-
wasm.
|
|
255
|
+
function __wasm_bindgen_func_elem_5798(arg0, arg1, arg2, arg3) {
|
|
256
|
+
wasm.__wasm_bindgen_func_elem_5798(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -697,7 +697,7 @@ export function __wbg_credentials_36e0572b476d4883(arg0) {
|
|
|
697
697
|
return addHeapObject(ret);
|
|
698
698
|
};
|
|
699
699
|
|
|
700
|
-
export function
|
|
700
|
+
export function __wbg_crypto_86f2631e91b51511(arg0) {
|
|
701
701
|
const ret = getObject(arg0).crypto;
|
|
702
702
|
return addHeapObject(ret);
|
|
703
703
|
};
|
|
@@ -727,7 +727,7 @@ export function __wbg_getClientExtensionResults_8668622b21a5eef7(arg0) {
|
|
|
727
727
|
return addHeapObject(ret);
|
|
728
728
|
};
|
|
729
729
|
|
|
730
|
-
export function
|
|
730
|
+
export function __wbg_getRandomValues_b3f15fcbfabb0f8b() { return handleError(function (arg0, arg1) {
|
|
731
731
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
732
732
|
}, arguments) };
|
|
733
733
|
|
|
@@ -840,7 +840,7 @@ export function __wbg_log_1d990106d99dacb7(arg0) {
|
|
|
840
840
|
console.log(getObject(arg0));
|
|
841
841
|
};
|
|
842
842
|
|
|
843
|
-
export function
|
|
843
|
+
export function __wbg_msCrypto_d562bbe83e0d4b91(arg0) {
|
|
844
844
|
const ret = getObject(arg0).msCrypto;
|
|
845
845
|
return addHeapObject(ret);
|
|
846
846
|
};
|
|
@@ -892,7 +892,7 @@ export function __wbg_new_ff12d2b041fb48f1(arg0, arg1) {
|
|
|
892
892
|
const a = state0.a;
|
|
893
893
|
state0.a = 0;
|
|
894
894
|
try {
|
|
895
|
-
return
|
|
895
|
+
return __wasm_bindgen_func_elem_5798(a, state0.b, arg0, arg1);
|
|
896
896
|
} finally {
|
|
897
897
|
state0.a = a;
|
|
898
898
|
}
|
|
@@ -934,7 +934,7 @@ export function __wbg_next_3cfe5c0fe2a4cc53() { return handleError(function (arg
|
|
|
934
934
|
return addHeapObject(ret);
|
|
935
935
|
}, arguments) };
|
|
936
936
|
|
|
937
|
-
export function
|
|
937
|
+
export function __wbg_node_e1f24f89a7336c2e(arg0) {
|
|
938
938
|
const ret = getObject(arg0).node;
|
|
939
939
|
return addHeapObject(ret);
|
|
940
940
|
};
|
|
@@ -965,7 +965,7 @@ export function __wbg_parse_7ff95c018af680b3(arg0, arg1) {
|
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
967
|
|
|
968
|
-
export function
|
|
968
|
+
export function __wbg_process_3975fd6c72f520aa(arg0) {
|
|
969
969
|
const ret = getObject(arg0).process;
|
|
970
970
|
return addHeapObject(ret);
|
|
971
971
|
};
|
|
@@ -988,11 +988,11 @@ export function __wbg_queueMicrotask_fca69f5bfad613a5(arg0) {
|
|
|
988
988
|
queueMicrotask(getObject(arg0));
|
|
989
989
|
};
|
|
990
990
|
|
|
991
|
-
export function
|
|
991
|
+
export function __wbg_randomFillSync_f8c153b79f285817() { return handleError(function (arg0, arg1) {
|
|
992
992
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
993
993
|
}, arguments) };
|
|
994
994
|
|
|
995
|
-
export function
|
|
995
|
+
export function __wbg_require_b74f47fc2d022fd6() { return handleError(function () {
|
|
996
996
|
const ret = module.require;
|
|
997
997
|
return addHeapObject(ret);
|
|
998
998
|
}, arguments) };
|
|
@@ -1146,7 +1146,7 @@ export function __wbg_value_57b7b035e117f7ee(arg0) {
|
|
|
1146
1146
|
return addHeapObject(ret);
|
|
1147
1147
|
};
|
|
1148
1148
|
|
|
1149
|
-
export function
|
|
1149
|
+
export function __wbg_versions_4e31226f5e8dc909(arg0) {
|
|
1150
1150
|
const ret = getObject(arg0).versions;
|
|
1151
1151
|
return addHeapObject(ret);
|
|
1152
1152
|
};
|
|
@@ -1157,15 +1157,9 @@ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
|
1157
1157
|
return addHeapObject(ret);
|
|
1158
1158
|
};
|
|
1159
1159
|
|
|
1160
|
-
export function
|
|
1161
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1162
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1163
|
-
return addHeapObject(ret);
|
|
1164
|
-
};
|
|
1165
|
-
|
|
1166
|
-
export function __wbindgen_cast_c006400c7b517809(arg0, arg1) {
|
|
1167
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 460, function: Function { arguments: [], shim_idx: 461, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1168
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3863, __wasm_bindgen_func_elem_3872);
|
|
1160
|
+
export function __wbindgen_cast_9db57a00ad35864d(arg0, arg1) {
|
|
1161
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 459, function: Function { arguments: [], shim_idx: 460, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1162
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3859, __wasm_bindgen_func_elem_3868);
|
|
1169
1163
|
return addHeapObject(ret);
|
|
1170
1164
|
};
|
|
1171
1165
|
|
|
@@ -1175,6 +1169,12 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
1175
1169
|
return addHeapObject(ret);
|
|
1176
1170
|
};
|
|
1177
1171
|
|
|
1172
|
+
export function __wbindgen_cast_cc3b8fd244091a64(arg0, arg1) {
|
|
1173
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 494, function: Function { arguments: [Externref], shim_idx: 495, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1174
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3998, __wasm_bindgen_func_elem_4013);
|
|
1175
|
+
return addHeapObject(ret);
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
1178
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
1179
1179
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1180
1180
|
const ret = arg0;
|
|
Binary file
|