saito-wasm 0.1.26 → 0.1.27

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.1.26"
3
+ version = "0.1.27"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -9,15 +9,15 @@ crate-type = ["cdylib"]
9
9
 
10
10
  [dependencies]
11
11
  saito-core = { path = "../saito-core" }
12
- wasm-bindgen = { version = "0.2.88" }
13
- wasm-bindgen-futures = "0.4.38"
14
- serde = { version = "1.0.192", features = ["derive"] }
12
+ wasm-bindgen = { version = "0.2.89" }
13
+ wasm-bindgen-futures = "0.4.39"
14
+ serde = { version = "1.0.193", features = ["derive"] }
15
15
  serde-wasm-bindgen = { version = "0.6.1" }
16
- web-sys = "0.3.65"
16
+ web-sys = "0.3.66"
17
17
  async-trait = "0.1.74"
18
18
  hex = "0.4.3"
19
19
  tokio = "1.34.0"
20
- js-sys = { version = "0.3.65" }
20
+ js-sys = { version = "0.3.66" }
21
21
  lazy_static = "1.4.0"
22
22
  console_log = { version = "1.0.0", features = ["color"] }
23
23
  log = "0.4.20"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
@@ -148,6 +148,13 @@ export function get_blockchain(): Promise<WasmBlockchain>;
148
148
  */
149
149
  export function get_mempool_txs(): Promise<Array<any>>;
150
150
  /**
151
+ * @param {number} major
152
+ * @param {number} minor
153
+ * @param {number} patch
154
+ * @returns {Promise<void>}
155
+ */
156
+ export function set_wallet_version(major: number, minor: number, patch: number): Promise<void>;
157
+ /**
151
158
  */
152
159
  export class SaitoWasm {
153
160
  free(): void;
package/pkg/node/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-acb13d7ff5817a25/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-e44b31a4919a1989/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -218,7 +218,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
218
218
  return real;
219
219
  }
220
220
  function __wbg_adapter_40(arg0, arg1, arg2) {
221
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h33376a95d2d8a607(arg0, arg1, addHeapObject(arg2));
221
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h002a87e69229260e(arg0, arg1, addHeapObject(arg2));
222
222
  }
223
223
 
224
224
  function _assertClass(instance, klass) {
@@ -507,6 +507,17 @@ module.exports.get_mempool_txs = function() {
507
507
  return takeObject(ret);
508
508
  };
509
509
 
510
+ /**
511
+ * @param {number} major
512
+ * @param {number} minor
513
+ * @param {number} patch
514
+ * @returns {Promise<void>}
515
+ */
516
+ module.exports.set_wallet_version = function(major, minor, patch) {
517
+ const ret = wasm.set_wallet_version(major, minor, patch);
518
+ return takeObject(ret);
519
+ };
520
+
510
521
  function handleError(f, args) {
511
522
  try {
512
523
  return f.apply(this, args);
@@ -514,8 +525,8 @@ function handleError(f, args) {
514
525
  wasm.__wbindgen_exn_store(addHeapObject(e));
515
526
  }
516
527
  }
517
- function __wbg_adapter_374(arg0, arg1, arg2, arg3) {
518
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h262fcf2a169861ce(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
528
+ function __wbg_adapter_377(arg0, arg1, arg2, arg3) {
529
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__hde7eff55c0e030c0(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
519
530
  }
520
531
 
521
532
  /**
@@ -2139,13 +2150,13 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2139
2150
  takeObject(arg0);
2140
2151
  };
2141
2152
 
2142
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2143
- const ret = WasmPeer.__wrap(arg0);
2153
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2154
+ const ret = BigInt.asUintN(64, arg0);
2144
2155
  return addHeapObject(ret);
2145
2156
  };
2146
2157
 
2147
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2148
- const ret = BigInt.asUintN(64, arg0);
2158
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2159
+ const ret = WasmWallet.__wrap(arg0);
2149
2160
  return addHeapObject(ret);
2150
2161
  };
2151
2162
 
@@ -2159,28 +2170,14 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2159
2170
  return addHeapObject(ret);
2160
2171
  };
2161
2172
 
2162
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2163
- const ret = WasmTransaction.__wrap(arg0);
2164
- return addHeapObject(ret);
2165
- };
2166
-
2167
2173
  module.exports.__wbg_wasmblock_new = function(arg0) {
2168
2174
  const ret = WasmBlock.__wrap(arg0);
2169
2175
  return addHeapObject(ret);
2170
2176
  };
2171
2177
 
2172
- module.exports.__wbindgen_is_falsy = function(arg0) {
2173
- const ret = !getObject(arg0);
2174
- return ret;
2175
- };
2176
-
2177
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
2178
- const obj = getObject(arg1);
2179
- const ret = typeof(obj) === 'string' ? obj : undefined;
2180
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2181
- var len1 = WASM_VECTOR_LEN;
2182
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2183
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2178
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2179
+ const ret = WasmTransaction.__wrap(arg0);
2180
+ return addHeapObject(ret);
2184
2181
  };
2185
2182
 
2186
2183
  module.exports.__wbg_wasmslip_new = function(arg0) {
@@ -2188,33 +2185,37 @@ module.exports.__wbg_wasmslip_new = function(arg0) {
2188
2185
  return addHeapObject(ret);
2189
2186
  };
2190
2187
 
2191
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2192
- const ret = WasmWallet.__wrap(arg0);
2188
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2189
+ const ret = WasmBlockchain.__wrap(arg0);
2193
2190
  return addHeapObject(ret);
2194
2191
  };
2195
2192
 
2196
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2197
- const ret = WasmWalletSlip.__wrap(arg0);
2193
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2194
+ const ret = WasmPeer.__wrap(arg0);
2198
2195
  return addHeapObject(ret);
2199
2196
  };
2200
2197
 
2201
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2202
- const ret = WasmBlockchain.__wrap(arg0);
2198
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2199
+ const ret = WasmWalletSlip.__wrap(arg0);
2203
2200
  return addHeapObject(ret);
2204
2201
  };
2205
2202
 
2206
- module.exports.__wbg_wasmblockpayout_new = function(arg0) {
2207
- const ret = WasmBlockPayout.__wrap(arg0);
2208
- return addHeapObject(ret);
2203
+ module.exports.__wbindgen_is_falsy = function(arg0) {
2204
+ const ret = !getObject(arg0);
2205
+ return ret;
2209
2206
  };
2210
2207
 
2211
- module.exports.__wbg_wasmconsensusvalues_new = function(arg0) {
2212
- const ret = WasmConsensusValues.__wrap(arg0);
2213
- return addHeapObject(ret);
2208
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2209
+ const obj = getObject(arg1);
2210
+ const ret = typeof(obj) === 'string' ? obj : undefined;
2211
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2212
+ var len1 = WASM_VECTOR_LEN;
2213
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2214
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2214
2215
  };
2215
2216
 
2216
- module.exports.__wbg_wasmhop_new = function(arg0) {
2217
- const ret = WasmHop.__wrap(arg0);
2217
+ module.exports.__wbg_wasmblockpayout_new = function(arg0) {
2218
+ const ret = WasmBlockPayout.__wrap(arg0);
2218
2219
  return addHeapObject(ret);
2219
2220
  };
2220
2221
 
@@ -2234,30 +2235,45 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2234
2235
  return ret;
2235
2236
  };
2236
2237
 
2238
+ module.exports.__wbg_wasmconsensusvalues_new = function(arg0) {
2239
+ const ret = WasmConsensusValues.__wrap(arg0);
2240
+ return addHeapObject(ret);
2241
+ };
2242
+
2243
+ module.exports.__wbg_wasmhop_new = function(arg0) {
2244
+ const ret = WasmHop.__wrap(arg0);
2245
+ return addHeapObject(ret);
2246
+ };
2247
+
2248
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
2249
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
2250
+ return addHeapObject(ret);
2251
+ };
2252
+
2237
2253
  module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2238
2254
  const ret = WasmPeerService.__wrap(arg0);
2239
2255
  return addHeapObject(ret);
2240
2256
  };
2241
2257
 
2242
- module.exports.__wbg_sendmessage_61fd844d08bd6005 = function(arg0, arg1) {
2258
+ module.exports.__wbg_sendmessage_7ead717ac2648716 = function(arg0, arg1) {
2243
2259
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2244
2260
  };
2245
2261
 
2246
- module.exports.__wbg_sendmessagetoall_7e0c42f2a7f49fec = function(arg0, arg1) {
2262
+ module.exports.__wbg_sendmessagetoall_439a1bb080bdc8da = function(arg0, arg1) {
2247
2263
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2248
2264
  };
2249
2265
 
2250
- module.exports.__wbg_connecttopeer_7deaf575407295d5 = function() { return handleError(function (arg0) {
2266
+ module.exports.__wbg_connecttopeer_35fb4dce606d7178 = function() { return handleError(function (arg0) {
2251
2267
  const ret = MsgHandler.connect_to_peer(takeObject(arg0));
2252
2268
  return addHeapObject(ret);
2253
2269
  }, arguments) };
2254
2270
 
2255
- module.exports.__wbg_disconnectfrompeer_d9f5eed12ba403ae = function() { return handleError(function (arg0) {
2271
+ module.exports.__wbg_disconnectfrompeer_d2da87541e97de89 = function() { return handleError(function (arg0) {
2256
2272
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2257
2273
  return addHeapObject(ret);
2258
2274
  }, arguments) };
2259
2275
 
2260
- module.exports.__wbg_fetchblockfrompeer_878e3d1600bac236 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2276
+ module.exports.__wbg_fetchblockfrompeer_94a828b4ff41c0b2 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2261
2277
  let deferred0_0;
2262
2278
  let deferred0_1;
2263
2279
  try {
@@ -2270,7 +2286,7 @@ module.exports.__wbg_fetchblockfrompeer_878e3d1600bac236 = function() { return h
2270
2286
  }
2271
2287
  }, arguments) };
2272
2288
 
2273
- module.exports.__wbg_writevalue_ed900ea4696c7f68 = function(arg0, arg1, arg2) {
2289
+ module.exports.__wbg_writevalue_22e302814f196dde = function(arg0, arg1, arg2) {
2274
2290
  let deferred0_0;
2275
2291
  let deferred0_1;
2276
2292
  try {
@@ -2282,7 +2298,7 @@ module.exports.__wbg_writevalue_ed900ea4696c7f68 = function(arg0, arg1, arg2) {
2282
2298
  }
2283
2299
  };
2284
2300
 
2285
- module.exports.__wbg_readvalue_5e7c807483184923 = function() { return handleError(function (arg0, arg1) {
2301
+ module.exports.__wbg_readvalue_2d3a2045fbcadd2c = function() { return handleError(function (arg0, arg1) {
2286
2302
  let deferred0_0;
2287
2303
  let deferred0_1;
2288
2304
  try {
@@ -2295,12 +2311,12 @@ module.exports.__wbg_readvalue_5e7c807483184923 = function() { return handleErro
2295
2311
  }
2296
2312
  }, arguments) };
2297
2313
 
2298
- module.exports.__wbg_loadblockfilelist_8034849a64005074 = function() { return handleError(function () {
2314
+ module.exports.__wbg_loadblockfilelist_9a89840372fcc9a3 = function() { return handleError(function () {
2299
2315
  const ret = MsgHandler.load_block_file_list();
2300
2316
  return addHeapObject(ret);
2301
2317
  }, arguments) };
2302
2318
 
2303
- module.exports.__wbg_isexistingfile_bfc3269c393224dd = function() { return handleError(function (arg0, arg1) {
2319
+ module.exports.__wbg_isexistingfile_96f46cdf42a069fd = function() { return handleError(function (arg0, arg1) {
2304
2320
  let deferred0_0;
2305
2321
  let deferred0_1;
2306
2322
  try {
@@ -2313,7 +2329,7 @@ module.exports.__wbg_isexistingfile_bfc3269c393224dd = function() { return handl
2313
2329
  }
2314
2330
  }, arguments) };
2315
2331
 
2316
- module.exports.__wbg_removevalue_ad9e901f3a1c41d2 = function() { return handleError(function (arg0, arg1) {
2332
+ module.exports.__wbg_removevalue_1f2ad3edcc5584ad = function() { return handleError(function (arg0, arg1) {
2317
2333
  let deferred0_0;
2318
2334
  let deferred0_1;
2319
2335
  try {
@@ -2326,19 +2342,19 @@ module.exports.__wbg_removevalue_ad9e901f3a1c41d2 = function() { return handleEr
2326
2342
  }
2327
2343
  }, arguments) };
2328
2344
 
2329
- module.exports.__wbg_processapicall_8a3faa274e8f3b9c = function(arg0, arg1, arg2) {
2345
+ module.exports.__wbg_processapicall_946e56d27f9c68db = function(arg0, arg1, arg2) {
2330
2346
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2331
2347
  };
2332
2348
 
2333
- module.exports.__wbg_processapisuccess_1cc4975843dba3a3 = function(arg0, arg1, arg2) {
2349
+ module.exports.__wbg_processapisuccess_449b580c4cc0b043 = function(arg0, arg1, arg2) {
2334
2350
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2335
2351
  };
2336
2352
 
2337
- module.exports.__wbg_processapierror_b9921ed632c4d68e = function(arg0, arg1, arg2) {
2353
+ module.exports.__wbg_processapierror_e8487179911faacf = function(arg0, arg1, arg2) {
2338
2354
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, BigInt.asUintN(64, arg2));
2339
2355
  };
2340
2356
 
2341
- module.exports.__wbg_sendinterfaceevent_3107302626d27d87 = function(arg0, arg1, arg2) {
2357
+ module.exports.__wbg_sendinterfaceevent_a24112d4095f95d7 = function(arg0, arg1, arg2) {
2342
2358
  let deferred0_0;
2343
2359
  let deferred0_1;
2344
2360
  try {
@@ -2350,7 +2366,7 @@ module.exports.__wbg_sendinterfaceevent_3107302626d27d87 = function(arg0, arg1,
2350
2366
  }
2351
2367
  };
2352
2368
 
2353
- module.exports.__wbg_sendblocksuccess_532ff69069a98253 = function(arg0, arg1, arg2) {
2369
+ module.exports.__wbg_sendblocksuccess_8ed43e2586d03668 = function(arg0, arg1, arg2) {
2354
2370
  let deferred0_0;
2355
2371
  let deferred0_1;
2356
2372
  try {
@@ -2362,30 +2378,37 @@ module.exports.__wbg_sendblocksuccess_532ff69069a98253 = function(arg0, arg1, ar
2362
2378
  }
2363
2379
  };
2364
2380
 
2365
- module.exports.__wbg_sendwalletupdate_42371f109dacedb6 = function() {
2381
+ module.exports.__wbg_sendwalletupdate_33a1d50986a667ca = function() {
2366
2382
  MsgHandler.send_wallet_update();
2367
2383
  };
2368
2384
 
2369
- module.exports.__wbg_savewallet_9bfaa77bde5a2ca8 = function() {
2385
+ module.exports.__wbg_sendnewversionalert_c347fb411608ca72 = function(arg0, arg1, arg2) {
2386
+ let deferred0_0;
2387
+ let deferred0_1;
2388
+ try {
2389
+ deferred0_0 = arg0;
2390
+ deferred0_1 = arg1;
2391
+ MsgHandler.send_new_version_alert(getStringFromWasm0(arg0, arg1), BigInt.asUintN(64, arg2));
2392
+ } finally {
2393
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2394
+ }
2395
+ };
2396
+
2397
+ module.exports.__wbg_savewallet_dfbbfbf3e07c692c = function() {
2370
2398
  MsgHandler.save_wallet();
2371
2399
  };
2372
2400
 
2373
- module.exports.__wbg_loadwallet_3e3784b173691371 = function() {
2401
+ module.exports.__wbg_loadwallet_3e269daaae9ffc39 = function() {
2374
2402
  MsgHandler.load_wallet();
2375
2403
  };
2376
2404
 
2377
- module.exports.__wbg_getmyservices_b4f03598d013a619 = function() {
2405
+ module.exports.__wbg_getmyservices_ee854d544edf2942 = function() {
2378
2406
  const ret = MsgHandler.get_my_services();
2379
2407
  _assertClass(ret, WasmPeerServiceList);
2380
2408
  var ptr1 = ret.__destroy_into_raw();
2381
2409
  return ptr1;
2382
2410
  };
2383
2411
 
2384
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
2385
- const ret = new Error(getStringFromWasm0(arg0, arg1));
2386
- return addHeapObject(ret);
2387
- };
2388
-
2389
2412
  module.exports.__wbindgen_object_clone_ref = function(arg0) {
2390
2413
  const ret = getObject(arg0);
2391
2414
  return addHeapObject(ret);
@@ -2424,11 +2447,11 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
2424
2447
  return ret;
2425
2448
  };
2426
2449
 
2427
- module.exports.__wbg_queueMicrotask_e5949c35d772a669 = function(arg0) {
2450
+ module.exports.__wbg_queueMicrotask_4d890031a6a5a50c = function(arg0) {
2428
2451
  queueMicrotask(getObject(arg0));
2429
2452
  };
2430
2453
 
2431
- module.exports.__wbg_queueMicrotask_2be8b97a81fe4d00 = function(arg0) {
2454
+ module.exports.__wbg_queueMicrotask_adae4bc085237231 = function(arg0) {
2432
2455
  const ret = getObject(arg0).queueMicrotask;
2433
2456
  return addHeapObject(ret);
2434
2457
  };
@@ -2438,23 +2461,23 @@ module.exports.__wbindgen_is_function = function(arg0) {
2438
2461
  return ret;
2439
2462
  };
2440
2463
 
2441
- module.exports.__wbg_debug_8f9a97dc395d342f = function(arg0, arg1, arg2, arg3) {
2464
+ module.exports.__wbg_debug_678fc976919895d2 = function(arg0, arg1, arg2, arg3) {
2442
2465
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2443
2466
  };
2444
2467
 
2445
- module.exports.__wbg_error_94a25ece8eeb7bca = function(arg0, arg1, arg2, arg3) {
2468
+ module.exports.__wbg_error_ce00188b70015ed4 = function(arg0, arg1, arg2, arg3) {
2446
2469
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2447
2470
  };
2448
2471
 
2449
- module.exports.__wbg_info_1d035e3d63b89260 = function(arg0, arg1, arg2, arg3) {
2472
+ module.exports.__wbg_info_7904cb81904ea2ec = function(arg0, arg1, arg2, arg3) {
2450
2473
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2451
2474
  };
2452
2475
 
2453
- module.exports.__wbg_log_00bb83da94eb9ca8 = function(arg0, arg1, arg2, arg3) {
2476
+ module.exports.__wbg_log_aaedbaa276606939 = function(arg0, arg1, arg2, arg3) {
2454
2477
  console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2455
2478
  };
2456
2479
 
2457
- module.exports.__wbg_warn_fab4b297e5c436a0 = function(arg0, arg1, arg2, arg3) {
2480
+ module.exports.__wbg_warn_0345511f899411e2 = function(arg0, arg1, arg2, arg3) {
2458
2481
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
2459
2482
  };
2460
2483
 
@@ -2501,106 +2524,106 @@ module.exports.__wbg_getRandomValues_504510b5564925af = function() { return hand
2501
2524
  getObject(arg0).getRandomValues(getObject(arg1));
2502
2525
  }, arguments) };
2503
2526
 
2504
- module.exports.__wbg_get_4a9aa5157afeb382 = function(arg0, arg1) {
2527
+ module.exports.__wbg_get_f01601b5a68d10e3 = function(arg0, arg1) {
2505
2528
  const ret = getObject(arg0)[arg1 >>> 0];
2506
2529
  return addHeapObject(ret);
2507
2530
  };
2508
2531
 
2509
- module.exports.__wbg_length_cace2e0b3ddc0502 = function(arg0) {
2532
+ module.exports.__wbg_length_1009b1af0c481d7b = function(arg0) {
2510
2533
  const ret = getObject(arg0).length;
2511
2534
  return ret;
2512
2535
  };
2513
2536
 
2514
- module.exports.__wbg_new_08236689f0afb357 = function() {
2537
+ module.exports.__wbg_new_ffc6d4d085022169 = function() {
2515
2538
  const ret = new Array();
2516
2539
  return addHeapObject(ret);
2517
2540
  };
2518
2541
 
2519
- module.exports.__wbg_valueOf_ff4b62641803432a = function(arg0) {
2542
+ module.exports.__wbg_valueOf_de53d16100831c01 = function(arg0) {
2520
2543
  const ret = getObject(arg0).valueOf();
2521
2544
  return ret;
2522
2545
  };
2523
2546
 
2524
- module.exports.__wbg_newnoargs_ccdcae30fd002262 = function(arg0, arg1) {
2547
+ module.exports.__wbg_newnoargs_c62ea9419c21fbac = function(arg0, arg1) {
2525
2548
  const ret = new Function(getStringFromWasm0(arg0, arg1));
2526
2549
  return addHeapObject(ret);
2527
2550
  };
2528
2551
 
2529
- module.exports.__wbg_next_15da6a3df9290720 = function(arg0) {
2552
+ module.exports.__wbg_next_9b877f231f476d01 = function(arg0) {
2530
2553
  const ret = getObject(arg0).next;
2531
2554
  return addHeapObject(ret);
2532
2555
  };
2533
2556
 
2534
- module.exports.__wbg_next_1989a20442400aaa = function() { return handleError(function (arg0) {
2557
+ module.exports.__wbg_next_6529ee0cca8d57ed = function() { return handleError(function (arg0) {
2535
2558
  const ret = getObject(arg0).next();
2536
2559
  return addHeapObject(ret);
2537
2560
  }, arguments) };
2538
2561
 
2539
- module.exports.__wbg_done_bc26bf4ada718266 = function(arg0) {
2562
+ module.exports.__wbg_done_5fe336b092d60cf2 = function(arg0) {
2540
2563
  const ret = getObject(arg0).done;
2541
2564
  return ret;
2542
2565
  };
2543
2566
 
2544
- module.exports.__wbg_value_0570714ff7d75f35 = function(arg0) {
2567
+ module.exports.__wbg_value_0c248a78fdc8e19f = function(arg0) {
2545
2568
  const ret = getObject(arg0).value;
2546
2569
  return addHeapObject(ret);
2547
2570
  };
2548
2571
 
2549
- module.exports.__wbg_iterator_7ee1a391d310f8e4 = function() {
2572
+ module.exports.__wbg_iterator_db7ca081358d4fb2 = function() {
2550
2573
  const ret = Symbol.iterator;
2551
2574
  return addHeapObject(ret);
2552
2575
  };
2553
2576
 
2554
- module.exports.__wbg_get_2aff440840bb6202 = function() { return handleError(function (arg0, arg1) {
2577
+ module.exports.__wbg_get_7b48513de5dc5ea4 = function() { return handleError(function (arg0, arg1) {
2555
2578
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
2556
2579
  return addHeapObject(ret);
2557
2580
  }, arguments) };
2558
2581
 
2559
- module.exports.__wbg_call_669127b9d730c650 = function() { return handleError(function (arg0, arg1) {
2582
+ module.exports.__wbg_call_90c26b09837aba1c = function() { return handleError(function (arg0, arg1) {
2560
2583
  const ret = getObject(arg0).call(getObject(arg1));
2561
2584
  return addHeapObject(ret);
2562
2585
  }, arguments) };
2563
2586
 
2564
- module.exports.__wbg_self_3fad056edded10bd = function() { return handleError(function () {
2587
+ module.exports.__wbg_self_f0e34d89f33b99fd = function() { return handleError(function () {
2565
2588
  const ret = self.self;
2566
2589
  return addHeapObject(ret);
2567
2590
  }, arguments) };
2568
2591
 
2569
- module.exports.__wbg_window_a4f46c98a61d4089 = function() { return handleError(function () {
2592
+ module.exports.__wbg_window_d3b084224f4774d7 = function() { return handleError(function () {
2570
2593
  const ret = window.window;
2571
2594
  return addHeapObject(ret);
2572
2595
  }, arguments) };
2573
2596
 
2574
- module.exports.__wbg_globalThis_17eff828815f7d84 = function() { return handleError(function () {
2597
+ module.exports.__wbg_globalThis_9caa27ff917c6860 = function() { return handleError(function () {
2575
2598
  const ret = globalThis.globalThis;
2576
2599
  return addHeapObject(ret);
2577
2600
  }, arguments) };
2578
2601
 
2579
- module.exports.__wbg_global_46f939f6541643c5 = function() { return handleError(function () {
2602
+ module.exports.__wbg_global_35dfdd59a4da3e74 = function() { return handleError(function () {
2580
2603
  const ret = global.global;
2581
2604
  return addHeapObject(ret);
2582
2605
  }, arguments) };
2583
2606
 
2584
- module.exports.__wbg_newwithlength_045c9df8a7cc3543 = function(arg0) {
2607
+ module.exports.__wbg_newwithlength_60be48876569a8af = function(arg0) {
2585
2608
  const ret = new Array(arg0 >>> 0);
2586
2609
  return addHeapObject(ret);
2587
2610
  };
2588
2611
 
2589
- module.exports.__wbg_set_0ac78a2bc07da03c = function(arg0, arg1, arg2) {
2612
+ module.exports.__wbg_set_f2740edb12e318cd = function(arg0, arg1, arg2) {
2590
2613
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2591
2614
  };
2592
2615
 
2593
- module.exports.__wbg_isArray_38525be7442aa21e = function(arg0) {
2616
+ module.exports.__wbg_isArray_74fb723e24f76012 = function(arg0) {
2594
2617
  const ret = Array.isArray(getObject(arg0));
2595
2618
  return ret;
2596
2619
  };
2597
2620
 
2598
- module.exports.__wbg_push_fd3233d09cf81821 = function(arg0, arg1) {
2621
+ module.exports.__wbg_push_901f3914205d44de = function(arg0, arg1) {
2599
2622
  const ret = getObject(arg0).push(getObject(arg1));
2600
2623
  return ret;
2601
2624
  };
2602
2625
 
2603
- module.exports.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d = function(arg0) {
2626
+ module.exports.__wbg_instanceof_ArrayBuffer_e7d53d51371448e2 = function(arg0) {
2604
2627
  let result;
2605
2628
  try {
2606
2629
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -2611,34 +2634,34 @@ module.exports.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d = function(arg0) {
2611
2634
  return ret;
2612
2635
  };
2613
2636
 
2614
- module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
2637
+ module.exports.__wbg_call_5da1969d7cd31ccd = function() { return handleError(function (arg0, arg1, arg2) {
2615
2638
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2616
2639
  return addHeapObject(ret);
2617
2640
  }, arguments) };
2618
2641
 
2619
- module.exports.__wbg_getTime_ed6ee333b702f8fc = function(arg0) {
2642
+ module.exports.__wbg_getTime_9272be78826033e1 = function(arg0) {
2620
2643
  const ret = getObject(arg0).getTime();
2621
2644
  return ret;
2622
2645
  };
2623
2646
 
2624
- module.exports.__wbg_new0_ad75dd38f92424e2 = function() {
2647
+ module.exports.__wbg_new0_622c21a64f3d83ea = function() {
2625
2648
  const ret = new Date();
2626
2649
  return addHeapObject(ret);
2627
2650
  };
2628
2651
 
2629
- module.exports.__wbg_toString_3c6a45b1a918d23f = function(arg0) {
2652
+ module.exports.__wbg_toString_e302283d4ca65316 = function(arg0) {
2630
2653
  const ret = getObject(arg0).toString();
2631
2654
  return addHeapObject(ret);
2632
2655
  };
2633
2656
 
2634
- module.exports.__wbg_new_feb65b865d980ae2 = function(arg0, arg1) {
2657
+ module.exports.__wbg_new_60f57089c7563e81 = function(arg0, arg1) {
2635
2658
  try {
2636
2659
  var state0 = {a: arg0, b: arg1};
2637
2660
  var cb0 = (arg0, arg1) => {
2638
2661
  const a = state0.a;
2639
2662
  state0.a = 0;
2640
2663
  try {
2641
- return __wbg_adapter_374(a, state0.b, arg0, arg1);
2664
+ return __wbg_adapter_377(a, state0.b, arg0, arg1);
2642
2665
  } finally {
2643
2666
  state0.a = a;
2644
2667
  }
@@ -2650,41 +2673,41 @@ module.exports.__wbg_new_feb65b865d980ae2 = function(arg0, arg1) {
2650
2673
  }
2651
2674
  };
2652
2675
 
2653
- module.exports.__wbg_resolve_a3252b2860f0a09e = function(arg0) {
2676
+ module.exports.__wbg_resolve_6e1c6553a82f85b7 = function(arg0) {
2654
2677
  const ret = Promise.resolve(getObject(arg0));
2655
2678
  return addHeapObject(ret);
2656
2679
  };
2657
2680
 
2658
- module.exports.__wbg_then_89e1c559530b85cf = function(arg0, arg1) {
2681
+ module.exports.__wbg_then_3ab08cd4fbb91ae9 = function(arg0, arg1) {
2659
2682
  const ret = getObject(arg0).then(getObject(arg1));
2660
2683
  return addHeapObject(ret);
2661
2684
  };
2662
2685
 
2663
- module.exports.__wbg_buffer_344d9b41efe96da7 = function(arg0) {
2686
+ module.exports.__wbg_buffer_a448f833075b71ba = function(arg0) {
2664
2687
  const ret = getObject(arg0).buffer;
2665
2688
  return addHeapObject(ret);
2666
2689
  };
2667
2690
 
2668
- module.exports.__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3 = function(arg0, arg1, arg2) {
2691
+ module.exports.__wbg_newwithbyteoffsetandlength_d0482f893617af71 = function(arg0, arg1, arg2) {
2669
2692
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2670
2693
  return addHeapObject(ret);
2671
2694
  };
2672
2695
 
2673
- module.exports.__wbg_new_d8a000788389a31e = function(arg0) {
2696
+ module.exports.__wbg_new_8f67e318f15d7254 = function(arg0) {
2674
2697
  const ret = new Uint8Array(getObject(arg0));
2675
2698
  return addHeapObject(ret);
2676
2699
  };
2677
2700
 
2678
- module.exports.__wbg_set_dcfd613a3420f908 = function(arg0, arg1, arg2) {
2701
+ module.exports.__wbg_set_2357bf09366ee480 = function(arg0, arg1, arg2) {
2679
2702
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
2680
2703
  };
2681
2704
 
2682
- module.exports.__wbg_length_a5587d6cd79ab197 = function(arg0) {
2705
+ module.exports.__wbg_length_1d25fa9e4ac21ce7 = function(arg0) {
2683
2706
  const ret = getObject(arg0).length;
2684
2707
  return ret;
2685
2708
  };
2686
2709
 
2687
- module.exports.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1 = function(arg0) {
2710
+ module.exports.__wbg_instanceof_Uint8Array_bced6f43aed8c1aa = function(arg0) {
2688
2711
  let result;
2689
2712
  try {
2690
2713
  result = getObject(arg0) instanceof Uint8Array;
@@ -2695,22 +2718,22 @@ module.exports.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1 = function(arg0) {
2695
2718
  return ret;
2696
2719
  };
2697
2720
 
2698
- module.exports.__wbg_newwithlength_13b5319ab422dcf6 = function(arg0) {
2721
+ module.exports.__wbg_newwithlength_6c2df9e2f3028c43 = function(arg0) {
2699
2722
  const ret = new Uint8Array(arg0 >>> 0);
2700
2723
  return addHeapObject(ret);
2701
2724
  };
2702
2725
 
2703
- module.exports.__wbg_subarray_6ca5cfa7fbb9abbe = function(arg0, arg1, arg2) {
2726
+ module.exports.__wbg_subarray_2e940e41c0f5a1d9 = function(arg0, arg1, arg2) {
2704
2727
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
2705
2728
  return addHeapObject(ret);
2706
2729
  };
2707
2730
 
2708
- module.exports.__wbg_parse_3f0cb48976ca4123 = function() { return handleError(function (arg0, arg1) {
2731
+ module.exports.__wbg_parse_3423ec3227d9fe98 = function() { return handleError(function (arg0, arg1) {
2709
2732
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
2710
2733
  return addHeapObject(ret);
2711
2734
  }, arguments) };
2712
2735
 
2713
- module.exports.__wbg_stringify_4039297315a25b00 = function() { return handleError(function (arg0) {
2736
+ module.exports.__wbg_stringify_e1b19966d964d242 = function() { return handleError(function (arg0) {
2714
2737
  const ret = JSON.stringify(getObject(arg0));
2715
2738
  return addHeapObject(ret);
2716
2739
  }, arguments) };
@@ -2732,8 +2755,8 @@ module.exports.__wbindgen_memory = function() {
2732
2755
  return addHeapObject(ret);
2733
2756
  };
2734
2757
 
2735
- module.exports.__wbindgen_closure_wrapper1062 = function(arg0, arg1, arg2) {
2736
- const ret = makeMutClosure(arg0, arg1, 328, __wbg_adapter_40);
2758
+ module.exports.__wbindgen_closure_wrapper1071 = function(arg0, arg1, arg2) {
2759
+ const ret = makeMutClosure(arg0, arg1, 335, __wbg_adapter_40);
2737
2760
  return addHeapObject(ret);
2738
2761
  };
2739
2762
 
Binary file