@acala-network/chopsticks-executor 0.5.10 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chopsticks_executor.js +32 -27
- 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
|
|
|
@@ -362,6 +362,20 @@ module.exports.__wbg_call_168da88779e35f61 = function() { return handleError(fun
|
|
|
362
362
|
return addHeapObject(ret);
|
|
363
363
|
}, arguments) };
|
|
364
364
|
|
|
365
|
+
module.exports.__wbg_new_0b9bfdd97583284e = function() {
|
|
366
|
+
const ret = new Object();
|
|
367
|
+
return addHeapObject(ret);
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
371
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
375
|
+
const ret = arg0;
|
|
376
|
+
return addHeapObject(ret);
|
|
377
|
+
};
|
|
378
|
+
|
|
365
379
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
366
380
|
const val = getObject(arg0);
|
|
367
381
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -383,37 +397,35 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
383
397
|
return ret;
|
|
384
398
|
};
|
|
385
399
|
|
|
386
|
-
module.exports.
|
|
387
|
-
const
|
|
388
|
-
const ret = typeof(
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
module.exports.__wbg_new_0b9bfdd97583284e = function() {
|
|
393
|
-
const ret = new Object();
|
|
394
|
-
return addHeapObject(ret);
|
|
400
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
401
|
+
const obj = getObject(arg1);
|
|
402
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
403
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
404
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
395
405
|
};
|
|
396
406
|
|
|
397
|
-
module.exports.
|
|
398
|
-
getObject(arg0)
|
|
407
|
+
module.exports.__wbg_isSafeInteger_dfa0593e8d7ac35a = function(arg0) {
|
|
408
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
409
|
+
return ret;
|
|
399
410
|
};
|
|
400
411
|
|
|
401
|
-
module.exports.
|
|
402
|
-
const
|
|
403
|
-
|
|
412
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
413
|
+
const v = getObject(arg0);
|
|
414
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
415
|
+
return ret;
|
|
404
416
|
};
|
|
405
417
|
|
|
406
|
-
module.exports.
|
|
418
|
+
module.exports.__wbg_getNextKey_a3e8ee648cdf146a = 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_8c06935425826b0d = 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_be2b1e16d065cca7 = 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_wrapper1299 = function(arg0, arg1, arg2) {
|
|
585
590
|
const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_38);
|
|
586
591
|
return addHeapObject(ret);
|
|
587
592
|
};
|
|
Binary file
|