@acala-network/chopsticks-executor 0.5.10 → 0.6.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/chopsticks_executor.js +18 -13
- package/chopsticks_executor_bg.wasm +0 -0
- package/package.json +1 -1
package/chopsticks_executor.js
CHANGED
|
@@ -276,7 +276,7 @@ function handleError(f, args) {
|
|
|
276
276
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function __wbg_adapter_90(arg0, arg1, arg2, arg3) {
|
|
280
280
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h4831fdb5a8179a77(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
281
281
|
}
|
|
282
282
|
|
|
@@ -383,6 +383,18 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
383
383
|
return ret;
|
|
384
384
|
};
|
|
385
385
|
|
|
386
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
387
|
+
const obj = getObject(arg1);
|
|
388
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
389
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
390
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
module.exports.__wbg_isSafeInteger_dfa0593e8d7ac35a = function(arg0) {
|
|
394
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
395
|
+
return ret;
|
|
396
|
+
};
|
|
397
|
+
|
|
386
398
|
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
387
399
|
const v = getObject(arg0);
|
|
388
400
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
@@ -403,17 +415,17 @@ module.exports.__wbindgen_number_new = function(arg0) {
|
|
|
403
415
|
return addHeapObject(ret);
|
|
404
416
|
};
|
|
405
417
|
|
|
406
|
-
module.exports.
|
|
418
|
+
module.exports.__wbg_getNextKey_71170a75c76cd270 = function(arg0, arg1) {
|
|
407
419
|
const ret = getObject(arg0).getNextKey(takeObject(arg1));
|
|
408
420
|
return addHeapObject(ret);
|
|
409
421
|
};
|
|
410
422
|
|
|
411
|
-
module.exports.
|
|
423
|
+
module.exports.__wbg_getPrefixKeys_5503626e08bb0f2c = function(arg0, arg1) {
|
|
412
424
|
const ret = getObject(arg0).getPrefixKeys(takeObject(arg1));
|
|
413
425
|
return addHeapObject(ret);
|
|
414
426
|
};
|
|
415
427
|
|
|
416
|
-
module.exports.
|
|
428
|
+
module.exports.__wbg_getStorage_8f521d263dae889a = function(arg0, arg1) {
|
|
417
429
|
const ret = getObject(arg0).getStorage(takeObject(arg1));
|
|
418
430
|
return addHeapObject(ret);
|
|
419
431
|
};
|
|
@@ -438,7 +450,7 @@ module.exports.__wbg_new_9962f939219f1820 = function(arg0, arg1) {
|
|
|
438
450
|
const a = state0.a;
|
|
439
451
|
state0.a = 0;
|
|
440
452
|
try {
|
|
441
|
-
return
|
|
453
|
+
return __wbg_adapter_90(a, state0.b, arg0, arg1);
|
|
442
454
|
} finally {
|
|
443
455
|
state0.a = a;
|
|
444
456
|
}
|
|
@@ -520,13 +532,6 @@ module.exports.__wbg_set_83db9690f9353e79 = function(arg0, arg1, arg2) {
|
|
|
520
532
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
521
533
|
};
|
|
522
534
|
|
|
523
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
524
|
-
const obj = getObject(arg1);
|
|
525
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
526
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
527
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
528
|
-
};
|
|
529
|
-
|
|
530
535
|
module.exports.__wbg_instanceof_Uint8Array_971eeda69eb75003 = function(arg0) {
|
|
531
536
|
let result;
|
|
532
537
|
try {
|
|
@@ -581,7 +586,7 @@ module.exports.__wbg_then_11f7a54d67b4bfad = function(arg0, arg1) {
|
|
|
581
586
|
return addHeapObject(ret);
|
|
582
587
|
};
|
|
583
588
|
|
|
584
|
-
module.exports.
|
|
589
|
+
module.exports.__wbindgen_closure_wrapper1301 = function(arg0, arg1, arg2) {
|
|
585
590
|
const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_38);
|
|
586
591
|
return addHeapObject(ret);
|
|
587
592
|
};
|
|
Binary file
|