lumina-node-wasm 0.10.3 → 0.11.0
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/lumina_node_wasm.d.ts +211 -188
- package/lumina_node_wasm_bg.js +1031 -931
- package/lumina_node_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/lumina_node_wasm_bg.js
CHANGED
|
@@ -4,8 +4,6 @@ export function __wbg_set_wasm(val) {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
let WASM_VECTOR_LEN = 0;
|
|
8
|
-
|
|
9
7
|
let cachedUint8ArrayMemory0 = null;
|
|
10
8
|
|
|
11
9
|
function getUint8ArrayMemory0() {
|
|
@@ -15,9 +13,34 @@ function getUint8ArrayMemory0() {
|
|
|
15
13
|
return cachedUint8ArrayMemory0;
|
|
16
14
|
}
|
|
17
15
|
|
|
16
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
17
|
+
|
|
18
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
19
|
+
|
|
20
|
+
cachedTextDecoder.decode();
|
|
21
|
+
|
|
22
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
23
|
+
let numBytesDecoded = 0;
|
|
24
|
+
function decodeText(ptr, len) {
|
|
25
|
+
numBytesDecoded += len;
|
|
26
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
27
|
+
cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
28
|
+
cachedTextDecoder.decode();
|
|
29
|
+
numBytesDecoded = len;
|
|
30
|
+
}
|
|
31
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function getStringFromWasm0(ptr, len) {
|
|
35
|
+
ptr = ptr >>> 0;
|
|
36
|
+
return decodeText(ptr, len);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
let WASM_VECTOR_LEN = 0;
|
|
40
|
+
|
|
18
41
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
|
19
42
|
|
|
20
|
-
|
|
43
|
+
const cachedTextEncoder = new lTextEncoder('utf-8');
|
|
21
44
|
|
|
22
45
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
23
46
|
? function (arg, view) {
|
|
@@ -95,17 +118,6 @@ function handleError(f, args) {
|
|
|
95
118
|
}
|
|
96
119
|
}
|
|
97
120
|
|
|
98
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
99
|
-
|
|
100
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
101
|
-
|
|
102
|
-
cachedTextDecoder.decode();
|
|
103
|
-
|
|
104
|
-
function getStringFromWasm0(ptr, len) {
|
|
105
|
-
ptr = ptr >>> 0;
|
|
106
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
121
|
function passArray8ToWasm0(arg, malloc) {
|
|
110
122
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
111
123
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -122,59 +134,6 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
122
134
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
123
135
|
}
|
|
124
136
|
|
|
125
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
126
|
-
? { register: () => {}, unregister: () => {} }
|
|
127
|
-
: new FinalizationRegistry(state => {
|
|
128
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
function makeClosure(arg0, arg1, dtor, f) {
|
|
132
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
133
|
-
const real = (...args) => {
|
|
134
|
-
// First up with a closure we increment the internal reference
|
|
135
|
-
// count. This ensures that the Rust closure environment won't
|
|
136
|
-
// be deallocated while we're invoking it.
|
|
137
|
-
state.cnt++;
|
|
138
|
-
try {
|
|
139
|
-
return f(state.a, state.b, ...args);
|
|
140
|
-
} finally {
|
|
141
|
-
if (--state.cnt === 0) {
|
|
142
|
-
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
143
|
-
state.a = 0;
|
|
144
|
-
CLOSURE_DTORS.unregister(state);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
real.original = state;
|
|
149
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
150
|
-
return real;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
154
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
155
|
-
const real = (...args) => {
|
|
156
|
-
// First up with a closure we increment the internal reference
|
|
157
|
-
// count. This ensures that the Rust closure environment won't
|
|
158
|
-
// be deallocated while we're invoking it.
|
|
159
|
-
state.cnt++;
|
|
160
|
-
const a = state.a;
|
|
161
|
-
state.a = 0;
|
|
162
|
-
try {
|
|
163
|
-
return f(a, state.b, ...args);
|
|
164
|
-
} finally {
|
|
165
|
-
if (--state.cnt === 0) {
|
|
166
|
-
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
167
|
-
CLOSURE_DTORS.unregister(state);
|
|
168
|
-
} else {
|
|
169
|
-
state.a = a;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
real.original = state;
|
|
174
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
175
|
-
return real;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
137
|
function debugString(val) {
|
|
179
138
|
// primitive types
|
|
180
139
|
const type = typeof val;
|
|
@@ -251,20 +210,60 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
251
210
|
return result;
|
|
252
211
|
}
|
|
253
212
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
260
|
-
WASM_VECTOR_LEN = array.length;
|
|
261
|
-
return ptr;
|
|
213
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
214
|
+
? { register: () => {}, unregister: () => {} }
|
|
215
|
+
: new FinalizationRegistry(
|
|
216
|
+
state => {
|
|
217
|
+
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
|
|
262
218
|
}
|
|
219
|
+
);
|
|
263
220
|
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
221
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
222
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
223
|
+
const real = (...args) => {
|
|
224
|
+
|
|
225
|
+
// First up with a closure we increment the internal reference
|
|
226
|
+
// count. This ensures that the Rust closure environment won't
|
|
227
|
+
// be deallocated while we're invoking it.
|
|
228
|
+
state.cnt++;
|
|
229
|
+
const a = state.a;
|
|
230
|
+
state.a = 0;
|
|
231
|
+
try {
|
|
232
|
+
return f(a, state.b, ...args);
|
|
233
|
+
} finally {
|
|
234
|
+
if (--state.cnt === 0) {
|
|
235
|
+
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
236
|
+
CLOSURE_DTORS.unregister(state);
|
|
237
|
+
} else {
|
|
238
|
+
state.a = a;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
real.original = state;
|
|
243
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
244
|
+
return real;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
248
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
249
|
+
const real = (...args) => {
|
|
250
|
+
|
|
251
|
+
// First up with a closure we increment the internal reference
|
|
252
|
+
// count. This ensures that the Rust closure environment won't
|
|
253
|
+
// be deallocated while we're invoking it.
|
|
254
|
+
state.cnt++;
|
|
255
|
+
try {
|
|
256
|
+
return f(state.a, state.b, ...args);
|
|
257
|
+
} finally {
|
|
258
|
+
if (--state.cnt === 0) {
|
|
259
|
+
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b); state.a = 0;
|
|
260
|
+
CLOSURE_DTORS.unregister(state);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
real.original = state;
|
|
265
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
266
|
+
return real;
|
|
268
267
|
}
|
|
269
268
|
/**
|
|
270
269
|
* Set up a logging layer that direct logs to the browser's console.
|
|
@@ -273,6 +272,22 @@ export function setup_logging() {
|
|
|
273
272
|
wasm.setup_logging();
|
|
274
273
|
}
|
|
275
274
|
|
|
275
|
+
function _assertClass(instance, klass) {
|
|
276
|
+
if (!(instance instanceof klass)) {
|
|
277
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
282
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
283
|
+
for (let i = 0; i < array.length; i++) {
|
|
284
|
+
const add = addToExternrefTable0(array[i]);
|
|
285
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
286
|
+
}
|
|
287
|
+
WASM_VECTOR_LEN = array.length;
|
|
288
|
+
return ptr;
|
|
289
|
+
}
|
|
290
|
+
|
|
276
291
|
function takeFromExternrefTable0(idx) {
|
|
277
292
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
278
293
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -290,36 +305,41 @@ export function protoEncodeSignDoc(sign_doc) {
|
|
|
290
305
|
return v1;
|
|
291
306
|
}
|
|
292
307
|
|
|
293
|
-
function
|
|
294
|
-
wasm.
|
|
308
|
+
function __wbg_adapter_8(arg0, arg1) {
|
|
309
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hfede219244329fd3(arg0, arg1);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
function __wbg_adapter_11(arg0, arg1, arg2) {
|
|
313
|
+
wasm.closure1749_externref_shim(arg0, arg1, arg2);
|
|
295
314
|
}
|
|
296
315
|
|
|
297
|
-
function
|
|
298
|
-
wasm.
|
|
316
|
+
function __wbg_adapter_20(arg0, arg1, arg2) {
|
|
317
|
+
wasm.closure731_externref_shim(arg0, arg1, arg2);
|
|
299
318
|
}
|
|
300
319
|
|
|
301
|
-
function
|
|
302
|
-
wasm.
|
|
320
|
+
function __wbg_adapter_23(arg0, arg1, arg2) {
|
|
321
|
+
wasm.closure2841_externref_shim(arg0, arg1, arg2);
|
|
303
322
|
}
|
|
304
323
|
|
|
305
|
-
function
|
|
306
|
-
wasm.
|
|
324
|
+
function __wbg_adapter_26(arg0, arg1, arg2) {
|
|
325
|
+
wasm.closure727_externref_shim(arg0, arg1, arg2);
|
|
307
326
|
}
|
|
308
327
|
|
|
309
|
-
function
|
|
310
|
-
wasm.
|
|
328
|
+
function __wbg_adapter_31(arg0, arg1, arg2) {
|
|
329
|
+
wasm.closure2961_externref_shim(arg0, arg1, arg2);
|
|
311
330
|
}
|
|
312
331
|
|
|
313
|
-
function
|
|
314
|
-
wasm.
|
|
332
|
+
function __wbg_adapter_44(arg0, arg1, arg2) {
|
|
333
|
+
const ret = wasm.closure729_externref_shim(arg0, arg1, arg2);
|
|
334
|
+
return ret;
|
|
315
335
|
}
|
|
316
336
|
|
|
317
|
-
function
|
|
318
|
-
wasm.
|
|
337
|
+
function __wbg_adapter_47(arg0, arg1) {
|
|
338
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7953c2fdc3875afe(arg0, arg1);
|
|
319
339
|
}
|
|
320
340
|
|
|
321
|
-
function
|
|
322
|
-
wasm.
|
|
341
|
+
function __wbg_adapter_960(arg0, arg1, arg2, arg3) {
|
|
342
|
+
wasm.closure2981_externref_shim(arg0, arg1, arg2, arg3);
|
|
323
343
|
}
|
|
324
344
|
|
|
325
345
|
/**
|
|
@@ -2657,7 +2677,7 @@ export class Data {
|
|
|
2657
2677
|
* @returns {bigint}
|
|
2658
2678
|
*/
|
|
2659
2679
|
get square_size() {
|
|
2660
|
-
const ret = wasm.
|
|
2680
|
+
const ret = wasm.__wbg_get_data_square_size(this.__wbg_ptr);
|
|
2661
2681
|
return BigInt.asUintN(64, ret);
|
|
2662
2682
|
}
|
|
2663
2683
|
/**
|
|
@@ -2665,7 +2685,7 @@ export class Data {
|
|
|
2665
2685
|
* @param {bigint} arg0
|
|
2666
2686
|
*/
|
|
2667
2687
|
set square_size(arg0) {
|
|
2668
|
-
wasm.
|
|
2688
|
+
wasm.__wbg_set_data_square_size(this.__wbg_ptr, arg0);
|
|
2669
2689
|
}
|
|
2670
2690
|
/**
|
|
2671
2691
|
* Hash is the root of a binary Merkle tree where the leaves of the tree are
|
|
@@ -3531,7 +3551,7 @@ const GrpcClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
3531
3551
|
? { register: () => {}, unregister: () => {} }
|
|
3532
3552
|
: new FinalizationRegistry(ptr => wasm.__wbg_grpcclient_free(ptr >>> 0, 1));
|
|
3533
3553
|
/**
|
|
3534
|
-
* Celestia
|
|
3554
|
+
* Celestia gRPC client, for builder see [`GrpcClientBuilder`]
|
|
3535
3555
|
*/
|
|
3536
3556
|
export class GrpcClient {
|
|
3537
3557
|
|
|
@@ -3555,22 +3575,22 @@ export class GrpcClient {
|
|
|
3555
3575
|
wasm.__wbg_grpcclient_free(ptr, 0);
|
|
3556
3576
|
}
|
|
3557
3577
|
/**
|
|
3558
|
-
* Create a
|
|
3578
|
+
* Create a builder for [`GrpcClient`] connected to `url`
|
|
3559
3579
|
* @param {string} url
|
|
3560
|
-
* @returns {
|
|
3580
|
+
* @returns {GrpcClientBuilder}
|
|
3561
3581
|
*/
|
|
3562
|
-
static
|
|
3582
|
+
static withUrl(url) {
|
|
3563
3583
|
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3564
3584
|
const len0 = WASM_VECTOR_LEN;
|
|
3565
|
-
const ret = wasm.
|
|
3566
|
-
return ret;
|
|
3585
|
+
const ret = wasm.grpcclient_withUrl(ptr0, len0);
|
|
3586
|
+
return GrpcClientBuilder.__wrap(ret);
|
|
3567
3587
|
}
|
|
3568
3588
|
/**
|
|
3569
3589
|
* Get auth params
|
|
3570
3590
|
* @returns {Promise<AuthParams>}
|
|
3571
3591
|
*/
|
|
3572
|
-
|
|
3573
|
-
const ret = wasm.
|
|
3592
|
+
getAuthParams() {
|
|
3593
|
+
const ret = wasm.grpcclient_getAuthParams(this.__wbg_ptr);
|
|
3574
3594
|
return ret;
|
|
3575
3595
|
}
|
|
3576
3596
|
/**
|
|
@@ -3578,50 +3598,52 @@ export class GrpcClient {
|
|
|
3578
3598
|
* @param {string} account
|
|
3579
3599
|
* @returns {Promise<BaseAccount>}
|
|
3580
3600
|
*/
|
|
3581
|
-
|
|
3601
|
+
getAccount(account) {
|
|
3582
3602
|
const ptr0 = passStringToWasm0(account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3583
3603
|
const len0 = WASM_VECTOR_LEN;
|
|
3584
|
-
const ret = wasm.
|
|
3604
|
+
const ret = wasm.grpcclient_getAccount(this.__wbg_ptr, ptr0, len0);
|
|
3585
3605
|
return ret;
|
|
3586
3606
|
}
|
|
3587
3607
|
/**
|
|
3588
3608
|
* Get accounts
|
|
3589
3609
|
* @returns {Promise<BaseAccount[]>}
|
|
3590
3610
|
*/
|
|
3591
|
-
|
|
3592
|
-
const ret = wasm.
|
|
3611
|
+
getAccounts() {
|
|
3612
|
+
const ret = wasm.grpcclient_getAccounts(this.__wbg_ptr);
|
|
3593
3613
|
return ret;
|
|
3594
3614
|
}
|
|
3595
3615
|
/**
|
|
3596
|
-
*
|
|
3597
|
-
* and verify the returned balance against the corresponding block's app hash.
|
|
3616
|
+
* Retrieves the verified Celestia coin balance for the address.
|
|
3598
3617
|
*
|
|
3599
|
-
*
|
|
3600
|
-
*
|
|
3601
|
-
*
|
|
3618
|
+
* # Notes
|
|
3619
|
+
*
|
|
3620
|
+
* This returns the verified balance which is the one that was reported by
|
|
3621
|
+
* the previous network block. In other words, if you transfer some coins,
|
|
3622
|
+
* you need to wait 1 more block in order to see the new balance. If you want
|
|
3623
|
+
* something more immediate then use [`GrpcClient::get_balance`].
|
|
3602
3624
|
* @param {string} address
|
|
3603
3625
|
* @param {ExtendedHeader} header
|
|
3604
3626
|
* @returns {Promise<Coin>}
|
|
3605
3627
|
*/
|
|
3606
|
-
|
|
3628
|
+
getVerifiedBalance(address, header) {
|
|
3607
3629
|
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3608
3630
|
const len0 = WASM_VECTOR_LEN;
|
|
3609
3631
|
_assertClass(header, ExtendedHeader);
|
|
3610
|
-
const ret = wasm.
|
|
3632
|
+
const ret = wasm.grpcclient_getVerifiedBalance(this.__wbg_ptr, ptr0, len0, header.__wbg_ptr);
|
|
3611
3633
|
return ret;
|
|
3612
3634
|
}
|
|
3613
3635
|
/**
|
|
3614
|
-
*
|
|
3636
|
+
* Retrieves the Celestia coin balance for the given address.
|
|
3615
3637
|
* @param {string} address
|
|
3616
3638
|
* @param {string} denom
|
|
3617
3639
|
* @returns {Promise<Coin>}
|
|
3618
3640
|
*/
|
|
3619
|
-
|
|
3641
|
+
getBalance(address, denom) {
|
|
3620
3642
|
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3621
3643
|
const len0 = WASM_VECTOR_LEN;
|
|
3622
3644
|
const ptr1 = passStringToWasm0(denom, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3623
3645
|
const len1 = WASM_VECTOR_LEN;
|
|
3624
|
-
const ret = wasm.
|
|
3646
|
+
const ret = wasm.grpcclient_getBalance(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
3625
3647
|
return ret;
|
|
3626
3648
|
}
|
|
3627
3649
|
/**
|
|
@@ -3629,10 +3651,10 @@ export class GrpcClient {
|
|
|
3629
3651
|
* @param {string} address
|
|
3630
3652
|
* @returns {Promise<Coin[]>}
|
|
3631
3653
|
*/
|
|
3632
|
-
|
|
3654
|
+
getAllBalances(address) {
|
|
3633
3655
|
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3634
3656
|
const len0 = WASM_VECTOR_LEN;
|
|
3635
|
-
const ret = wasm.
|
|
3657
|
+
const ret = wasm.grpcclient_getAllBalances(this.__wbg_ptr, ptr0, len0);
|
|
3636
3658
|
return ret;
|
|
3637
3659
|
}
|
|
3638
3660
|
/**
|
|
@@ -3640,18 +3662,18 @@ export class GrpcClient {
|
|
|
3640
3662
|
* @param {string} address
|
|
3641
3663
|
* @returns {Promise<Coin[]>}
|
|
3642
3664
|
*/
|
|
3643
|
-
|
|
3665
|
+
getSpendableBalances(address) {
|
|
3644
3666
|
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3645
3667
|
const len0 = WASM_VECTOR_LEN;
|
|
3646
|
-
const ret = wasm.
|
|
3668
|
+
const ret = wasm.grpcclient_getSpendableBalances(this.__wbg_ptr, ptr0, len0);
|
|
3647
3669
|
return ret;
|
|
3648
3670
|
}
|
|
3649
3671
|
/**
|
|
3650
3672
|
* Get total supply
|
|
3651
3673
|
* @returns {Promise<Coin[]>}
|
|
3652
3674
|
*/
|
|
3653
|
-
|
|
3654
|
-
const ret = wasm.
|
|
3675
|
+
getTotalSupply() {
|
|
3676
|
+
const ret = wasm.grpcclient_getTotalSupply(this.__wbg_ptr);
|
|
3655
3677
|
return ret;
|
|
3656
3678
|
}
|
|
3657
3679
|
/**
|
|
@@ -3666,8 +3688,8 @@ export class GrpcClient {
|
|
|
3666
3688
|
* Get latest block
|
|
3667
3689
|
* @returns {Promise<Block>}
|
|
3668
3690
|
*/
|
|
3669
|
-
|
|
3670
|
-
const ret = wasm.
|
|
3691
|
+
getLatestBlock() {
|
|
3692
|
+
const ret = wasm.grpcclient_getLatestBlock(this.__wbg_ptr);
|
|
3671
3693
|
return ret;
|
|
3672
3694
|
}
|
|
3673
3695
|
/**
|
|
@@ -3675,8 +3697,8 @@ export class GrpcClient {
|
|
|
3675
3697
|
* @param {bigint} height
|
|
3676
3698
|
* @returns {Promise<Block>}
|
|
3677
3699
|
*/
|
|
3678
|
-
|
|
3679
|
-
const ret = wasm.
|
|
3700
|
+
getBlockByHeight(height) {
|
|
3701
|
+
const ret = wasm.grpcclient_getBlockByHeight(this.__wbg_ptr, height);
|
|
3680
3702
|
return ret;
|
|
3681
3703
|
}
|
|
3682
3704
|
/**
|
|
@@ -3687,12 +3709,12 @@ export class GrpcClient {
|
|
|
3687
3709
|
* @param {boolean} prove
|
|
3688
3710
|
* @returns {Promise<AbciQueryResponse>}
|
|
3689
3711
|
*/
|
|
3690
|
-
|
|
3712
|
+
abciQuery(data, path, height, prove) {
|
|
3691
3713
|
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
3692
3714
|
const len0 = WASM_VECTOR_LEN;
|
|
3693
3715
|
const ptr1 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3694
3716
|
const len1 = WASM_VECTOR_LEN;
|
|
3695
|
-
const ret = wasm.
|
|
3717
|
+
const ret = wasm.grpcclient_abciQuery(this.__wbg_ptr, ptr0, len0, ptr1, len1, height, prove);
|
|
3696
3718
|
return ret;
|
|
3697
3719
|
}
|
|
3698
3720
|
/**
|
|
@@ -3701,11 +3723,11 @@ export class GrpcClient {
|
|
|
3701
3723
|
* @param {BroadcastMode} mode
|
|
3702
3724
|
* @returns {Promise<TxResponse>}
|
|
3703
3725
|
*/
|
|
3704
|
-
|
|
3726
|
+
broadcastTx(tx_bytes, mode) {
|
|
3705
3727
|
const ptr0 = passArray8ToWasm0(tx_bytes, wasm.__wbindgen_malloc);
|
|
3706
3728
|
const len0 = WASM_VECTOR_LEN;
|
|
3707
3729
|
_assertClass(mode, BroadcastMode);
|
|
3708
|
-
const ret = wasm.
|
|
3730
|
+
const ret = wasm.grpcclient_broadcastTx(this.__wbg_ptr, ptr0, len0, mode.__wbg_ptr);
|
|
3709
3731
|
return ret;
|
|
3710
3732
|
}
|
|
3711
3733
|
/**
|
|
@@ -3713,10 +3735,10 @@ export class GrpcClient {
|
|
|
3713
3735
|
* @param {string} hash
|
|
3714
3736
|
* @returns {Promise<GetTxResponse>}
|
|
3715
3737
|
*/
|
|
3716
|
-
|
|
3738
|
+
getTx(hash) {
|
|
3717
3739
|
const ptr0 = passStringToWasm0(hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3718
3740
|
const len0 = WASM_VECTOR_LEN;
|
|
3719
|
-
const ret = wasm.
|
|
3741
|
+
const ret = wasm.grpcclient_getTx(this.__wbg_ptr, ptr0, len0);
|
|
3720
3742
|
return ret;
|
|
3721
3743
|
}
|
|
3722
3744
|
/**
|
|
@@ -3734,8 +3756,8 @@ export class GrpcClient {
|
|
|
3734
3756
|
* Get blob params
|
|
3735
3757
|
* @returns {Promise<BlobParams>}
|
|
3736
3758
|
*/
|
|
3737
|
-
|
|
3738
|
-
const ret = wasm.
|
|
3759
|
+
getBlobParams() {
|
|
3760
|
+
const ret = wasm.grpcclient_getBlobParams(this.__wbg_ptr);
|
|
3739
3761
|
return ret;
|
|
3740
3762
|
}
|
|
3741
3763
|
/**
|
|
@@ -3743,99 +3765,345 @@ export class GrpcClient {
|
|
|
3743
3765
|
* @param {string} hash
|
|
3744
3766
|
* @returns {Promise<TxStatusResponse>}
|
|
3745
3767
|
*/
|
|
3746
|
-
|
|
3768
|
+
txStatus(hash) {
|
|
3747
3769
|
const ptr0 = passStringToWasm0(hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3748
3770
|
const len0 = WASM_VECTOR_LEN;
|
|
3749
|
-
const ret = wasm.
|
|
3771
|
+
const ret = wasm.grpcclient_txStatus(this.__wbg_ptr, ptr0, len0);
|
|
3750
3772
|
return ret;
|
|
3751
3773
|
}
|
|
3752
|
-
}
|
|
3753
|
-
|
|
3754
|
-
const HeaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3755
|
-
? { register: () => {}, unregister: () => {} }
|
|
3756
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_header_free(ptr >>> 0, 1));
|
|
3757
|
-
/**
|
|
3758
|
-
* Block Header values contain metadata about the block and about the consensus,
|
|
3759
|
-
* as well as commitments to the data in the current block, the previous block,
|
|
3760
|
-
* and the results returned by the application.
|
|
3761
|
-
*/
|
|
3762
|
-
export class Header {
|
|
3763
|
-
|
|
3764
|
-
static __wrap(ptr) {
|
|
3765
|
-
ptr = ptr >>> 0;
|
|
3766
|
-
const obj = Object.create(Header.prototype);
|
|
3767
|
-
obj.__wbg_ptr = ptr;
|
|
3768
|
-
HeaderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
3769
|
-
return obj;
|
|
3770
|
-
}
|
|
3771
|
-
|
|
3772
|
-
__destroy_into_raw() {
|
|
3773
|
-
const ptr = this.__wbg_ptr;
|
|
3774
|
-
this.__wbg_ptr = 0;
|
|
3775
|
-
HeaderFinalization.unregister(this);
|
|
3776
|
-
return ptr;
|
|
3777
|
-
}
|
|
3778
|
-
|
|
3779
|
-
free() {
|
|
3780
|
-
const ptr = this.__destroy_into_raw();
|
|
3781
|
-
wasm.__wbg_header_free(ptr, 0);
|
|
3782
|
-
}
|
|
3783
|
-
/**
|
|
3784
|
-
* Header version
|
|
3785
|
-
* @returns {ProtocolVersion}
|
|
3786
|
-
*/
|
|
3787
|
-
get version() {
|
|
3788
|
-
const ret = wasm.__wbg_get_header_version(this.__wbg_ptr);
|
|
3789
|
-
return ProtocolVersion.__wrap(ret);
|
|
3790
|
-
}
|
|
3791
|
-
/**
|
|
3792
|
-
* Header version
|
|
3793
|
-
* @param {ProtocolVersion} arg0
|
|
3794
|
-
*/
|
|
3795
|
-
set version(arg0) {
|
|
3796
|
-
_assertClass(arg0, ProtocolVersion);
|
|
3797
|
-
var ptr0 = arg0.__destroy_into_raw();
|
|
3798
|
-
wasm.__wbg_set_header_version(this.__wbg_ptr, ptr0);
|
|
3799
|
-
}
|
|
3800
3774
|
/**
|
|
3801
|
-
*
|
|
3802
|
-
*
|
|
3775
|
+
* Estimate gas price for given transaction priority based
|
|
3776
|
+
* on the gas prices of the transactions in the last five blocks.
|
|
3777
|
+
*
|
|
3778
|
+
* If no transaction is found in the last five blocks, return the network
|
|
3779
|
+
* min gas price.
|
|
3780
|
+
* @param {TxPriority} priority
|
|
3781
|
+
* @returns {Promise<number>}
|
|
3803
3782
|
*/
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
try {
|
|
3808
|
-
const ret = wasm.__wbg_get_header_chain_id(this.__wbg_ptr);
|
|
3809
|
-
deferred1_0 = ret[0];
|
|
3810
|
-
deferred1_1 = ret[1];
|
|
3811
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
3812
|
-
} finally {
|
|
3813
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3814
|
-
}
|
|
3783
|
+
estimateGasPrice(priority) {
|
|
3784
|
+
const ret = wasm.grpcclient_estimateGasPrice(this.__wbg_ptr, priority);
|
|
3785
|
+
return ret;
|
|
3815
3786
|
}
|
|
3816
3787
|
/**
|
|
3817
|
-
* Chain
|
|
3818
|
-
* @
|
|
3788
|
+
* Chain id of the client
|
|
3789
|
+
* @returns {Promise<string>}
|
|
3819
3790
|
*/
|
|
3820
|
-
|
|
3821
|
-
const
|
|
3822
|
-
|
|
3823
|
-
wasm.__wbg_set_header_chain_id(this.__wbg_ptr, ptr0, len0);
|
|
3791
|
+
get chainId() {
|
|
3792
|
+
const ret = wasm.grpcclient_chainId(this.__wbg_ptr);
|
|
3793
|
+
return ret;
|
|
3824
3794
|
}
|
|
3825
3795
|
/**
|
|
3826
|
-
*
|
|
3827
|
-
* @returns {
|
|
3796
|
+
* AppVersion of the client
|
|
3797
|
+
* @returns {Promise<AppVersion>}
|
|
3828
3798
|
*/
|
|
3829
|
-
get
|
|
3830
|
-
const ret = wasm.
|
|
3831
|
-
return
|
|
3799
|
+
get appVersion() {
|
|
3800
|
+
const ret = wasm.grpcclient_appVersion(this.__wbg_ptr);
|
|
3801
|
+
return ret;
|
|
3832
3802
|
}
|
|
3833
3803
|
/**
|
|
3834
|
-
*
|
|
3835
|
-
*
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3804
|
+
* Submit blobs to the celestia network.
|
|
3805
|
+
*
|
|
3806
|
+
* # Example
|
|
3807
|
+
* ```js
|
|
3808
|
+
* const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
|
|
3809
|
+
* const data = new Uint8Array([100, 97, 116, 97]);
|
|
3810
|
+
* const blob = new Blob(ns, data, AppVersion.latest());
|
|
3811
|
+
*
|
|
3812
|
+
* const txInfo = await txClient.submitBlobs([blob]);
|
|
3813
|
+
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
|
|
3814
|
+
* ```
|
|
3815
|
+
*
|
|
3816
|
+
* # Note
|
|
3817
|
+
*
|
|
3818
|
+
* Provided blobs will be consumed by this method, meaning
|
|
3819
|
+
* they will no longer be accessible. If this behavior is not desired,
|
|
3820
|
+
* consider using `Blob.clone()`.
|
|
3821
|
+
*
|
|
3822
|
+
* ```js
|
|
3823
|
+
* const blobs = [blob1, blob2, blob3];
|
|
3824
|
+
* await txClient.submitBlobs(blobs.map(b => b.clone()));
|
|
3825
|
+
* ```
|
|
3826
|
+
* @param {Blob[]} blobs
|
|
3827
|
+
* @param {TxConfig | null} [tx_config]
|
|
3828
|
+
* @returns {Promise<TxInfo>}
|
|
3829
|
+
*/
|
|
3830
|
+
submitBlobs(blobs, tx_config) {
|
|
3831
|
+
const ptr0 = passArrayJsValueToWasm0(blobs, wasm.__wbindgen_malloc);
|
|
3832
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3833
|
+
const ret = wasm.grpcclient_submitBlobs(this.__wbg_ptr, ptr0, len0, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
|
|
3834
|
+
return ret;
|
|
3835
|
+
}
|
|
3836
|
+
/**
|
|
3837
|
+
* Submit message to the celestia network.
|
|
3838
|
+
*
|
|
3839
|
+
* # Example
|
|
3840
|
+
* ```js
|
|
3841
|
+
* import { Registry } from "@cosmjs/proto-signing";
|
|
3842
|
+
*
|
|
3843
|
+
* const registry = new Registry();
|
|
3844
|
+
* const sendMsg = {
|
|
3845
|
+
* typeUrl: "/cosmos.bank.v1beta1.MsgSend",
|
|
3846
|
+
* value: {
|
|
3847
|
+
* fromAddress: "celestia169s50psyj2f4la9a2235329xz7rk6c53zhw9mm",
|
|
3848
|
+
* toAddress: "celestia1t52q7uqgnjfzdh3wx5m5phvma3umrq8k6tq2p9",
|
|
3849
|
+
* amount: [{ denom: "utia", amount: "10000" }],
|
|
3850
|
+
* },
|
|
3851
|
+
* };
|
|
3852
|
+
* const sendMsgAny = registry.encodeAsAny(sendMsg);
|
|
3853
|
+
*
|
|
3854
|
+
* const txInfo = await txClient.submitMessage(sendMsgAny);
|
|
3855
|
+
* ```
|
|
3856
|
+
* @param {ProtoAny} message
|
|
3857
|
+
* @param {TxConfig | null} [tx_config]
|
|
3858
|
+
* @returns {Promise<TxInfo>}
|
|
3859
|
+
*/
|
|
3860
|
+
submitMessage(message, tx_config) {
|
|
3861
|
+
const ret = wasm.grpcclient_submitMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
|
|
3862
|
+
return ret;
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
const GrpcClientBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3867
|
+
? { register: () => {}, unregister: () => {} }
|
|
3868
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_grpcclientbuilder_free(ptr >>> 0, 1));
|
|
3869
|
+
/**
|
|
3870
|
+
* Builder for [`GrpcClient`] and [`TxClient`].
|
|
3871
|
+
*
|
|
3872
|
+
* Url must point to a [grpc-web proxy](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md).
|
|
3873
|
+
*
|
|
3874
|
+
* # Keyless client example
|
|
3875
|
+
*
|
|
3876
|
+
* ```js
|
|
3877
|
+
* const client = await GrpcClient
|
|
3878
|
+
* .withUrl("http://127.0.0.1:18080")
|
|
3879
|
+
* .build()
|
|
3880
|
+
* ```
|
|
3881
|
+
*
|
|
3882
|
+
* # Transaction client examples
|
|
3883
|
+
*
|
|
3884
|
+
* ## Example with noble/curves
|
|
3885
|
+
* ```js
|
|
3886
|
+
* import { secp256k1 } from "@noble/curves/secp256k1";
|
|
3887
|
+
*
|
|
3888
|
+
* const privKey = "fdc8ac75dfa1c142dbcba77938a14dd03078052ce0b49a529dcf72a9885a3abb";
|
|
3889
|
+
* const pubKey = secp256k1.getPublicKey(privKey);
|
|
3890
|
+
*
|
|
3891
|
+
* const signer = (signDoc) => {
|
|
3892
|
+
* const bytes = protoEncodeSignDoc(signDoc);
|
|
3893
|
+
* const sig = secp256k1.sign(bytes, privKey, { prehash: true });
|
|
3894
|
+
* return sig.toCompactRawBytes();
|
|
3895
|
+
* };
|
|
3896
|
+
*
|
|
3897
|
+
* const client = await GrpcClient
|
|
3898
|
+
* .withUrl("http://127.0.0.1:18080")
|
|
3899
|
+
* .withPubkeyAndSigner(pubKey, signer)
|
|
3900
|
+
* .build();
|
|
3901
|
+
* ```
|
|
3902
|
+
*
|
|
3903
|
+
* ## Example with leap wallet
|
|
3904
|
+
* ```js
|
|
3905
|
+
* await window.leap.enable("mocha-4")
|
|
3906
|
+
* const keys = await window.leap.getKey("mocha-4")
|
|
3907
|
+
*
|
|
3908
|
+
* const signer = (signDoc) => {
|
|
3909
|
+
* return window.leap.signDirect("mocha-4", keys.bech32Address, signDoc, { preferNoSetFee: true })
|
|
3910
|
+
* .then(sig => Uint8Array.from(atob(sig.signature.signature), c => c.charCodeAt(0)))
|
|
3911
|
+
* }
|
|
3912
|
+
*
|
|
3913
|
+
* const client = await GrpcClient
|
|
3914
|
+
* .withUrl("http://127.0.0.1:18080")
|
|
3915
|
+
* .withPubkeyAndSigner(keys.pubKey, signer)
|
|
3916
|
+
* .build()
|
|
3917
|
+
* ```
|
|
3918
|
+
*/
|
|
3919
|
+
export class GrpcClientBuilder {
|
|
3920
|
+
|
|
3921
|
+
static __wrap(ptr) {
|
|
3922
|
+
ptr = ptr >>> 0;
|
|
3923
|
+
const obj = Object.create(GrpcClientBuilder.prototype);
|
|
3924
|
+
obj.__wbg_ptr = ptr;
|
|
3925
|
+
GrpcClientBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
3926
|
+
return obj;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
__destroy_into_raw() {
|
|
3930
|
+
const ptr = this.__wbg_ptr;
|
|
3931
|
+
this.__wbg_ptr = 0;
|
|
3932
|
+
GrpcClientBuilderFinalization.unregister(this);
|
|
3933
|
+
return ptr;
|
|
3934
|
+
}
|
|
3935
|
+
|
|
3936
|
+
free() {
|
|
3937
|
+
const ptr = this.__destroy_into_raw();
|
|
3938
|
+
wasm.__wbg_grpcclientbuilder_free(ptr, 0);
|
|
3939
|
+
}
|
|
3940
|
+
/**
|
|
3941
|
+
* Set the `url` of the grpc-web server to connect to
|
|
3942
|
+
*
|
|
3943
|
+
* Note that this method **consumes** builder and returns updated instance of it.
|
|
3944
|
+
* Make sure to re-assign it if you keep builder in a variable.
|
|
3945
|
+
* @param {string} url
|
|
3946
|
+
* @returns {GrpcClientBuilder}
|
|
3947
|
+
*/
|
|
3948
|
+
withUrl(url) {
|
|
3949
|
+
const ptr = this.__destroy_into_raw();
|
|
3950
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3951
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3952
|
+
const ret = wasm.grpcclientbuilder_withUrl(ptr, ptr0, len0);
|
|
3953
|
+
return GrpcClientBuilder.__wrap(ret);
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* Add public key and signer to the client being built
|
|
3957
|
+
*
|
|
3958
|
+
* Note that this method **consumes** builder and returns updated instance of it.
|
|
3959
|
+
* Make sure to re-assign it if you keep builder in a variable.
|
|
3960
|
+
* @param {Uint8Array} account_pubkey
|
|
3961
|
+
* @param {SignerFn} signer_fn
|
|
3962
|
+
* @returns {GrpcClientBuilder}
|
|
3963
|
+
*/
|
|
3964
|
+
withPubkeyAndSigner(account_pubkey, signer_fn) {
|
|
3965
|
+
const ptr = this.__destroy_into_raw();
|
|
3966
|
+
const ret = wasm.grpcclientbuilder_withPubkeyAndSigner(ptr, account_pubkey, signer_fn);
|
|
3967
|
+
if (ret[2]) {
|
|
3968
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3969
|
+
}
|
|
3970
|
+
return GrpcClientBuilder.__wrap(ret[0]);
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* Appends ascii metadata to all requests made by the client.
|
|
3974
|
+
*
|
|
3975
|
+
* Note that this method **consumes** builder and returns updated instance of it.
|
|
3976
|
+
* Make sure to re-assign it if you keep builder in a variable.
|
|
3977
|
+
* @param {string} key
|
|
3978
|
+
* @param {string} value
|
|
3979
|
+
* @returns {GrpcClientBuilder}
|
|
3980
|
+
*/
|
|
3981
|
+
withMetadata(key, value) {
|
|
3982
|
+
const ptr = this.__destroy_into_raw();
|
|
3983
|
+
const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3984
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3985
|
+
const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3986
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3987
|
+
const ret = wasm.grpcclientbuilder_withMetadata(ptr, ptr0, len0, ptr1, len1);
|
|
3988
|
+
return GrpcClientBuilder.__wrap(ret);
|
|
3989
|
+
}
|
|
3990
|
+
/**
|
|
3991
|
+
* Appends binary metadata to all requests made by the client.
|
|
3992
|
+
*
|
|
3993
|
+
* Keys for binary metadata must have `-bin` suffix.
|
|
3994
|
+
*
|
|
3995
|
+
* Note that this method **consumes** builder and returns updated instance of it.
|
|
3996
|
+
* Make sure to re-assign it if you keep builder in a variable.
|
|
3997
|
+
* @param {string} key
|
|
3998
|
+
* @param {Uint8Array} value
|
|
3999
|
+
* @returns {GrpcClientBuilder}
|
|
4000
|
+
*/
|
|
4001
|
+
withMetadataBin(key, value) {
|
|
4002
|
+
const ptr = this.__destroy_into_raw();
|
|
4003
|
+
const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4004
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4005
|
+
const ret = wasm.grpcclientbuilder_withMetadataBin(ptr, ptr0, len0, value);
|
|
4006
|
+
return GrpcClientBuilder.__wrap(ret);
|
|
4007
|
+
}
|
|
4008
|
+
/**
|
|
4009
|
+
* build gRPC client
|
|
4010
|
+
* @returns {GrpcClient}
|
|
4011
|
+
*/
|
|
4012
|
+
build() {
|
|
4013
|
+
const ptr = this.__destroy_into_raw();
|
|
4014
|
+
const ret = wasm.grpcclientbuilder_build(ptr);
|
|
4015
|
+
if (ret[2]) {
|
|
4016
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4017
|
+
}
|
|
4018
|
+
return GrpcClient.__wrap(ret[0]);
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
const HeaderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4023
|
+
? { register: () => {}, unregister: () => {} }
|
|
4024
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_header_free(ptr >>> 0, 1));
|
|
4025
|
+
/**
|
|
4026
|
+
* Block Header values contain metadata about the block and about the consensus,
|
|
4027
|
+
* as well as commitments to the data in the current block, the previous block,
|
|
4028
|
+
* and the results returned by the application.
|
|
4029
|
+
*/
|
|
4030
|
+
export class Header {
|
|
4031
|
+
|
|
4032
|
+
static __wrap(ptr) {
|
|
4033
|
+
ptr = ptr >>> 0;
|
|
4034
|
+
const obj = Object.create(Header.prototype);
|
|
4035
|
+
obj.__wbg_ptr = ptr;
|
|
4036
|
+
HeaderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
4037
|
+
return obj;
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
__destroy_into_raw() {
|
|
4041
|
+
const ptr = this.__wbg_ptr;
|
|
4042
|
+
this.__wbg_ptr = 0;
|
|
4043
|
+
HeaderFinalization.unregister(this);
|
|
4044
|
+
return ptr;
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
free() {
|
|
4048
|
+
const ptr = this.__destroy_into_raw();
|
|
4049
|
+
wasm.__wbg_header_free(ptr, 0);
|
|
4050
|
+
}
|
|
4051
|
+
/**
|
|
4052
|
+
* Header version
|
|
4053
|
+
* @returns {ProtocolVersion}
|
|
4054
|
+
*/
|
|
4055
|
+
get version() {
|
|
4056
|
+
const ret = wasm.__wbg_get_header_version(this.__wbg_ptr);
|
|
4057
|
+
return ProtocolVersion.__wrap(ret);
|
|
4058
|
+
}
|
|
4059
|
+
/**
|
|
4060
|
+
* Header version
|
|
4061
|
+
* @param {ProtocolVersion} arg0
|
|
4062
|
+
*/
|
|
4063
|
+
set version(arg0) {
|
|
4064
|
+
_assertClass(arg0, ProtocolVersion);
|
|
4065
|
+
var ptr0 = arg0.__destroy_into_raw();
|
|
4066
|
+
wasm.__wbg_set_header_version(this.__wbg_ptr, ptr0);
|
|
4067
|
+
}
|
|
4068
|
+
/**
|
|
4069
|
+
* Chain ID
|
|
4070
|
+
* @returns {string}
|
|
4071
|
+
*/
|
|
4072
|
+
get chain_id() {
|
|
4073
|
+
let deferred1_0;
|
|
4074
|
+
let deferred1_1;
|
|
4075
|
+
try {
|
|
4076
|
+
const ret = wasm.__wbg_get_header_chain_id(this.__wbg_ptr);
|
|
4077
|
+
deferred1_0 = ret[0];
|
|
4078
|
+
deferred1_1 = ret[1];
|
|
4079
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
4080
|
+
} finally {
|
|
4081
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
/**
|
|
4085
|
+
* Chain ID
|
|
4086
|
+
* @param {string} arg0
|
|
4087
|
+
*/
|
|
4088
|
+
set chain_id(arg0) {
|
|
4089
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4090
|
+
const len0 = WASM_VECTOR_LEN;
|
|
4091
|
+
wasm.__wbg_set_header_chain_id(this.__wbg_ptr, ptr0, len0);
|
|
4092
|
+
}
|
|
4093
|
+
/**
|
|
4094
|
+
* Current block height
|
|
4095
|
+
* @returns {bigint}
|
|
4096
|
+
*/
|
|
4097
|
+
get height() {
|
|
4098
|
+
const ret = wasm.__wbg_get_header_height(this.__wbg_ptr);
|
|
4099
|
+
return BigInt.asUintN(64, ret);
|
|
4100
|
+
}
|
|
4101
|
+
/**
|
|
4102
|
+
* Current block height
|
|
4103
|
+
* @param {bigint} arg0
|
|
4104
|
+
*/
|
|
4105
|
+
set height(arg0) {
|
|
4106
|
+
wasm.__wbg_set_header_height(this.__wbg_ptr, arg0);
|
|
3839
4107
|
}
|
|
3840
4108
|
/**
|
|
3841
4109
|
* Current timestamp encoded as rfc3339
|
|
@@ -4319,7 +4587,7 @@ export class JsEvent {
|
|
|
4319
4587
|
set type(arg0) {
|
|
4320
4588
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4321
4589
|
const len0 = WASM_VECTOR_LEN;
|
|
4322
|
-
wasm.
|
|
4590
|
+
wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
|
|
4323
4591
|
}
|
|
4324
4592
|
/**
|
|
4325
4593
|
* @returns {JsEventAttribute[]}
|
|
@@ -4393,7 +4661,7 @@ export class JsEventAttribute {
|
|
|
4393
4661
|
set key(arg0) {
|
|
4394
4662
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4395
4663
|
const len0 = WASM_VECTOR_LEN;
|
|
4396
|
-
wasm.
|
|
4664
|
+
wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
|
|
4397
4665
|
}
|
|
4398
4666
|
/**
|
|
4399
4667
|
* @returns {string}
|
|
@@ -4555,7 +4823,7 @@ export class JsValidatorInfo {
|
|
|
4555
4823
|
* @returns {bigint}
|
|
4556
4824
|
*/
|
|
4557
4825
|
get power() {
|
|
4558
|
-
const ret = wasm.
|
|
4826
|
+
const ret = wasm.__wbg_get_data_square_size(this.__wbg_ptr);
|
|
4559
4827
|
return BigInt.asUintN(64, ret);
|
|
4560
4828
|
}
|
|
4561
4829
|
/**
|
|
@@ -4563,7 +4831,7 @@ export class JsValidatorInfo {
|
|
|
4563
4831
|
* @param {bigint} arg0
|
|
4564
4832
|
*/
|
|
4565
4833
|
set power(arg0) {
|
|
4566
|
-
wasm.
|
|
4834
|
+
wasm.__wbg_set_data_square_size(this.__wbg_ptr, arg0);
|
|
4567
4835
|
}
|
|
4568
4836
|
/**
|
|
4569
4837
|
* Validator name
|
|
@@ -5373,6 +5641,7 @@ export class NodeConfig {
|
|
|
5373
5641
|
return {
|
|
5374
5642
|
network: this.network,
|
|
5375
5643
|
bootnodes: this.bootnodes,
|
|
5644
|
+
identity_key: this.identity_key,
|
|
5376
5645
|
usePersistentMemory: this.usePersistentMemory,
|
|
5377
5646
|
customPruningWindowSecs: this.customPruningWindowSecs,
|
|
5378
5647
|
};
|
|
@@ -5427,6 +5696,30 @@ export class NodeConfig {
|
|
|
5427
5696
|
const len0 = WASM_VECTOR_LEN;
|
|
5428
5697
|
wasm.__wbg_set_nodeconfig_bootnodes(this.__wbg_ptr, ptr0, len0);
|
|
5429
5698
|
}
|
|
5699
|
+
/**
|
|
5700
|
+
* Optionally start with a provided private key used as libp2p identity. Expects 32 bytes
|
|
5701
|
+
* containing ed25519 secret key.
|
|
5702
|
+
* @returns {Uint8Array | undefined}
|
|
5703
|
+
*/
|
|
5704
|
+
get identity_key() {
|
|
5705
|
+
const ret = wasm.__wbg_get_nodeconfig_identity_key(this.__wbg_ptr);
|
|
5706
|
+
let v1;
|
|
5707
|
+
if (ret[0] !== 0) {
|
|
5708
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
5709
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
5710
|
+
}
|
|
5711
|
+
return v1;
|
|
5712
|
+
}
|
|
5713
|
+
/**
|
|
5714
|
+
* Optionally start with a provided private key used as libp2p identity. Expects 32 bytes
|
|
5715
|
+
* containing ed25519 secret key.
|
|
5716
|
+
* @param {Uint8Array | null} [arg0]
|
|
5717
|
+
*/
|
|
5718
|
+
set identity_key(arg0) {
|
|
5719
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
5720
|
+
var len0 = WASM_VECTOR_LEN;
|
|
5721
|
+
wasm.__wbg_set_nodeconfig_identity_key(this.__wbg_ptr, ptr0, len0);
|
|
5722
|
+
}
|
|
5430
5723
|
/**
|
|
5431
5724
|
* Whether to store data in persistent memory or not.
|
|
5432
5725
|
*
|
|
@@ -5595,7 +5888,7 @@ export class PartsHeader {
|
|
|
5595
5888
|
set hash(arg0) {
|
|
5596
5889
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5597
5890
|
const len0 = WASM_VECTOR_LEN;
|
|
5598
|
-
wasm.
|
|
5891
|
+
wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
|
|
5599
5892
|
}
|
|
5600
5893
|
}
|
|
5601
5894
|
|
|
@@ -5846,7 +6139,7 @@ export class ProtocolVersion {
|
|
|
5846
6139
|
* @returns {bigint}
|
|
5847
6140
|
*/
|
|
5848
6141
|
get block() {
|
|
5849
|
-
const ret = wasm.
|
|
6142
|
+
const ret = wasm.__wbg_get_commit_height(this.__wbg_ptr);
|
|
5850
6143
|
return BigInt.asUintN(64, ret);
|
|
5851
6144
|
}
|
|
5852
6145
|
/**
|
|
@@ -5854,14 +6147,14 @@ export class ProtocolVersion {
|
|
|
5854
6147
|
* @param {bigint} arg0
|
|
5855
6148
|
*/
|
|
5856
6149
|
set block(arg0) {
|
|
5857
|
-
wasm.
|
|
6150
|
+
wasm.__wbg_set_commit_height(this.__wbg_ptr, arg0);
|
|
5858
6151
|
}
|
|
5859
6152
|
/**
|
|
5860
6153
|
* app version
|
|
5861
6154
|
* @returns {bigint}
|
|
5862
6155
|
*/
|
|
5863
6156
|
get app() {
|
|
5864
|
-
const ret = wasm.
|
|
6157
|
+
const ret = wasm.__wbg_get_protocolversion_app(this.__wbg_ptr);
|
|
5865
6158
|
return BigInt.asUintN(64, ret);
|
|
5866
6159
|
}
|
|
5867
6160
|
/**
|
|
@@ -5869,7 +6162,7 @@ export class ProtocolVersion {
|
|
|
5869
6162
|
* @param {bigint} arg0
|
|
5870
6163
|
*/
|
|
5871
6164
|
set app(arg0) {
|
|
5872
|
-
wasm.
|
|
6165
|
+
wasm.__wbg_set_protocolversion_app(this.__wbg_ptr, arg0);
|
|
5873
6166
|
}
|
|
5874
6167
|
}
|
|
5875
6168
|
|
|
@@ -6435,281 +6728,32 @@ export class TxBody {
|
|
|
6435
6728
|
}
|
|
6436
6729
|
}
|
|
6437
6730
|
|
|
6438
|
-
const
|
|
6731
|
+
const TxResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6439
6732
|
? { register: () => {}, unregister: () => {} }
|
|
6440
|
-
: new FinalizationRegistry(ptr => wasm.
|
|
6733
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_txresponse_free(ptr >>> 0, 1));
|
|
6441
6734
|
/**
|
|
6442
|
-
*
|
|
6735
|
+
* Response to a tx query
|
|
6443
6736
|
*/
|
|
6444
|
-
export class
|
|
6737
|
+
export class TxResponse {
|
|
6445
6738
|
|
|
6446
6739
|
static __wrap(ptr) {
|
|
6447
6740
|
ptr = ptr >>> 0;
|
|
6448
|
-
const obj = Object.create(
|
|
6741
|
+
const obj = Object.create(TxResponse.prototype);
|
|
6449
6742
|
obj.__wbg_ptr = ptr;
|
|
6450
|
-
|
|
6743
|
+
TxResponseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
6451
6744
|
return obj;
|
|
6452
6745
|
}
|
|
6453
6746
|
|
|
6454
6747
|
__destroy_into_raw() {
|
|
6455
6748
|
const ptr = this.__wbg_ptr;
|
|
6456
6749
|
this.__wbg_ptr = 0;
|
|
6457
|
-
|
|
6750
|
+
TxResponseFinalization.unregister(this);
|
|
6458
6751
|
return ptr;
|
|
6459
6752
|
}
|
|
6460
6753
|
|
|
6461
6754
|
free() {
|
|
6462
6755
|
const ptr = this.__destroy_into_raw();
|
|
6463
|
-
wasm.
|
|
6464
|
-
}
|
|
6465
|
-
/**
|
|
6466
|
-
* Create a new transaction client with the specified account.
|
|
6467
|
-
*
|
|
6468
|
-
* Url must point to a [grpc-web proxy](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md).
|
|
6469
|
-
*
|
|
6470
|
-
* # Example with noble/curves
|
|
6471
|
-
* ```js
|
|
6472
|
-
* import { secp256k1 } from "@noble/curves/secp256k1";
|
|
6473
|
-
*
|
|
6474
|
-
* const privKey = "fdc8ac75dfa1c142dbcba77938a14dd03078052ce0b49a529dcf72a9885a3abb";
|
|
6475
|
-
* const pubKey = secp256k1.getPublicKey(privKey);
|
|
6476
|
-
*
|
|
6477
|
-
* const signer = (signDoc) => {
|
|
6478
|
-
* const bytes = protoEncodeSignDoc(signDoc);
|
|
6479
|
-
* const sig = secp256k1.sign(bytes, privKey, { prehash: true });
|
|
6480
|
-
* return sig.toCompactRawBytes();
|
|
6481
|
-
* };
|
|
6482
|
-
*
|
|
6483
|
-
* const txClient = await new TxClient("http://127.0.0.1:18080", pubKey, signer);
|
|
6484
|
-
* ```
|
|
6485
|
-
*
|
|
6486
|
-
* # Example with leap wallet
|
|
6487
|
-
* ```js
|
|
6488
|
-
* await window.leap.enable("mocha-4")
|
|
6489
|
-
* const keys = await window.leap.getKey("mocha-4")
|
|
6490
|
-
*
|
|
6491
|
-
* const signer = (signDoc) => {
|
|
6492
|
-
* return window.leap.signDirect("mocha-4", keys.bech32Address, signDoc, { preferNoSetFee: true })
|
|
6493
|
-
* .then(sig => Uint8Array.from(atob(sig.signature.signature), c => c.charCodeAt(0)))
|
|
6494
|
-
* }
|
|
6495
|
-
*
|
|
6496
|
-
* const tx_client = await new TxClient("http://127.0.0.1:18080", keys.pubKey, signer)
|
|
6497
|
-
* ```
|
|
6498
|
-
* @param {string} url
|
|
6499
|
-
* @param {Uint8Array} pubkey
|
|
6500
|
-
* @param {SignerFn} signer_fn
|
|
6501
|
-
*/
|
|
6502
|
-
constructor(url, pubkey, signer_fn) {
|
|
6503
|
-
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6504
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6505
|
-
const ret = wasm.txclient_new(ptr0, len0, pubkey, signer_fn);
|
|
6506
|
-
return ret;
|
|
6507
|
-
}
|
|
6508
|
-
/**
|
|
6509
|
-
* estimate_gas_price takes a transaction priority and estimates the gas price based
|
|
6510
|
-
* on the gas prices of the transactions in the last five blocks.
|
|
6511
|
-
*
|
|
6512
|
-
* If no transaction is found in the last five blocks, return the network
|
|
6513
|
-
* min gas price.
|
|
6514
|
-
* @param {TxPriority} priority
|
|
6515
|
-
* @returns {Promise<number>}
|
|
6516
|
-
*/
|
|
6517
|
-
getEstimateGasPrice(priority) {
|
|
6518
|
-
const ret = wasm.txclient_getEstimateGasPrice(this.__wbg_ptr, priority);
|
|
6519
|
-
return ret;
|
|
6520
|
-
}
|
|
6521
|
-
/**
|
|
6522
|
-
* Chain id of the client
|
|
6523
|
-
* @returns {string}
|
|
6524
|
-
*/
|
|
6525
|
-
get chainId() {
|
|
6526
|
-
let deferred1_0;
|
|
6527
|
-
let deferred1_1;
|
|
6528
|
-
try {
|
|
6529
|
-
const ret = wasm.txclient_chainId(this.__wbg_ptr);
|
|
6530
|
-
deferred1_0 = ret[0];
|
|
6531
|
-
deferred1_1 = ret[1];
|
|
6532
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
6533
|
-
} finally {
|
|
6534
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
6535
|
-
}
|
|
6536
|
-
}
|
|
6537
|
-
/**
|
|
6538
|
-
* AppVersion of the client
|
|
6539
|
-
* @returns {AppVersion}
|
|
6540
|
-
*/
|
|
6541
|
-
get appVersion() {
|
|
6542
|
-
const ret = wasm.txclient_appVersion(this.__wbg_ptr);
|
|
6543
|
-
return AppVersion.__wrap(ret);
|
|
6544
|
-
}
|
|
6545
|
-
/**
|
|
6546
|
-
* Submit blobs to the celestia network.
|
|
6547
|
-
*
|
|
6548
|
-
* When no `TxConfig` is provided, client will automatically calculate needed
|
|
6549
|
-
* gas and update the `gasPrice`, if network agreed on a new minimal value.
|
|
6550
|
-
* To enforce specific values use a `TxConfig`.
|
|
6551
|
-
*
|
|
6552
|
-
* # Example
|
|
6553
|
-
* ```js
|
|
6554
|
-
* const ns = Namespace.newV0(new Uint8Array([97, 98, 99]));
|
|
6555
|
-
* const data = new Uint8Array([100, 97, 116, 97]);
|
|
6556
|
-
* const blob = new Blob(ns, data, AppVersion.latest());
|
|
6557
|
-
*
|
|
6558
|
-
* const txInfo = await txClient.submitBlobs([blob]);
|
|
6559
|
-
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
|
|
6560
|
-
* ```
|
|
6561
|
-
*
|
|
6562
|
-
* # Note
|
|
6563
|
-
*
|
|
6564
|
-
* Provided blobs will be consumed by this method, meaning
|
|
6565
|
-
* they will no longer be accessible. If this behavior is not desired,
|
|
6566
|
-
* consider using `Blob.clone()`.
|
|
6567
|
-
*
|
|
6568
|
-
* ```js
|
|
6569
|
-
* const blobs = [blob1, blob2, blob3];
|
|
6570
|
-
* await txClient.submitBlobs(blobs.map(b => b.clone()));
|
|
6571
|
-
* ```
|
|
6572
|
-
* @param {Blob[]} blobs
|
|
6573
|
-
* @param {TxConfig | null} [tx_config]
|
|
6574
|
-
* @returns {Promise<TxInfo>}
|
|
6575
|
-
*/
|
|
6576
|
-
submitBlobs(blobs, tx_config) {
|
|
6577
|
-
const ptr0 = passArrayJsValueToWasm0(blobs, wasm.__wbindgen_malloc);
|
|
6578
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6579
|
-
const ret = wasm.txclient_submitBlobs(this.__wbg_ptr, ptr0, len0, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
|
|
6580
|
-
return ret;
|
|
6581
|
-
}
|
|
6582
|
-
/**
|
|
6583
|
-
* Submit message to the celestia network.
|
|
6584
|
-
*
|
|
6585
|
-
* When no `TxConfig` is provided, client will automatically calculate needed
|
|
6586
|
-
* gas and update the `gasPrice`, if network agreed on a new minimal value.
|
|
6587
|
-
* To enforce specific values use a `TxConfig`.
|
|
6588
|
-
*
|
|
6589
|
-
* # Example
|
|
6590
|
-
* ```js
|
|
6591
|
-
* import { Registry } from "@cosmjs/proto-signing";
|
|
6592
|
-
*
|
|
6593
|
-
* const registry = new Registry();
|
|
6594
|
-
* const sendMsg = {
|
|
6595
|
-
* typeUrl: "/cosmos.bank.v1beta1.MsgSend",
|
|
6596
|
-
* value: {
|
|
6597
|
-
* fromAddress: "celestia169s50psyj2f4la9a2235329xz7rk6c53zhw9mm",
|
|
6598
|
-
* toAddress: "celestia1t52q7uqgnjfzdh3wx5m5phvma3umrq8k6tq2p9",
|
|
6599
|
-
* amount: [{ denom: "utia", amount: "10000" }],
|
|
6600
|
-
* },
|
|
6601
|
-
* };
|
|
6602
|
-
* const sendMsgAny = registry.encodeAsAny(sendMsg);
|
|
6603
|
-
*
|
|
6604
|
-
* const txInfo = await txClient.submitMessage(sendMsgAny);
|
|
6605
|
-
* ```
|
|
6606
|
-
* @param {ProtoAny} message
|
|
6607
|
-
* @param {TxConfig | null} [tx_config]
|
|
6608
|
-
* @returns {Promise<TxInfo>}
|
|
6609
|
-
*/
|
|
6610
|
-
submitMessage(message, tx_config) {
|
|
6611
|
-
const ret = wasm.txclient_submitMessage(this.__wbg_ptr, message, isLikeNone(tx_config) ? 0 : addToExternrefTable0(tx_config));
|
|
6612
|
-
return ret;
|
|
6613
|
-
}
|
|
6614
|
-
/**
|
|
6615
|
-
* Get auth params
|
|
6616
|
-
* @returns {Promise<AuthParams>}
|
|
6617
|
-
*/
|
|
6618
|
-
getAuthParams() {
|
|
6619
|
-
const ret = wasm.txclient_getAuthParams(this.__wbg_ptr);
|
|
6620
|
-
return ret;
|
|
6621
|
-
}
|
|
6622
|
-
/**
|
|
6623
|
-
* Get account
|
|
6624
|
-
* @param {string} account
|
|
6625
|
-
* @returns {Promise<BaseAccount>}
|
|
6626
|
-
*/
|
|
6627
|
-
getAccount(account) {
|
|
6628
|
-
const ptr0 = passStringToWasm0(account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6629
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6630
|
-
const ret = wasm.txclient_getAccount(this.__wbg_ptr, ptr0, len0);
|
|
6631
|
-
return ret;
|
|
6632
|
-
}
|
|
6633
|
-
/**
|
|
6634
|
-
* Get accounts
|
|
6635
|
-
* @returns {Promise<BaseAccount[]>}
|
|
6636
|
-
*/
|
|
6637
|
-
getAccounts() {
|
|
6638
|
-
const ret = wasm.txclient_getAccounts(this.__wbg_ptr);
|
|
6639
|
-
return ret;
|
|
6640
|
-
}
|
|
6641
|
-
/**
|
|
6642
|
-
* Get balance of coins with given denom
|
|
6643
|
-
* @param {string} address
|
|
6644
|
-
* @param {string} denom
|
|
6645
|
-
* @returns {Promise<Coin>}
|
|
6646
|
-
*/
|
|
6647
|
-
getBalance(address, denom) {
|
|
6648
|
-
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6649
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6650
|
-
const ptr1 = passStringToWasm0(denom, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6651
|
-
const len1 = WASM_VECTOR_LEN;
|
|
6652
|
-
const ret = wasm.txclient_getBalance(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
6653
|
-
return ret;
|
|
6654
|
-
}
|
|
6655
|
-
/**
|
|
6656
|
-
* Get balance of all coins
|
|
6657
|
-
* @param {string} address
|
|
6658
|
-
* @returns {Promise<Coin[]>}
|
|
6659
|
-
*/
|
|
6660
|
-
getAllBalances(address) {
|
|
6661
|
-
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6662
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6663
|
-
const ret = wasm.txclient_getAllBalances(this.__wbg_ptr, ptr0, len0);
|
|
6664
|
-
return ret;
|
|
6665
|
-
}
|
|
6666
|
-
/**
|
|
6667
|
-
* Get balance of all spendable coins
|
|
6668
|
-
* @param {string} address
|
|
6669
|
-
* @returns {Promise<Coin[]>}
|
|
6670
|
-
*/
|
|
6671
|
-
getSpendableBalances(address) {
|
|
6672
|
-
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6673
|
-
const len0 = WASM_VECTOR_LEN;
|
|
6674
|
-
const ret = wasm.txclient_getSpendableBalances(this.__wbg_ptr, ptr0, len0);
|
|
6675
|
-
return ret;
|
|
6676
|
-
}
|
|
6677
|
-
/**
|
|
6678
|
-
* Get total supply
|
|
6679
|
-
* @returns {Promise<Coin[]>}
|
|
6680
|
-
*/
|
|
6681
|
-
getTotalSupply() {
|
|
6682
|
-
const ret = wasm.txclient_getTotalSupply(this.__wbg_ptr);
|
|
6683
|
-
return ret;
|
|
6684
|
-
}
|
|
6685
|
-
}
|
|
6686
|
-
|
|
6687
|
-
const TxResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
6688
|
-
? { register: () => {}, unregister: () => {} }
|
|
6689
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_txresponse_free(ptr >>> 0, 1));
|
|
6690
|
-
/**
|
|
6691
|
-
* Response to a tx query
|
|
6692
|
-
*/
|
|
6693
|
-
export class TxResponse {
|
|
6694
|
-
|
|
6695
|
-
static __wrap(ptr) {
|
|
6696
|
-
ptr = ptr >>> 0;
|
|
6697
|
-
const obj = Object.create(TxResponse.prototype);
|
|
6698
|
-
obj.__wbg_ptr = ptr;
|
|
6699
|
-
TxResponseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
6700
|
-
return obj;
|
|
6701
|
-
}
|
|
6702
|
-
|
|
6703
|
-
__destroy_into_raw() {
|
|
6704
|
-
const ptr = this.__wbg_ptr;
|
|
6705
|
-
this.__wbg_ptr = 0;
|
|
6706
|
-
TxResponseFinalization.unregister(this);
|
|
6707
|
-
return ptr;
|
|
6708
|
-
}
|
|
6709
|
-
|
|
6710
|
-
free() {
|
|
6711
|
-
const ptr = this.__destroy_into_raw();
|
|
6712
|
-
wasm.__wbg_txresponse_free(ptr, 0);
|
|
6756
|
+
wasm.__wbg_txresponse_free(ptr, 0);
|
|
6713
6757
|
}
|
|
6714
6758
|
/**
|
|
6715
6759
|
* Namespace for the Code
|
|
@@ -7369,6 +7413,16 @@ export class Vote {
|
|
|
7369
7413
|
}
|
|
7370
7414
|
}
|
|
7371
7415
|
|
|
7416
|
+
export function __wbg_Error_1f3748b298f99708(arg0, arg1) {
|
|
7417
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
7418
|
+
return ret;
|
|
7419
|
+
};
|
|
7420
|
+
|
|
7421
|
+
export function __wbg_Number_577a493fc95ea223(arg0) {
|
|
7422
|
+
const ret = Number(arg0);
|
|
7423
|
+
return ret;
|
|
7424
|
+
};
|
|
7425
|
+
|
|
7372
7426
|
export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
7373
7427
|
const ret = String(arg1);
|
|
7374
7428
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -7377,7 +7431,7 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
|
|
|
7377
7431
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7378
7432
|
};
|
|
7379
7433
|
|
|
7380
|
-
export function
|
|
7434
|
+
export function __wbg_WorkerGlobalScope_68dbbc2404209578(arg0) {
|
|
7381
7435
|
const ret = arg0.WorkerGlobalScope;
|
|
7382
7436
|
return ret;
|
|
7383
7437
|
};
|
|
@@ -7397,38 +7451,43 @@ export function __wbg_abciqueryresponse_new(arg0) {
|
|
|
7397
7451
|
return ret;
|
|
7398
7452
|
};
|
|
7399
7453
|
|
|
7400
|
-
export function
|
|
7454
|
+
export function __wbg_abort_496881624c2d80da() { return handleError(function (arg0) {
|
|
7401
7455
|
arg0.abort();
|
|
7402
7456
|
}, arguments) };
|
|
7403
7457
|
|
|
7404
|
-
export function
|
|
7458
|
+
export function __wbg_accountNumber_39d1c298f9e5c082(arg0) {
|
|
7405
7459
|
const ret = arg0.accountNumber;
|
|
7406
7460
|
return ret;
|
|
7407
7461
|
};
|
|
7408
7462
|
|
|
7409
|
-
export function
|
|
7410
|
-
const ret = arg0.add(arg1);
|
|
7463
|
+
export function __wbg_add_06c49d78d2836c4c() { return handleError(function (arg0, arg1, arg2) {
|
|
7464
|
+
const ret = arg0.add(arg1, arg2);
|
|
7411
7465
|
return ret;
|
|
7412
7466
|
}, arguments) };
|
|
7413
7467
|
|
|
7414
|
-
export function
|
|
7415
|
-
const ret = arg0.add(arg1
|
|
7468
|
+
export function __wbg_add_2af21486199bad83() { return handleError(function (arg0, arg1) {
|
|
7469
|
+
const ret = arg0.add(arg1);
|
|
7416
7470
|
return ret;
|
|
7417
7471
|
}, arguments) };
|
|
7418
7472
|
|
|
7419
|
-
export function
|
|
7473
|
+
export function __wbg_advance_29c64dfd5255179a() { return handleError(function (arg0, arg1) {
|
|
7420
7474
|
arg0.advance(arg1 >>> 0);
|
|
7421
7475
|
}, arguments) };
|
|
7422
7476
|
|
|
7423
|
-
export function
|
|
7477
|
+
export function __wbg_append_3e86b0cd6215edd8() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
7424
7478
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
7425
7479
|
}, arguments) };
|
|
7426
7480
|
|
|
7427
|
-
export function
|
|
7481
|
+
export function __wbg_apply_90b47af8bf01ab0b() { return handleError(function (arg0, arg1, arg2) {
|
|
7428
7482
|
const ret = Reflect.apply(arg0, arg1, arg2);
|
|
7429
7483
|
return ret;
|
|
7430
7484
|
}, arguments) };
|
|
7431
7485
|
|
|
7486
|
+
export function __wbg_appversion_new(arg0) {
|
|
7487
|
+
const ret = AppVersion.__wrap(arg0);
|
|
7488
|
+
return ret;
|
|
7489
|
+
};
|
|
7490
|
+
|
|
7432
7491
|
export function __wbg_attribute_new(arg0) {
|
|
7433
7492
|
const ret = Attribute.__wrap(arg0);
|
|
7434
7493
|
return ret;
|
|
@@ -7439,7 +7498,7 @@ export function __wbg_attribute_unwrap(arg0) {
|
|
|
7439
7498
|
return ret;
|
|
7440
7499
|
};
|
|
7441
7500
|
|
|
7442
|
-
export function
|
|
7501
|
+
export function __wbg_authInfoBytes_b318cc80cf9d2ff8(arg0, arg1) {
|
|
7443
7502
|
const ret = arg1.authInfoBytes;
|
|
7444
7503
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
7445
7504
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7477,7 +7536,7 @@ export function __wbg_blockrange_unwrap(arg0) {
|
|
|
7477
7536
|
return ret;
|
|
7478
7537
|
};
|
|
7479
7538
|
|
|
7480
|
-
export function
|
|
7539
|
+
export function __wbg_bodyBytes_cd75eac0b845f014(arg0, arg1) {
|
|
7481
7540
|
const ret = arg1.bodyBytes;
|
|
7482
7541
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
7483
7542
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7485,67 +7544,67 @@ export function __wbg_bodyBytes_caa9f71ff12973cf(arg0, arg1) {
|
|
|
7485
7544
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7486
7545
|
};
|
|
7487
7546
|
|
|
7488
|
-
export function
|
|
7547
|
+
export function __wbg_body_be60ee806470b990(arg0) {
|
|
7489
7548
|
const ret = arg0.body;
|
|
7490
7549
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7491
7550
|
};
|
|
7492
7551
|
|
|
7493
|
-
export function
|
|
7494
|
-
const ret = arg0
|
|
7552
|
+
export function __wbg_bound_5807fb7ebc427c03() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7553
|
+
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
7495
7554
|
return ret;
|
|
7496
|
-
};
|
|
7555
|
+
}, arguments) };
|
|
7497
7556
|
|
|
7498
|
-
export function
|
|
7557
|
+
export function __wbg_buffer_1f897e9f3ed6b41d(arg0) {
|
|
7499
7558
|
const ret = arg0.buffer;
|
|
7500
7559
|
return ret;
|
|
7501
7560
|
};
|
|
7502
7561
|
|
|
7503
|
-
export function
|
|
7562
|
+
export function __wbg_bufferedAmount_ea4c08c898c11537(arg0) {
|
|
7504
7563
|
const ret = arg0.bufferedAmount;
|
|
7505
7564
|
return ret;
|
|
7506
7565
|
};
|
|
7507
7566
|
|
|
7508
|
-
export function
|
|
7567
|
+
export function __wbg_byobRequest_ba853121442653bf(arg0) {
|
|
7509
7568
|
const ret = arg0.byobRequest;
|
|
7510
7569
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7511
7570
|
};
|
|
7512
7571
|
|
|
7513
|
-
export function
|
|
7572
|
+
export function __wbg_byteLength_7029fecd0c136e6d(arg0) {
|
|
7514
7573
|
const ret = arg0.byteLength;
|
|
7515
7574
|
return ret;
|
|
7516
7575
|
};
|
|
7517
7576
|
|
|
7518
|
-
export function
|
|
7577
|
+
export function __wbg_byteOffset_8161a341c0d72844(arg0) {
|
|
7519
7578
|
const ret = arg0.byteOffset;
|
|
7520
7579
|
return ret;
|
|
7521
7580
|
};
|
|
7522
7581
|
|
|
7523
|
-
export function
|
|
7582
|
+
export function __wbg_call_2f8d426a20a307fe() { return handleError(function (arg0, arg1) {
|
|
7524
7583
|
const ret = arg0.call(arg1);
|
|
7525
7584
|
return ret;
|
|
7526
7585
|
}, arguments) };
|
|
7527
7586
|
|
|
7528
|
-
export function
|
|
7587
|
+
export function __wbg_call_f53f0647ceb9c567() { return handleError(function (arg0, arg1, arg2) {
|
|
7529
7588
|
const ret = arg0.call(arg1, arg2);
|
|
7530
7589
|
return ret;
|
|
7531
7590
|
}, arguments) };
|
|
7532
7591
|
|
|
7533
|
-
export function
|
|
7592
|
+
export function __wbg_cancel_8fc34c38a41c5d07(arg0) {
|
|
7534
7593
|
const ret = arg0.cancel();
|
|
7535
7594
|
return ret;
|
|
7536
7595
|
};
|
|
7537
7596
|
|
|
7538
|
-
export function
|
|
7597
|
+
export function __wbg_catch_70a1618b6f59db8a(arg0, arg1) {
|
|
7539
7598
|
const ret = arg0.catch(arg1);
|
|
7540
7599
|
return ret;
|
|
7541
7600
|
};
|
|
7542
7601
|
|
|
7543
|
-
export function
|
|
7602
|
+
export function __wbg_cause_94f62e1c92956ce2(arg0) {
|
|
7544
7603
|
const ret = arg0.cause;
|
|
7545
7604
|
return ret;
|
|
7546
7605
|
};
|
|
7547
7606
|
|
|
7548
|
-
export function
|
|
7607
|
+
export function __wbg_chainId_2d57400a28824c3f(arg0, arg1) {
|
|
7549
7608
|
const ret = arg1.chainId;
|
|
7550
7609
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7551
7610
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7553,7 +7612,7 @@ export function __wbg_chainId_7cdd8a461ddd3dd2(arg0, arg1) {
|
|
|
7553
7612
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7554
7613
|
};
|
|
7555
7614
|
|
|
7556
|
-
export function
|
|
7615
|
+
export function __wbg_clearInterval_8488d01fe6397e53(arg0, arg1) {
|
|
7557
7616
|
arg0.clearInterval(arg1);
|
|
7558
7617
|
};
|
|
7559
7618
|
|
|
@@ -7562,14 +7621,10 @@ export function __wbg_clearInterval_dd1e598f425db353(arg0) {
|
|
|
7562
7621
|
return ret;
|
|
7563
7622
|
};
|
|
7564
7623
|
|
|
7565
|
-
export function
|
|
7624
|
+
export function __wbg_clearInterval_e65bc4d23bbf1edb(arg0, arg1) {
|
|
7566
7625
|
arg0.clearInterval(arg1);
|
|
7567
7626
|
};
|
|
7568
7627
|
|
|
7569
|
-
export function __wbg_clearTimeout_0b4dcb73f78d2d53(arg0) {
|
|
7570
|
-
clearTimeout(arg0);
|
|
7571
|
-
};
|
|
7572
|
-
|
|
7573
7628
|
export function __wbg_clearTimeout_5a54f8841c30079a(arg0) {
|
|
7574
7629
|
const ret = clearTimeout(arg0);
|
|
7575
7630
|
return ret;
|
|
@@ -7580,42 +7635,46 @@ export function __wbg_clearTimeout_96804de0ab838f26(arg0) {
|
|
|
7580
7635
|
return ret;
|
|
7581
7636
|
};
|
|
7582
7637
|
|
|
7583
|
-
export function
|
|
7638
|
+
export function __wbg_clearTimeout_e1b14c330a6c41a6(arg0) {
|
|
7639
|
+
clearTimeout(arg0);
|
|
7640
|
+
};
|
|
7641
|
+
|
|
7642
|
+
export function __wbg_clear_7ddff460554dd8f9() { return handleError(function (arg0) {
|
|
7584
7643
|
const ret = arg0.clear();
|
|
7585
7644
|
return ret;
|
|
7586
7645
|
}, arguments) };
|
|
7587
7646
|
|
|
7588
|
-
export function
|
|
7647
|
+
export function __wbg_close_5c0c68ce107ac21e(arg0) {
|
|
7589
7648
|
arg0.close();
|
|
7590
7649
|
};
|
|
7591
7650
|
|
|
7592
|
-
export function
|
|
7593
|
-
arg0.close();
|
|
7594
|
-
}, arguments) };
|
|
7595
|
-
|
|
7596
|
-
export function __wbg_close_5ce03e29be453811() { return handleError(function (arg0) {
|
|
7597
|
-
arg0.close();
|
|
7598
|
-
}, arguments) };
|
|
7599
|
-
|
|
7600
|
-
export function __wbg_close_e1253d480ed93ce3() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7651
|
+
export function __wbg_close_62eb30084a8993bf() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7601
7652
|
arg0.close(arg1, getStringFromWasm0(arg2, arg3));
|
|
7602
7653
|
}, arguments) };
|
|
7603
7654
|
|
|
7604
|
-
export function
|
|
7655
|
+
export function __wbg_close_7dcca1557b5bd08b(arg0) {
|
|
7605
7656
|
arg0.close();
|
|
7606
7657
|
};
|
|
7607
7658
|
|
|
7608
|
-
export function
|
|
7659
|
+
export function __wbg_close_a90439b2444e47b4() { return handleError(function (arg0) {
|
|
7660
|
+
arg0.close();
|
|
7661
|
+
}, arguments) };
|
|
7662
|
+
|
|
7663
|
+
export function __wbg_close_bffe85e60f8b736d(arg0) {
|
|
7609
7664
|
const ret = arg0.close();
|
|
7610
7665
|
return ret;
|
|
7611
7666
|
};
|
|
7612
7667
|
|
|
7613
|
-
export function
|
|
7668
|
+
export function __wbg_close_f602227805f17f95() { return handleError(function (arg0) {
|
|
7669
|
+
arg0.close();
|
|
7670
|
+
}, arguments) };
|
|
7671
|
+
|
|
7672
|
+
export function __wbg_closed_2934f4ed093a9d95(arg0) {
|
|
7614
7673
|
const ret = arg0.closed;
|
|
7615
7674
|
return ret;
|
|
7616
7675
|
};
|
|
7617
7676
|
|
|
7618
|
-
export function
|
|
7677
|
+
export function __wbg_closed_8b9d023c2484076c(arg0) {
|
|
7619
7678
|
const ret = arg0.closed;
|
|
7620
7679
|
return ret;
|
|
7621
7680
|
};
|
|
@@ -7630,7 +7689,7 @@ export function __wbg_coin_unwrap(arg0) {
|
|
|
7630
7689
|
return ret;
|
|
7631
7690
|
};
|
|
7632
7691
|
|
|
7633
|
-
export function
|
|
7692
|
+
export function __wbg_commit_61c8d53ee2eb6843() { return handleError(function (arg0) {
|
|
7634
7693
|
arg0.commit();
|
|
7635
7694
|
}, arguments) };
|
|
7636
7695
|
|
|
@@ -7649,100 +7708,105 @@ export function __wbg_configresponse_new(arg0) {
|
|
|
7649
7708
|
return ret;
|
|
7650
7709
|
};
|
|
7651
7710
|
|
|
7652
|
-
export function
|
|
7653
|
-
arg0.continue(
|
|
7711
|
+
export function __wbg_continue_e37b78917b01b67f() { return handleError(function (arg0) {
|
|
7712
|
+
arg0.continue();
|
|
7654
7713
|
}, arguments) };
|
|
7655
7714
|
|
|
7656
|
-
export function
|
|
7657
|
-
arg0.continue();
|
|
7715
|
+
export function __wbg_continue_ff2028eeeedc8304() { return handleError(function (arg0, arg1) {
|
|
7716
|
+
arg0.continue(arg1);
|
|
7658
7717
|
}, arguments) };
|
|
7659
7718
|
|
|
7660
|
-
export function
|
|
7719
|
+
export function __wbg_count_9a21aa97cae2b4d6() { return handleError(function (arg0) {
|
|
7661
7720
|
const ret = arg0.count();
|
|
7662
7721
|
return ret;
|
|
7663
7722
|
}, arguments) };
|
|
7664
7723
|
|
|
7665
|
-
export function
|
|
7724
|
+
export function __wbg_count_9d30285250b9065f() { return handleError(function (arg0, arg1) {
|
|
7666
7725
|
const ret = arg0.count(arg1);
|
|
7667
7726
|
return ret;
|
|
7668
7727
|
}, arguments) };
|
|
7669
7728
|
|
|
7670
|
-
export function
|
|
7671
|
-
const ret = arg0.count(
|
|
7729
|
+
export function __wbg_count_d0c45be30c157193() { return handleError(function (arg0) {
|
|
7730
|
+
const ret = arg0.count();
|
|
7672
7731
|
return ret;
|
|
7673
7732
|
}, arguments) };
|
|
7674
7733
|
|
|
7675
|
-
export function
|
|
7676
|
-
const ret = arg0.count();
|
|
7734
|
+
export function __wbg_count_ee083e36b5119925() { return handleError(function (arg0, arg1) {
|
|
7735
|
+
const ret = arg0.count(arg1);
|
|
7677
7736
|
return ret;
|
|
7678
7737
|
}, arguments) };
|
|
7679
7738
|
|
|
7680
|
-
export function
|
|
7739
|
+
export function __wbg_createBidirectionalStream_2b56e05ee223119c(arg0) {
|
|
7681
7740
|
const ret = arg0.createBidirectionalStream();
|
|
7682
7741
|
return ret;
|
|
7683
7742
|
};
|
|
7684
7743
|
|
|
7685
|
-
export function
|
|
7744
|
+
export function __wbg_createIndex_35a1f70c8314a7de() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
7686
7745
|
const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
7687
7746
|
return ret;
|
|
7688
7747
|
}, arguments) };
|
|
7689
7748
|
|
|
7690
|
-
export function
|
|
7749
|
+
export function __wbg_createObjectStore_7e79e7f6de6b5f4a() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
7691
7750
|
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
7692
7751
|
return ret;
|
|
7693
7752
|
}, arguments) };
|
|
7694
7753
|
|
|
7695
|
-
export function
|
|
7754
|
+
export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
7696
7755
|
const ret = arg0.crypto;
|
|
7697
7756
|
return ret;
|
|
7698
7757
|
};
|
|
7699
7758
|
|
|
7700
|
-
export function
|
|
7759
|
+
export function __wbg_data_d1e564c046e31ed9(arg0) {
|
|
7701
7760
|
const ret = arg0.data;
|
|
7702
7761
|
return ret;
|
|
7703
7762
|
};
|
|
7704
7763
|
|
|
7705
|
-
export function
|
|
7764
|
+
export function __wbg_debug_9a166dc82b4ba6a6(arg0) {
|
|
7706
7765
|
console.debug(arg0);
|
|
7707
7766
|
};
|
|
7708
7767
|
|
|
7709
|
-
export function
|
|
7768
|
+
export function __wbg_deleteIndex_315fda5b473605cf() { return handleError(function (arg0, arg1, arg2) {
|
|
7710
7769
|
arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
|
|
7711
7770
|
}, arguments) };
|
|
7712
7771
|
|
|
7713
|
-
export function
|
|
7772
|
+
export function __wbg_deleteObjectStore_8a252d9a253df02b() { return handleError(function (arg0, arg1, arg2) {
|
|
7714
7773
|
arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
|
|
7715
7774
|
}, arguments) };
|
|
7716
7775
|
|
|
7717
|
-
export function
|
|
7776
|
+
export function __wbg_delete_570e5d01c731e067() { return handleError(function (arg0, arg1) {
|
|
7718
7777
|
const ret = arg0.delete(arg1);
|
|
7719
7778
|
return ret;
|
|
7720
7779
|
}, arguments) };
|
|
7721
7780
|
|
|
7722
|
-
export function
|
|
7781
|
+
export function __wbg_desiredSize_c849ec0ed245f271() { return handleError(function (arg0, arg1) {
|
|
7723
7782
|
const ret = arg1.desiredSize;
|
|
7724
7783
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7725
7784
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7726
7785
|
}, arguments) };
|
|
7727
7786
|
|
|
7728
|
-
export function
|
|
7787
|
+
export function __wbg_done_4a7743b6f942c9f3(arg0) {
|
|
7729
7788
|
const ret = arg0.done;
|
|
7730
7789
|
return ret;
|
|
7731
7790
|
};
|
|
7732
7791
|
|
|
7733
|
-
export function
|
|
7792
|
+
export function __wbg_enqueue_1e58bed4477a141f() { return handleError(function (arg0, arg1) {
|
|
7734
7793
|
arg0.enqueue(arg1);
|
|
7735
7794
|
}, arguments) };
|
|
7736
7795
|
|
|
7737
|
-
export function
|
|
7796
|
+
export function __wbg_entries_17f7acbc2d691c0d(arg0) {
|
|
7738
7797
|
const ret = Object.entries(arg0);
|
|
7739
7798
|
return ret;
|
|
7740
7799
|
};
|
|
7741
7800
|
|
|
7742
|
-
export function
|
|
7801
|
+
export function __wbg_error_41f0589870426ea4(arg0) {
|
|
7743
7802
|
console.error(arg0);
|
|
7744
7803
|
};
|
|
7745
7804
|
|
|
7805
|
+
export function __wbg_error_443a583c581ba303() { return handleError(function (arg0) {
|
|
7806
|
+
const ret = arg0.error;
|
|
7807
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7808
|
+
}, arguments) };
|
|
7809
|
+
|
|
7746
7810
|
export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
|
|
7747
7811
|
let deferred0_0;
|
|
7748
7812
|
let deferred0_1;
|
|
@@ -7755,16 +7819,11 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
|
|
|
7755
7819
|
}
|
|
7756
7820
|
};
|
|
7757
7821
|
|
|
7758
|
-
export function
|
|
7822
|
+
export function __wbg_error_cbb036e477c7f898(arg0) {
|
|
7759
7823
|
const ret = arg0.error;
|
|
7760
7824
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7761
7825
|
};
|
|
7762
7826
|
|
|
7763
|
-
export function __wbg_error_ff4ddaabdfc5dbb3() { return handleError(function (arg0) {
|
|
7764
|
-
const ret = arg0.error;
|
|
7765
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
7766
|
-
}, arguments) };
|
|
7767
|
-
|
|
7768
7827
|
export function __wbg_evidence_new(arg0) {
|
|
7769
7828
|
const ret = Evidence.__wrap(arg0);
|
|
7770
7829
|
return ret;
|
|
@@ -7780,33 +7839,33 @@ export function __wbg_extendedheader_unwrap(arg0) {
|
|
|
7780
7839
|
return ret;
|
|
7781
7840
|
};
|
|
7782
7841
|
|
|
7783
|
-
export function
|
|
7842
|
+
export function __wbg_fetch_4fae101547df73b6(arg0, arg1, arg2) {
|
|
7784
7843
|
const ret = arg0.fetch(arg1, arg2);
|
|
7785
7844
|
return ret;
|
|
7786
7845
|
};
|
|
7787
7846
|
|
|
7788
|
-
export function
|
|
7789
|
-
const ret = fetch(arg0
|
|
7847
|
+
export function __wbg_fetch_b21de99222e9f4e1(arg0) {
|
|
7848
|
+
const ret = fetch(arg0);
|
|
7790
7849
|
return ret;
|
|
7791
7850
|
};
|
|
7792
7851
|
|
|
7793
|
-
export function
|
|
7794
|
-
const ret = fetch(arg0);
|
|
7852
|
+
export function __wbg_fetch_f083e6da40cefe09(arg0, arg1) {
|
|
7853
|
+
const ret = fetch(arg0, arg1);
|
|
7795
7854
|
return ret;
|
|
7796
7855
|
};
|
|
7797
7856
|
|
|
7798
|
-
export function
|
|
7857
|
+
export function __wbg_from_237b1ad767238d8b(arg0) {
|
|
7799
7858
|
const ret = Array.from(arg0);
|
|
7800
7859
|
return ret;
|
|
7801
7860
|
};
|
|
7802
7861
|
|
|
7803
|
-
export function
|
|
7862
|
+
export function __wbg_gasLimit_c7b776728a12cf83(arg0, arg1) {
|
|
7804
7863
|
const ret = arg1.gasLimit;
|
|
7805
7864
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
7806
7865
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7807
7866
|
};
|
|
7808
7867
|
|
|
7809
|
-
export function
|
|
7868
|
+
export function __wbg_gasPrice_9c07555b88b11910(arg0, arg1) {
|
|
7810
7869
|
const ret = arg1.gasPrice;
|
|
7811
7870
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7812
7871
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
@@ -7817,89 +7876,93 @@ export function __wbg_gasinfo_new(arg0) {
|
|
|
7817
7876
|
return ret;
|
|
7818
7877
|
};
|
|
7819
7878
|
|
|
7820
|
-
export function
|
|
7879
|
+
export function __wbg_getAllKeys_09176d0529f9a4f9() { return handleError(function (arg0, arg1, arg2) {
|
|
7821
7880
|
const ret = arg0.getAllKeys(arg1, arg2 >>> 0);
|
|
7822
7881
|
return ret;
|
|
7823
7882
|
}, arguments) };
|
|
7824
7883
|
|
|
7825
|
-
export function
|
|
7826
|
-
const ret = arg0.getAllKeys(
|
|
7884
|
+
export function __wbg_getAllKeys_4c8918fa0a4d954c() { return handleError(function (arg0) {
|
|
7885
|
+
const ret = arg0.getAllKeys();
|
|
7827
7886
|
return ret;
|
|
7828
7887
|
}, arguments) };
|
|
7829
7888
|
|
|
7830
|
-
export function
|
|
7831
|
-
const ret = arg0.getAllKeys();
|
|
7889
|
+
export function __wbg_getAllKeys_bf368a2862c61f56() { return handleError(function (arg0, arg1) {
|
|
7890
|
+
const ret = arg0.getAllKeys(arg1);
|
|
7832
7891
|
return ret;
|
|
7833
7892
|
}, arguments) };
|
|
7834
7893
|
|
|
7835
|
-
export function
|
|
7894
|
+
export function __wbg_getAll_2a18c462536d7d5b() { return handleError(function (arg0) {
|
|
7836
7895
|
const ret = arg0.getAll();
|
|
7837
7896
|
return ret;
|
|
7838
7897
|
}, arguments) };
|
|
7839
7898
|
|
|
7840
|
-
export function
|
|
7899
|
+
export function __wbg_getAll_2e19a7bbbe1ec181() { return handleError(function (arg0, arg1, arg2) {
|
|
7841
7900
|
const ret = arg0.getAll(arg1, arg2 >>> 0);
|
|
7842
7901
|
return ret;
|
|
7843
7902
|
}, arguments) };
|
|
7844
7903
|
|
|
7845
|
-
export function
|
|
7904
|
+
export function __wbg_getAll_7a5b8dd1d868e440() { return handleError(function (arg0, arg1) {
|
|
7846
7905
|
const ret = arg0.getAll(arg1);
|
|
7847
7906
|
return ret;
|
|
7848
7907
|
}, arguments) };
|
|
7849
7908
|
|
|
7850
|
-
export function
|
|
7909
|
+
export function __wbg_getRandomValues_3c9c0d586e575a16() { return handleError(function (arg0, arg1) {
|
|
7910
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
7911
|
+
}, arguments) };
|
|
7912
|
+
|
|
7913
|
+
export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(function (arg0, arg1) {
|
|
7851
7914
|
arg0.getRandomValues(arg1);
|
|
7852
7915
|
}, arguments) };
|
|
7853
7916
|
|
|
7854
|
-
export function
|
|
7917
|
+
export function __wbg_getReader_27f9715838e256b2(arg0) {
|
|
7855
7918
|
const ret = arg0.getReader();
|
|
7856
7919
|
return ret;
|
|
7857
|
-
}
|
|
7920
|
+
};
|
|
7858
7921
|
|
|
7859
|
-
export function
|
|
7922
|
+
export function __wbg_getReader_48e00749fe3f6089() { return handleError(function (arg0) {
|
|
7860
7923
|
const ret = arg0.getReader();
|
|
7861
7924
|
return ret;
|
|
7862
|
-
};
|
|
7925
|
+
}, arguments) };
|
|
7863
7926
|
|
|
7864
|
-
export function
|
|
7927
|
+
export function __wbg_getTime_5b1dd03bb6d4b784(arg0) {
|
|
7865
7928
|
const ret = arg0.getTime();
|
|
7866
7929
|
return ret;
|
|
7867
7930
|
};
|
|
7868
7931
|
|
|
7869
|
-
export function
|
|
7932
|
+
export function __wbg_getWriter_fec94836a07e1d6d() { return handleError(function (arg0) {
|
|
7870
7933
|
const ret = arg0.getWriter();
|
|
7871
7934
|
return ret;
|
|
7872
7935
|
}, arguments) };
|
|
7873
7936
|
|
|
7874
|
-
export function
|
|
7875
|
-
const ret = arg1[arg2 >>> 0];
|
|
7876
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7877
|
-
var len1 = WASM_VECTOR_LEN;
|
|
7878
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7879
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7880
|
-
};
|
|
7881
|
-
|
|
7882
|
-
export function __wbg_get_67b2ba62fc30de12() { return handleError(function (arg0, arg1) {
|
|
7937
|
+
export function __wbg_get_27b4bcbec57323ca() { return handleError(function (arg0, arg1) {
|
|
7883
7938
|
const ret = Reflect.get(arg0, arg1);
|
|
7884
7939
|
return ret;
|
|
7885
7940
|
}, arguments) };
|
|
7886
7941
|
|
|
7887
|
-
export function
|
|
7942
|
+
export function __wbg_get_59c6316d15f9f1d0(arg0, arg1) {
|
|
7943
|
+
const ret = arg0[arg1 >>> 0];
|
|
7944
|
+
return ret;
|
|
7945
|
+
};
|
|
7946
|
+
|
|
7947
|
+
export function __wbg_get_5cb5417d5a49cef1() { return handleError(function (arg0, arg1) {
|
|
7888
7948
|
const ret = arg0.get(arg1);
|
|
7889
7949
|
return ret;
|
|
7890
7950
|
}, arguments) };
|
|
7891
7951
|
|
|
7892
|
-
export function
|
|
7952
|
+
export function __wbg_get_a0f588b1e212306e() { return handleError(function (arg0, arg1) {
|
|
7893
7953
|
const ret = arg0.get(arg1);
|
|
7894
7954
|
return ret;
|
|
7895
7955
|
}, arguments) };
|
|
7896
7956
|
|
|
7897
|
-
export function
|
|
7898
|
-
const ret =
|
|
7899
|
-
|
|
7957
|
+
export function __wbg_get_ff3a515076fdddd7(arg0, arg1, arg2) {
|
|
7958
|
+
const ret = arg1[arg2 >>> 0];
|
|
7959
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7960
|
+
var len1 = WASM_VECTOR_LEN;
|
|
7961
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7962
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7900
7963
|
};
|
|
7901
7964
|
|
|
7902
|
-
export function
|
|
7965
|
+
export function __wbg_getdone_8d12e2c5bfa23fbd(arg0) {
|
|
7903
7966
|
const ret = arg0.done;
|
|
7904
7967
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
7905
7968
|
};
|
|
@@ -7909,7 +7972,7 @@ export function __wbg_gettxresponse_new(arg0) {
|
|
|
7909
7972
|
return ret;
|
|
7910
7973
|
};
|
|
7911
7974
|
|
|
7912
|
-
export function
|
|
7975
|
+
export function __wbg_getvalue_8d746ccec318477b(arg0) {
|
|
7913
7976
|
const ret = arg0.value;
|
|
7914
7977
|
return ret;
|
|
7915
7978
|
};
|
|
@@ -7919,46 +7982,41 @@ export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
|
|
|
7919
7982
|
return ret;
|
|
7920
7983
|
};
|
|
7921
7984
|
|
|
7922
|
-
export function
|
|
7923
|
-
const ret = GrpcClient.__wrap(arg0);
|
|
7924
|
-
return ret;
|
|
7925
|
-
};
|
|
7926
|
-
|
|
7927
|
-
export function __wbg_has_a5ea9117f258a0ec() { return handleError(function (arg0, arg1) {
|
|
7985
|
+
export function __wbg_has_85abdd8aeb8edebf() { return handleError(function (arg0, arg1) {
|
|
7928
7986
|
const ret = Reflect.has(arg0, arg1);
|
|
7929
7987
|
return ret;
|
|
7930
7988
|
}, arguments) };
|
|
7931
7989
|
|
|
7932
|
-
export function
|
|
7990
|
+
export function __wbg_headers_177bc880a5823968(arg0) {
|
|
7933
7991
|
const ret = arg0.headers;
|
|
7934
7992
|
return ret;
|
|
7935
7993
|
};
|
|
7936
7994
|
|
|
7937
|
-
export function
|
|
7995
|
+
export function __wbg_headers_391e2f64884c873b(arg0) {
|
|
7938
7996
|
const ret = arg0.headers;
|
|
7939
7997
|
return ret;
|
|
7940
7998
|
};
|
|
7941
7999
|
|
|
7942
|
-
export function
|
|
8000
|
+
export function __wbg_incomingBidirectionalStreams_ed7915830e8f8998(arg0) {
|
|
7943
8001
|
const ret = arg0.incomingBidirectionalStreams;
|
|
7944
8002
|
return ret;
|
|
7945
8003
|
};
|
|
7946
8004
|
|
|
7947
|
-
export function
|
|
8005
|
+
export function __wbg_indexNames_b7e419e1b5950062(arg0) {
|
|
7948
8006
|
const ret = arg0.indexNames;
|
|
7949
8007
|
return ret;
|
|
7950
8008
|
};
|
|
7951
8009
|
|
|
7952
|
-
export function
|
|
8010
|
+
export function __wbg_index_7f799b7efa7c11c6() { return handleError(function (arg0, arg1, arg2) {
|
|
7953
8011
|
const ret = arg0.index(getStringFromWasm0(arg1, arg2));
|
|
7954
8012
|
return ret;
|
|
7955
8013
|
}, arguments) };
|
|
7956
8014
|
|
|
7957
|
-
export function
|
|
8015
|
+
export function __wbg_info_ed6e390d09c09062(arg0) {
|
|
7958
8016
|
console.info(arg0);
|
|
7959
8017
|
};
|
|
7960
8018
|
|
|
7961
|
-
export function
|
|
8019
|
+
export function __wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea(arg0) {
|
|
7962
8020
|
let result;
|
|
7963
8021
|
try {
|
|
7964
8022
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -7969,7 +8027,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
|
|
|
7969
8027
|
return ret;
|
|
7970
8028
|
};
|
|
7971
8029
|
|
|
7972
|
-
export function
|
|
8030
|
+
export function __wbg_instanceof_DedicatedWorkerGlobalScope_95bda3b36127a15b(arg0) {
|
|
7973
8031
|
let result;
|
|
7974
8032
|
try {
|
|
7975
8033
|
result = arg0 instanceof DedicatedWorkerGlobalScope;
|
|
@@ -7980,7 +8038,7 @@ export function __wbg_instanceof_DedicatedWorkerGlobalScope_a688e81380e34e02(arg
|
|
|
7980
8038
|
return ret;
|
|
7981
8039
|
};
|
|
7982
8040
|
|
|
7983
|
-
export function
|
|
8041
|
+
export function __wbg_instanceof_Error_1e51a63e1736444c(arg0) {
|
|
7984
8042
|
let result;
|
|
7985
8043
|
try {
|
|
7986
8044
|
result = arg0 instanceof Error;
|
|
@@ -7991,7 +8049,7 @@ export function __wbg_instanceof_Error_4d54113b22d20306(arg0) {
|
|
|
7991
8049
|
return ret;
|
|
7992
8050
|
};
|
|
7993
8051
|
|
|
7994
|
-
export function
|
|
8052
|
+
export function __wbg_instanceof_IdbCursorWithValue_bbe42f8954141db8(arg0) {
|
|
7995
8053
|
let result;
|
|
7996
8054
|
try {
|
|
7997
8055
|
result = arg0 instanceof IDBCursorWithValue;
|
|
@@ -8002,7 +8060,7 @@ export function __wbg_instanceof_IdbCursorWithValue_18f39d69ed298f6f(arg0) {
|
|
|
8002
8060
|
return ret;
|
|
8003
8061
|
};
|
|
8004
8062
|
|
|
8005
|
-
export function
|
|
8063
|
+
export function __wbg_instanceof_IdbDatabase_48c551909b7652c5(arg0) {
|
|
8006
8064
|
let result;
|
|
8007
8065
|
try {
|
|
8008
8066
|
result = arg0 instanceof IDBDatabase;
|
|
@@ -8013,7 +8071,7 @@ export function __wbg_instanceof_IdbDatabase_a3ef009ca00059f9(arg0) {
|
|
|
8013
8071
|
return ret;
|
|
8014
8072
|
};
|
|
8015
8073
|
|
|
8016
|
-
export function
|
|
8074
|
+
export function __wbg_instanceof_IdbFactory_e429f3e72d6a6d94(arg0) {
|
|
8017
8075
|
let result;
|
|
8018
8076
|
try {
|
|
8019
8077
|
result = arg0 instanceof IDBFactory;
|
|
@@ -8024,7 +8082,7 @@ export function __wbg_instanceof_IdbFactory_12eaba3366f4302f(arg0) {
|
|
|
8024
8082
|
return ret;
|
|
8025
8083
|
};
|
|
8026
8084
|
|
|
8027
|
-
export function
|
|
8085
|
+
export function __wbg_instanceof_IdbOpenDbRequest_822b13f85bf6d91f(arg0) {
|
|
8028
8086
|
let result;
|
|
8029
8087
|
try {
|
|
8030
8088
|
result = arg0 instanceof IDBOpenDBRequest;
|
|
@@ -8035,7 +8093,7 @@ export function __wbg_instanceof_IdbOpenDbRequest_a3416e156c9db893(arg0) {
|
|
|
8035
8093
|
return ret;
|
|
8036
8094
|
};
|
|
8037
8095
|
|
|
8038
|
-
export function
|
|
8096
|
+
export function __wbg_instanceof_IdbRequest_591f189bf6c335cc(arg0) {
|
|
8039
8097
|
let result;
|
|
8040
8098
|
try {
|
|
8041
8099
|
result = arg0 instanceof IDBRequest;
|
|
@@ -8046,7 +8104,7 @@ export function __wbg_instanceof_IdbRequest_4813c3f207666aa4(arg0) {
|
|
|
8046
8104
|
return ret;
|
|
8047
8105
|
};
|
|
8048
8106
|
|
|
8049
|
-
export function
|
|
8107
|
+
export function __wbg_instanceof_IdbTransaction_7a1d07a52299c4f9(arg0) {
|
|
8050
8108
|
let result;
|
|
8051
8109
|
try {
|
|
8052
8110
|
result = arg0 instanceof IDBTransaction;
|
|
@@ -8057,7 +8115,7 @@ export function __wbg_instanceof_IdbTransaction_746ea660d347650d(arg0) {
|
|
|
8057
8115
|
return ret;
|
|
8058
8116
|
};
|
|
8059
8117
|
|
|
8060
|
-
export function
|
|
8118
|
+
export function __wbg_instanceof_Map_dd89a82d76d1b25f(arg0) {
|
|
8061
8119
|
let result;
|
|
8062
8120
|
try {
|
|
8063
8121
|
result = arg0 instanceof Map;
|
|
@@ -8068,7 +8126,7 @@ export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
|
|
|
8068
8126
|
return ret;
|
|
8069
8127
|
};
|
|
8070
8128
|
|
|
8071
|
-
export function
|
|
8129
|
+
export function __wbg_instanceof_Promise_1147df2e75727145(arg0) {
|
|
8072
8130
|
let result;
|
|
8073
8131
|
try {
|
|
8074
8132
|
result = arg0 instanceof Promise;
|
|
@@ -8079,7 +8137,7 @@ export function __wbg_instanceof_Promise_935168b8f4b49db3(arg0) {
|
|
|
8079
8137
|
return ret;
|
|
8080
8138
|
};
|
|
8081
8139
|
|
|
8082
|
-
export function
|
|
8140
|
+
export function __wbg_instanceof_ReadableStreamDefaultReader_0c3606441afabcc8(arg0) {
|
|
8083
8141
|
let result;
|
|
8084
8142
|
try {
|
|
8085
8143
|
result = arg0 instanceof ReadableStreamDefaultReader;
|
|
@@ -8090,7 +8148,7 @@ export function __wbg_instanceof_ReadableStreamDefaultReader_056dcea99b3557aa(ar
|
|
|
8090
8148
|
return ret;
|
|
8091
8149
|
};
|
|
8092
8150
|
|
|
8093
|
-
export function
|
|
8151
|
+
export function __wbg_instanceof_Response_0ab386c6818f788a(arg0) {
|
|
8094
8152
|
let result;
|
|
8095
8153
|
try {
|
|
8096
8154
|
result = arg0 instanceof Response;
|
|
@@ -8101,7 +8159,7 @@ export function __wbg_instanceof_Response_f2cc20d9f7dfd644(arg0) {
|
|
|
8101
8159
|
return ret;
|
|
8102
8160
|
};
|
|
8103
8161
|
|
|
8104
|
-
export function
|
|
8162
|
+
export function __wbg_instanceof_ServiceWorkerGlobalScope_8b30335633410516(arg0) {
|
|
8105
8163
|
let result;
|
|
8106
8164
|
try {
|
|
8107
8165
|
result = arg0 instanceof ServiceWorkerGlobalScope;
|
|
@@ -8112,7 +8170,7 @@ export function __wbg_instanceof_ServiceWorkerGlobalScope_9662fcbac1190e8b(arg0)
|
|
|
8112
8170
|
return ret;
|
|
8113
8171
|
};
|
|
8114
8172
|
|
|
8115
|
-
export function
|
|
8173
|
+
export function __wbg_instanceof_SharedWorkerGlobalScope_c0b9e45163c1a675(arg0) {
|
|
8116
8174
|
let result;
|
|
8117
8175
|
try {
|
|
8118
8176
|
result = arg0 instanceof SharedWorkerGlobalScope;
|
|
@@ -8123,7 +8181,7 @@ export function __wbg_instanceof_SharedWorkerGlobalScope_1796b9b4c3344538(arg0)
|
|
|
8123
8181
|
return ret;
|
|
8124
8182
|
};
|
|
8125
8183
|
|
|
8126
|
-
export function
|
|
8184
|
+
export function __wbg_instanceof_Uint8Array_91f3c5adee7e6672(arg0) {
|
|
8127
8185
|
let result;
|
|
8128
8186
|
try {
|
|
8129
8187
|
result = arg0 instanceof Uint8Array;
|
|
@@ -8134,7 +8192,7 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
|
|
|
8134
8192
|
return ret;
|
|
8135
8193
|
};
|
|
8136
8194
|
|
|
8137
|
-
export function
|
|
8195
|
+
export function __wbg_instanceof_WebTransportBidirectionalStream_65ff63c49f91f97a(arg0) {
|
|
8138
8196
|
let result;
|
|
8139
8197
|
try {
|
|
8140
8198
|
result = arg0 instanceof WebTransportBidirectionalStream;
|
|
@@ -8145,7 +8203,7 @@ export function __wbg_instanceof_WebTransportBidirectionalStream_e00b12a4618e81e
|
|
|
8145
8203
|
return ret;
|
|
8146
8204
|
};
|
|
8147
8205
|
|
|
8148
|
-
export function
|
|
8206
|
+
export function __wbg_instanceof_Window_7f29e5c72acbfd60(arg0) {
|
|
8149
8207
|
let result;
|
|
8150
8208
|
try {
|
|
8151
8209
|
result = arg0 instanceof Window;
|
|
@@ -8156,17 +8214,22 @@ export function __wbg_instanceof_Window_def73ea0955fc569(arg0) {
|
|
|
8156
8214
|
return ret;
|
|
8157
8215
|
};
|
|
8158
8216
|
|
|
8159
|
-
export function
|
|
8217
|
+
export function __wbg_isArray_55c23353d58297fd(arg0) {
|
|
8218
|
+
const ret = Array.isArray(arg0);
|
|
8219
|
+
return ret;
|
|
8220
|
+
};
|
|
8221
|
+
|
|
8222
|
+
export function __wbg_isArray_bc2498eba6fcb71f(arg0) {
|
|
8160
8223
|
const ret = Array.isArray(arg0);
|
|
8161
8224
|
return ret;
|
|
8162
8225
|
};
|
|
8163
8226
|
|
|
8164
|
-
export function
|
|
8227
|
+
export function __wbg_isSafeInteger_6091d6e3ee1b65fd(arg0) {
|
|
8165
8228
|
const ret = Number.isSafeInteger(arg0);
|
|
8166
8229
|
return ret;
|
|
8167
8230
|
};
|
|
8168
8231
|
|
|
8169
|
-
export function
|
|
8232
|
+
export function __wbg_iterator_96378c3c9a17347c() {
|
|
8170
8233
|
const ret = Symbol.iterator;
|
|
8171
8234
|
return ret;
|
|
8172
8235
|
};
|
|
@@ -8186,7 +8249,7 @@ export function __wbg_jseventattribute_unwrap(arg0) {
|
|
|
8186
8249
|
return ret;
|
|
8187
8250
|
};
|
|
8188
8251
|
|
|
8189
|
-
export function
|
|
8252
|
+
export function __wbg_json_dbaa85a926a80ed5() { return handleError(function (arg0) {
|
|
8190
8253
|
const ret = arg0.json();
|
|
8191
8254
|
return ret;
|
|
8192
8255
|
}, arguments) };
|
|
@@ -8201,32 +8264,32 @@ export function __wbg_jsvalidatorinfo_unwrap(arg0) {
|
|
|
8201
8264
|
return ret;
|
|
8202
8265
|
};
|
|
8203
8266
|
|
|
8204
|
-
export function
|
|
8267
|
+
export function __wbg_keyPath_2635ad1da5c21128() { return handleError(function (arg0) {
|
|
8205
8268
|
const ret = arg0.keyPath;
|
|
8206
8269
|
return ret;
|
|
8207
8270
|
}, arguments) };
|
|
8208
8271
|
|
|
8209
|
-
export function
|
|
8272
|
+
export function __wbg_key_54dc8730fa36ae65() { return handleError(function (arg0) {
|
|
8210
8273
|
const ret = arg0.key;
|
|
8211
8274
|
return ret;
|
|
8212
8275
|
}, arguments) };
|
|
8213
8276
|
|
|
8214
|
-
export function
|
|
8277
|
+
export function __wbg_length_1161036d400ff5c6(arg0) {
|
|
8215
8278
|
const ret = arg0.length;
|
|
8216
8279
|
return ret;
|
|
8217
8280
|
};
|
|
8218
8281
|
|
|
8219
|
-
export function
|
|
8282
|
+
export function __wbg_length_246fa1f85a0dea5b(arg0) {
|
|
8220
8283
|
const ret = arg0.length;
|
|
8221
8284
|
return ret;
|
|
8222
8285
|
};
|
|
8223
8286
|
|
|
8224
|
-
export function
|
|
8287
|
+
export function __wbg_length_904c0910ed998bf3(arg0) {
|
|
8225
8288
|
const ret = arg0.length;
|
|
8226
8289
|
return ret;
|
|
8227
8290
|
};
|
|
8228
8291
|
|
|
8229
|
-
export function
|
|
8292
|
+
export function __wbg_memo_48d219ed93452445(arg0, arg1) {
|
|
8230
8293
|
const ret = arg1.memo;
|
|
8231
8294
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8232
8295
|
var len1 = WASM_VECTOR_LEN;
|
|
@@ -8234,7 +8297,7 @@ export function __wbg_memo_06f326dadb7e1baa(arg0, arg1) {
|
|
|
8234
8297
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8235
8298
|
};
|
|
8236
8299
|
|
|
8237
|
-
export function
|
|
8300
|
+
export function __wbg_message_86bd7dcf158b1dda(arg0) {
|
|
8238
8301
|
const ret = arg0.message;
|
|
8239
8302
|
return ret;
|
|
8240
8303
|
};
|
|
@@ -8244,27 +8307,27 @@ export function __wbg_modeinfo_new(arg0) {
|
|
|
8244
8307
|
return ret;
|
|
8245
8308
|
};
|
|
8246
8309
|
|
|
8247
|
-
export function
|
|
8310
|
+
export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
8248
8311
|
const ret = arg0.msCrypto;
|
|
8249
8312
|
return ret;
|
|
8250
8313
|
};
|
|
8251
8314
|
|
|
8252
|
-
export function
|
|
8315
|
+
export function __wbg_multiEntry_a88b8b7336fb09ab(arg0) {
|
|
8253
8316
|
const ret = arg0.multiEntry;
|
|
8254
8317
|
return ret;
|
|
8255
8318
|
};
|
|
8256
8319
|
|
|
8257
|
-
export function
|
|
8320
|
+
export function __wbg_name_4eed68a70c7faf2a(arg0) {
|
|
8258
8321
|
const ret = arg0.name;
|
|
8259
8322
|
return ret;
|
|
8260
8323
|
};
|
|
8261
8324
|
|
|
8262
|
-
export function
|
|
8325
|
+
export function __wbg_navigator_2de7a59c1ede3ea5(arg0) {
|
|
8263
8326
|
const ret = arg0.navigator;
|
|
8264
8327
|
return ret;
|
|
8265
8328
|
};
|
|
8266
8329
|
|
|
8267
|
-
export function
|
|
8330
|
+
export function __wbg_navigator_b6d1cae68d750613(arg0) {
|
|
8268
8331
|
const ret = arg0.navigator;
|
|
8269
8332
|
return ret;
|
|
8270
8333
|
};
|
|
@@ -8274,24 +8337,49 @@ export function __wbg_networkinfosnapshot_new(arg0) {
|
|
|
8274
8337
|
return ret;
|
|
8275
8338
|
};
|
|
8276
8339
|
|
|
8277
|
-
export function
|
|
8340
|
+
export function __wbg_new0_85cc856927102294() {
|
|
8278
8341
|
const ret = new Date();
|
|
8279
8342
|
return ret;
|
|
8280
8343
|
};
|
|
8281
8344
|
|
|
8282
|
-
export function
|
|
8345
|
+
export function __wbg_new_12588505388d0897() { return handleError(function () {
|
|
8283
8346
|
const ret = new Headers();
|
|
8284
8347
|
return ret;
|
|
8285
8348
|
}, arguments) };
|
|
8286
8349
|
|
|
8287
|
-
export function
|
|
8350
|
+
export function __wbg_new_1930cbb8d9ffc31b() {
|
|
8351
|
+
const ret = new Object();
|
|
8352
|
+
return ret;
|
|
8353
|
+
};
|
|
8354
|
+
|
|
8355
|
+
export function __wbg_new_56407f99198feff7() {
|
|
8356
|
+
const ret = new Map();
|
|
8357
|
+
return ret;
|
|
8358
|
+
};
|
|
8359
|
+
|
|
8360
|
+
export function __wbg_new_8a6f238a6ece86ea() {
|
|
8361
|
+
const ret = new Error();
|
|
8362
|
+
return ret;
|
|
8363
|
+
};
|
|
8364
|
+
|
|
8365
|
+
export function __wbg_new_9190433fb67ed635(arg0) {
|
|
8366
|
+
const ret = new Uint8Array(arg0);
|
|
8367
|
+
return ret;
|
|
8368
|
+
};
|
|
8369
|
+
|
|
8370
|
+
export function __wbg_new_97ddeb994a38bb69(arg0, arg1) {
|
|
8371
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
8372
|
+
return ret;
|
|
8373
|
+
};
|
|
8374
|
+
|
|
8375
|
+
export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
|
|
8288
8376
|
try {
|
|
8289
8377
|
var state0 = {a: arg0, b: arg1};
|
|
8290
8378
|
var cb0 = (arg0, arg1) => {
|
|
8291
8379
|
const a = state0.a;
|
|
8292
8380
|
state0.a = 0;
|
|
8293
8381
|
try {
|
|
8294
|
-
return
|
|
8382
|
+
return __wbg_adapter_960(a, state0.b, arg0, arg1);
|
|
8295
8383
|
} finally {
|
|
8296
8384
|
state0.a = a;
|
|
8297
8385
|
}
|
|
@@ -8303,87 +8391,67 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
8303
8391
|
}
|
|
8304
8392
|
};
|
|
8305
8393
|
|
|
8306
|
-
export function
|
|
8307
|
-
const ret = new
|
|
8308
|
-
return ret;
|
|
8309
|
-
};
|
|
8310
|
-
|
|
8311
|
-
export function __wbg_new_5e0be73521bc8c17() {
|
|
8312
|
-
const ret = new Map();
|
|
8394
|
+
export function __wbg_new_d85e20a34917132b() { return handleError(function (arg0, arg1) {
|
|
8395
|
+
const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
|
|
8313
8396
|
return ret;
|
|
8314
|
-
};
|
|
8397
|
+
}, arguments) };
|
|
8315
8398
|
|
|
8316
|
-
export function
|
|
8399
|
+
export function __wbg_new_e969dc3f68d25093() {
|
|
8317
8400
|
const ret = new Array();
|
|
8318
8401
|
return ret;
|
|
8319
8402
|
};
|
|
8320
8403
|
|
|
8321
|
-
export function
|
|
8404
|
+
export function __wbg_new_f450b111eed28700() { return handleError(function (arg0, arg1) {
|
|
8322
8405
|
const ret = new BroadcastChannel(getStringFromWasm0(arg0, arg1));
|
|
8323
8406
|
return ret;
|
|
8324
8407
|
}, arguments) };
|
|
8325
8408
|
|
|
8326
|
-
export function
|
|
8327
|
-
const ret = new Error();
|
|
8328
|
-
return ret;
|
|
8329
|
-
};
|
|
8330
|
-
|
|
8331
|
-
export function __wbg_new_92c54fc74574ef55() { return handleError(function (arg0, arg1) {
|
|
8409
|
+
export function __wbg_new_fb0d376a3c915f60() { return handleError(function (arg0, arg1) {
|
|
8332
8410
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
8333
8411
|
return ret;
|
|
8334
8412
|
}, arguments) };
|
|
8335
8413
|
|
|
8336
|
-
export function
|
|
8337
|
-
const ret = new Uint8Array(arg0);
|
|
8414
|
+
export function __wbg_newfromslice_d0d56929c6d9c842(arg0, arg1) {
|
|
8415
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
8338
8416
|
return ret;
|
|
8339
8417
|
};
|
|
8340
8418
|
|
|
8341
|
-
export function
|
|
8342
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
8343
|
-
return ret;
|
|
8344
|
-
};
|
|
8345
|
-
|
|
8346
|
-
export function __wbg_new_e5bafad665ca8709() { return handleError(function (arg0, arg1) {
|
|
8347
|
-
const ret = new WebTransport(getStringFromWasm0(arg0, arg1));
|
|
8348
|
-
return ret;
|
|
8349
|
-
}, arguments) };
|
|
8350
|
-
|
|
8351
|
-
export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
|
|
8419
|
+
export function __wbg_newnoargs_a81330f6e05d8aca(arg0, arg1) {
|
|
8352
8420
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
8353
8421
|
return ret;
|
|
8354
8422
|
};
|
|
8355
8423
|
|
|
8356
|
-
export function
|
|
8424
|
+
export function __wbg_newwithbyteoffsetandlength_9aade108cd45cf37(arg0, arg1, arg2) {
|
|
8357
8425
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8358
8426
|
return ret;
|
|
8359
8427
|
};
|
|
8360
8428
|
|
|
8361
|
-
export function
|
|
8429
|
+
export function __wbg_newwithlength_ed0ee6c1edca86fc(arg0) {
|
|
8362
8430
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
8363
8431
|
return ret;
|
|
8364
8432
|
};
|
|
8365
8433
|
|
|
8366
|
-
export function
|
|
8434
|
+
export function __wbg_newwithoptions_1ba541b69f220543() { return handleError(function (arg0, arg1, arg2) {
|
|
8367
8435
|
const ret = new WebTransport(getStringFromWasm0(arg0, arg1), arg2);
|
|
8368
8436
|
return ret;
|
|
8369
8437
|
}, arguments) };
|
|
8370
8438
|
|
|
8371
|
-
export function
|
|
8439
|
+
export function __wbg_newwithstrandinit_e8e22e9851f3c2fe() { return handleError(function (arg0, arg1, arg2) {
|
|
8372
8440
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
8373
8441
|
return ret;
|
|
8374
8442
|
}, arguments) };
|
|
8375
8443
|
|
|
8376
|
-
export function
|
|
8377
|
-
const ret = arg0.next;
|
|
8378
|
-
return ret;
|
|
8379
|
-
};
|
|
8380
|
-
|
|
8381
|
-
export function __wbg_next_6574e1a8a62d1055() { return handleError(function (arg0) {
|
|
8444
|
+
export function __wbg_next_2e6b37020ac5fe58() { return handleError(function (arg0) {
|
|
8382
8445
|
const ret = arg0.next();
|
|
8383
8446
|
return ret;
|
|
8384
8447
|
}, arguments) };
|
|
8385
8448
|
|
|
8386
|
-
export function
|
|
8449
|
+
export function __wbg_next_3de8f2669431a3ff(arg0) {
|
|
8450
|
+
const ret = arg0.next;
|
|
8451
|
+
return ret;
|
|
8452
|
+
};
|
|
8453
|
+
|
|
8454
|
+
export function __wbg_node_905d3e251edff8a2(arg0) {
|
|
8387
8455
|
const ret = arg0.node;
|
|
8388
8456
|
return ret;
|
|
8389
8457
|
};
|
|
@@ -8393,62 +8461,62 @@ export function __wbg_nodeclient_new(arg0) {
|
|
|
8393
8461
|
return ret;
|
|
8394
8462
|
};
|
|
8395
8463
|
|
|
8396
|
-
export function
|
|
8464
|
+
export function __wbg_now_1f875e5cd673bc3c(arg0) {
|
|
8397
8465
|
const ret = arg0.now();
|
|
8398
8466
|
return ret;
|
|
8399
8467
|
};
|
|
8400
8468
|
|
|
8401
|
-
export function
|
|
8402
|
-
const ret =
|
|
8469
|
+
export function __wbg_now_2c95c9de01293173(arg0) {
|
|
8470
|
+
const ret = arg0.now();
|
|
8403
8471
|
return ret;
|
|
8404
8472
|
};
|
|
8405
8473
|
|
|
8406
|
-
export function
|
|
8407
|
-
const ret =
|
|
8474
|
+
export function __wbg_now_e3057dd824ca0191() {
|
|
8475
|
+
const ret = Date.now();
|
|
8408
8476
|
return ret;
|
|
8409
8477
|
};
|
|
8410
8478
|
|
|
8411
|
-
export function
|
|
8479
|
+
export function __wbg_objectStoreNames_9f871922c78ae388(arg0) {
|
|
8412
8480
|
const ret = arg0.objectStoreNames;
|
|
8413
8481
|
return ret;
|
|
8414
8482
|
};
|
|
8415
8483
|
|
|
8416
|
-
export function
|
|
8484
|
+
export function __wbg_objectStore_4f9dafdbff77fd83() { return handleError(function (arg0, arg1, arg2) {
|
|
8417
8485
|
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
8418
8486
|
return ret;
|
|
8419
8487
|
}, arguments) };
|
|
8420
8488
|
|
|
8421
|
-
export function
|
|
8489
|
+
export function __wbg_of_0082112f5d8d608a(arg0) {
|
|
8422
8490
|
const ret = Array.of(arg0);
|
|
8423
8491
|
return ret;
|
|
8424
8492
|
};
|
|
8425
8493
|
|
|
8426
|
-
export function
|
|
8494
|
+
export function __wbg_only_1c4292e278018189() { return handleError(function (arg0) {
|
|
8427
8495
|
const ret = IDBKeyRange.only(arg0);
|
|
8428
8496
|
return ret;
|
|
8429
8497
|
}, arguments) };
|
|
8430
8498
|
|
|
8431
|
-
export function
|
|
8432
|
-
const ret = arg0.openCursor();
|
|
8499
|
+
export function __wbg_openCursor_2b0233fcb8713b84() { return handleError(function (arg0, arg1, arg2) {
|
|
8500
|
+
const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
|
|
8433
8501
|
return ret;
|
|
8434
8502
|
}, arguments) };
|
|
8435
8503
|
|
|
8436
|
-
export function
|
|
8437
|
-
const ret = arg0.openCursor(
|
|
8504
|
+
export function __wbg_openCursor_46a38ced59324ff5() { return handleError(function (arg0) {
|
|
8505
|
+
const ret = arg0.openCursor();
|
|
8438
8506
|
return ret;
|
|
8439
8507
|
}, arguments) };
|
|
8440
8508
|
|
|
8441
|
-
export function
|
|
8509
|
+
export function __wbg_openCursor_f0969faec4c47a9f() { return handleError(function (arg0, arg1) {
|
|
8442
8510
|
const ret = arg0.openCursor(arg1);
|
|
8443
8511
|
return ret;
|
|
8444
8512
|
}, arguments) };
|
|
8445
8513
|
|
|
8446
|
-
export function
|
|
8514
|
+
export function __wbg_open_4ccfb9986e8733c9() { return handleError(function (arg0, arg1, arg2) {
|
|
8447
8515
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
|
8448
8516
|
return ret;
|
|
8449
8517
|
}, arguments) };
|
|
8450
8518
|
|
|
8451
|
-
export function
|
|
8519
|
+
export function __wbg_open_bf329a7c677f6eb3() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
8452
8520
|
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
8453
8521
|
return ret;
|
|
8454
8522
|
}, arguments) };
|
|
@@ -8463,34 +8531,34 @@ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
|
|
|
8463
8531
|
return ret;
|
|
8464
8532
|
};
|
|
8465
8533
|
|
|
8466
|
-
export function
|
|
8534
|
+
export function __wbg_persist_1bb8fe4abf4a1238() { return handleError(function (arg0) {
|
|
8467
8535
|
const ret = arg0.persist();
|
|
8468
8536
|
return ret;
|
|
8469
8537
|
}, arguments) };
|
|
8470
8538
|
|
|
8471
|
-
export function
|
|
8539
|
+
export function __wbg_ports_9c55c10a9e47462c(arg0) {
|
|
8472
8540
|
const ret = arg0.ports;
|
|
8473
8541
|
return ret;
|
|
8474
8542
|
};
|
|
8475
8543
|
|
|
8476
|
-
export function
|
|
8477
|
-
arg0.postMessage(arg1
|
|
8544
|
+
export function __wbg_postMessage_3b4fb1cda6756bf0() { return handleError(function (arg0, arg1) {
|
|
8545
|
+
arg0.postMessage(arg1);
|
|
8478
8546
|
}, arguments) };
|
|
8479
8547
|
|
|
8480
|
-
export function
|
|
8481
|
-
arg0.postMessage(arg1);
|
|
8548
|
+
export function __wbg_postMessage_6c2e3d58e6b58b4a() { return handleError(function (arg0, arg1, arg2) {
|
|
8549
|
+
arg0.postMessage(arg1, arg2);
|
|
8482
8550
|
}, arguments) };
|
|
8483
8551
|
|
|
8484
|
-
export function
|
|
8552
|
+
export function __wbg_postMessage_748559745b3b6020() { return handleError(function (arg0, arg1) {
|
|
8485
8553
|
arg0.postMessage(arg1);
|
|
8486
8554
|
}, arguments) };
|
|
8487
8555
|
|
|
8488
|
-
export function
|
|
8556
|
+
export function __wbg_priority_e414ab055c0d0a08(arg0) {
|
|
8489
8557
|
const ret = arg0.priority;
|
|
8490
8558
|
return isLikeNone(ret) ? 0 : ret;
|
|
8491
8559
|
};
|
|
8492
8560
|
|
|
8493
|
-
export function
|
|
8561
|
+
export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
|
|
8494
8562
|
const ret = arg0.process;
|
|
8495
8563
|
return ret;
|
|
8496
8564
|
};
|
|
@@ -8505,88 +8573,97 @@ export function __wbg_proofop_unwrap(arg0) {
|
|
|
8505
8573
|
return ret;
|
|
8506
8574
|
};
|
|
8507
8575
|
|
|
8508
|
-
export function
|
|
8576
|
+
export function __wbg_prototypesetcall_c5f74efd31aea86b(arg0, arg1, arg2) {
|
|
8577
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
8578
|
+
};
|
|
8579
|
+
|
|
8580
|
+
export function __wbg_push_cd3ac7d5b094565d(arg0, arg1) {
|
|
8509
8581
|
const ret = arg0.push(arg1);
|
|
8510
8582
|
return ret;
|
|
8511
8583
|
};
|
|
8512
8584
|
|
|
8513
|
-
export function
|
|
8585
|
+
export function __wbg_put_26029bce45af287b() { return handleError(function (arg0, arg1, arg2) {
|
|
8514
8586
|
const ret = arg0.put(arg1, arg2);
|
|
8515
8587
|
return ret;
|
|
8516
8588
|
}, arguments) };
|
|
8517
8589
|
|
|
8518
|
-
export function
|
|
8590
|
+
export function __wbg_put_adbbd8f247db7544() { return handleError(function (arg0, arg1) {
|
|
8519
8591
|
const ret = arg0.put(arg1);
|
|
8520
8592
|
return ret;
|
|
8521
8593
|
}, arguments) };
|
|
8522
8594
|
|
|
8523
|
-
export function
|
|
8524
|
-
queueMicrotask(arg0);
|
|
8525
|
-
};
|
|
8526
|
-
|
|
8527
|
-
export function __wbg_queueMicrotask_d3219def82552485(arg0) {
|
|
8595
|
+
export function __wbg_queueMicrotask_bcc6e26d899696db(arg0) {
|
|
8528
8596
|
const ret = arg0.queueMicrotask;
|
|
8529
8597
|
return ret;
|
|
8530
8598
|
};
|
|
8531
8599
|
|
|
8532
|
-
export function
|
|
8600
|
+
export function __wbg_queueMicrotask_f24a794d09c42640(arg0) {
|
|
8601
|
+
queueMicrotask(arg0);
|
|
8602
|
+
};
|
|
8603
|
+
|
|
8604
|
+
export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(function (arg0, arg1) {
|
|
8533
8605
|
arg0.randomFillSync(arg1);
|
|
8534
8606
|
}, arguments) };
|
|
8535
8607
|
|
|
8536
|
-
export function
|
|
8608
|
+
export function __wbg_random_57255a777f5a0573() {
|
|
8537
8609
|
const ret = Math.random();
|
|
8538
8610
|
return ret;
|
|
8539
8611
|
};
|
|
8540
8612
|
|
|
8541
|
-
export function
|
|
8613
|
+
export function __wbg_read_dc3d89b58ce2ae65(arg0) {
|
|
8542
8614
|
const ret = arg0.read();
|
|
8543
8615
|
return ret;
|
|
8544
8616
|
};
|
|
8545
8617
|
|
|
8546
|
-
export function
|
|
8618
|
+
export function __wbg_readable_e39b6396dce1aa98(arg0) {
|
|
8547
8619
|
const ret = arg0.readable;
|
|
8548
8620
|
return ret;
|
|
8549
8621
|
};
|
|
8550
8622
|
|
|
8551
|
-
export function
|
|
8623
|
+
export function __wbg_readyState_e97ec9955f858a83(arg0) {
|
|
8552
8624
|
const ret = arg0.readyState;
|
|
8553
8625
|
return ret;
|
|
8554
8626
|
};
|
|
8555
8627
|
|
|
8556
|
-
export function
|
|
8628
|
+
export function __wbg_ready_a624cdffdc1b39dc(arg0) {
|
|
8557
8629
|
const ret = arg0.ready;
|
|
8558
8630
|
return ret;
|
|
8559
8631
|
};
|
|
8560
8632
|
|
|
8561
|
-
export function
|
|
8633
|
+
export function __wbg_ready_a8d2b97e1fe33dcb(arg0) {
|
|
8562
8634
|
const ret = arg0.ready;
|
|
8563
8635
|
return ret;
|
|
8564
8636
|
};
|
|
8565
8637
|
|
|
8566
|
-
export function
|
|
8638
|
+
export function __wbg_releaseLock_fbec365467db2e6c(arg0) {
|
|
8567
8639
|
arg0.releaseLock();
|
|
8568
8640
|
};
|
|
8569
8641
|
|
|
8570
|
-
export function
|
|
8642
|
+
export function __wbg_request_537c0a65e46ce7cb(arg0, arg1, arg2, arg3, arg4) {
|
|
8643
|
+
const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3, arg4);
|
|
8644
|
+
return ret;
|
|
8645
|
+
};
|
|
8646
|
+
|
|
8647
|
+
export function __wbg_request_d6e49e725ba3024b(arg0) {
|
|
8571
8648
|
const ret = arg0.request;
|
|
8572
8649
|
return ret;
|
|
8573
8650
|
};
|
|
8574
8651
|
|
|
8575
|
-
export function
|
|
8652
|
+
export function __wbg_require_60cc747a6bc5215a() { return handleError(function () {
|
|
8576
8653
|
const ret = module.require;
|
|
8577
8654
|
return ret;
|
|
8578
8655
|
}, arguments) };
|
|
8579
8656
|
|
|
8580
|
-
export function
|
|
8657
|
+
export function __wbg_resolve_5775c0ef9222f556(arg0) {
|
|
8581
8658
|
const ret = Promise.resolve(arg0);
|
|
8582
8659
|
return ret;
|
|
8583
8660
|
};
|
|
8584
8661
|
|
|
8585
|
-
export function
|
|
8662
|
+
export function __wbg_respond_0003f7c68aa35ef6() { return handleError(function (arg0, arg1) {
|
|
8586
8663
|
arg0.respond(arg1 >>> 0);
|
|
8587
8664
|
}, arguments) };
|
|
8588
8665
|
|
|
8589
|
-
export function
|
|
8666
|
+
export function __wbg_result_b30a0a7bc6b6345f() { return handleError(function (arg0) {
|
|
8590
8667
|
const ret = arg0.result;
|
|
8591
8668
|
return ret;
|
|
8592
8669
|
}, arguments) };
|
|
@@ -8596,16 +8673,16 @@ export function __wbg_samplingmetadata_new(arg0) {
|
|
|
8596
8673
|
return ret;
|
|
8597
8674
|
};
|
|
8598
8675
|
|
|
8599
|
-
export function
|
|
8676
|
+
export function __wbg_send_f0af552dcc5d8183() { return handleError(function (arg0, arg1, arg2) {
|
|
8600
8677
|
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
8601
8678
|
}, arguments) };
|
|
8602
8679
|
|
|
8603
|
-
export function
|
|
8680
|
+
export function __wbg_setInterval_a708e6782af78d02() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
8604
8681
|
const ret = arg0.setInterval(arg1, arg2, ...arg3);
|
|
8605
8682
|
return ret;
|
|
8606
8683
|
}, arguments) };
|
|
8607
8684
|
|
|
8608
|
-
export function
|
|
8685
|
+
export function __wbg_setInterval_deb388473d598809() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
8609
8686
|
const ret = arg0.setInterval(arg1, arg2, ...arg3);
|
|
8610
8687
|
return ret;
|
|
8611
8688
|
}, arguments) };
|
|
@@ -8615,7 +8692,7 @@ export function __wbg_setInterval_ed3b5e3c3ebb8a6d() { return handleError(functi
|
|
|
8615
8692
|
return ret;
|
|
8616
8693
|
}, arguments) };
|
|
8617
8694
|
|
|
8618
|
-
export function
|
|
8695
|
+
export function __wbg_setTimeout_6d5804197b438320(arg0, arg1) {
|
|
8619
8696
|
const ret = setTimeout(arg0, arg1 >>> 0);
|
|
8620
8697
|
return ret;
|
|
8621
8698
|
};
|
|
@@ -8630,137 +8707,137 @@ export function __wbg_setTimeout_eefe7f4c234b0c6b() { return handleError(functio
|
|
|
8630
8707
|
return ret;
|
|
8631
8708
|
}, arguments) };
|
|
8632
8709
|
|
|
8633
|
-
export function
|
|
8710
|
+
export function __wbg_set_1d5fe1e3f51a48d8(arg0, arg1, arg2) {
|
|
8711
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
8712
|
+
};
|
|
8713
|
+
|
|
8714
|
+
export function __wbg_set_2df374478acad331() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
8634
8715
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
8635
8716
|
}, arguments) };
|
|
8636
8717
|
|
|
8637
|
-
export function
|
|
8638
|
-
|
|
8718
|
+
export function __wbg_set_31197016f65a6a19(arg0, arg1, arg2) {
|
|
8719
|
+
const ret = arg0.set(arg1, arg2);
|
|
8720
|
+
return ret;
|
|
8639
8721
|
};
|
|
8640
8722
|
|
|
8641
8723
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
8642
8724
|
arg0[arg1] = arg2;
|
|
8643
8725
|
};
|
|
8644
8726
|
|
|
8645
|
-
export function
|
|
8646
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
8647
|
-
};
|
|
8648
|
-
|
|
8649
|
-
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
8650
|
-
const ret = arg0.set(arg1, arg2);
|
|
8651
|
-
return ret;
|
|
8652
|
-
};
|
|
8653
|
-
|
|
8654
|
-
export function __wbg_set_bb8cecf6a62b9f46() { return handleError(function (arg0, arg1, arg2) {
|
|
8727
|
+
export function __wbg_set_b33e7a98099eed58() { return handleError(function (arg0, arg1, arg2) {
|
|
8655
8728
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
8656
8729
|
return ret;
|
|
8657
8730
|
}, arguments) };
|
|
8658
8731
|
|
|
8659
|
-
export function
|
|
8732
|
+
export function __wbg_set_d636a0463acf1dbc(arg0, arg1, arg2) {
|
|
8733
|
+
arg0[arg1 >>> 0] = arg2;
|
|
8734
|
+
};
|
|
8735
|
+
|
|
8736
|
+
export function __wbg_setautoincrement_5ae17c87fe2d4f9b(arg0, arg1) {
|
|
8660
8737
|
arg0.autoIncrement = arg1 !== 0;
|
|
8661
8738
|
};
|
|
8662
8739
|
|
|
8663
|
-
export function
|
|
8740
|
+
export function __wbg_setbinaryType_c6d319ec56ffc9f5(arg0, arg1) {
|
|
8664
8741
|
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
8665
8742
|
};
|
|
8666
8743
|
|
|
8667
|
-
export function
|
|
8744
|
+
export function __wbg_setbody_e324371c31597f2a(arg0, arg1) {
|
|
8668
8745
|
arg0.body = arg1;
|
|
8669
8746
|
};
|
|
8670
8747
|
|
|
8671
|
-
export function
|
|
8748
|
+
export function __wbg_setcache_7c95e3469a5bfb76(arg0, arg1) {
|
|
8672
8749
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
8673
8750
|
};
|
|
8674
8751
|
|
|
8675
|
-
export function
|
|
8752
|
+
export function __wbg_setcause_b0108db2f5bad08c(arg0, arg1) {
|
|
8676
8753
|
arg0.cause = arg1;
|
|
8677
8754
|
};
|
|
8678
8755
|
|
|
8679
|
-
export function
|
|
8756
|
+
export function __wbg_setcredentials_55a9317ed2777533(arg0, arg1) {
|
|
8680
8757
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
8681
8758
|
};
|
|
8682
8759
|
|
|
8683
|
-
export function
|
|
8760
|
+
export function __wbg_setheaders_ac0b1e4890a949cd(arg0, arg1) {
|
|
8684
8761
|
arg0.headers = arg1;
|
|
8685
8762
|
};
|
|
8686
8763
|
|
|
8687
|
-
export function
|
|
8764
|
+
export function __wbg_setintegrity_b99a69a0174d6d2d(arg0, arg1, arg2) {
|
|
8688
8765
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
8689
8766
|
};
|
|
8690
8767
|
|
|
8691
|
-
export function
|
|
8768
|
+
export function __wbg_setkeypath_8d8c800a95646c4d(arg0, arg1) {
|
|
8692
8769
|
arg0.keyPath = arg1;
|
|
8693
8770
|
};
|
|
8694
8771
|
|
|
8695
|
-
export function
|
|
8772
|
+
export function __wbg_setmethod_9ce6e95af1ae0eaf(arg0, arg1, arg2) {
|
|
8696
8773
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
8697
8774
|
};
|
|
8698
8775
|
|
|
8699
|
-
export function
|
|
8776
|
+
export function __wbg_setmode_b89d1784e7e7f118(arg0, arg1) {
|
|
8700
8777
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
8701
8778
|
};
|
|
8702
8779
|
|
|
8703
|
-
export function
|
|
8780
|
+
export function __wbg_setmultientry_2d965bfbe831d349(arg0, arg1) {
|
|
8704
8781
|
arg0.multiEntry = arg1 !== 0;
|
|
8705
8782
|
};
|
|
8706
8783
|
|
|
8707
|
-
export function
|
|
8784
|
+
export function __wbg_setonabort_2b64fe553e1f30a5(arg0, arg1) {
|
|
8708
8785
|
arg0.onabort = arg1;
|
|
8709
8786
|
};
|
|
8710
8787
|
|
|
8711
|
-
export function
|
|
8788
|
+
export function __wbg_setonclose_31fecac020b76f64(arg0, arg1) {
|
|
8712
8789
|
arg0.onclose = arg1;
|
|
8713
8790
|
};
|
|
8714
8791
|
|
|
8715
|
-
export function
|
|
8792
|
+
export function __wbg_setoncomplete_2dee9e6e91eb390c(arg0, arg1) {
|
|
8716
8793
|
arg0.oncomplete = arg1;
|
|
8717
8794
|
};
|
|
8718
8795
|
|
|
8719
|
-
export function
|
|
8796
|
+
export function __wbg_setonerror_12c7b6aa014e29ff(arg0, arg1) {
|
|
8720
8797
|
arg0.onerror = arg1;
|
|
8721
8798
|
};
|
|
8722
8799
|
|
|
8723
|
-
export function
|
|
8800
|
+
export function __wbg_setonerror_1c09126416a8732a(arg0, arg1) {
|
|
8724
8801
|
arg0.onerror = arg1;
|
|
8725
8802
|
};
|
|
8726
8803
|
|
|
8727
|
-
export function
|
|
8804
|
+
export function __wbg_setonerror_d12d470adff34fe2(arg0, arg1) {
|
|
8728
8805
|
arg0.onerror = arg1;
|
|
8729
8806
|
};
|
|
8730
8807
|
|
|
8731
|
-
export function
|
|
8808
|
+
export function __wbg_setonmessage_202c21ecebb3d86d(arg0, arg1) {
|
|
8732
8809
|
arg0.onmessage = arg1;
|
|
8733
8810
|
};
|
|
8734
8811
|
|
|
8735
|
-
export function
|
|
8812
|
+
export function __wbg_setonopen_dbb4e4d6121f7c34(arg0, arg1) {
|
|
8736
8813
|
arg0.onopen = arg1;
|
|
8737
8814
|
};
|
|
8738
8815
|
|
|
8739
|
-
export function
|
|
8816
|
+
export function __wbg_setonsuccess_81a109828a9b7d7c(arg0, arg1) {
|
|
8740
8817
|
arg0.onsuccess = arg1;
|
|
8741
8818
|
};
|
|
8742
8819
|
|
|
8743
|
-
export function
|
|
8820
|
+
export function __wbg_setonupgradeneeded_41c59fde839b5142(arg0, arg1) {
|
|
8744
8821
|
arg0.onupgradeneeded = arg1;
|
|
8745
8822
|
};
|
|
8746
8823
|
|
|
8747
|
-
export function
|
|
8824
|
+
export function __wbg_setonversionchange_6d4cf4b5eafafccc(arg0, arg1) {
|
|
8748
8825
|
arg0.onversionchange = arg1;
|
|
8749
8826
|
};
|
|
8750
8827
|
|
|
8751
|
-
export function
|
|
8828
|
+
export function __wbg_setredirect_4017ceebe5aecf8c(arg0, arg1) {
|
|
8752
8829
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
8753
8830
|
};
|
|
8754
8831
|
|
|
8755
|
-
export function
|
|
8832
|
+
export function __wbg_setreferrer_4625041984f4c279(arg0, arg1, arg2) {
|
|
8756
8833
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
8757
8834
|
};
|
|
8758
8835
|
|
|
8759
|
-
export function
|
|
8836
|
+
export function __wbg_setreferrerpolicy_16cc29e0e528b435(arg0, arg1) {
|
|
8760
8837
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
8761
8838
|
};
|
|
8762
8839
|
|
|
8763
|
-
export function
|
|
8840
|
+
export function __wbg_setunique_bccba0d1ccd21f16(arg0, arg1) {
|
|
8764
8841
|
arg0.unique = arg1 !== 0;
|
|
8765
8842
|
};
|
|
8766
8843
|
|
|
@@ -8779,7 +8856,7 @@ export function __wbg_signerinfo_unwrap(arg0) {
|
|
|
8779
8856
|
return ret;
|
|
8780
8857
|
};
|
|
8781
8858
|
|
|
8782
|
-
export function
|
|
8859
|
+
export function __wbg_slice_4d3ad79b14a0c0ec(arg0, arg1, arg2) {
|
|
8783
8860
|
const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
|
|
8784
8861
|
return ret;
|
|
8785
8862
|
};
|
|
@@ -8792,37 +8869,37 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
|
|
|
8792
8869
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8793
8870
|
};
|
|
8794
8871
|
|
|
8795
|
-
export function
|
|
8872
|
+
export function __wbg_static_accessor_GLOBAL_1f13249cc3acc96d() {
|
|
8796
8873
|
const ret = typeof global === 'undefined' ? null : global;
|
|
8797
8874
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8798
8875
|
};
|
|
8799
8876
|
|
|
8800
|
-
export function
|
|
8877
|
+
export function __wbg_static_accessor_GLOBAL_THIS_df7ae94b1e0ed6a3() {
|
|
8801
8878
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
8802
8879
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8803
8880
|
};
|
|
8804
8881
|
|
|
8805
|
-
export function
|
|
8882
|
+
export function __wbg_static_accessor_SELF_6265471db3b3c228() {
|
|
8806
8883
|
const ret = typeof self === 'undefined' ? null : self;
|
|
8807
8884
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8808
8885
|
};
|
|
8809
8886
|
|
|
8810
|
-
export function
|
|
8887
|
+
export function __wbg_static_accessor_WINDOW_16fb482f8ec52863() {
|
|
8811
8888
|
const ret = typeof window === 'undefined' ? null : window;
|
|
8812
8889
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8813
8890
|
};
|
|
8814
8891
|
|
|
8815
|
-
export function
|
|
8892
|
+
export function __wbg_status_31874648c8651949(arg0) {
|
|
8816
8893
|
const ret = arg0.status;
|
|
8817
8894
|
return ret;
|
|
8818
8895
|
};
|
|
8819
8896
|
|
|
8820
|
-
export function
|
|
8897
|
+
export function __wbg_storage_144f3515656273ac(arg0) {
|
|
8821
8898
|
const ret = arg0.storage;
|
|
8822
8899
|
return ret;
|
|
8823
8900
|
};
|
|
8824
8901
|
|
|
8825
|
-
export function
|
|
8902
|
+
export function __wbg_storage_f49596759b4c8730(arg0) {
|
|
8826
8903
|
const ret = arg0.storage;
|
|
8827
8904
|
return ret;
|
|
8828
8905
|
};
|
|
@@ -8837,7 +8914,7 @@ export function __wbg_stringevent_unwrap(arg0) {
|
|
|
8837
8914
|
return ret;
|
|
8838
8915
|
};
|
|
8839
8916
|
|
|
8840
|
-
export function
|
|
8917
|
+
export function __wbg_subarray_a219824899e59712(arg0, arg1, arg2) {
|
|
8841
8918
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
8842
8919
|
return ret;
|
|
8843
8920
|
};
|
|
@@ -8847,45 +8924,40 @@ export function __wbg_syncinginfosnapshot_new(arg0) {
|
|
|
8847
8924
|
return ret;
|
|
8848
8925
|
};
|
|
8849
8926
|
|
|
8850
|
-
export function
|
|
8927
|
+
export function __wbg_target_bfb4281bfa013115(arg0) {
|
|
8851
8928
|
const ret = arg0.target;
|
|
8852
8929
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8853
8930
|
};
|
|
8854
8931
|
|
|
8855
|
-
export function
|
|
8856
|
-
const ret = arg0.then(arg1);
|
|
8932
|
+
export function __wbg_then_8d2fcccde5380a03(arg0, arg1, arg2) {
|
|
8933
|
+
const ret = arg0.then(arg1, arg2);
|
|
8857
8934
|
return ret;
|
|
8858
8935
|
};
|
|
8859
8936
|
|
|
8860
|
-
export function
|
|
8861
|
-
const ret = arg0.then(arg1
|
|
8937
|
+
export function __wbg_then_9cc266be2bf537b6(arg0, arg1) {
|
|
8938
|
+
const ret = arg0.then(arg1);
|
|
8862
8939
|
return ret;
|
|
8863
8940
|
};
|
|
8864
8941
|
|
|
8865
|
-
export function
|
|
8942
|
+
export function __wbg_toString_1144ec2f872e8cf3(arg0) {
|
|
8866
8943
|
const ret = arg0.toString();
|
|
8867
8944
|
return ret;
|
|
8868
8945
|
};
|
|
8869
8946
|
|
|
8870
|
-
export function
|
|
8947
|
+
export function __wbg_toString_1588a16751ba3f70(arg0) {
|
|
8871
8948
|
const ret = arg0.toString();
|
|
8872
8949
|
return ret;
|
|
8873
8950
|
};
|
|
8874
8951
|
|
|
8875
|
-
export function
|
|
8876
|
-
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
8877
|
-
return ret;
|
|
8878
|
-
}, arguments) };
|
|
8879
|
-
|
|
8880
|
-
export function __wbg_transaction_e713aa7b07ccaedd(arg0) {
|
|
8952
|
+
export function __wbg_transaction_8267254fd462a1bb(arg0) {
|
|
8881
8953
|
const ret = arg0.transaction;
|
|
8882
8954
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8883
8955
|
};
|
|
8884
8956
|
|
|
8885
|
-
export function
|
|
8886
|
-
const ret =
|
|
8957
|
+
export function __wbg_transaction_fca796495943f7a5() { return handleError(function (arg0, arg1, arg2) {
|
|
8958
|
+
const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
|
|
8887
8959
|
return ret;
|
|
8888
|
-
};
|
|
8960
|
+
}, arguments) };
|
|
8889
8961
|
|
|
8890
8962
|
export function __wbg_txresponse_new(arg0) {
|
|
8891
8963
|
const ret = TxResponse.__wrap(arg0);
|
|
@@ -8897,7 +8969,7 @@ export function __wbg_txstatusresponse_new(arg0) {
|
|
|
8897
8969
|
return ret;
|
|
8898
8970
|
};
|
|
8899
8971
|
|
|
8900
|
-
export function
|
|
8972
|
+
export function __wbg_typeUrl_f02514616b090ac1(arg0, arg1) {
|
|
8901
8973
|
const ret = arg1.typeUrl;
|
|
8902
8974
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8903
8975
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8905,12 +8977,12 @@ export function __wbg_typeUrl_2c98c99b2904d84c(arg0, arg1) {
|
|
|
8905
8977
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8906
8978
|
};
|
|
8907
8979
|
|
|
8908
|
-
export function
|
|
8980
|
+
export function __wbg_unique_2ffe24c606d8bfd2(arg0) {
|
|
8909
8981
|
const ret = arg0.unique;
|
|
8910
8982
|
return ret;
|
|
8911
8983
|
};
|
|
8912
8984
|
|
|
8913
|
-
export function
|
|
8985
|
+
export function __wbg_userAgent_1157325f8a8128d1() { return handleError(function (arg0, arg1) {
|
|
8914
8986
|
const ret = arg1.userAgent;
|
|
8915
8987
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8916
8988
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8918,7 +8990,7 @@ export function __wbg_userAgent_12e9d8e62297563f() { return handleError(function
|
|
|
8918
8990
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8919
8991
|
}, arguments) };
|
|
8920
8992
|
|
|
8921
|
-
export function
|
|
8993
|
+
export function __wbg_userAgent_9b943f9412e5e199() { return handleError(function (arg0, arg1) {
|
|
8922
8994
|
const ret = arg1.userAgent;
|
|
8923
8995
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8924
8996
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8926,12 +8998,12 @@ export function __wbg_userAgent_d036e8722fea0cde() { return handleError(function
|
|
|
8926
8998
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8927
8999
|
}, arguments) };
|
|
8928
9000
|
|
|
8929
|
-
export function
|
|
9001
|
+
export function __wbg_value_09d0b4eaab48b91d(arg0) {
|
|
8930
9002
|
const ret = arg0.value;
|
|
8931
9003
|
return ret;
|
|
8932
|
-
}
|
|
9004
|
+
};
|
|
8933
9005
|
|
|
8934
|
-
export function
|
|
9006
|
+
export function __wbg_value_3c6f117eabb16ab3(arg0, arg1) {
|
|
8935
9007
|
const ret = arg1.value;
|
|
8936
9008
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
8937
9009
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8939,244 +9011,272 @@ export function __wbg_value_9d0a1475adca6e41(arg0, arg1) {
|
|
|
8939
9011
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8940
9012
|
};
|
|
8941
9013
|
|
|
8942
|
-
export function
|
|
9014
|
+
export function __wbg_value_3e45d77a58bc804d() { return handleError(function (arg0) {
|
|
8943
9015
|
const ret = arg0.value;
|
|
8944
9016
|
return ret;
|
|
8945
|
-
};
|
|
9017
|
+
}, arguments) };
|
|
8946
9018
|
|
|
8947
|
-
export function
|
|
9019
|
+
export function __wbg_versions_c01dfd4722a88165(arg0) {
|
|
8948
9020
|
const ret = arg0.versions;
|
|
8949
9021
|
return ret;
|
|
8950
9022
|
};
|
|
8951
9023
|
|
|
8952
|
-
export function
|
|
9024
|
+
export function __wbg_view_d36d28552eb70661(arg0) {
|
|
8953
9025
|
const ret = arg0.view;
|
|
8954
9026
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
8955
9027
|
};
|
|
8956
9028
|
|
|
8957
|
-
export function
|
|
9029
|
+
export function __wbg_warn_07ef1f61c52799fb(arg0) {
|
|
8958
9030
|
console.warn(arg0);
|
|
8959
9031
|
};
|
|
8960
9032
|
|
|
8961
|
-
export function
|
|
8962
|
-
const
|
|
8963
|
-
|
|
9033
|
+
export function __wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e(arg0, arg1) {
|
|
9034
|
+
const v = arg1;
|
|
9035
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
9036
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
9037
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
8964
9038
|
};
|
|
8965
9039
|
|
|
8966
|
-
export function
|
|
8967
|
-
const
|
|
8968
|
-
|
|
9040
|
+
export function __wbg_wbindgenbooleanget_59f830b1a70d2530(arg0) {
|
|
9041
|
+
const v = arg0;
|
|
9042
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
9043
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
8969
9044
|
};
|
|
8970
9045
|
|
|
8971
|
-
export function
|
|
8972
|
-
const
|
|
9046
|
+
export function __wbg_wbindgencbdrop_a85ed476c6a370b9(arg0) {
|
|
9047
|
+
const obj = arg0.original;
|
|
9048
|
+
if (obj.cnt-- == 1) {
|
|
9049
|
+
obj.a = 0;
|
|
9050
|
+
return true;
|
|
9051
|
+
}
|
|
9052
|
+
const ret = false;
|
|
8973
9053
|
return ret;
|
|
8974
9054
|
};
|
|
8975
9055
|
|
|
8976
|
-
export function
|
|
8977
|
-
|
|
9056
|
+
export function __wbg_wbindgendebugstring_bb652b1bc2061b6d(arg0, arg1) {
|
|
9057
|
+
const ret = debugString(arg1);
|
|
9058
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
9059
|
+
const len1 = WASM_VECTOR_LEN;
|
|
9060
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
9061
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8978
9062
|
};
|
|
8979
9063
|
|
|
8980
|
-
export function
|
|
8981
|
-
const ret =
|
|
9064
|
+
export function __wbg_wbindgenin_192b210aa1c401e9(arg0, arg1) {
|
|
9065
|
+
const ret = arg0 in arg1;
|
|
8982
9066
|
return ret;
|
|
8983
9067
|
};
|
|
8984
9068
|
|
|
8985
|
-
export function
|
|
8986
|
-
const ret = arg0;
|
|
9069
|
+
export function __wbg_wbindgenisbigint_7d76a1ca6454e439(arg0) {
|
|
9070
|
+
const ret = typeof(arg0) === 'bigint';
|
|
8987
9071
|
return ret;
|
|
8988
9072
|
};
|
|
8989
9073
|
|
|
8990
|
-
export function
|
|
8991
|
-
const ret =
|
|
9074
|
+
export function __wbg_wbindgenisfalsy_a15841cca6156044(arg0) {
|
|
9075
|
+
const ret = !arg0;
|
|
8992
9076
|
return ret;
|
|
8993
9077
|
};
|
|
8994
9078
|
|
|
8995
|
-
export function
|
|
8996
|
-
const
|
|
8997
|
-
|
|
8998
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
8999
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
9079
|
+
export function __wbg_wbindgenisfunction_ea72b9d66a0e1705(arg0) {
|
|
9080
|
+
const ret = typeof(arg0) === 'function';
|
|
9081
|
+
return ret;
|
|
9000
9082
|
};
|
|
9001
9083
|
|
|
9002
|
-
export function
|
|
9003
|
-
const
|
|
9004
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
9084
|
+
export function __wbg_wbindgenisnull_e1388bbe88158c3f(arg0) {
|
|
9085
|
+
const ret = arg0 === null;
|
|
9005
9086
|
return ret;
|
|
9006
9087
|
};
|
|
9007
9088
|
|
|
9008
|
-
export function
|
|
9009
|
-
const
|
|
9010
|
-
|
|
9011
|
-
obj.a = 0;
|
|
9012
|
-
return true;
|
|
9013
|
-
}
|
|
9014
|
-
const ret = false;
|
|
9089
|
+
export function __wbg_wbindgenisobject_dfe064a121d87553(arg0) {
|
|
9090
|
+
const val = arg0;
|
|
9091
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
9015
9092
|
return ret;
|
|
9016
9093
|
};
|
|
9017
9094
|
|
|
9018
|
-
export function
|
|
9019
|
-
const ret =
|
|
9095
|
+
export function __wbg_wbindgenisstring_4b74e4111ba029e6(arg0) {
|
|
9096
|
+
const ret = typeof(arg0) === 'string';
|
|
9020
9097
|
return ret;
|
|
9021
9098
|
};
|
|
9022
9099
|
|
|
9023
|
-
export function
|
|
9024
|
-
const ret =
|
|
9100
|
+
export function __wbg_wbindgenisundefined_71f08a6ade4354e7(arg0) {
|
|
9101
|
+
const ret = arg0 === undefined;
|
|
9025
9102
|
return ret;
|
|
9026
9103
|
};
|
|
9027
9104
|
|
|
9028
|
-
export function
|
|
9029
|
-
const ret =
|
|
9105
|
+
export function __wbg_wbindgenjsvaleq_f27272c0a890df7f(arg0, arg1) {
|
|
9106
|
+
const ret = arg0 === arg1;
|
|
9030
9107
|
return ret;
|
|
9031
9108
|
};
|
|
9032
9109
|
|
|
9033
|
-
export function
|
|
9034
|
-
const ret =
|
|
9110
|
+
export function __wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c(arg0, arg1) {
|
|
9111
|
+
const ret = arg0 == arg1;
|
|
9035
9112
|
return ret;
|
|
9036
9113
|
};
|
|
9037
9114
|
|
|
9038
|
-
export function
|
|
9039
|
-
const
|
|
9040
|
-
|
|
9115
|
+
export function __wbg_wbindgennumberget_d855f947247a3fbc(arg0, arg1) {
|
|
9116
|
+
const obj = arg1;
|
|
9117
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
9118
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
9119
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
9041
9120
|
};
|
|
9042
9121
|
|
|
9043
|
-
export function
|
|
9044
|
-
const
|
|
9045
|
-
|
|
9122
|
+
export function __wbg_wbindgenstringget_43fe05afe34b0cb1(arg0, arg1) {
|
|
9123
|
+
const obj = arg1;
|
|
9124
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
9125
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
9126
|
+
var len1 = WASM_VECTOR_LEN;
|
|
9127
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
9128
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
9046
9129
|
};
|
|
9047
9130
|
|
|
9048
|
-
export function
|
|
9049
|
-
|
|
9050
|
-
return ret;
|
|
9131
|
+
export function __wbg_wbindgenthrow_4c11a24fca429ccf(arg0, arg1) {
|
|
9132
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
9051
9133
|
};
|
|
9052
9134
|
|
|
9053
|
-
export function
|
|
9054
|
-
const ret =
|
|
9135
|
+
export function __wbg_wbindgentypeof_7219206940ac0898(arg0) {
|
|
9136
|
+
const ret = typeof arg0;
|
|
9055
9137
|
return ret;
|
|
9056
9138
|
};
|
|
9057
9139
|
|
|
9058
|
-
export function
|
|
9059
|
-
const ret =
|
|
9140
|
+
export function __wbg_writable_4f9d2cae62a7c0cb(arg0) {
|
|
9141
|
+
const ret = arg0.writable;
|
|
9060
9142
|
return ret;
|
|
9061
9143
|
};
|
|
9062
9144
|
|
|
9063
|
-
export function
|
|
9064
|
-
const ret =
|
|
9065
|
-
|
|
9066
|
-
const len1 = WASM_VECTOR_LEN;
|
|
9067
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
9068
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
9145
|
+
export function __wbg_write_39d7c51f917777a5(arg0, arg1) {
|
|
9146
|
+
const ret = arg0.write(arg1);
|
|
9147
|
+
return ret;
|
|
9069
9148
|
};
|
|
9070
9149
|
|
|
9071
|
-
export function
|
|
9072
|
-
|
|
9150
|
+
export function __wbindgen_cast_13f728beb3308701(arg0, arg1) {
|
|
9151
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
9152
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
9153
|
+
// Cast intrinsic for `Vector(NamedExternref("Coin")) -> Externref`.
|
|
9154
|
+
const ret = v0;
|
|
9073
9155
|
return ret;
|
|
9074
9156
|
};
|
|
9075
9157
|
|
|
9076
|
-
export function
|
|
9077
|
-
|
|
9158
|
+
export function __wbindgen_cast_17625ed3b4da24cb(arg0, arg1) {
|
|
9159
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9160
|
+
const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
|
|
9078
9161
|
return ret;
|
|
9079
9162
|
};
|
|
9080
9163
|
|
|
9081
|
-
export function
|
|
9082
|
-
|
|
9083
|
-
const
|
|
9084
|
-
|
|
9085
|
-
table.set(offset + 0, undefined);
|
|
9086
|
-
table.set(offset + 1, null);
|
|
9087
|
-
table.set(offset + 2, true);
|
|
9088
|
-
table.set(offset + 3, false);
|
|
9089
|
-
;
|
|
9164
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
9165
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
9166
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
9167
|
+
return ret;
|
|
9090
9168
|
};
|
|
9091
9169
|
|
|
9092
|
-
export function
|
|
9093
|
-
|
|
9170
|
+
export function __wbindgen_cast_3d27ec27b68ba2cd(arg0, arg1) {
|
|
9171
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9172
|
+
const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
|
|
9094
9173
|
return ret;
|
|
9095
9174
|
};
|
|
9096
9175
|
|
|
9097
|
-
export function
|
|
9098
|
-
|
|
9176
|
+
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
9177
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
9178
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
9099
9179
|
return ret;
|
|
9100
9180
|
};
|
|
9101
9181
|
|
|
9102
|
-
export function
|
|
9103
|
-
|
|
9182
|
+
export function __wbindgen_cast_4b1e345b770365a0(arg0, arg1) {
|
|
9183
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [Externref], shim_idx: 729, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
|
|
9184
|
+
const ret = makeMutClosure(arg0, arg1, 726, __wbg_adapter_44);
|
|
9104
9185
|
return ret;
|
|
9105
9186
|
};
|
|
9106
9187
|
|
|
9107
|
-
export function
|
|
9108
|
-
|
|
9188
|
+
export function __wbindgen_cast_6cadf2dadb047667(arg0, arg1) {
|
|
9189
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2840, function: Function { arguments: [Externref], shim_idx: 2841, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9190
|
+
const ret = makeMutClosure(arg0, arg1, 2840, __wbg_adapter_23);
|
|
9109
9191
|
return ret;
|
|
9110
9192
|
};
|
|
9111
9193
|
|
|
9112
|
-
export function
|
|
9113
|
-
|
|
9194
|
+
export function __wbindgen_cast_7052a031800ef013(arg0, arg1) {
|
|
9195
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 727, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
9196
|
+
const ret = makeClosure(arg0, arg1, 726, __wbg_adapter_26);
|
|
9114
9197
|
return ret;
|
|
9115
9198
|
};
|
|
9116
9199
|
|
|
9117
|
-
export function
|
|
9118
|
-
|
|
9119
|
-
const ret =
|
|
9200
|
+
export function __wbindgen_cast_70bf32696ce323a8(arg0, arg1) {
|
|
9201
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2852, function: Function { arguments: [], shim_idx: 2853, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9202
|
+
const ret = makeMutClosure(arg0, arg1, 2852, __wbg_adapter_47);
|
|
9120
9203
|
return ret;
|
|
9121
9204
|
};
|
|
9122
9205
|
|
|
9123
|
-
export function
|
|
9124
|
-
|
|
9206
|
+
export function __wbindgen_cast_76a0f6231a633ad2(arg0, arg1) {
|
|
9207
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
9208
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
9209
|
+
// Cast intrinsic for `Vector(NamedExternref("BaseAccount")) -> Externref`.
|
|
9210
|
+
const ret = v0;
|
|
9125
9211
|
return ret;
|
|
9126
9212
|
};
|
|
9127
9213
|
|
|
9128
|
-
export function
|
|
9129
|
-
|
|
9214
|
+
export function __wbindgen_cast_780e81115060bad4(arg0, arg1) {
|
|
9215
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1748, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1749, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9216
|
+
const ret = makeMutClosure(arg0, arg1, 1748, __wbg_adapter_11);
|
|
9130
9217
|
return ret;
|
|
9131
9218
|
};
|
|
9132
9219
|
|
|
9133
|
-
export function
|
|
9134
|
-
|
|
9220
|
+
export function __wbindgen_cast_999e199e4c24168d(arg0, arg1) {
|
|
9221
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
9222
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
9223
|
+
// Cast intrinsic for `Vector(NamedExternref("Blob")) -> Externref`.
|
|
9224
|
+
const ret = v0;
|
|
9135
9225
|
return ret;
|
|
9136
9226
|
};
|
|
9137
9227
|
|
|
9138
|
-
export function
|
|
9139
|
-
|
|
9228
|
+
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
9229
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
9230
|
+
const ret = arg0;
|
|
9140
9231
|
return ret;
|
|
9141
9232
|
};
|
|
9142
9233
|
|
|
9143
|
-
export function
|
|
9144
|
-
|
|
9234
|
+
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
9235
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
9236
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
9145
9237
|
return ret;
|
|
9146
9238
|
};
|
|
9147
9239
|
|
|
9148
|
-
export function
|
|
9149
|
-
|
|
9150
|
-
const ret =
|
|
9151
|
-
|
|
9152
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
9240
|
+
export function __wbindgen_cast_d144656a3d1ab4ad(arg0, arg1) {
|
|
9241
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2960, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2961, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9242
|
+
const ret = makeMutClosure(arg0, arg1, 2960, __wbg_adapter_31);
|
|
9243
|
+
return ret;
|
|
9153
9244
|
};
|
|
9154
9245
|
|
|
9155
|
-
export function
|
|
9246
|
+
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
9247
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
9156
9248
|
const ret = arg0;
|
|
9157
9249
|
return ret;
|
|
9158
9250
|
};
|
|
9159
9251
|
|
|
9160
|
-
export function
|
|
9161
|
-
|
|
9162
|
-
const ret =
|
|
9163
|
-
|
|
9164
|
-
var len1 = WASM_VECTOR_LEN;
|
|
9165
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
9166
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
9252
|
+
export function __wbindgen_cast_d81407fed0b5a02d(arg0, arg1) {
|
|
9253
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2294, function: Function { arguments: [], shim_idx: 2295, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9254
|
+
const ret = makeMutClosure(arg0, arg1, 2294, __wbg_adapter_8);
|
|
9255
|
+
return ret;
|
|
9167
9256
|
};
|
|
9168
9257
|
|
|
9169
|
-
export function
|
|
9170
|
-
|
|
9258
|
+
export function __wbindgen_cast_da0d185114cf54d4(arg0, arg1) {
|
|
9259
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
9260
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
9261
|
+
// Cast intrinsic for `Vector(NamedExternref("ExtendedHeader")) -> Externref`.
|
|
9262
|
+
const ret = v0;
|
|
9171
9263
|
return ret;
|
|
9172
9264
|
};
|
|
9173
9265
|
|
|
9174
|
-
export function
|
|
9175
|
-
|
|
9266
|
+
export function __wbindgen_cast_f2aa4ac7119e14c0(arg0, arg1) {
|
|
9267
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 726, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
9268
|
+
const ret = makeMutClosure(arg0, arg1, 726, __wbg_adapter_20);
|
|
9269
|
+
return ret;
|
|
9176
9270
|
};
|
|
9177
9271
|
|
|
9178
|
-
export function
|
|
9179
|
-
const
|
|
9180
|
-
|
|
9272
|
+
export function __wbindgen_init_externref_table() {
|
|
9273
|
+
const table = wasm.__wbindgen_export_4;
|
|
9274
|
+
const offset = table.grow(4);
|
|
9275
|
+
table.set(0, undefined);
|
|
9276
|
+
table.set(offset + 0, undefined);
|
|
9277
|
+
table.set(offset + 1, null);
|
|
9278
|
+
table.set(offset + 2, true);
|
|
9279
|
+
table.set(offset + 3, false);
|
|
9280
|
+
;
|
|
9181
9281
|
};
|
|
9182
9282
|
|