@acala-network/chopsticks-executor 0.9.0 → 0.9.1-2
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.
|
@@ -27,7 +27,7 @@ export function create_proof(nodes: any, entries: any): Promise<any>;
|
|
|
27
27
|
/**
|
|
28
28
|
* @param {any} task
|
|
29
29
|
* @param {JsCallback} js
|
|
30
|
-
* @param {string | undefined} log_level
|
|
30
|
+
* @param {string | undefined} [log_level]
|
|
31
31
|
* @returns {Promise<any>}
|
|
32
32
|
*/
|
|
33
33
|
export function run_task(task: any, js: JsCallback, log_level?: string): Promise<any>;
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const {
|
|
4
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
const heap = new Array(128).fill(undefined);
|
|
7
7
|
|
|
8
8
|
heap.push(undefined, null, true, false);
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
let heap_next = heap.length;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
function addHeapObject(obj) {
|
|
13
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
14
|
+
const idx = heap_next;
|
|
15
|
+
heap_next = heap[idx];
|
|
16
|
+
|
|
17
|
+
heap[idx] = obj;
|
|
18
|
+
return idx;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
22
|
+
|
|
23
|
+
cachedTextDecoder.decode();
|
|
13
24
|
|
|
14
25
|
let cachedUint8Memory0 = null;
|
|
15
26
|
|
|
@@ -20,6 +31,49 @@ function getUint8Memory0() {
|
|
|
20
31
|
return cachedUint8Memory0;
|
|
21
32
|
}
|
|
22
33
|
|
|
34
|
+
function getStringFromWasm0(ptr, len) {
|
|
35
|
+
ptr = ptr >>> 0;
|
|
36
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function getObject(idx) { return heap[idx]; }
|
|
40
|
+
|
|
41
|
+
function dropObject(idx) {
|
|
42
|
+
if (idx < 132) return;
|
|
43
|
+
heap[idx] = heap_next;
|
|
44
|
+
heap_next = idx;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function takeObject(idx) {
|
|
48
|
+
const ret = getObject(idx);
|
|
49
|
+
dropObject(idx);
|
|
50
|
+
return ret;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function isLikeNone(x) {
|
|
54
|
+
return x === undefined || x === null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
let cachedFloat64Memory0 = null;
|
|
58
|
+
|
|
59
|
+
function getFloat64Memory0() {
|
|
60
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
61
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
62
|
+
}
|
|
63
|
+
return cachedFloat64Memory0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
let cachedInt32Memory0 = null;
|
|
67
|
+
|
|
68
|
+
function getInt32Memory0() {
|
|
69
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
70
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
71
|
+
}
|
|
72
|
+
return cachedInt32Memory0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
let WASM_VECTOR_LEN = 0;
|
|
76
|
+
|
|
23
77
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
24
78
|
|
|
25
79
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -73,60 +127,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
73
127
|
return ptr;
|
|
74
128
|
}
|
|
75
129
|
|
|
76
|
-
function isLikeNone(x) {
|
|
77
|
-
return x === undefined || x === null;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
let cachedInt32Memory0 = null;
|
|
81
|
-
|
|
82
|
-
function getInt32Memory0() {
|
|
83
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
84
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
85
|
-
}
|
|
86
|
-
return cachedInt32Memory0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
let heap_next = heap.length;
|
|
90
|
-
|
|
91
|
-
function dropObject(idx) {
|
|
92
|
-
if (idx < 132) return;
|
|
93
|
-
heap[idx] = heap_next;
|
|
94
|
-
heap_next = idx;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function takeObject(idx) {
|
|
98
|
-
const ret = getObject(idx);
|
|
99
|
-
dropObject(idx);
|
|
100
|
-
return ret;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
|
-
|
|
105
|
-
cachedTextDecoder.decode();
|
|
106
|
-
|
|
107
|
-
function getStringFromWasm0(ptr, len) {
|
|
108
|
-
ptr = ptr >>> 0;
|
|
109
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function addHeapObject(obj) {
|
|
113
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
114
|
-
const idx = heap_next;
|
|
115
|
-
heap_next = heap[idx];
|
|
116
|
-
|
|
117
|
-
heap[idx] = obj;
|
|
118
|
-
return idx;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
let cachedFloat64Memory0 = null;
|
|
122
|
-
|
|
123
|
-
function getFloat64Memory0() {
|
|
124
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
125
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
126
|
-
}
|
|
127
|
-
return cachedFloat64Memory0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
130
|
let cachedBigInt64Memory0 = null;
|
|
131
131
|
|
|
132
132
|
function getBigInt64Memory0() {
|
|
@@ -226,7 +226,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
226
226
|
return real;
|
|
227
227
|
}
|
|
228
228
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
229
|
-
wasm.
|
|
229
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h84425a3baffea565(arg0, arg1, addHeapObject(arg2));
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/**
|
|
@@ -272,7 +272,7 @@ module.exports.create_proof = function(nodes, entries) {
|
|
|
272
272
|
/**
|
|
273
273
|
* @param {any} task
|
|
274
274
|
* @param {JsCallback} js
|
|
275
|
-
* @param {string | undefined} log_level
|
|
275
|
+
* @param {string | undefined} [log_level]
|
|
276
276
|
* @returns {Promise<any>}
|
|
277
277
|
*/
|
|
278
278
|
module.exports.run_task = function(task, js, log_level) {
|
|
@@ -289,77 +289,77 @@ function handleError(f, args) {
|
|
|
289
289
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
wasm.
|
|
292
|
+
function __wbg_adapter_108(arg0, arg1, arg2, arg3) {
|
|
293
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
module.exports.
|
|
297
|
-
const
|
|
298
|
-
|
|
299
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
300
|
-
var len1 = WASM_VECTOR_LEN;
|
|
301
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
302
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
296
|
+
module.exports.__wbg_new_c728d68b8b34487e = function() {
|
|
297
|
+
const ret = new Object();
|
|
298
|
+
return addHeapObject(ret);
|
|
303
299
|
};
|
|
304
300
|
|
|
305
|
-
module.exports.
|
|
306
|
-
|
|
301
|
+
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
302
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
307
303
|
};
|
|
308
304
|
|
|
309
|
-
module.exports.
|
|
310
|
-
const ret =
|
|
305
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
306
|
+
const ret = arg0;
|
|
307
|
+
return addHeapObject(ret);
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
module.exports.__wbg_new_08236689f0afb357 = function() {
|
|
311
|
+
const ret = new Array();
|
|
311
312
|
return addHeapObject(ret);
|
|
312
313
|
};
|
|
313
314
|
|
|
315
|
+
module.exports.__wbg_set_0ac78a2bc07da03c = function(arg0, arg1, arg2) {
|
|
316
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
317
|
+
};
|
|
318
|
+
|
|
314
319
|
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
315
320
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
316
321
|
return addHeapObject(ret);
|
|
317
322
|
};
|
|
318
323
|
|
|
319
|
-
module.exports.
|
|
324
|
+
module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
320
325
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
321
326
|
return addHeapObject(ret);
|
|
322
327
|
}, arguments) };
|
|
323
328
|
|
|
324
|
-
module.exports.
|
|
329
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
330
|
+
takeObject(arg0);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
module.exports.__wbg_isArray_38525be7442aa21e = function(arg0) {
|
|
325
334
|
const ret = Array.isArray(getObject(arg0));
|
|
326
335
|
return ret;
|
|
327
336
|
};
|
|
328
337
|
|
|
329
|
-
module.exports.
|
|
338
|
+
module.exports.__wbg_length_cace2e0b3ddc0502 = function(arg0) {
|
|
330
339
|
const ret = getObject(arg0).length;
|
|
331
340
|
return ret;
|
|
332
341
|
};
|
|
333
342
|
|
|
334
|
-
module.exports.
|
|
343
|
+
module.exports.__wbg_get_4a9aa5157afeb382 = function(arg0, arg1) {
|
|
335
344
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
336
345
|
return addHeapObject(ret);
|
|
337
346
|
};
|
|
338
347
|
|
|
339
|
-
module.exports.
|
|
348
|
+
module.exports.__wbg_next_1989a20442400aaa = function() { return handleError(function (arg0) {
|
|
340
349
|
const ret = getObject(arg0).next();
|
|
341
350
|
return addHeapObject(ret);
|
|
342
351
|
}, arguments) };
|
|
343
352
|
|
|
344
|
-
module.exports.
|
|
353
|
+
module.exports.__wbg_done_bc26bf4ada718266 = function(arg0) {
|
|
345
354
|
const ret = getObject(arg0).done;
|
|
346
355
|
return ret;
|
|
347
356
|
};
|
|
348
357
|
|
|
349
|
-
module.exports.
|
|
358
|
+
module.exports.__wbg_value_0570714ff7d75f35 = function(arg0) {
|
|
350
359
|
const ret = getObject(arg0).value;
|
|
351
360
|
return addHeapObject(ret);
|
|
352
361
|
};
|
|
353
362
|
|
|
354
|
-
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
355
|
-
const ret = new Array();
|
|
356
|
-
return addHeapObject(ret);
|
|
357
|
-
};
|
|
358
|
-
|
|
359
|
-
module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
|
|
360
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
361
|
-
};
|
|
362
|
-
|
|
363
363
|
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
364
364
|
const obj = getObject(arg1);
|
|
365
365
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -367,7 +367,7 @@ module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
|
367
367
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
368
368
|
};
|
|
369
369
|
|
|
370
|
-
module.exports.
|
|
370
|
+
module.exports.__wbg_isSafeInteger_c38b0a16d0c7cef7 = function(arg0) {
|
|
371
371
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
372
372
|
return ret;
|
|
373
373
|
};
|
|
@@ -399,17 +399,17 @@ module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
|
399
399
|
return ret;
|
|
400
400
|
};
|
|
401
401
|
|
|
402
|
-
module.exports.
|
|
403
|
-
const
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
402
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
403
|
+
const obj = getObject(arg1);
|
|
404
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
405
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
406
|
+
var len1 = WASM_VECTOR_LEN;
|
|
407
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
408
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
409
409
|
};
|
|
410
410
|
|
|
411
|
-
module.exports.
|
|
412
|
-
const ret = arg0;
|
|
411
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
412
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
413
413
|
return addHeapObject(ret);
|
|
414
414
|
};
|
|
415
415
|
|
|
@@ -441,37 +441,37 @@ module.exports.__wbg_String_88810dfeb4021902 = function(arg0, arg1) {
|
|
|
441
441
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
442
442
|
};
|
|
443
443
|
|
|
444
|
-
module.exports.
|
|
444
|
+
module.exports.__wbg_getStorage_7b4ae281db189f27 = function(arg0, arg1) {
|
|
445
445
|
const ret = getObject(arg0).getStorage(takeObject(arg1));
|
|
446
446
|
return addHeapObject(ret);
|
|
447
447
|
};
|
|
448
448
|
|
|
449
|
-
module.exports.
|
|
449
|
+
module.exports.__wbg_getStateRoot_dbd7900c42bd384e = function(arg0) {
|
|
450
450
|
const ret = getObject(arg0).getStateRoot();
|
|
451
451
|
return addHeapObject(ret);
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
module.exports.
|
|
454
|
+
module.exports.__wbg_getNextKey_831bbcbb195193d5 = function(arg0, arg1, arg2) {
|
|
455
455
|
const ret = getObject(arg0).getNextKey(takeObject(arg1), takeObject(arg2));
|
|
456
456
|
return addHeapObject(ret);
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
module.exports.
|
|
459
|
+
module.exports.__wbg_offchainGetStorage_a7f444f323a45f46 = function(arg0, arg1) {
|
|
460
460
|
const ret = getObject(arg0).offchainGetStorage(takeObject(arg1));
|
|
461
461
|
return addHeapObject(ret);
|
|
462
462
|
};
|
|
463
463
|
|
|
464
|
-
module.exports.
|
|
464
|
+
module.exports.__wbg_offchainTimestamp_5b912f594f777fc9 = function(arg0) {
|
|
465
465
|
const ret = getObject(arg0).offchainTimestamp();
|
|
466
466
|
return addHeapObject(ret);
|
|
467
467
|
};
|
|
468
468
|
|
|
469
|
-
module.exports.
|
|
469
|
+
module.exports.__wbg_offchainRandomSeed_4b4c1b95fe2613ae = function(arg0) {
|
|
470
470
|
const ret = getObject(arg0).offchainRandomSeed();
|
|
471
471
|
return addHeapObject(ret);
|
|
472
472
|
};
|
|
473
473
|
|
|
474
|
-
module.exports.
|
|
474
|
+
module.exports.__wbg_offchainSubmitTransaction_714ea7d2d0c9a9f5 = function(arg0, arg1) {
|
|
475
475
|
const ret = getObject(arg0).offchainSubmitTransaction(takeObject(arg1));
|
|
476
476
|
return addHeapObject(ret);
|
|
477
477
|
};
|
|
@@ -498,14 +498,14 @@ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
|
498
498
|
return ret;
|
|
499
499
|
};
|
|
500
500
|
|
|
501
|
-
module.exports.
|
|
501
|
+
module.exports.__wbg_new_feb65b865d980ae2 = function(arg0, arg1) {
|
|
502
502
|
try {
|
|
503
503
|
var state0 = {a: arg0, b: arg1};
|
|
504
504
|
var cb0 = (arg0, arg1) => {
|
|
505
505
|
const a = state0.a;
|
|
506
506
|
state0.a = 0;
|
|
507
507
|
try {
|
|
508
|
-
return
|
|
508
|
+
return __wbg_adapter_108(a, state0.b, arg0, arg1);
|
|
509
509
|
} finally {
|
|
510
510
|
state0.a = a;
|
|
511
511
|
}
|
|
@@ -542,12 +542,12 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
542
542
|
}
|
|
543
543
|
};
|
|
544
544
|
|
|
545
|
-
module.exports.
|
|
545
|
+
module.exports.__wbg_iterator_7ee1a391d310f8e4 = function() {
|
|
546
546
|
const ret = Symbol.iterator;
|
|
547
547
|
return addHeapObject(ret);
|
|
548
548
|
};
|
|
549
549
|
|
|
550
|
-
module.exports.
|
|
550
|
+
module.exports.__wbg_get_2aff440840bb6202 = function() { return handleError(function (arg0, arg1) {
|
|
551
551
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
552
552
|
return addHeapObject(ret);
|
|
553
553
|
}, arguments) };
|
|
@@ -557,17 +557,17 @@ module.exports.__wbindgen_is_function = function(arg0) {
|
|
|
557
557
|
return ret;
|
|
558
558
|
};
|
|
559
559
|
|
|
560
|
-
module.exports.
|
|
560
|
+
module.exports.__wbg_call_669127b9d730c650 = function() { return handleError(function (arg0, arg1) {
|
|
561
561
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
562
562
|
return addHeapObject(ret);
|
|
563
563
|
}, arguments) };
|
|
564
564
|
|
|
565
|
-
module.exports.
|
|
565
|
+
module.exports.__wbg_next_15da6a3df9290720 = function(arg0) {
|
|
566
566
|
const ret = getObject(arg0).next;
|
|
567
567
|
return addHeapObject(ret);
|
|
568
568
|
};
|
|
569
569
|
|
|
570
|
-
module.exports.
|
|
570
|
+
module.exports.__wbg_length_a5587d6cd79ab197 = function(arg0) {
|
|
571
571
|
const ret = getObject(arg0).length;
|
|
572
572
|
return ret;
|
|
573
573
|
};
|
|
@@ -577,36 +577,36 @@ module.exports.__wbindgen_memory = function() {
|
|
|
577
577
|
return addHeapObject(ret);
|
|
578
578
|
};
|
|
579
579
|
|
|
580
|
-
module.exports.
|
|
580
|
+
module.exports.__wbg_buffer_344d9b41efe96da7 = function(arg0) {
|
|
581
581
|
const ret = getObject(arg0).buffer;
|
|
582
582
|
return addHeapObject(ret);
|
|
583
583
|
};
|
|
584
584
|
|
|
585
|
-
module.exports.
|
|
585
|
+
module.exports.__wbg_new_d8a000788389a31e = function(arg0) {
|
|
586
586
|
const ret = new Uint8Array(getObject(arg0));
|
|
587
587
|
return addHeapObject(ret);
|
|
588
588
|
};
|
|
589
589
|
|
|
590
|
-
module.exports.
|
|
590
|
+
module.exports.__wbg_set_dcfd613a3420f908 = function(arg0, arg1, arg2) {
|
|
591
591
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
-
module.exports.
|
|
594
|
+
module.exports.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1 = function(arg0) {
|
|
595
595
|
let result;
|
|
596
596
|
try {
|
|
597
597
|
result = getObject(arg0) instanceof Uint8Array;
|
|
598
|
-
} catch {
|
|
598
|
+
} catch (_) {
|
|
599
599
|
result = false;
|
|
600
600
|
}
|
|
601
601
|
const ret = result;
|
|
602
602
|
return ret;
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
module.exports.
|
|
605
|
+
module.exports.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d = function(arg0) {
|
|
606
606
|
let result;
|
|
607
607
|
try {
|
|
608
608
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
609
|
-
} catch {
|
|
609
|
+
} catch (_) {
|
|
610
610
|
result = false;
|
|
611
611
|
}
|
|
612
612
|
const ret = result;
|
|
@@ -630,43 +630,77 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
|
630
630
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
631
631
|
};
|
|
632
632
|
|
|
633
|
-
module.exports.
|
|
633
|
+
module.exports.__wbg_then_1bbc9edafd859b06 = function(arg0, arg1, arg2) {
|
|
634
634
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
635
635
|
return addHeapObject(ret);
|
|
636
636
|
};
|
|
637
637
|
|
|
638
|
-
module.exports.
|
|
638
|
+
module.exports.__wbg_self_3fad056edded10bd = function() { return handleError(function () {
|
|
639
|
+
const ret = self.self;
|
|
640
|
+
return addHeapObject(ret);
|
|
641
|
+
}, arguments) };
|
|
642
|
+
|
|
643
|
+
module.exports.__wbg_window_a4f46c98a61d4089 = function() { return handleError(function () {
|
|
644
|
+
const ret = window.window;
|
|
645
|
+
return addHeapObject(ret);
|
|
646
|
+
}, arguments) };
|
|
647
|
+
|
|
648
|
+
module.exports.__wbg_globalThis_17eff828815f7d84 = function() { return handleError(function () {
|
|
649
|
+
const ret = globalThis.globalThis;
|
|
650
|
+
return addHeapObject(ret);
|
|
651
|
+
}, arguments) };
|
|
652
|
+
|
|
653
|
+
module.exports.__wbg_global_46f939f6541643c5 = function() { return handleError(function () {
|
|
654
|
+
const ret = global.global;
|
|
655
|
+
return addHeapObject(ret);
|
|
656
|
+
}, arguments) };
|
|
657
|
+
|
|
658
|
+
module.exports.__wbg_newnoargs_ccdcae30fd002262 = function(arg0, arg1) {
|
|
659
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
660
|
+
return addHeapObject(ret);
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
module.exports.__wbg_queueMicrotask_2be8b97a81fe4d00 = function(arg0) {
|
|
664
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
665
|
+
return addHeapObject(ret);
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
module.exports.__wbg_resolve_a3252b2860f0a09e = function(arg0) {
|
|
639
669
|
const ret = Promise.resolve(getObject(arg0));
|
|
640
670
|
return addHeapObject(ret);
|
|
641
671
|
};
|
|
642
672
|
|
|
643
|
-
module.exports.
|
|
673
|
+
module.exports.__wbg_then_89e1c559530b85cf = function(arg0, arg1) {
|
|
644
674
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
645
675
|
return addHeapObject(ret);
|
|
646
676
|
};
|
|
647
677
|
|
|
648
|
-
module.exports.
|
|
678
|
+
module.exports.__wbg_queueMicrotask_e5949c35d772a669 = function(arg0) {
|
|
679
|
+
queueMicrotask(getObject(arg0));
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
module.exports.__wbg_debug_2ef5d777cf4811fa = function(arg0) {
|
|
649
683
|
console.debug(getObject(arg0));
|
|
650
684
|
};
|
|
651
685
|
|
|
652
|
-
module.exports.
|
|
686
|
+
module.exports.__wbg_error_f0a6627f4b23c19d = function(arg0) {
|
|
653
687
|
console.error(getObject(arg0));
|
|
654
688
|
};
|
|
655
689
|
|
|
656
|
-
module.exports.
|
|
690
|
+
module.exports.__wbg_info_3ca7870690403fee = function(arg0) {
|
|
657
691
|
console.info(getObject(arg0));
|
|
658
692
|
};
|
|
659
693
|
|
|
660
|
-
module.exports.
|
|
694
|
+
module.exports.__wbg_log_7811587c4c6d2844 = function(arg0) {
|
|
661
695
|
console.log(getObject(arg0));
|
|
662
696
|
};
|
|
663
697
|
|
|
664
|
-
module.exports.
|
|
698
|
+
module.exports.__wbg_warn_4affe1093892a4ef = function(arg0) {
|
|
665
699
|
console.warn(getObject(arg0));
|
|
666
700
|
};
|
|
667
701
|
|
|
668
|
-
module.exports.
|
|
669
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
702
|
+
module.exports.__wbindgen_closure_wrapper1335 = function(arg0, arg1, arg2) {
|
|
703
|
+
const ret = makeMutClosure(arg0, arg1, 122, __wbg_adapter_46);
|
|
670
704
|
return addHeapObject(ret);
|
|
671
705
|
};
|
|
672
706
|
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ export function run_task(a: number, b: number, c: number, d: number): number;
|
|
|
9
9
|
export function __wbindgen_malloc(a: number, b: number): number;
|
|
10
10
|
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
|
|
11
11
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
12
|
-
export function
|
|
12
|
+
export function wasm_bindgen__convert__closures__invoke1_mut__h84425a3baffea565(a: number, b: number, c: number): void;
|
|
13
13
|
export function __wbindgen_free(a: number, b: number, c: number): void;
|
|
14
14
|
export function __wbindgen_exn_store(a: number): void;
|
|
15
|
-
export function
|
|
15
|
+
export function wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(a: number, b: number, c: number, d: number): void;
|