@acala-network/chopsticks-executor 0.9.2-2 → 0.9.2-4

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.
@@ -293,31 +293,6 @@ function __wbg_adapter_108(arg0, arg1, arg2, arg3) {
293
293
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
294
294
  }
295
295
 
296
- module.exports.__wbindgen_is_object = function(arg0) {
297
- const val = getObject(arg0);
298
- const ret = typeof(val) === 'object' && val !== null;
299
- return ret;
300
- };
301
-
302
- module.exports.__wbg_getwithrefkey_5e6d9547403deab8 = function(arg0, arg1) {
303
- const ret = getObject(arg0)[getObject(arg1)];
304
- return addHeapObject(ret);
305
- };
306
-
307
- module.exports.__wbindgen_is_undefined = function(arg0) {
308
- const ret = getObject(arg0) === undefined;
309
- return ret;
310
- };
311
-
312
- module.exports.__wbindgen_in = function(arg0, arg1) {
313
- const ret = getObject(arg0) in getObject(arg1);
314
- return ret;
315
- };
316
-
317
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
318
- takeObject(arg0);
319
- };
320
-
321
296
  module.exports.__wbg_isArray_38525be7442aa21e = function(arg0) {
322
297
  const ret = Array.isArray(getObject(arg0));
323
298
  return ret;
@@ -348,10 +323,8 @@ module.exports.__wbg_value_0570714ff7d75f35 = function(arg0) {
348
323
  return addHeapObject(ret);
349
324
  };
350
325
 
351
- module.exports.__wbindgen_boolean_get = function(arg0) {
352
- const v = getObject(arg0);
353
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
354
- return ret;
326
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
327
+ takeObject(arg0);
355
328
  };
356
329
 
357
330
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
@@ -366,39 +339,25 @@ module.exports.__wbg_isSafeInteger_c38b0a16d0c7cef7 = function(arg0) {
366
339
  return ret;
367
340
  };
368
341
 
369
- module.exports.__wbg_new_c728d68b8b34487e = function() {
370
- const ret = new Object();
342
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
343
+ const ret = getStringFromWasm0(arg0, arg1);
371
344
  return addHeapObject(ret);
372
345
  };
373
346
 
374
- module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
375
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
376
- };
347
+ module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
348
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
349
+ return addHeapObject(ret);
350
+ }, arguments) };
377
351
 
378
352
  module.exports.__wbg_new_08236689f0afb357 = function() {
379
353
  const ret = new Array();
380
354
  return addHeapObject(ret);
381
355
  };
382
356
 
383
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
384
- const ret = getStringFromWasm0(arg0, arg1);
385
- return addHeapObject(ret);
386
- };
387
-
388
- module.exports.__wbindgen_number_new = function(arg0) {
389
- const ret = arg0;
390
- return addHeapObject(ret);
391
- };
392
-
393
357
  module.exports.__wbg_set_0ac78a2bc07da03c = function(arg0, arg1, arg2) {
394
358
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
395
359
  };
396
360
 
397
- module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
398
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
399
- return addHeapObject(ret);
400
- }, arguments) };
401
-
402
361
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
403
362
  const obj = getObject(arg1);
404
363
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -413,6 +372,47 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
413
372
  return addHeapObject(ret);
414
373
  };
415
374
 
375
+ module.exports.__wbg_new_c728d68b8b34487e = function() {
376
+ const ret = new Object();
377
+ return addHeapObject(ret);
378
+ };
379
+
380
+ module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
381
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
382
+ };
383
+
384
+ module.exports.__wbindgen_number_new = function(arg0) {
385
+ const ret = arg0;
386
+ return addHeapObject(ret);
387
+ };
388
+
389
+ module.exports.__wbindgen_is_object = function(arg0) {
390
+ const val = getObject(arg0);
391
+ const ret = typeof(val) === 'object' && val !== null;
392
+ return ret;
393
+ };
394
+
395
+ module.exports.__wbg_getwithrefkey_5e6d9547403deab8 = function(arg0, arg1) {
396
+ const ret = getObject(arg0)[getObject(arg1)];
397
+ return addHeapObject(ret);
398
+ };
399
+
400
+ module.exports.__wbindgen_is_undefined = function(arg0) {
401
+ const ret = getObject(arg0) === undefined;
402
+ return ret;
403
+ };
404
+
405
+ module.exports.__wbindgen_in = function(arg0, arg1) {
406
+ const ret = getObject(arg0) in getObject(arg1);
407
+ return ret;
408
+ };
409
+
410
+ module.exports.__wbindgen_boolean_get = function(arg0) {
411
+ const v = getObject(arg0);
412
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
413
+ return ret;
414
+ };
415
+
416
416
  module.exports.__wbindgen_cb_drop = function(arg0) {
417
417
  const obj = takeObject(arg0).original;
418
418
  if (obj.cnt-- == 1) {
@@ -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.__wbg_getStorage_a6288f2d1cf44b30 = function(arg0, arg1) {
444
+ module.exports.__wbg_getStorage_d7143dd5aab13d8c = function(arg0, arg1) {
445
445
  const ret = getObject(arg0).getStorage(takeObject(arg1));
446
446
  return addHeapObject(ret);
447
447
  };
448
448
 
449
- module.exports.__wbg_getStateRoot_1886a99c0e595965 = function(arg0) {
449
+ module.exports.__wbg_getStateRoot_f64c91e56119d53f = function(arg0) {
450
450
  const ret = getObject(arg0).getStateRoot();
451
451
  return addHeapObject(ret);
452
452
  };
453
453
 
454
- module.exports.__wbg_getNextKey_58d07904813566b3 = function(arg0, arg1, arg2) {
454
+ module.exports.__wbg_getNextKey_0f7a2d39fc063acf = 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.__wbg_offchainGetStorage_b65b7c7c29681cb4 = function(arg0, arg1) {
459
+ module.exports.__wbg_offchainGetStorage_5cd591a5a6f91de3 = function(arg0, arg1) {
460
460
  const ret = getObject(arg0).offchainGetStorage(takeObject(arg1));
461
461
  return addHeapObject(ret);
462
462
  };
463
463
 
464
- module.exports.__wbg_offchainTimestamp_5e5d1148b29d8d14 = function(arg0) {
464
+ module.exports.__wbg_offchainTimestamp_f6a3365963495043 = function(arg0) {
465
465
  const ret = getObject(arg0).offchainTimestamp();
466
466
  return addHeapObject(ret);
467
467
  };
468
468
 
469
- module.exports.__wbg_offchainRandomSeed_5aaf1373a007daa3 = function(arg0) {
469
+ module.exports.__wbg_offchainRandomSeed_095244384b5f1c0f = function(arg0) {
470
470
  const ret = getObject(arg0).offchainRandomSeed();
471
471
  return addHeapObject(ret);
472
472
  };
473
473
 
474
- module.exports.__wbg_offchainSubmitTransaction_c7e4338aacfd781a = function(arg0, arg1) {
474
+ module.exports.__wbg_offchainSubmitTransaction_7c2bd6527c2a52b0 = function(arg0, arg1) {
475
475
  const ret = getObject(arg0).offchainSubmitTransaction(takeObject(arg1));
476
476
  return addHeapObject(ret);
477
477
  };
Binary file
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks-executor",
3
3
  "description": "Chopsticks executor",
4
- "version": "0.9.2-2",
4
+ "version": "0.9.2-4",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/AcalaNetwork/chopsticks"
9
9
  },
10
10
  "scripts": {
11
- "clean": "rm -rf web node",
11
+ "clean": "rm -rf browser node",
12
12
  "build": "wasm-pack build --target web --out-dir browser; wasm-pack build --target nodejs --out-dir node; scripts/pack-wasm.cjs"
13
13
  },
14
14
  "dependencies": {