saito-wasm 0.2.43 → 0.2.45

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/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "saito-wasm"
3
- version = "0.2.43"
3
+ version = "0.2.45"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.43",
3
+ "version": "0.2.45",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
package/pkg/node/index.js CHANGED
@@ -1,32 +1,28 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-088c11ccf0e82f0d/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-0e9bc004a175f935/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
7
+ const heap = new Array(128).fill(undefined);
8
8
 
9
- cachedTextDecoder.decode();
9
+ heap.push(undefined, null, true, false);
10
10
 
11
- let cachedUint8Memory0 = null;
11
+ function getObject(idx) { return heap[idx]; }
12
12
 
13
- function getUint8Memory0() {
14
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
15
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
16
- }
17
- return cachedUint8Memory0;
18
- }
13
+ let heap_next = heap.length;
19
14
 
20
- function getStringFromWasm0(ptr, len) {
21
- ptr = ptr >>> 0;
22
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
15
+ function dropObject(idx) {
16
+ if (idx < 132) return;
17
+ heap[idx] = heap_next;
18
+ heap_next = idx;
23
19
  }
24
20
 
25
- const heap = new Array(128).fill(undefined);
26
-
27
- heap.push(undefined, null, true, false);
28
-
29
- let heap_next = heap.length;
21
+ function takeObject(idx) {
22
+ const ret = getObject(idx);
23
+ dropObject(idx);
24
+ return ret;
25
+ }
30
26
 
31
27
  function addHeapObject(obj) {
32
28
  if (heap_next === heap.length) heap.push(heap.length + 1);
@@ -37,18 +33,22 @@ function addHeapObject(obj) {
37
33
  return idx;
38
34
  }
39
35
 
40
- function getObject(idx) { return heap[idx]; }
36
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
41
37
 
42
- function dropObject(idx) {
43
- if (idx < 132) return;
44
- heap[idx] = heap_next;
45
- heap_next = idx;
38
+ cachedTextDecoder.decode();
39
+
40
+ let cachedUint8Memory0 = null;
41
+
42
+ function getUint8Memory0() {
43
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
44
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
45
+ }
46
+ return cachedUint8Memory0;
46
47
  }
47
48
 
48
- function takeObject(idx) {
49
- const ret = getObject(idx);
50
- dropObject(idx);
51
- return ret;
49
+ function getStringFromWasm0(ptr, len) {
50
+ ptr = ptr >>> 0;
51
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
52
52
  }
53
53
 
54
54
  let WASM_VECTOR_LEN = 0;
@@ -225,9 +225,23 @@ function makeMutClosure(arg0, arg1, dtor, f) {
225
225
  return real;
226
226
  }
227
227
  function __wbg_adapter_38(arg0, arg1, arg2) {
228
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff8f949cfc01b93d(arg0, arg1, addHeapObject(arg2));
228
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9a522aab16cd3a22(arg0, arg1, addHeapObject(arg2));
229
+ }
230
+
231
+ function _assertClass(instance, klass) {
232
+ if (!(instance instanceof klass)) {
233
+ throw new Error(`expected instance of ${klass.name}`);
234
+ }
235
+ return instance.ptr;
229
236
  }
230
237
 
238
+ function handleError(f, args) {
239
+ try {
240
+ return f.apply(this, args);
241
+ } catch (e) {
242
+ wasm.__wbindgen_exn_store(addHeapObject(e));
243
+ }
244
+ }
231
245
  /**
232
246
  * @param {string} json
233
247
  * @param {string} private_key
@@ -454,12 +468,6 @@ module.exports.get_balance_snapshot = function(keys) {
454
468
  return takeObject(ret);
455
469
  };
456
470
 
457
- function _assertClass(instance, klass) {
458
- if (!(instance instanceof klass)) {
459
- throw new Error(`expected instance of ${klass.name}`);
460
- }
461
- return instance.ptr;
462
- }
463
471
  /**
464
472
  * @param {WasmBalanceSnapshot} snapshot
465
473
  * @returns {Promise<void>}
@@ -619,15 +627,8 @@ module.exports.produce_block_without_gt = function() {
619
627
  return takeObject(ret);
620
628
  };
621
629
 
622
- function handleError(f, args) {
623
- try {
624
- return f.apply(this, args);
625
- } catch (e) {
626
- wasm.__wbindgen_exn_store(addHeapObject(e));
627
- }
628
- }
629
630
  function __wbg_adapter_402(arg0, arg1, arg2, arg3) {
630
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hb9084490229a77bd(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
631
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h11dba571cf0b0a8a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
631
632
  }
632
633
 
633
634
  const SaitoWasmFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -2337,13 +2338,23 @@ class WasmWalletSlip {
2337
2338
  }
2338
2339
  module.exports.WasmWalletSlip = WasmWalletSlip;
2339
2340
 
2341
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2342
+ takeObject(arg0);
2343
+ };
2344
+
2345
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2346
+ const ret = BigInt.asUintN(64, arg0);
2347
+ return addHeapObject(ret);
2348
+ };
2349
+
2340
2350
  module.exports.__wbindgen_string_new = function(arg0, arg1) {
2341
2351
  const ret = getStringFromWasm0(arg0, arg1);
2342
2352
  return addHeapObject(ret);
2343
2353
  };
2344
2354
 
2345
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
2346
- takeObject(arg0);
2355
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2356
+ const ret = WasmSlip.__wrap(arg0);
2357
+ return addHeapObject(ret);
2347
2358
  };
2348
2359
 
2349
2360
  module.exports.__wbg_wasmtransaction_new = function(arg0) {
@@ -2351,11 +2362,6 @@ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2351
2362
  return addHeapObject(ret);
2352
2363
  };
2353
2364
 
2354
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2355
- const ret = BigInt.asUintN(64, arg0);
2356
- return addHeapObject(ret);
2357
- };
2358
-
2359
2365
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
2360
2366
  const obj = getObject(arg1);
2361
2367
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -2365,8 +2371,8 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2365
2371
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2366
2372
  };
2367
2373
 
2368
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2369
- const ret = WasmPeer.__wrap(arg0);
2374
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2375
+ const ret = WasmWallet.__wrap(arg0);
2370
2376
  return addHeapObject(ret);
2371
2377
  };
2372
2378
 
@@ -2375,13 +2381,13 @@ module.exports.__wbg_wasmblock_new = function(arg0) {
2375
2381
  return addHeapObject(ret);
2376
2382
  };
2377
2383
 
2378
- module.exports.__wbg_wasmslip_new = function(arg0) {
2379
- const ret = WasmSlip.__wrap(arg0);
2384
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2385
+ const ret = WasmWalletSlip.__wrap(arg0);
2380
2386
  return addHeapObject(ret);
2381
2387
  };
2382
2388
 
2383
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2384
- const ret = WasmWallet.__wrap(arg0);
2389
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2390
+ const ret = WasmPeer.__wrap(arg0);
2385
2391
  return addHeapObject(ret);
2386
2392
  };
2387
2393
 
@@ -2390,11 +2396,6 @@ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2390
2396
  return addHeapObject(ret);
2391
2397
  };
2392
2398
 
2393
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2394
- const ret = WasmWalletSlip.__wrap(arg0);
2395
- return addHeapObject(ret);
2396
- };
2397
-
2398
2399
  module.exports.__wbg_wasmblockchain_new = function(arg0) {
2399
2400
  const ret = WasmBlockchain.__wrap(arg0);
2400
2401
  return addHeapObject(ret);
@@ -2405,20 +2406,36 @@ module.exports.__wbg_wasmhop_new = function(arg0) {
2405
2406
  return addHeapObject(ret);
2406
2407
  };
2407
2408
 
2408
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
2409
- const ret = new Error(getStringFromWasm0(arg0, arg1));
2409
+ module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2410
+ const ret = WasmPeerService.__wrap(arg0);
2410
2411
  return addHeapObject(ret);
2411
2412
  };
2412
2413
 
2413
- module.exports.__wbg_sendmessage_0ffcc16334044802 = function(arg0, arg1) {
2414
+ module.exports.__wbindgen_is_object = function(arg0) {
2415
+ const val = getObject(arg0);
2416
+ const ret = typeof(val) === 'object' && val !== null;
2417
+ return ret;
2418
+ };
2419
+
2420
+ module.exports.__wbindgen_is_undefined = function(arg0) {
2421
+ const ret = getObject(arg0) === undefined;
2422
+ return ret;
2423
+ };
2424
+
2425
+ module.exports.__wbindgen_in = function(arg0, arg1) {
2426
+ const ret = getObject(arg0) in getObject(arg1);
2427
+ return ret;
2428
+ };
2429
+
2430
+ module.exports.__wbg_sendmessage_819145a828c25308 = function(arg0, arg1) {
2414
2431
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2415
2432
  };
2416
2433
 
2417
- module.exports.__wbg_sendmessagetoall_72cab6ac87d4e1d8 = function(arg0, arg1) {
2434
+ module.exports.__wbg_sendmessagetoall_20883103cee6e432 = function(arg0, arg1) {
2418
2435
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2419
2436
  };
2420
2437
 
2421
- module.exports.__wbg_connecttopeer_66088a746feb6d3e = function() { return handleError(function (arg0, arg1, arg2) {
2438
+ module.exports.__wbg_connecttopeer_992eb2672a7e1870 = function() { return handleError(function (arg0, arg1, arg2) {
2422
2439
  let deferred0_0;
2423
2440
  let deferred0_1;
2424
2441
  try {
@@ -2431,12 +2448,12 @@ module.exports.__wbg_connecttopeer_66088a746feb6d3e = function() { return handle
2431
2448
  }
2432
2449
  }, arguments) };
2433
2450
 
2434
- module.exports.__wbg_disconnectfrompeer_81e0426ca9ba8ae6 = function() { return handleError(function (arg0) {
2451
+ module.exports.__wbg_disconnectfrompeer_b967095d3bba5efa = function() { return handleError(function (arg0) {
2435
2452
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2436
2453
  return addHeapObject(ret);
2437
2454
  }, arguments) };
2438
2455
 
2439
- module.exports.__wbg_fetchblockfrompeer_f3432f5e3aae89d6 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2456
+ module.exports.__wbg_fetchblockfrompeer_a4dd9dd7c932c086 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2440
2457
  let deferred0_0;
2441
2458
  let deferred0_1;
2442
2459
  try {
@@ -2449,7 +2466,7 @@ module.exports.__wbg_fetchblockfrompeer_f3432f5e3aae89d6 = function() { return h
2449
2466
  }
2450
2467
  }, arguments) };
2451
2468
 
2452
- module.exports.__wbg_writevalue_7f0110336ab8dab5 = function(arg0, arg1, arg2) {
2469
+ module.exports.__wbg_writevalue_b25226eead36d7e0 = function(arg0, arg1, arg2) {
2453
2470
  let deferred0_0;
2454
2471
  let deferred0_1;
2455
2472
  try {
@@ -2461,7 +2478,7 @@ module.exports.__wbg_writevalue_7f0110336ab8dab5 = function(arg0, arg1, arg2) {
2461
2478
  }
2462
2479
  };
2463
2480
 
2464
- module.exports.__wbg_appendvalue_4ec06741a6cc3588 = function(arg0, arg1, arg2) {
2481
+ module.exports.__wbg_appendvalue_3130e41c8fbf7da9 = function(arg0, arg1, arg2) {
2465
2482
  let deferred0_0;
2466
2483
  let deferred0_1;
2467
2484
  try {
@@ -2473,7 +2490,7 @@ module.exports.__wbg_appendvalue_4ec06741a6cc3588 = function(arg0, arg1, arg2) {
2473
2490
  }
2474
2491
  };
2475
2492
 
2476
- module.exports.__wbg_flushdata_3a9fa362771a47f8 = function(arg0, arg1) {
2493
+ module.exports.__wbg_flushdata_d311f417326de160 = function(arg0, arg1) {
2477
2494
  let deferred0_0;
2478
2495
  let deferred0_1;
2479
2496
  try {
@@ -2485,7 +2502,7 @@ module.exports.__wbg_flushdata_3a9fa362771a47f8 = function(arg0, arg1) {
2485
2502
  }
2486
2503
  };
2487
2504
 
2488
- module.exports.__wbg_readvalue_51a4ea9fca1f8b36 = function() { return handleError(function (arg0, arg1) {
2505
+ module.exports.__wbg_readvalue_c0c16cc78311f1d8 = function() { return handleError(function (arg0, arg1) {
2489
2506
  let deferred0_0;
2490
2507
  let deferred0_1;
2491
2508
  try {
@@ -2498,12 +2515,12 @@ module.exports.__wbg_readvalue_51a4ea9fca1f8b36 = function() { return handleErro
2498
2515
  }
2499
2516
  }, arguments) };
2500
2517
 
2501
- module.exports.__wbg_loadblockfilelist_a3ebacbd845f3995 = function() { return handleError(function () {
2518
+ module.exports.__wbg_loadblockfilelist_c887f07b7ef89c02 = function() { return handleError(function () {
2502
2519
  const ret = MsgHandler.load_block_file_list();
2503
2520
  return addHeapObject(ret);
2504
2521
  }, arguments) };
2505
2522
 
2506
- module.exports.__wbg_isexistingfile_2eb4df1d8e965caa = function() { return handleError(function (arg0, arg1) {
2523
+ module.exports.__wbg_isexistingfile_91fa6bcdb05c0eab = function() { return handleError(function (arg0, arg1) {
2507
2524
  let deferred0_0;
2508
2525
  let deferred0_1;
2509
2526
  try {
@@ -2516,7 +2533,7 @@ module.exports.__wbg_isexistingfile_2eb4df1d8e965caa = function() { return handl
2516
2533
  }
2517
2534
  }, arguments) };
2518
2535
 
2519
- module.exports.__wbg_removevalue_11339cad46bd8a8f = function() { return handleError(function (arg0, arg1) {
2536
+ module.exports.__wbg_removevalue_29a2fa0e6c206d9c = function() { return handleError(function (arg0, arg1) {
2520
2537
  let deferred0_0;
2521
2538
  let deferred0_1;
2522
2539
  try {
@@ -2529,7 +2546,7 @@ module.exports.__wbg_removevalue_11339cad46bd8a8f = function() { return handleEr
2529
2546
  }
2530
2547
  }, arguments) };
2531
2548
 
2532
- module.exports.__wbg_ensureblockdirectoryexists_77ce08254285daf4 = function() { return handleError(function (arg0, arg1) {
2549
+ module.exports.__wbg_ensureblockdirectoryexists_0c79ce6f229b60fc = function() { return handleError(function (arg0, arg1) {
2533
2550
  let deferred0_0;
2534
2551
  let deferred0_1;
2535
2552
  try {
@@ -2541,19 +2558,19 @@ module.exports.__wbg_ensureblockdirectoryexists_77ce08254285daf4 = function() {
2541
2558
  }
2542
2559
  }, arguments) };
2543
2560
 
2544
- module.exports.__wbg_processapicall_4f45cfdc54478f22 = function(arg0, arg1, arg2) {
2561
+ module.exports.__wbg_processapicall_55810971f0116813 = function(arg0, arg1, arg2) {
2545
2562
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2546
2563
  };
2547
2564
 
2548
- module.exports.__wbg_processapisuccess_f19e9aa39b223d58 = function(arg0, arg1, arg2) {
2565
+ module.exports.__wbg_processapisuccess_0bfd2e021fc14918 = function(arg0, arg1, arg2) {
2549
2566
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2550
2567
  };
2551
2568
 
2552
- module.exports.__wbg_processapierror_1b7d7bb4a3c27bf3 = function(arg0, arg1, arg2) {
2569
+ module.exports.__wbg_processapierror_2c58f0a19e299649 = function(arg0, arg1, arg2) {
2553
2570
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2554
2571
  };
2555
2572
 
2556
- module.exports.__wbg_sendinterfaceevent_31a82bcce7dad930 = function(arg0, arg1, arg2, arg3, arg4) {
2573
+ module.exports.__wbg_sendinterfaceevent_f230d9aa7a3c46b3 = function(arg0, arg1, arg2, arg3, arg4) {
2557
2574
  let deferred0_0;
2558
2575
  let deferred0_1;
2559
2576
  let deferred1_0;
@@ -2570,7 +2587,7 @@ module.exports.__wbg_sendinterfaceevent_31a82bcce7dad930 = function(arg0, arg1,
2570
2587
  }
2571
2588
  };
2572
2589
 
2573
- module.exports.__wbg_sendblocksuccess_5d2e8f2f1c43f555 = function(arg0, arg1, arg2) {
2590
+ module.exports.__wbg_sendblocksuccess_fd80078124646502 = function(arg0, arg1, arg2) {
2574
2591
  let deferred0_0;
2575
2592
  let deferred0_1;
2576
2593
  try {
@@ -2582,11 +2599,11 @@ module.exports.__wbg_sendblocksuccess_5d2e8f2f1c43f555 = function(arg0, arg1, ar
2582
2599
  }
2583
2600
  };
2584
2601
 
2585
- module.exports.__wbg_sendwalletupdate_2b088ce59da7beb8 = function() {
2602
+ module.exports.__wbg_sendwalletupdate_aaf2818694cc9759 = function() {
2586
2603
  MsgHandler.send_wallet_update();
2587
2604
  };
2588
2605
 
2589
- module.exports.__wbg_sendnewversionalert_50255f4a7f1973c0 = function(arg0, arg1, arg2) {
2606
+ module.exports.__wbg_sendnewversionalert_f91ec5ed56139224 = function(arg0, arg1, arg2) {
2590
2607
  let deferred0_0;
2591
2608
  let deferred0_1;
2592
2609
  try {
@@ -2598,43 +2615,27 @@ module.exports.__wbg_sendnewversionalert_50255f4a7f1973c0 = function(arg0, arg1,
2598
2615
  }
2599
2616
  };
2600
2617
 
2601
- module.exports.__wbg_sendblockfetchstatusevent_34fdf2cbc3d6ca96 = function(arg0) {
2618
+ module.exports.__wbg_sendblockfetchstatusevent_f66d914b430f49ab = function(arg0) {
2602
2619
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2603
2620
  };
2604
2621
 
2605
- module.exports.__wbg_savewallet_e4c8a4db25dee161 = function() {
2622
+ module.exports.__wbg_savewallet_333bbe8696957191 = function() {
2606
2623
  MsgHandler.save_wallet();
2607
2624
  };
2608
2625
 
2609
- module.exports.__wbg_loadwallet_5c6cb32f7d15e999 = function() {
2626
+ module.exports.__wbg_loadwallet_37c2eec5b6d6bf26 = function() {
2610
2627
  MsgHandler.load_wallet();
2611
2628
  };
2612
2629
 
2613
- module.exports.__wbg_getmyservices_56db4e0b6ccb6752 = function() {
2630
+ module.exports.__wbg_getmyservices_3005d7d25c40a4a1 = function() {
2614
2631
  const ret = MsgHandler.get_my_services();
2615
2632
  _assertClass(ret, WasmPeerServiceList);
2616
2633
  var ptr1 = ret.__destroy_into_raw();
2617
2634
  return ptr1;
2618
2635
  };
2619
2636
 
2620
- module.exports.__wbindgen_is_object = function(arg0) {
2621
- const val = getObject(arg0);
2622
- const ret = typeof(val) === 'object' && val !== null;
2623
- return ret;
2624
- };
2625
-
2626
- module.exports.__wbindgen_is_undefined = function(arg0) {
2627
- const ret = getObject(arg0) === undefined;
2628
- return ret;
2629
- };
2630
-
2631
- module.exports.__wbindgen_in = function(arg0, arg1) {
2632
- const ret = getObject(arg0) in getObject(arg1);
2633
- return ret;
2634
- };
2635
-
2636
- module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2637
- const ret = WasmPeerService.__wrap(arg0);
2637
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
2638
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
2638
2639
  return addHeapObject(ret);
2639
2640
  };
2640
2641
 
@@ -2666,16 +2667,6 @@ module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
2666
2667
  return addHeapObject(ret);
2667
2668
  };
2668
2669
 
2669
- module.exports.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
2670
- const ret = getObject(arg0).queueMicrotask;
2671
- return addHeapObject(ret);
2672
- };
2673
-
2674
- module.exports.__wbindgen_is_function = function(arg0) {
2675
- const ret = typeof(getObject(arg0)) === 'function';
2676
- return ret;
2677
- };
2678
-
2679
2670
  module.exports.__wbindgen_cb_drop = function(arg0) {
2680
2671
  const obj = takeObject(arg0).original;
2681
2672
  if (obj.cnt-- == 1) {
@@ -2686,6 +2677,16 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
2686
2677
  return ret;
2687
2678
  };
2688
2679
 
2680
+ module.exports.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
2681
+ const ret = getObject(arg0).queueMicrotask;
2682
+ return addHeapObject(ret);
2683
+ };
2684
+
2685
+ module.exports.__wbindgen_is_function = function(arg0) {
2686
+ const ret = typeof(getObject(arg0)) === 'function';
2687
+ return ret;
2688
+ };
2689
+
2689
2690
  module.exports.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
2690
2691
  queueMicrotask(getObject(arg0));
2691
2692
  };
@@ -3008,7 +3009,7 @@ module.exports.__wbindgen_memory = function() {
3008
3009
  return addHeapObject(ret);
3009
3010
  };
3010
3011
 
3011
- module.exports.__wbindgen_closure_wrapper1334 = function(arg0, arg1, arg2) {
3012
+ module.exports.__wbindgen_closure_wrapper1342 = function(arg0, arg1, arg2) {
3012
3013
  const ret = makeMutClosure(arg0, arg1, 471, __wbg_adapter_38);
3013
3014
  return addHeapObject(ret);
3014
3015
  };
Binary file