@xmtp/wasm-bindings 1.2.0-dev.bed98df → 1.2.0-dev.cae98b4

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.
@@ -102,6 +102,11 @@ function isLikeNone(x) {
102
102
  return x === undefined || x === null;
103
103
  }
104
104
 
105
+ function getArrayU8FromWasm0(ptr, len) {
106
+ ptr = ptr >>> 0;
107
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
108
+ }
109
+
105
110
  function getArrayJsValueFromWasm0(ptr, len) {
106
111
  ptr = ptr >>> 0;
107
112
  const mem = getDataViewMemory0();
@@ -113,11 +118,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
113
118
  return result;
114
119
  }
115
120
 
116
- function getArrayU8FromWasm0(ptr, len) {
117
- ptr = ptr >>> 0;
118
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
119
- }
120
-
121
121
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
122
122
  ? { register: () => {}, unregister: () => {} }
123
123
  : new FinalizationRegistry(state => {
@@ -230,6 +230,13 @@ function _assertClass(instance, klass) {
230
230
  }
231
231
  }
232
232
 
233
+ function passArray8ToWasm0(arg, malloc) {
234
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
235
+ getUint8ArrayMemory0().set(arg, ptr / 1);
236
+ WASM_VECTOR_LEN = arg.length;
237
+ return ptr;
238
+ }
239
+
233
240
  function takeFromExternrefTable0(idx) {
234
241
  const value = wasm.__wbindgen_export_4.get(idx);
235
242
  wasm.__externref_table_dealloc(idx);
@@ -301,12 +308,35 @@ export function verifySignedWithPublicKey(signature_text, signature_bytes, publi
301
308
  }
302
309
  }
303
310
 
304
- function passArray8ToWasm0(arg, malloc) {
305
- const ptr = malloc(arg.length * 1, 1) >>> 0;
306
- getUint8ArrayMemory0().set(arg, ptr / 1);
307
- WASM_VECTOR_LEN = arg.length;
308
- return ptr;
311
+ /**
312
+ * @param {string} host
313
+ * @param {string} inbox_id
314
+ * @param {Identifier} account_identifier
315
+ * @param {string | null} [db_path]
316
+ * @param {Uint8Array | null} [encryption_key]
317
+ * @param {string | null} [device_sync_server_url]
318
+ * @param {DeviceSyncWorkerMode | null} [device_sync_worker_mode]
319
+ * @param {LogOptions | null} [log_options]
320
+ * @returns {Promise<Client>}
321
+ */
322
+ export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options) {
323
+ const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
324
+ const len0 = WASM_VECTOR_LEN;
325
+ const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
326
+ const len1 = WASM_VECTOR_LEN;
327
+ var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
328
+ var len2 = WASM_VECTOR_LEN;
329
+ var ptr3 = isLikeNone(device_sync_server_url) ? 0 : passStringToWasm0(device_sync_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
330
+ var len3 = WASM_VECTOR_LEN;
331
+ let ptr4 = 0;
332
+ if (!isLikeNone(log_options)) {
333
+ _assertClass(log_options, LogOptions);
334
+ ptr4 = log_options.__destroy_into_raw();
335
+ }
336
+ const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, isLikeNone(device_sync_worker_mode) ? 3 : ((__wbindgen_enum_DeviceSyncWorkerMode.indexOf(device_sync_worker_mode) + 1 || 3) - 1), ptr4);
337
+ return ret;
309
338
  }
339
+
310
340
  /**
311
341
  * @param {string} host
312
342
  * @param {Identifier} accountIdentifier
@@ -342,49 +372,29 @@ export function generateInboxId(accountIdentifier) {
342
372
  }
343
373
  }
344
374
 
345
- /**
346
- * @param {string} host
347
- * @param {string} inbox_id
348
- * @param {Identifier} account_identifier
349
- * @param {string | null} [db_path]
350
- * @param {Uint8Array | null} [encryption_key]
351
- * @param {string | null} [history_sync_url]
352
- * @param {LogOptions | null} [log_options]
353
- * @returns {Promise<Client>}
354
- */
355
- export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, history_sync_url, log_options) {
356
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
357
- const len0 = WASM_VECTOR_LEN;
358
- const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
359
- const len1 = WASM_VECTOR_LEN;
360
- var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
361
- var len2 = WASM_VECTOR_LEN;
362
- var ptr3 = isLikeNone(history_sync_url) ? 0 : passStringToWasm0(history_sync_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
363
- var len3 = WASM_VECTOR_LEN;
364
- let ptr4 = 0;
365
- if (!isLikeNone(log_options)) {
366
- _assertClass(log_options, LogOptions);
367
- ptr4 = log_options.__destroy_into_raw();
368
- }
369
- const ret = wasm.createClient(ptr0, len0, ptr1, len1, account_identifier, ptr2, len2, isLikeNone(encryption_key) ? 0 : addToExternrefTable0(encryption_key), ptr3, len3, ptr4);
370
- return ret;
375
+ function __wbg_adapter_50(arg0, arg1) {
376
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6040dd5f55152215(arg0, arg1);
371
377
  }
372
378
 
373
- function __wbg_adapter_50(arg0, arg1) {
374
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56(arg0, arg1);
379
+ function __wbg_adapter_53(arg0, arg1) {
380
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h89dafc0baf46c12b(arg0, arg1);
375
381
  }
376
382
 
377
- function __wbg_adapter_53(arg0, arg1, arg2) {
378
- wasm.closure3862_externref_shim(arg0, arg1, arg2);
383
+ function __wbg_adapter_56(arg0, arg1, arg2) {
384
+ wasm.closure3980_externref_shim(arg0, arg1, arg2);
379
385
  }
380
386
 
381
- function __wbg_adapter_611(arg0, arg1, arg2, arg3, arg4) {
382
- const ret = wasm.closure4857_externref_shim(arg0, arg1, arg2, arg3, arg4);
387
+ function __wbg_adapter_59(arg0, arg1) {
388
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f45197f24caef5a(arg0, arg1);
389
+ }
390
+
391
+ function __wbg_adapter_641(arg0, arg1, arg2, arg3, arg4) {
392
+ const ret = wasm.closure5011_externref_shim(arg0, arg1, arg2, arg3, arg4);
383
393
  return ret !== 0;
384
394
  }
385
395
 
386
- function __wbg_adapter_712(arg0, arg1, arg2, arg3) {
387
- wasm.closure4856_externref_shim(arg0, arg1, arg2, arg3);
396
+ function __wbg_adapter_742(arg0, arg1, arg2, arg3) {
397
+ wasm.closure5010_externref_shim(arg0, arg1, arg2, arg3);
388
398
  }
389
399
 
390
400
  /**
@@ -530,6 +540,8 @@ export const SortDirection = Object.freeze({
530
540
  Descending: 1, "1": "Descending",
531
541
  });
532
542
 
543
+ const __wbindgen_enum_DeviceSyncWorkerMode = ["enabled", "disabled"];
544
+
533
545
  const __wbindgen_enum_LogLevel = ["off", "error", "warn", "info", "debug", "trace"];
534
546
 
535
547
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
@@ -563,6 +575,27 @@ export class Client {
563
575
  const ptr = this.__destroy_into_raw();
564
576
  wasm.__wbg_client_free(ptr, 0);
565
577
  }
578
+ /**
579
+ * @param {Consent[]} records
580
+ * @returns {Promise<void>}
581
+ */
582
+ setConsentStates(records) {
583
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
584
+ const len0 = WASM_VECTOR_LEN;
585
+ const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
586
+ return ret;
587
+ }
588
+ /**
589
+ * @param {ConsentEntityType} entity_type
590
+ * @param {string} entity
591
+ * @returns {Promise<ConsentState>}
592
+ */
593
+ getConsentState(entity_type, entity) {
594
+ const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
595
+ const len0 = WASM_VECTOR_LEN;
596
+ const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
597
+ return ret;
598
+ }
566
599
  /**
567
600
  * @returns {string | undefined}
568
601
  */
@@ -682,27 +715,6 @@ export class Client {
682
715
  throw takeFromExternrefTable0(ret[0]);
683
716
  }
684
717
  }
685
- /**
686
- * @param {Consent[]} records
687
- * @returns {Promise<void>}
688
- */
689
- setConsentStates(records) {
690
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
691
- const len0 = WASM_VECTOR_LEN;
692
- const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
693
- return ret;
694
- }
695
- /**
696
- * @param {ConsentEntityType} entity_type
697
- * @param {string} entity
698
- * @returns {Promise<ConsentState>}
699
- */
700
- getConsentState(entity_type, entity) {
701
- const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
702
- const len0 = WASM_VECTOR_LEN;
703
- const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
704
- return ret;
705
- }
706
718
  /**
707
719
  * @returns {Identifier}
708
720
  */
@@ -812,6 +824,13 @@ export class Client {
812
824
  const ret = wasm.client_conversations(this.__wbg_ptr);
813
825
  return Conversations.__wrap(ret);
814
826
  }
827
+ /**
828
+ * @returns {Promise<number>}
829
+ */
830
+ syncPreferences() {
831
+ const ret = wasm.client_syncPreferences(this.__wbg_ptr);
832
+ return ret;
833
+ }
815
834
  /**
816
835
  *
817
836
  * * Get the client's inbox state.
@@ -987,7 +1006,7 @@ export class ContentTypeId {
987
1006
  set authorityId(arg0) {
988
1007
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
989
1008
  const len0 = WASM_VECTOR_LEN;
990
- wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
1009
+ wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
991
1010
  }
992
1011
  /**
993
1012
  * @returns {string}
@@ -1081,6 +1100,25 @@ export class Conversation {
1081
1100
  const ptr = this.__destroy_into_raw();
1082
1101
  wasm.__wbg_conversation_free(ptr, 0);
1083
1102
  }
1103
+ /**
1104
+ * @returns {ConsentState}
1105
+ */
1106
+ consentState() {
1107
+ const ret = wasm.conversation_consentState(this.__wbg_ptr);
1108
+ if (ret[2]) {
1109
+ throw takeFromExternrefTable0(ret[1]);
1110
+ }
1111
+ return ret[0];
1112
+ }
1113
+ /**
1114
+ * @param {ConsentState} state
1115
+ */
1116
+ updateConsentState(state) {
1117
+ const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
1118
+ if (ret[1]) {
1119
+ throw takeFromExternrefTable0(ret[0]);
1120
+ }
1121
+ }
1084
1122
  /**
1085
1123
  * @returns {string}
1086
1124
  */
@@ -1561,25 +1599,6 @@ export class Conversation {
1561
1599
  }
1562
1600
  return takeFromExternrefTable0(ret[0]);
1563
1601
  }
1564
- /**
1565
- * @returns {ConsentState}
1566
- */
1567
- consentState() {
1568
- const ret = wasm.conversation_consentState(this.__wbg_ptr);
1569
- if (ret[2]) {
1570
- throw takeFromExternrefTable0(ret[1]);
1571
- }
1572
- return ret[0];
1573
- }
1574
- /**
1575
- * @param {ConsentState} state
1576
- */
1577
- updateConsentState(state) {
1578
- const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
1579
- if (ret[1]) {
1580
- throw takeFromExternrefTable0(ret[0]);
1581
- }
1582
- }
1583
1602
  }
1584
1603
 
1585
1604
  const ConversationListItemFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -2301,7 +2320,7 @@ export class GroupMember {
2301
2320
  set inboxId(arg0) {
2302
2321
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2303
2322
  const len0 = WASM_VECTOR_LEN;
2304
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
2323
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
2305
2324
  }
2306
2325
  /**
2307
2326
  * @returns {Identifier[]}
@@ -2583,7 +2602,7 @@ export class InboxState {
2583
2602
  set inboxId(arg0) {
2584
2603
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2585
2604
  const len0 = WASM_VECTOR_LEN;
2586
- wasm.__wbg_set_inboxstate_inboxId(this.__wbg_ptr, ptr0, len0);
2605
+ wasm.__wbg_set_contenttypeid_authorityId(this.__wbg_ptr, ptr0, len0);
2587
2606
  }
2588
2607
  /**
2589
2608
  * @returns {Identifier}
@@ -3661,6 +3680,13 @@ export class Opfs {
3661
3680
  const ptr = this.__destroy_into_raw();
3662
3681
  wasm.__wbg_opfs_free(ptr, 0);
3663
3682
  }
3683
+ /**
3684
+ * @returns {Promise<void>}
3685
+ */
3686
+ static init_sqlite_opfs() {
3687
+ const ret = wasm.opfs_init_sqlite_opfs();
3688
+ return ret;
3689
+ }
3664
3690
  /**
3665
3691
  * Check if the global OPFS object has been initialized
3666
3692
  * @returns {boolean}
@@ -3991,7 +4017,7 @@ export class Reaction {
3991
4017
  set reference(arg0) {
3992
4018
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3993
4019
  const len0 = WASM_VECTOR_LEN;
3994
- wasm.__wbg_set_groupmember_inboxId(this.__wbg_ptr, ptr0, len0);
4020
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
3995
4021
  }
3996
4022
  /**
3997
4023
  * @returns {string}
@@ -4385,6 +4411,9 @@ function __wbg_get_imports() {
4385
4411
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4386
4412
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4387
4413
  };
4414
+ imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
4415
+ arg0.abort(arg1);
4416
+ };
4388
4417
  imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
4389
4418
  arg0.abort();
4390
4419
  };
@@ -4447,6 +4476,14 @@ function __wbg_get_imports() {
4447
4476
  const ret = clearTimeout(arg0);
4448
4477
  return ret;
4449
4478
  };
4479
+ imports.wbg.__wbg_clearTimeout_86721db0036bea98 = function(arg0) {
4480
+ const ret = clearTimeout(arg0);
4481
+ return ret;
4482
+ };
4483
+ imports.wbg.__wbg_clearTimeout_96804de0ab838f26 = function(arg0) {
4484
+ const ret = clearTimeout(arg0);
4485
+ return ret;
4486
+ };
4450
4487
  imports.wbg.__wbg_clear_1f96150ecf4061a6 = function(arg0) {
4451
4488
  arg0.clear();
4452
4489
  };
@@ -4466,6 +4503,10 @@ function __wbg_get_imports() {
4466
4503
  imports.wbg.__wbg_close_a17af48266bd9942 = function(arg0) {
4467
4504
  arg0.close();
4468
4505
  };
4506
+ imports.wbg.__wbg_code_cfd8f6868bdaed9b = function(arg0) {
4507
+ const ret = arg0.code;
4508
+ return ret;
4509
+ };
4469
4510
  imports.wbg.__wbg_consent_unwrap = function(arg0) {
4470
4511
  const ret = Consent.__unwrap(arg0);
4471
4512
  return ret;
@@ -4543,7 +4584,7 @@ function __wbg_get_imports() {
4543
4584
  const a = state0.a;
4544
4585
  state0.a = 0;
4545
4586
  try {
4546
- return __wbg_adapter_611(a, state0.b, arg0, arg1, arg2);
4587
+ return __wbg_adapter_641(a, state0.b, arg0, arg1, arg2);
4547
4588
  } finally {
4548
4589
  state0.a = a;
4549
4590
  }
@@ -4554,14 +4595,14 @@ function __wbg_get_imports() {
4554
4595
  state0.a = state0.b = 0;
4555
4596
  }
4556
4597
  };
4557
- imports.wbg.__wbg_fetch_4465c2b10f21a927 = function(arg0) {
4558
- const ret = fetch(arg0);
4559
- return ret;
4560
- };
4561
4598
  imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
4562
4599
  const ret = arg0.fetch(arg1);
4563
4600
  return ret;
4564
4601
  };
4602
+ imports.wbg.__wbg_fetch_d36a73832f0a45e8 = function(arg0) {
4603
+ const ret = fetch(arg0);
4604
+ return ret;
4605
+ };
4565
4606
  imports.wbg.__wbg_fill_3311db9cdf18c6c4 = function(arg0, arg1, arg2, arg3) {
4566
4607
  const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
4567
4608
  return ret;
@@ -4573,7 +4614,7 @@ function __wbg_get_imports() {
4573
4614
  const a = state0.a;
4574
4615
  state0.a = 0;
4575
4616
  try {
4576
- return __wbg_adapter_611(a, state0.b, arg0, arg1, arg2);
4617
+ return __wbg_adapter_641(a, state0.b, arg0, arg1, arg2);
4577
4618
  } finally {
4578
4619
  state0.a = a;
4579
4620
  }
@@ -4627,6 +4668,9 @@ function __wbg_get_imports() {
4627
4668
  const ret = arg0.getMonth();
4628
4669
  return ret;
4629
4670
  };
4671
+ imports.wbg.__wbg_getRandomValues_21a0191e74d0e1d3 = function() { return handleError(function (arg0, arg1) {
4672
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
4673
+ }, arguments) };
4630
4674
  imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
4631
4675
  arg0.getRandomValues(arg1);
4632
4676
  }, arguments) };
@@ -4730,6 +4774,26 @@ function __wbg_get_imports() {
4730
4774
  const ret = result;
4731
4775
  return ret;
4732
4776
  };
4777
+ imports.wbg.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function(arg0) {
4778
+ let result;
4779
+ try {
4780
+ result = arg0 instanceof DOMException;
4781
+ } catch (_) {
4782
+ result = false;
4783
+ }
4784
+ const ret = result;
4785
+ return ret;
4786
+ };
4787
+ imports.wbg.__wbg_instanceof_Performance_0ac1286c87171f57 = function(arg0) {
4788
+ let result;
4789
+ try {
4790
+ result = arg0 instanceof Performance;
4791
+ } catch (_) {
4792
+ result = false;
4793
+ }
4794
+ const ret = result;
4795
+ return ret;
4796
+ };
4733
4797
  imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
4734
4798
  let result;
4735
4799
  try {
@@ -4826,6 +4890,13 @@ function __wbg_get_imports() {
4826
4890
  imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
4827
4891
  arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
4828
4892
  }, arguments) };
4893
+ imports.wbg.__wbg_message_5c5d919204d42400 = function(arg0, arg1) {
4894
+ const ret = arg1.message;
4895
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4896
+ const len1 = WASM_VECTOR_LEN;
4897
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4898
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4899
+ };
4829
4900
  imports.wbg.__wbg_message_new = function(arg0) {
4830
4901
  const ret = Message.__wrap(arg0);
4831
4902
  return ret;
@@ -4842,6 +4913,13 @@ function __wbg_get_imports() {
4842
4913
  const ret = arg0.msCrypto;
4843
4914
  return ret;
4844
4915
  };
4916
+ imports.wbg.__wbg_name_f2d27098bfd843e7 = function(arg0, arg1) {
4917
+ const ret = arg1.name;
4918
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4919
+ const len1 = WASM_VECTOR_LEN;
4920
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4921
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4922
+ };
4845
4923
  imports.wbg.__wbg_navigator_0a9bf1120e24fec2 = function(arg0) {
4846
4924
  const ret = arg0.navigator;
4847
4925
  return ret;
@@ -4861,7 +4939,7 @@ function __wbg_get_imports() {
4861
4939
  const a = state0.a;
4862
4940
  state0.a = 0;
4863
4941
  try {
4864
- return __wbg_adapter_712(a, state0.b, arg0, arg1);
4942
+ return __wbg_adapter_742(a, state0.b, arg0, arg1);
4865
4943
  } finally {
4866
4944
  state0.a = a;
4867
4945
  }
@@ -5072,10 +5150,18 @@ function __wbg_get_imports() {
5072
5150
  const ret = setInterval(arg0, arg1);
5073
5151
  return ret;
5074
5152
  }, arguments) };
5153
+ imports.wbg.__wbg_setTimeout_2e707715f8cc9497 = function(arg0, arg1) {
5154
+ const ret = setTimeout(arg0, arg1);
5155
+ return ret;
5156
+ };
5075
5157
  imports.wbg.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
5076
5158
  const ret = setTimeout(arg0, arg1);
5077
5159
  return ret;
5078
5160
  }, arguments) };
5161
+ imports.wbg.__wbg_setTimeout_eefe7f4c234b0c6b = function() { return handleError(function (arg0, arg1) {
5162
+ const ret = setTimeout(arg0, arg1);
5163
+ return ret;
5164
+ }, arguments) };
5079
5165
  imports.wbg.__wbg_setUint32_ad8826b8caeaf63d = function(arg0, arg1, arg2) {
5080
5166
  arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
5081
5167
  };
@@ -5268,12 +5354,20 @@ function __wbg_get_imports() {
5268
5354
  const ret = false;
5269
5355
  return ret;
5270
5356
  };
5271
- imports.wbg.__wbindgen_closure_wrapper16501 = function(arg0, arg1, arg2) {
5272
- const ret = makeMutClosure(arg0, arg1, 3792, __wbg_adapter_50);
5357
+ imports.wbg.__wbindgen_closure_wrapper15185 = function(arg0, arg1, arg2) {
5358
+ const ret = makeMutClosure(arg0, arg1, 3669, __wbg_adapter_50);
5359
+ return ret;
5360
+ };
5361
+ imports.wbg.__wbindgen_closure_wrapper15229 = function(arg0, arg1, arg2) {
5362
+ const ret = makeMutClosure(arg0, arg1, 3679, __wbg_adapter_53);
5363
+ return ret;
5364
+ };
5365
+ imports.wbg.__wbindgen_closure_wrapper18294 = function(arg0, arg1, arg2) {
5366
+ const ret = makeMutClosure(arg0, arg1, 3981, __wbg_adapter_56);
5273
5367
  return ret;
5274
5368
  };
5275
- imports.wbg.__wbindgen_closure_wrapper16780 = function(arg0, arg1, arg2) {
5276
- const ret = makeMutClosure(arg0, arg1, 3863, __wbg_adapter_53);
5369
+ imports.wbg.__wbindgen_closure_wrapper18414 = function(arg0, arg1, arg2) {
5370
+ const ret = makeMutClosure(arg0, arg1, 3995, __wbg_adapter_59);
5277
5371
  return ret;
5278
5372
  };
5279
5373
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file