@xmtp/wasm-bindings 1.6.0-dev.3656d63 → 1.6.0-dev.419b6dc

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.
@@ -11,16 +11,16 @@ function getUint8ArrayMemory0() {
11
11
  return cachedUint8ArrayMemory0;
12
12
  }
13
13
 
14
- let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
14
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
15
15
 
16
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
16
+ cachedTextDecoder.decode();
17
17
 
18
18
  const MAX_SAFARI_DECODE_BYTES = 2146435072;
19
19
  let numBytesDecoded = 0;
20
20
  function decodeText(ptr, len) {
21
21
  numBytesDecoded += len;
22
22
  if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
23
- cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
23
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
24
24
  cachedTextDecoder.decode();
25
25
  numBytesDecoded = len;
26
26
  }
@@ -34,20 +34,18 @@ function getStringFromWasm0(ptr, len) {
34
34
 
35
35
  let WASM_VECTOR_LEN = 0;
36
36
 
37
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
37
+ const cachedTextEncoder = new TextEncoder();
38
38
 
39
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
40
- ? function (arg, view) {
41
- return cachedTextEncoder.encodeInto(arg, view);
39
+ if (!('encodeInto' in cachedTextEncoder)) {
40
+ cachedTextEncoder.encodeInto = function (arg, view) {
41
+ const buf = cachedTextEncoder.encode(arg);
42
+ view.set(buf);
43
+ return {
44
+ read: arg.length,
45
+ written: buf.length
46
+ };
47
+ }
42
48
  }
43
- : function (arg, view) {
44
- const buf = cachedTextEncoder.encode(arg);
45
- view.set(buf);
46
- return {
47
- read: arg.length,
48
- written: buf.length
49
- };
50
- });
51
49
 
52
50
  function passStringToWasm0(arg, malloc, realloc) {
53
51
 
@@ -78,7 +76,7 @@ function passStringToWasm0(arg, malloc, realloc) {
78
76
  }
79
77
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
80
78
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
81
- const ret = encodeString(arg, view);
79
+ const ret = cachedTextEncoder.encodeInto(arg, view);
82
80
 
83
81
  offset += ret.written;
84
82
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -132,37 +130,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
132
130
  return result;
133
131
  }
134
132
 
135
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
136
- ? { register: () => {}, unregister: () => {} }
137
- : new FinalizationRegistry(state => {
138
- wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b)
139
- });
140
-
141
- function makeMutClosure(arg0, arg1, dtor, f) {
142
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
143
- const real = (...args) => {
144
- // First up with a closure we increment the internal reference
145
- // count. This ensures that the Rust closure environment won't
146
- // be deallocated while we're invoking it.
147
- state.cnt++;
148
- const a = state.a;
149
- state.a = 0;
150
- try {
151
- return f(a, state.b, ...args);
152
- } finally {
153
- if (--state.cnt === 0) {
154
- wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
155
- CLOSURE_DTORS.unregister(state);
156
- } else {
157
- state.a = a;
158
- }
159
- }
160
- };
161
- real.original = state;
162
- CLOSURE_DTORS.register(real, state, state);
163
- return real;
164
- }
165
-
166
133
  function debugString(val) {
167
134
  // primitive types
168
135
  const type = typeof val;
@@ -228,50 +195,58 @@ function debugString(val) {
228
195
  return className;
229
196
  }
230
197
 
198
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
199
+ ? { register: () => {}, unregister: () => {} }
200
+ : new FinalizationRegistry(
201
+ state => {
202
+ wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b);
203
+ }
204
+ );
205
+
206
+ function makeMutClosure(arg0, arg1, dtor, f) {
207
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
208
+ const real = (...args) => {
209
+
210
+ // First up with a closure we increment the internal reference
211
+ // count. This ensures that the Rust closure environment won't
212
+ // be deallocated while we're invoking it.
213
+ state.cnt++;
214
+ const a = state.a;
215
+ state.a = 0;
216
+ try {
217
+ return f(a, state.b, ...args);
218
+ } finally {
219
+ if (--state.cnt === 0) {
220
+ wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
221
+ CLOSURE_DTORS.unregister(state);
222
+ } else {
223
+ state.a = a;
224
+ }
225
+ }
226
+ };
227
+ real.original = state;
228
+ CLOSURE_DTORS.register(real, state, state);
229
+ return real;
230
+ }
231
+
231
232
  function takeFromExternrefTable0(idx) {
232
233
  const value = wasm.__wbindgen_export_4.get(idx);
233
234
  wasm.__externref_table_dealloc(idx);
234
235
  return value;
235
236
  }
236
237
 
238
+ function passArray8ToWasm0(arg, malloc) {
239
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
240
+ getUint8ArrayMemory0().set(arg, ptr / 1);
241
+ WASM_VECTOR_LEN = arg.length;
242
+ return ptr;
243
+ }
244
+
237
245
  function _assertClass(instance, klass) {
238
246
  if (!(instance instanceof klass)) {
239
247
  throw new Error(`expected instance of ${klass.name}`);
240
248
  }
241
249
  }
242
- /**
243
- * @param {string} host
244
- * @param {string} inbox_id
245
- * @param {Identifier} account_identifier
246
- * @param {string | null} [db_path]
247
- * @param {Uint8Array | null} [encryption_key]
248
- * @param {string | null} [device_sync_server_url]
249
- * @param {DeviceSyncWorkerMode | null} [device_sync_worker_mode]
250
- * @param {LogOptions | null} [log_options]
251
- * @param {boolean | null} [allow_offline]
252
- * @param {boolean | null} [disable_events]
253
- * @param {string | null} [app_version]
254
- * @returns {Promise<Client>}
255
- */
256
- export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version) {
257
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
258
- const len0 = WASM_VECTOR_LEN;
259
- const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
260
- const len1 = WASM_VECTOR_LEN;
261
- var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
262
- var len2 = WASM_VECTOR_LEN;
263
- var ptr3 = isLikeNone(device_sync_server_url) ? 0 : passStringToWasm0(device_sync_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
264
- var len3 = WASM_VECTOR_LEN;
265
- let ptr4 = 0;
266
- if (!isLikeNone(log_options)) {
267
- _assertClass(log_options, LogOptions);
268
- ptr4 = log_options.__destroy_into_raw();
269
- }
270
- var ptr5 = isLikeNone(app_version) ? 0 : passStringToWasm0(app_version, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
271
- var len5 = WASM_VECTOR_LEN;
272
- 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, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5);
273
- return ret;
274
- }
275
250
 
276
251
  function passArrayJsValueToWasm0(array, malloc) {
277
252
  const ptr = malloc(array.length * 4, 4) >>> 0;
@@ -282,13 +257,60 @@ function passArrayJsValueToWasm0(array, malloc) {
282
257
  WASM_VECTOR_LEN = array.length;
283
258
  return ptr;
284
259
  }
260
+ /**
261
+ * @param {string} signature_text
262
+ * @param {Uint8Array} signature_bytes
263
+ * @param {Uint8Array} public_key
264
+ */
265
+ export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
266
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
267
+ const len0 = WASM_VECTOR_LEN;
268
+ const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
269
+ if (ret[1]) {
270
+ throw takeFromExternrefTable0(ret[0]);
271
+ }
272
+ }
285
273
 
286
- function passArray8ToWasm0(arg, malloc) {
287
- const ptr = malloc(arg.length * 1, 1) >>> 0;
288
- getUint8ArrayMemory0().set(arg, ptr / 1);
289
- WASM_VECTOR_LEN = arg.length;
290
- return ptr;
274
+ /**
275
+ * @param {string} v3_host
276
+ * @param {string | null | undefined} gateway_host
277
+ * @param {Identifier} recovery_identifier
278
+ * @param {string} inbox_id
279
+ * @param {Uint8Array[]} installation_ids
280
+ * @returns {SignatureRequestHandle}
281
+ */
282
+ export function revokeInstallationsSignatureRequest(v3_host, gateway_host, recovery_identifier, inbox_id, installation_ids) {
283
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
284
+ const len0 = WASM_VECTOR_LEN;
285
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
286
+ var len1 = WASM_VECTOR_LEN;
287
+ const ptr2 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
288
+ const len2 = WASM_VECTOR_LEN;
289
+ const ptr3 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
290
+ const len3 = WASM_VECTOR_LEN;
291
+ const ret = wasm.revokeInstallationsSignatureRequest(ptr0, len0, ptr1, len1, recovery_identifier, ptr2, len2, ptr3, len3);
292
+ if (ret[2]) {
293
+ throw takeFromExternrefTable0(ret[1]);
294
+ }
295
+ return SignatureRequestHandle.__wrap(ret[0]);
291
296
  }
297
+
298
+ /**
299
+ * @param {string} v3_host
300
+ * @param {string | null | undefined} gateway_host
301
+ * @param {SignatureRequestHandle} signature_request
302
+ * @returns {Promise<void>}
303
+ */
304
+ export function applySignatureRequest(v3_host, gateway_host, signature_request) {
305
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
306
+ const len0 = WASM_VECTOR_LEN;
307
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
308
+ var len1 = WASM_VECTOR_LEN;
309
+ _assertClass(signature_request, SignatureRequestHandle);
310
+ const ret = wasm.applySignatureRequest(ptr0, len0, ptr1, len1, signature_request.__wbg_ptr);
311
+ return ret;
312
+ }
313
+
292
314
  /**
293
315
  * @param {MultiRemoteAttachment} multiRemoteAttachment
294
316
  * @returns {Uint8Array}
@@ -342,62 +364,17 @@ export function decodeReaction(bytes) {
342
364
  }
343
365
 
344
366
  /**
345
- * @param {string} signature_text
346
- * @param {Uint8Array} signature_bytes
347
- * @param {Uint8Array} public_key
348
- */
349
- export function verifySignedWithPublicKey(signature_text, signature_bytes, public_key) {
350
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
351
- const len0 = WASM_VECTOR_LEN;
352
- const ret = wasm.verifySignedWithPublicKey(ptr0, len0, signature_bytes, public_key);
353
- if (ret[1]) {
354
- throw takeFromExternrefTable0(ret[0]);
355
- }
356
- }
357
-
358
- /**
359
- * @param {string} host
360
- * @param {Identifier} recovery_identifier
361
- * @param {string} inbox_id
362
- * @param {Uint8Array[]} installation_ids
363
- * @returns {SignatureRequestHandle}
364
- */
365
- export function revokeInstallationsSignatureRequest(host, recovery_identifier, inbox_id, installation_ids) {
366
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
367
- const len0 = WASM_VECTOR_LEN;
368
- const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
369
- const len1 = WASM_VECTOR_LEN;
370
- const ptr2 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
371
- const len2 = WASM_VECTOR_LEN;
372
- const ret = wasm.revokeInstallationsSignatureRequest(ptr0, len0, recovery_identifier, ptr1, len1, ptr2, len2);
373
- if (ret[2]) {
374
- throw takeFromExternrefTable0(ret[1]);
375
- }
376
- return SignatureRequestHandle.__wrap(ret[0]);
377
- }
378
-
379
- /**
380
- * @param {string} host
381
- * @param {SignatureRequestHandle} signature_request
382
- * @returns {Promise<void>}
383
- */
384
- export function applySignatureRequest(host, signature_request) {
385
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
386
- const len0 = WASM_VECTOR_LEN;
387
- _assertClass(signature_request, SignatureRequestHandle);
388
- const ret = wasm.applySignatureRequest(ptr0, len0, signature_request.__wbg_ptr);
389
- return ret;
390
- }
391
-
392
- /**
393
- * @param {string} host
367
+ * @param {string} v3_host
368
+ * @param {string | null | undefined} gateway_host
394
369
  * @param {Identifier} accountIdentifier
395
370
  * @returns {Promise<string | undefined>}
396
371
  */
397
- export function getInboxIdForIdentifier(host, accountIdentifier) {
398
- const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
372
+ export function getInboxIdForIdentifier(v3_host, gateway_host, accountIdentifier) {
373
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
399
374
  const len0 = WASM_VECTOR_LEN;
400
- const ret = wasm.getInboxIdForIdentifier(ptr0, len0, accountIdentifier);
375
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
376
+ var len1 = WASM_VECTOR_LEN;
377
+ const ret = wasm.getInboxIdForIdentifier(ptr0, len0, ptr1, len1, accountIdentifier);
401
378
  return ret;
402
379
  }
403
380
 
@@ -425,16 +402,56 @@ export function generateInboxId(accountIdentifier) {
425
402
  }
426
403
 
427
404
  /**
428
- * @param {string} host
405
+ * @param {string} v3_host
406
+ * @param {string | null | undefined} gateway_host
429
407
  * @param {string[]} inbox_ids
430
408
  * @returns {Promise<InboxState[]>}
431
409
  */
432
- export function inboxStateFromInboxIds(host, inbox_ids) {
410
+ export function inboxStateFromInboxIds(v3_host, gateway_host, inbox_ids) {
411
+ const ptr0 = passStringToWasm0(v3_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
412
+ const len0 = WASM_VECTOR_LEN;
413
+ var ptr1 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
414
+ var len1 = WASM_VECTOR_LEN;
415
+ const ptr2 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
416
+ const len2 = WASM_VECTOR_LEN;
417
+ const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1, ptr2, len2);
418
+ return ret;
419
+ }
420
+
421
+ /**
422
+ * @param {string} host
423
+ * @param {string} inbox_id
424
+ * @param {Identifier} account_identifier
425
+ * @param {string | null} [db_path]
426
+ * @param {Uint8Array | null} [encryption_key]
427
+ * @param {string | null} [device_sync_server_url]
428
+ * @param {DeviceSyncWorkerMode | null} [device_sync_worker_mode]
429
+ * @param {LogOptions | null} [log_options]
430
+ * @param {boolean | null} [allow_offline]
431
+ * @param {boolean | null} [disable_events]
432
+ * @param {string | null} [app_version]
433
+ * @param {string | null} [gateway_host]
434
+ * @returns {Promise<Client>}
435
+ */
436
+ export function createClient(host, inbox_id, account_identifier, db_path, encryption_key, device_sync_server_url, device_sync_worker_mode, log_options, allow_offline, disable_events, app_version, gateway_host) {
433
437
  const ptr0 = passStringToWasm0(host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
434
438
  const len0 = WASM_VECTOR_LEN;
435
- const ptr1 = passArrayJsValueToWasm0(inbox_ids, wasm.__wbindgen_malloc);
439
+ const ptr1 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
436
440
  const len1 = WASM_VECTOR_LEN;
437
- const ret = wasm.inboxStateFromInboxIds(ptr0, len0, ptr1, len1);
441
+ var ptr2 = isLikeNone(db_path) ? 0 : passStringToWasm0(db_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
442
+ var len2 = WASM_VECTOR_LEN;
443
+ var ptr3 = isLikeNone(device_sync_server_url) ? 0 : passStringToWasm0(device_sync_server_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
444
+ var len3 = WASM_VECTOR_LEN;
445
+ let ptr4 = 0;
446
+ if (!isLikeNone(log_options)) {
447
+ _assertClass(log_options, LogOptions);
448
+ ptr4 = log_options.__destroy_into_raw();
449
+ }
450
+ var ptr5 = isLikeNone(app_version) ? 0 : passStringToWasm0(app_version, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
451
+ var len5 = WASM_VECTOR_LEN;
452
+ var ptr6 = isLikeNone(gateway_host) ? 0 : passStringToWasm0(gateway_host, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
453
+ var len6 = WASM_VECTOR_LEN;
454
+ 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, isLikeNone(allow_offline) ? 0xFFFFFF : allow_offline ? 1 : 0, isLikeNone(disable_events) ? 0xFFFFFF : disable_events ? 1 : 0, ptr5, len5, ptr6, len6);
438
455
  return ret;
439
456
  }
440
457
 
@@ -449,24 +466,24 @@ export function task_worker_entry_point(ptr) {
449
466
  }
450
467
  }
451
468
 
452
- function __wbg_adapter_48(arg0, arg1) {
453
- wasm.wasm_bindgen__convert__closures_____invoke__hf1da1e5ad7398b09(arg0, arg1);
469
+ function __wbg_adapter_14(arg0, arg1) {
470
+ wasm.wasm_bindgen__convert__closures_____invoke__ha8342c4eebc28ece(arg0, arg1);
454
471
  }
455
472
 
456
- function __wbg_adapter_51(arg0, arg1) {
457
- wasm.wasm_bindgen__convert__closures_____invoke__h7637509b4f7e8710(arg0, arg1);
473
+ function __wbg_adapter_19(arg0, arg1) {
474
+ wasm.wasm_bindgen__convert__closures_____invoke__h4b9132d070774788(arg0, arg1);
458
475
  }
459
476
 
460
- function __wbg_adapter_54(arg0, arg1) {
461
- wasm.wasm_bindgen__convert__closures_____invoke__hfa5440517c90e88d(arg0, arg1);
477
+ function __wbg_adapter_30(arg0, arg1) {
478
+ wasm.wasm_bindgen__convert__closures_____invoke__h6553f0a100c562a9(arg0, arg1);
462
479
  }
463
480
 
464
- function __wbg_adapter_57(arg0, arg1, arg2) {
465
- wasm.closure5613_externref_shim(arg0, arg1, arg2);
481
+ function __wbg_adapter_33(arg0, arg1, arg2) {
482
+ wasm.closure6979_externref_shim(arg0, arg1, arg2);
466
483
  }
467
484
 
468
- function __wbg_adapter_942(arg0, arg1, arg2, arg3) {
469
- wasm.closure6580_externref_shim(arg0, arg1, arg2, arg3);
485
+ function __wbg_adapter_930(arg0, arg1, arg2, arg3) {
486
+ wasm.closure7944_externref_shim(arg0, arg1, arg2, arg3);
470
487
  }
471
488
 
472
489
  /**
@@ -517,13 +534,14 @@ export const DeliveryStatus = Object.freeze({
517
534
  Failed: 2, "2": "Failed",
518
535
  });
519
536
  /**
520
- * @enum {0 | 1 | 2 | 3}
537
+ * @enum {0 | 1 | 2 | 3 | 4}
521
538
  */
522
539
  export const GroupMembershipState = Object.freeze({
523
540
  Allowed: 0, "0": "Allowed",
524
541
  Rejected: 1, "1": "Rejected",
525
542
  Pending: 2, "2": "Pending",
526
543
  Restored: 3, "3": "Restored",
544
+ PendingRemove: 4, "4": "PendingRemove",
527
545
  });
528
546
  /**
529
547
  * @enum {0 | 1}
@@ -783,6 +801,7 @@ export class ApiStats {
783
801
  wasm.__wbg_set_apistats_subscribe_welcomes(this.__wbg_ptr, arg0);
784
802
  }
785
803
  }
804
+ if (Symbol.dispose) ApiStats.prototype[Symbol.dispose] = ApiStats.prototype.free;
786
805
 
787
806
  const AttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
788
807
  ? { register: () => {}, unregister: () => {} }
@@ -847,54 +866,210 @@ export class Attachment {
847
866
  /**
848
867
  * @param {string} arg0
849
868
  */
850
- set mimeType(arg0) {
851
- const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
869
+ set mimeType(arg0) {
870
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
871
+ const len0 = WASM_VECTOR_LEN;
872
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
873
+ }
874
+ /**
875
+ * @returns {Uint8Array}
876
+ */
877
+ get content() {
878
+ const ret = wasm.__wbg_get_attachment_content(this.__wbg_ptr);
879
+ var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
880
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
881
+ return v1;
882
+ }
883
+ /**
884
+ * @param {Uint8Array} arg0
885
+ */
886
+ set content(arg0) {
887
+ const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
888
+ const len0 = WASM_VECTOR_LEN;
889
+ wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
890
+ }
891
+ }
892
+ if (Symbol.dispose) Attachment.prototype[Symbol.dispose] = Attachment.prototype.free;
893
+
894
+ const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
895
+ ? { register: () => {}, unregister: () => {} }
896
+ : new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr >>> 0, 1));
897
+
898
+ export class Client {
899
+
900
+ static __wrap(ptr) {
901
+ ptr = ptr >>> 0;
902
+ const obj = Object.create(Client.prototype);
903
+ obj.__wbg_ptr = ptr;
904
+ ClientFinalization.register(obj, obj.__wbg_ptr, obj);
905
+ return obj;
906
+ }
907
+
908
+ __destroy_into_raw() {
909
+ const ptr = this.__wbg_ptr;
910
+ this.__wbg_ptr = 0;
911
+ ClientFinalization.unregister(this);
912
+ return ptr;
913
+ }
914
+
915
+ free() {
916
+ const ptr = this.__destroy_into_raw();
917
+ wasm.__wbg_client_free(ptr, 0);
918
+ }
919
+ /**
920
+ * @returns {SignatureRequestHandle | undefined}
921
+ */
922
+ createInboxSignatureRequest() {
923
+ const ret = wasm.client_createInboxSignatureRequest(this.__wbg_ptr);
924
+ if (ret[2]) {
925
+ throw takeFromExternrefTable0(ret[1]);
926
+ }
927
+ return ret[0] === 0 ? undefined : SignatureRequestHandle.__wrap(ret[0]);
928
+ }
929
+ /**
930
+ * @param {Identifier} new_identifier
931
+ * @returns {Promise<SignatureRequestHandle>}
932
+ */
933
+ addWalletSignatureRequest(new_identifier) {
934
+ const ret = wasm.client_addWalletSignatureRequest(this.__wbg_ptr, new_identifier);
935
+ return ret;
936
+ }
937
+ /**
938
+ * @param {Identifier} identifier
939
+ * @returns {Promise<SignatureRequestHandle>}
940
+ */
941
+ revokeWalletSignatureRequest(identifier) {
942
+ const ret = wasm.client_revokeWalletSignatureRequest(this.__wbg_ptr, identifier);
943
+ return ret;
944
+ }
945
+ /**
946
+ * @returns {Promise<SignatureRequestHandle>}
947
+ */
948
+ revokeAllOtherInstallationsSignatureRequest() {
949
+ const ret = wasm.client_revokeAllOtherInstallationsSignatureRequest(this.__wbg_ptr);
950
+ return ret;
951
+ }
952
+ /**
953
+ * @param {Uint8Array[]} installation_ids
954
+ * @returns {Promise<SignatureRequestHandle>}
955
+ */
956
+ revokeInstallationsSignatureRequest(installation_ids) {
957
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
958
+ const len0 = WASM_VECTOR_LEN;
959
+ const ret = wasm.client_revokeInstallationsSignatureRequest(this.__wbg_ptr, ptr0, len0);
960
+ return ret;
961
+ }
962
+ /**
963
+ * @param {Identifier} new_recovery_identifier
964
+ * @returns {Promise<SignatureRequestHandle>}
965
+ */
966
+ changeRecoveryIdentifierSignatureRequest(new_recovery_identifier) {
967
+ const ret = wasm.client_changeRecoveryIdentifierSignatureRequest(this.__wbg_ptr, new_recovery_identifier);
968
+ return ret;
969
+ }
970
+ /**
971
+ * @param {SignatureRequestHandle} signature_request
972
+ * @returns {Promise<void>}
973
+ */
974
+ applySignatureRequest(signature_request) {
975
+ _assertClass(signature_request, SignatureRequestHandle);
976
+ const ret = wasm.client_applySignatureRequest(this.__wbg_ptr, signature_request.__wbg_ptr);
977
+ return ret;
978
+ }
979
+ /**
980
+ * @param {SignatureRequestHandle} signature_request
981
+ * @returns {Promise<void>}
982
+ */
983
+ registerIdentity(signature_request) {
984
+ _assertClass(signature_request, SignatureRequestHandle);
985
+ var ptr0 = signature_request.__destroy_into_raw();
986
+ const ret = wasm.client_registerIdentity(this.__wbg_ptr, ptr0);
987
+ return ret;
988
+ }
989
+ /**
990
+ * @param {string} signature_text
991
+ * @returns {Uint8Array}
992
+ */
993
+ signWithInstallationKey(signature_text) {
994
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
995
+ const len0 = WASM_VECTOR_LEN;
996
+ const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
997
+ if (ret[2]) {
998
+ throw takeFromExternrefTable0(ret[1]);
999
+ }
1000
+ return takeFromExternrefTable0(ret[0]);
1001
+ }
1002
+ /**
1003
+ * @param {string} signature_text
1004
+ * @param {Uint8Array} signature_bytes
1005
+ */
1006
+ verifySignedWithInstallationKey(signature_text, signature_bytes) {
1007
+ const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1008
+ const len0 = WASM_VECTOR_LEN;
1009
+ const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
1010
+ if (ret[1]) {
1011
+ throw takeFromExternrefTable0(ret[0]);
1012
+ }
1013
+ }
1014
+ /**
1015
+ * @param {Consent[]} records
1016
+ * @returns {Promise<void>}
1017
+ */
1018
+ setConsentStates(records) {
1019
+ const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
1020
+ const len0 = WASM_VECTOR_LEN;
1021
+ const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
1022
+ return ret;
1023
+ }
1024
+ /**
1025
+ * @param {ConsentEntityType} entity_type
1026
+ * @param {string} entity
1027
+ * @returns {Promise<ConsentState>}
1028
+ */
1029
+ getConsentState(entity_type, entity) {
1030
+ const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
852
1031
  const len0 = WASM_VECTOR_LEN;
853
- wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
1032
+ const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
1033
+ return ret;
854
1034
  }
855
1035
  /**
856
- * @returns {Uint8Array}
1036
+ *
1037
+ * * Get the client's inbox state.
1038
+ * *
1039
+ * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1040
+ * * Otherwise, the state will be read from the local database.
1041
+ *
1042
+ * @param {boolean} refresh_from_network
1043
+ * @returns {Promise<InboxState>}
857
1044
  */
858
- get content() {
859
- const ret = wasm.__wbg_get_attachment_content(this.__wbg_ptr);
860
- var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
861
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
862
- return v1;
1045
+ inboxState(refresh_from_network) {
1046
+ const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1047
+ return ret;
863
1048
  }
864
1049
  /**
865
- * @param {Uint8Array} arg0
1050
+ * @param {string} inbox_id
1051
+ * @returns {Promise<InboxState>}
866
1052
  */
867
- set content(arg0) {
868
- const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
1053
+ getLatestInboxState(inbox_id) {
1054
+ const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
869
1055
  const len0 = WASM_VECTOR_LEN;
870
- wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
871
- }
872
- }
873
-
874
- const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
875
- ? { register: () => {}, unregister: () => {} }
876
- : new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr >>> 0, 1));
877
-
878
- export class Client {
879
-
880
- static __wrap(ptr) {
881
- ptr = ptr >>> 0;
882
- const obj = Object.create(Client.prototype);
883
- obj.__wbg_ptr = ptr;
884
- ClientFinalization.register(obj, obj.__wbg_ptr, obj);
885
- return obj;
886
- }
887
-
888
- __destroy_into_raw() {
889
- const ptr = this.__wbg_ptr;
890
- this.__wbg_ptr = 0;
891
- ClientFinalization.unregister(this);
892
- return ptr;
1056
+ const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1057
+ return ret;
893
1058
  }
894
-
895
- free() {
896
- const ptr = this.__destroy_into_raw();
897
- wasm.__wbg_client_free(ptr, 0);
1059
+ /**
1060
+ *
1061
+ * * Get key package statuses for a list of installation IDs.
1062
+ * *
1063
+ * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1064
+ *
1065
+ * @param {string[]} installation_ids
1066
+ * @returns {Promise<any>}
1067
+ */
1068
+ getKeyPackageStatusesForInstallationIds(installation_ids) {
1069
+ const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1070
+ const len0 = WASM_VECTOR_LEN;
1071
+ const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1072
+ return ret;
898
1073
  }
899
1074
  /**
900
1075
  * @returns {Identifier}
@@ -1093,162 +1268,8 @@ export class Client {
1093
1268
  const ret = wasm.client_messageV2(this.__wbg_ptr, ptr0, len0);
1094
1269
  return ret;
1095
1270
  }
1096
- /**
1097
- * @returns {SignatureRequestHandle | undefined}
1098
- */
1099
- createInboxSignatureRequest() {
1100
- const ret = wasm.client_createInboxSignatureRequest(this.__wbg_ptr);
1101
- if (ret[2]) {
1102
- throw takeFromExternrefTable0(ret[1]);
1103
- }
1104
- return ret[0] === 0 ? undefined : SignatureRequestHandle.__wrap(ret[0]);
1105
- }
1106
- /**
1107
- * @param {Identifier} new_identifier
1108
- * @returns {Promise<SignatureRequestHandle>}
1109
- */
1110
- addWalletSignatureRequest(new_identifier) {
1111
- const ret = wasm.client_addWalletSignatureRequest(this.__wbg_ptr, new_identifier);
1112
- return ret;
1113
- }
1114
- /**
1115
- * @param {Identifier} identifier
1116
- * @returns {Promise<SignatureRequestHandle>}
1117
- */
1118
- revokeWalletSignatureRequest(identifier) {
1119
- const ret = wasm.client_revokeWalletSignatureRequest(this.__wbg_ptr, identifier);
1120
- return ret;
1121
- }
1122
- /**
1123
- * @returns {Promise<SignatureRequestHandle>}
1124
- */
1125
- revokeAllOtherInstallationsSignatureRequest() {
1126
- const ret = wasm.client_revokeAllOtherInstallationsSignatureRequest(this.__wbg_ptr);
1127
- return ret;
1128
- }
1129
- /**
1130
- * @param {Uint8Array[]} installation_ids
1131
- * @returns {Promise<SignatureRequestHandle>}
1132
- */
1133
- revokeInstallationsSignatureRequest(installation_ids) {
1134
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1135
- const len0 = WASM_VECTOR_LEN;
1136
- const ret = wasm.client_revokeInstallationsSignatureRequest(this.__wbg_ptr, ptr0, len0);
1137
- return ret;
1138
- }
1139
- /**
1140
- * @param {Identifier} new_recovery_identifier
1141
- * @returns {Promise<SignatureRequestHandle>}
1142
- */
1143
- changeRecoveryIdentifierSignatureRequest(new_recovery_identifier) {
1144
- const ret = wasm.client_changeRecoveryIdentifierSignatureRequest(this.__wbg_ptr, new_recovery_identifier);
1145
- return ret;
1146
- }
1147
- /**
1148
- * @param {SignatureRequestHandle} signature_request
1149
- * @returns {Promise<void>}
1150
- */
1151
- applySignatureRequest(signature_request) {
1152
- _assertClass(signature_request, SignatureRequestHandle);
1153
- const ret = wasm.client_applySignatureRequest(this.__wbg_ptr, signature_request.__wbg_ptr);
1154
- return ret;
1155
- }
1156
- /**
1157
- * @param {SignatureRequestHandle} signature_request
1158
- * @returns {Promise<void>}
1159
- */
1160
- registerIdentity(signature_request) {
1161
- _assertClass(signature_request, SignatureRequestHandle);
1162
- var ptr0 = signature_request.__destroy_into_raw();
1163
- const ret = wasm.client_registerIdentity(this.__wbg_ptr, ptr0);
1164
- return ret;
1165
- }
1166
- /**
1167
- * @param {string} signature_text
1168
- * @returns {Uint8Array}
1169
- */
1170
- signWithInstallationKey(signature_text) {
1171
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1172
- const len0 = WASM_VECTOR_LEN;
1173
- const ret = wasm.client_signWithInstallationKey(this.__wbg_ptr, ptr0, len0);
1174
- if (ret[2]) {
1175
- throw takeFromExternrefTable0(ret[1]);
1176
- }
1177
- return takeFromExternrefTable0(ret[0]);
1178
- }
1179
- /**
1180
- * @param {string} signature_text
1181
- * @param {Uint8Array} signature_bytes
1182
- */
1183
- verifySignedWithInstallationKey(signature_text, signature_bytes) {
1184
- const ptr0 = passStringToWasm0(signature_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1185
- const len0 = WASM_VECTOR_LEN;
1186
- const ret = wasm.client_verifySignedWithInstallationKey(this.__wbg_ptr, ptr0, len0, signature_bytes);
1187
- if (ret[1]) {
1188
- throw takeFromExternrefTable0(ret[0]);
1189
- }
1190
- }
1191
- /**
1192
- * @param {Consent[]} records
1193
- * @returns {Promise<void>}
1194
- */
1195
- setConsentStates(records) {
1196
- const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
1197
- const len0 = WASM_VECTOR_LEN;
1198
- const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
1199
- return ret;
1200
- }
1201
- /**
1202
- * @param {ConsentEntityType} entity_type
1203
- * @param {string} entity
1204
- * @returns {Promise<ConsentState>}
1205
- */
1206
- getConsentState(entity_type, entity) {
1207
- const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1208
- const len0 = WASM_VECTOR_LEN;
1209
- const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
1210
- return ret;
1211
- }
1212
- /**
1213
- *
1214
- * * Get the client's inbox state.
1215
- * *
1216
- * * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
1217
- * * Otherwise, the state will be read from the local database.
1218
- *
1219
- * @param {boolean} refresh_from_network
1220
- * @returns {Promise<InboxState>}
1221
- */
1222
- inboxState(refresh_from_network) {
1223
- const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
1224
- return ret;
1225
- }
1226
- /**
1227
- * @param {string} inbox_id
1228
- * @returns {Promise<InboxState>}
1229
- */
1230
- getLatestInboxState(inbox_id) {
1231
- const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1232
- const len0 = WASM_VECTOR_LEN;
1233
- const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
1234
- return ret;
1235
- }
1236
- /**
1237
- *
1238
- * * Get key package statuses for a list of installation IDs.
1239
- * *
1240
- * * Returns a JavaScript object mapping installation ID strings to KeyPackageStatus objects.
1241
- *
1242
- * @param {string[]} installation_ids
1243
- * @returns {Promise<any>}
1244
- */
1245
- getKeyPackageStatusesForInstallationIds(installation_ids) {
1246
- const ptr0 = passArrayJsValueToWasm0(installation_ids, wasm.__wbindgen_malloc);
1247
- const len0 = WASM_VECTOR_LEN;
1248
- const ret = wasm.client_getKeyPackageStatusesForInstallationIds(this.__wbg_ptr, ptr0, len0);
1249
- return ret;
1250
- }
1251
1271
  }
1272
+ if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
1252
1273
 
1253
1274
  const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
1254
1275
  ? { register: () => {}, unregister: () => {} }
@@ -1321,7 +1342,7 @@ export class Consent {
1321
1342
  set entity(arg0) {
1322
1343
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1323
1344
  const len0 = WASM_VECTOR_LEN;
1324
- wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
1345
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
1325
1346
  }
1326
1347
  /**
1327
1348
  * @param {ConsentEntityType} entity_type
@@ -1337,6 +1358,7 @@ export class Consent {
1337
1358
  return this;
1338
1359
  }
1339
1360
  }
1361
+ if (Symbol.dispose) Consent.prototype[Symbol.dispose] = Consent.prototype.free;
1340
1362
 
1341
1363
  const ContentTypeIdFinalization = (typeof FinalizationRegistry === 'undefined')
1342
1364
  ? { register: () => {}, unregister: () => {} }
@@ -1452,6 +1474,7 @@ export class ContentTypeId {
1452
1474
  return this;
1453
1475
  }
1454
1476
  }
1477
+ if (Symbol.dispose) ContentTypeId.prototype[Symbol.dispose] = ContentTypeId.prototype.free;
1455
1478
 
1456
1479
  const ConversationFinalization = (typeof FinalizationRegistry === 'undefined')
1457
1480
  ? { register: () => {}, unregister: () => {} }
@@ -2031,6 +2054,7 @@ export class Conversation {
2031
2054
  return ret;
2032
2055
  }
2033
2056
  }
2057
+ if (Symbol.dispose) Conversation.prototype[Symbol.dispose] = Conversation.prototype.free;
2034
2058
 
2035
2059
  const ConversationDebugInfoFinalization = (typeof FinalizationRegistry === 'undefined')
2036
2060
  ? { register: () => {}, unregister: () => {} }
@@ -2158,19 +2182,24 @@ export class ConversationDebugInfo {
2158
2182
  wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
2159
2183
  }
2160
2184
  /**
2161
- * @returns {bigint}
2185
+ * @returns {XmtpCursor[]}
2162
2186
  */
2163
2187
  get cursor() {
2164
2188
  const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
2165
- return ret;
2189
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2190
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2191
+ return v1;
2166
2192
  }
2167
2193
  /**
2168
- * @param {bigint} arg0
2194
+ * @param {XmtpCursor[]} arg0
2169
2195
  */
2170
2196
  set cursor(arg0) {
2171
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
2197
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
2198
+ const len0 = WASM_VECTOR_LEN;
2199
+ wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, ptr0, len0);
2172
2200
  }
2173
2201
  }
2202
+ if (Symbol.dispose) ConversationDebugInfo.prototype[Symbol.dispose] = ConversationDebugInfo.prototype.free;
2174
2203
 
2175
2204
  const ConversationListItemFinalization = (typeof FinalizationRegistry === 'undefined')
2176
2205
  ? { register: () => {}, unregister: () => {} }
@@ -2262,6 +2291,7 @@ export class ConversationListItem {
2262
2291
  return this;
2263
2292
  }
2264
2293
  }
2294
+ if (Symbol.dispose) ConversationListItem.prototype[Symbol.dispose] = ConversationListItem.prototype.free;
2265
2295
 
2266
2296
  const ConversationsFinalization = (typeof FinalizationRegistry === 'undefined')
2267
2297
  ? { register: () => {}, unregister: () => {} }
@@ -2507,6 +2537,7 @@ export class Conversations {
2507
2537
  return StreamCloser.__wrap(ret[0]);
2508
2538
  }
2509
2539
  }
2540
+ if (Symbol.dispose) Conversations.prototype[Symbol.dispose] = Conversations.prototype.free;
2510
2541
 
2511
2542
  const CreateDMOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
2512
2543
  ? { register: () => {}, unregister: () => {} }
@@ -2558,6 +2589,7 @@ export class CreateDMOptions {
2558
2589
  return this;
2559
2590
  }
2560
2591
  }
2592
+ if (Symbol.dispose) CreateDMOptions.prototype[Symbol.dispose] = CreateDMOptions.prototype.free;
2561
2593
 
2562
2594
  const CreateGroupOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
2563
2595
  ? { register: () => {}, unregister: () => {} }
@@ -2716,6 +2748,7 @@ export class CreateGroupOptions {
2716
2748
  return this;
2717
2749
  }
2718
2750
  }
2751
+ if (Symbol.dispose) CreateGroupOptions.prototype[Symbol.dispose] = CreateGroupOptions.prototype.free;
2719
2752
 
2720
2753
  const DecodedMessageFinalization = (typeof FinalizationRegistry === 'undefined')
2721
2754
  ? { register: () => {}, unregister: () => {} }
@@ -2943,6 +2976,7 @@ export class DecodedMessage {
2943
2976
  wasm.__wbg_set_decodedmessage_num_replies(this.__wbg_ptr, arg0);
2944
2977
  }
2945
2978
  }
2979
+ if (Symbol.dispose) DecodedMessage.prototype[Symbol.dispose] = DecodedMessage.prototype.free;
2946
2980
 
2947
2981
  const DecodedMessageContentFinalization = (typeof FinalizationRegistry === 'undefined')
2948
2982
  ? { register: () => {}, unregister: () => {} }
@@ -3057,6 +3091,7 @@ export class DecodedMessageContent {
3057
3091
  return ret === 0 ? undefined : EncodedContent.__wrap(ret);
3058
3092
  }
3059
3093
  }
3094
+ if (Symbol.dispose) DecodedMessageContent.prototype[Symbol.dispose] = DecodedMessageContent.prototype.free;
3060
3095
 
3061
3096
  const EncodedContentFinalization = (typeof FinalizationRegistry === 'undefined')
3062
3097
  ? { register: () => {}, unregister: () => {} }
@@ -3181,6 +3216,7 @@ export class EncodedContent {
3181
3216
  return this;
3182
3217
  }
3183
3218
  }
3219
+ if (Symbol.dispose) EncodedContent.prototype[Symbol.dispose] = EncodedContent.prototype.free;
3184
3220
 
3185
3221
  const EnrichedReplyFinalization = (typeof FinalizationRegistry === 'undefined')
3186
3222
  ? { register: () => {}, unregister: () => {} }
@@ -3237,6 +3273,7 @@ export class EnrichedReply {
3237
3273
  return ret === 0 ? undefined : DecodedMessage.__wrap(ret);
3238
3274
  }
3239
3275
  }
3276
+ if (Symbol.dispose) EnrichedReply.prototype[Symbol.dispose] = EnrichedReply.prototype.free;
3240
3277
 
3241
3278
  const GroupMemberFinalization = (typeof FinalizationRegistry === 'undefined')
3242
3279
  ? { register: () => {}, unregister: () => {} }
@@ -3276,7 +3313,7 @@ export class GroupMember {
3276
3313
  set inboxId(arg0) {
3277
3314
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3278
3315
  const len0 = WASM_VECTOR_LEN;
3279
- wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
3316
+ wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
3280
3317
  }
3281
3318
  /**
3282
3319
  * @returns {Identifier[]}
@@ -3358,6 +3395,7 @@ export class GroupMember {
3358
3395
  return this;
3359
3396
  }
3360
3397
  }
3398
+ if (Symbol.dispose) GroupMember.prototype[Symbol.dispose] = GroupMember.prototype.free;
3361
3399
 
3362
3400
  const GroupMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
3363
3401
  ? { register: () => {}, unregister: () => {} }
@@ -3415,6 +3453,7 @@ export class GroupMetadata {
3415
3453
  }
3416
3454
  }
3417
3455
  }
3456
+ if (Symbol.dispose) GroupMetadata.prototype[Symbol.dispose] = GroupMetadata.prototype.free;
3418
3457
 
3419
3458
  const GroupPermissionsFinalization = (typeof FinalizationRegistry === 'undefined')
3420
3459
  ? { register: () => {}, unregister: () => {} }
@@ -3462,6 +3501,7 @@ export class GroupPermissions {
3462
3501
  return PermissionPolicySet.__wrap(ret[0]);
3463
3502
  }
3464
3503
  }
3504
+ if (Symbol.dispose) GroupPermissions.prototype[Symbol.dispose] = GroupPermissions.prototype.free;
3465
3505
 
3466
3506
  const GroupUpdatedFinalization = (typeof FinalizationRegistry === 'undefined')
3467
3507
  ? { register: () => {}, unregister: () => {} }
@@ -3563,6 +3603,7 @@ export class GroupUpdated {
3563
3603
  wasm.__wbg_set_groupupdated_metadataFieldChanges(this.__wbg_ptr, ptr0, len0);
3564
3604
  }
3565
3605
  }
3606
+ if (Symbol.dispose) GroupUpdated.prototype[Symbol.dispose] = GroupUpdated.prototype.free;
3566
3607
 
3567
3608
  const HmacKeyFinalization = (typeof FinalizationRegistry === 'undefined')
3568
3609
  ? { register: () => {}, unregister: () => {} }
@@ -3596,7 +3637,7 @@ export class HmacKey {
3596
3637
  set key(arg0) {
3597
3638
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
3598
3639
  const len0 = WASM_VECTOR_LEN;
3599
- wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
3640
+ wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
3600
3641
  }
3601
3642
  /**
3602
3643
  * @returns {bigint}
@@ -3612,6 +3653,7 @@ export class HmacKey {
3612
3653
  wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
3613
3654
  }
3614
3655
  }
3656
+ if (Symbol.dispose) HmacKey.prototype[Symbol.dispose] = HmacKey.prototype.free;
3615
3657
 
3616
3658
  const IdentityStatsFinalization = (typeof FinalizationRegistry === 'undefined')
3617
3659
  ? { register: () => {}, unregister: () => {} }
@@ -3691,6 +3733,7 @@ export class IdentityStats {
3691
3733
  wasm.__wbg_set_apistats_send_welcome_messages(this.__wbg_ptr, arg0);
3692
3734
  }
3693
3735
  }
3736
+ if (Symbol.dispose) IdentityStats.prototype[Symbol.dispose] = IdentityStats.prototype.free;
3694
3737
 
3695
3738
  const InboxFinalization = (typeof FinalizationRegistry === 'undefined')
3696
3739
  ? { register: () => {}, unregister: () => {} }
@@ -3748,6 +3791,7 @@ export class Inbox {
3748
3791
  wasm.__wbg_set_groupupdated_initiatedByInboxId(this.__wbg_ptr, ptr0, len0);
3749
3792
  }
3750
3793
  }
3794
+ if (Symbol.dispose) Inbox.prototype[Symbol.dispose] = Inbox.prototype.free;
3751
3795
 
3752
3796
  const InboxStateFinalization = (typeof FinalizationRegistry === 'undefined')
3753
3797
  ? { register: () => {}, unregister: () => {} }
@@ -3863,6 +3907,7 @@ export class InboxState {
3863
3907
  return this;
3864
3908
  }
3865
3909
  }
3910
+ if (Symbol.dispose) InboxState.prototype[Symbol.dispose] = InboxState.prototype.free;
3866
3911
 
3867
3912
  const InstallationFinalization = (typeof FinalizationRegistry === 'undefined')
3868
3913
  ? { register: () => {}, unregister: () => {} }
@@ -3930,7 +3975,7 @@ export class Installation {
3930
3975
  set id(arg0) {
3931
3976
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3932
3977
  const len0 = WASM_VECTOR_LEN;
3933
- wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
3978
+ wasm.__wbg_set_installation_id(this.__wbg_ptr, ptr0, len0);
3934
3979
  }
3935
3980
  /**
3936
3981
  * @returns {bigint | undefined}
@@ -3959,6 +4004,7 @@ export class Installation {
3959
4004
  return this;
3960
4005
  }
3961
4006
  }
4007
+ if (Symbol.dispose) Installation.prototype[Symbol.dispose] = Installation.prototype.free;
3962
4008
 
3963
4009
  const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
3964
4010
  ? { register: () => {}, unregister: () => {} }
@@ -4010,6 +4056,7 @@ export class IntoUnderlyingByteSource {
4010
4056
  wasm.intounderlyingbytesource_cancel(ptr);
4011
4057
  }
4012
4058
  }
4059
+ if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
4013
4060
 
4014
4061
  const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
4015
4062
  ? { register: () => {}, unregister: () => {} }
@@ -4054,6 +4101,7 @@ export class IntoUnderlyingSink {
4054
4101
  return ret;
4055
4102
  }
4056
4103
  }
4104
+ if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
4057
4105
 
4058
4106
  const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
4059
4107
  ? { register: () => {}, unregister: () => {} }
@@ -4093,6 +4141,7 @@ export class IntoUnderlyingSource {
4093
4141
  wasm.intounderlyingsource_cancel(ptr);
4094
4142
  }
4095
4143
  }
4144
+ if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
4096
4145
 
4097
4146
  const KeyPackageStatusFinalization = (typeof FinalizationRegistry === 'undefined')
4098
4147
  ? { register: () => {}, unregister: () => {} }
@@ -4150,6 +4199,7 @@ export class KeyPackageStatus {
4150
4199
  wasm.__wbg_set_keypackagestatus_validationError(this.__wbg_ptr, ptr0, len0);
4151
4200
  }
4152
4201
  }
4202
+ if (Symbol.dispose) KeyPackageStatus.prototype[Symbol.dispose] = KeyPackageStatus.prototype.free;
4153
4203
 
4154
4204
  const LifetimeFinalization = (typeof FinalizationRegistry === 'undefined')
4155
4205
  ? { register: () => {}, unregister: () => {} }
@@ -4193,16 +4243,17 @@ export class Lifetime {
4193
4243
  * @returns {bigint}
4194
4244
  */
4195
4245
  get not_after() {
4196
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
4246
+ const ret = wasm.__wbg_get_lifetime_not_after(this.__wbg_ptr);
4197
4247
  return BigInt.asUintN(64, ret);
4198
4248
  }
4199
4249
  /**
4200
4250
  * @param {bigint} arg0
4201
4251
  */
4202
4252
  set not_after(arg0) {
4203
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
4253
+ wasm.__wbg_set_lifetime_not_after(this.__wbg_ptr, arg0);
4204
4254
  }
4205
4255
  }
4256
+ if (Symbol.dispose) Lifetime.prototype[Symbol.dispose] = Lifetime.prototype.free;
4206
4257
 
4207
4258
  const ListConversationsOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
4208
4259
  ? { register: () => {}, unregister: () => {} }
@@ -4323,6 +4374,7 @@ export class ListConversationsOptions {
4323
4374
  return this;
4324
4375
  }
4325
4376
  }
4377
+ if (Symbol.dispose) ListConversationsOptions.prototype[Symbol.dispose] = ListConversationsOptions.prototype.free;
4326
4378
 
4327
4379
  const ListMessagesOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
4328
4380
  ? { register: () => {}, unregister: () => {} }
@@ -4503,6 +4555,7 @@ export class ListMessagesOptions {
4503
4555
  return this;
4504
4556
  }
4505
4557
  }
4558
+ if (Symbol.dispose) ListMessagesOptions.prototype[Symbol.dispose] = ListMessagesOptions.prototype.free;
4506
4559
 
4507
4560
  const LogOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
4508
4561
  ? { register: () => {}, unregister: () => {} }
@@ -4580,6 +4633,7 @@ export class LogOptions {
4580
4633
  return this;
4581
4634
  }
4582
4635
  }
4636
+ if (Symbol.dispose) LogOptions.prototype[Symbol.dispose] = LogOptions.prototype.free;
4583
4637
 
4584
4638
  const MessageFinalization = (typeof FinalizationRegistry === 'undefined')
4585
4639
  ? { register: () => {}, unregister: () => {} }
@@ -4760,6 +4814,7 @@ export class Message {
4760
4814
  return this;
4761
4815
  }
4762
4816
  }
4817
+ if (Symbol.dispose) Message.prototype[Symbol.dispose] = Message.prototype.free;
4763
4818
 
4764
4819
  const MessageDisappearingSettingsFinalization = (typeof FinalizationRegistry === 'undefined')
4765
4820
  ? { register: () => {}, unregister: () => {} }
@@ -4803,14 +4858,14 @@ export class MessageDisappearingSettings {
4803
4858
  * @returns {bigint}
4804
4859
  */
4805
4860
  get inNs() {
4806
- const ret = wasm.__wbg_get_conversationdebuginfo_cursor(this.__wbg_ptr);
4861
+ const ret = wasm.__wbg_get_lifetime_not_after(this.__wbg_ptr);
4807
4862
  return ret;
4808
4863
  }
4809
4864
  /**
4810
4865
  * @param {bigint} arg0
4811
4866
  */
4812
4867
  set inNs(arg0) {
4813
- wasm.__wbg_set_conversationdebuginfo_cursor(this.__wbg_ptr, arg0);
4868
+ wasm.__wbg_set_lifetime_not_after(this.__wbg_ptr, arg0);
4814
4869
  }
4815
4870
  /**
4816
4871
  * @param {bigint} from_ns
@@ -4823,6 +4878,7 @@ export class MessageDisappearingSettings {
4823
4878
  return this;
4824
4879
  }
4825
4880
  }
4881
+ if (Symbol.dispose) MessageDisappearingSettings.prototype[Symbol.dispose] = MessageDisappearingSettings.prototype.free;
4826
4882
 
4827
4883
  const MessageWithReactionsFinalization = (typeof FinalizationRegistry === 'undefined')
4828
4884
  ? { register: () => {}, unregister: () => {} }
@@ -4882,6 +4938,7 @@ export class MessageWithReactions {
4882
4938
  wasm.__wbg_set_messagewithreactions_reactions(this.__wbg_ptr, ptr0, len0);
4883
4939
  }
4884
4940
  }
4941
+ if (Symbol.dispose) MessageWithReactions.prototype[Symbol.dispose] = MessageWithReactions.prototype.free;
4885
4942
 
4886
4943
  const MetadataFieldChangeFinalization = (typeof FinalizationRegistry === 'undefined')
4887
4944
  ? { register: () => {}, unregister: () => {} }
@@ -4979,6 +5036,7 @@ export class MetadataFieldChange {
4979
5036
  wasm.__wbg_set_metadatafieldchange_newValue(this.__wbg_ptr, ptr0, len0);
4980
5037
  }
4981
5038
  }
5039
+ if (Symbol.dispose) MetadataFieldChange.prototype[Symbol.dispose] = MetadataFieldChange.prototype.free;
4982
5040
 
4983
5041
  const MultiRemoteAttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
4984
5042
  ? { register: () => {}, unregister: () => {} }
@@ -5034,6 +5092,7 @@ export class MultiRemoteAttachment {
5034
5092
  return this;
5035
5093
  }
5036
5094
  }
5095
+ if (Symbol.dispose) MultiRemoteAttachment.prototype[Symbol.dispose] = MultiRemoteAttachment.prototype.free;
5037
5096
 
5038
5097
  const OpfsFinalization = (typeof FinalizationRegistry === 'undefined')
5039
5098
  ? { register: () => {}, unregister: () => {} }
@@ -5176,6 +5235,7 @@ export class Opfs {
5176
5235
  return ret;
5177
5236
  }
5178
5237
  }
5238
+ if (Symbol.dispose) Opfs.prototype[Symbol.dispose] = Opfs.prototype.free;
5179
5239
 
5180
5240
  const PasskeySignatureFinalization = (typeof FinalizationRegistry === 'undefined')
5181
5241
  ? { register: () => {}, unregister: () => {} }
@@ -5195,6 +5255,7 @@ export class PasskeySignature {
5195
5255
  wasm.__wbg_passkeysignature_free(ptr, 0);
5196
5256
  }
5197
5257
  }
5258
+ if (Symbol.dispose) PasskeySignature.prototype[Symbol.dispose] = PasskeySignature.prototype.free;
5198
5259
 
5199
5260
  const PermissionPolicySetFinalization = (typeof FinalizationRegistry === 'undefined')
5200
5261
  ? { register: () => {}, unregister: () => {} }
@@ -5342,6 +5403,7 @@ export class PermissionPolicySet {
5342
5403
  return this;
5343
5404
  }
5344
5405
  }
5406
+ if (Symbol.dispose) PermissionPolicySet.prototype[Symbol.dispose] = PermissionPolicySet.prototype.free;
5345
5407
 
5346
5408
  const ReactionFinalization = (typeof FinalizationRegistry === 'undefined')
5347
5409
  ? { register: () => {}, unregister: () => {} }
@@ -5389,7 +5451,7 @@ export class Reaction {
5389
5451
  set reference(arg0) {
5390
5452
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5391
5453
  const len0 = WASM_VECTOR_LEN;
5392
- wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
5454
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
5393
5455
  }
5394
5456
  /**
5395
5457
  * @returns {string}
@@ -5412,7 +5474,7 @@ export class Reaction {
5412
5474
  set referenceInboxId(arg0) {
5413
5475
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5414
5476
  const len0 = WASM_VECTOR_LEN;
5415
- wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
5477
+ wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
5416
5478
  }
5417
5479
  /**
5418
5480
  * @returns {ReactionAction}
@@ -5448,7 +5510,7 @@ export class Reaction {
5448
5510
  set content(arg0) {
5449
5511
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5450
5512
  const len0 = WASM_VECTOR_LEN;
5451
- wasm.__wbg_set_reaction_content(this.__wbg_ptr, ptr0, len0);
5513
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
5452
5514
  }
5453
5515
  /**
5454
5516
  * @returns {ReactionSchema}
@@ -5483,6 +5545,7 @@ export class Reaction {
5483
5545
  return this;
5484
5546
  }
5485
5547
  }
5548
+ if (Symbol.dispose) Reaction.prototype[Symbol.dispose] = Reaction.prototype.free;
5486
5549
 
5487
5550
  const ReactionPayloadFinalization = (typeof FinalizationRegistry === 'undefined')
5488
5551
  ? { register: () => {}, unregister: () => {} }
@@ -5530,7 +5593,7 @@ export class ReactionPayload {
5530
5593
  set reference(arg0) {
5531
5594
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5532
5595
  const len0 = WASM_VECTOR_LEN;
5533
- wasm.__wbg_set_reaction_reference(this.__wbg_ptr, ptr0, len0);
5596
+ wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
5534
5597
  }
5535
5598
  /**
5536
5599
  * @returns {string}
@@ -5553,7 +5616,7 @@ export class ReactionPayload {
5553
5616
  set referenceInboxId(arg0) {
5554
5617
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5555
5618
  const len0 = WASM_VECTOR_LEN;
5556
- wasm.__wbg_set_reaction_referenceInboxId(this.__wbg_ptr, ptr0, len0);
5619
+ wasm.__wbg_set_attachment_content(this.__wbg_ptr, ptr0, len0);
5557
5620
  }
5558
5621
  /**
5559
5622
  * @returns {ReactionActionPayload}
@@ -5589,7 +5652,7 @@ export class ReactionPayload {
5589
5652
  set content(arg0) {
5590
5653
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5591
5654
  const len0 = WASM_VECTOR_LEN;
5592
- wasm.__wbg_set_reaction_content(this.__wbg_ptr, ptr0, len0);
5655
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
5593
5656
  }
5594
5657
  /**
5595
5658
  * @returns {ReactionSchemaPayload}
@@ -5605,6 +5668,7 @@ export class ReactionPayload {
5605
5668
  wasm.__wbg_set_reaction_schema(this.__wbg_ptr, arg0);
5606
5669
  }
5607
5670
  }
5671
+ if (Symbol.dispose) ReactionPayload.prototype[Symbol.dispose] = ReactionPayload.prototype.free;
5608
5672
 
5609
5673
  const ReadReceiptFinalization = (typeof FinalizationRegistry === 'undefined')
5610
5674
  ? { register: () => {}, unregister: () => {} }
@@ -5632,6 +5696,7 @@ export class ReadReceipt {
5632
5696
  wasm.__wbg_readreceipt_free(ptr, 0);
5633
5697
  }
5634
5698
  }
5699
+ if (Symbol.dispose) ReadReceipt.prototype[Symbol.dispose] = ReadReceipt.prototype.free;
5635
5700
 
5636
5701
  const RemoteAttachmentFinalization = (typeof FinalizationRegistry === 'undefined')
5637
5702
  ? { register: () => {}, unregister: () => {} }
@@ -5679,7 +5744,7 @@ export class RemoteAttachment {
5679
5744
  set url(arg0) {
5680
5745
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5681
5746
  const len0 = WASM_VECTOR_LEN;
5682
- wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
5747
+ wasm.__wbg_set_remoteattachment_url(this.__wbg_ptr, ptr0, len0);
5683
5748
  }
5684
5749
  /**
5685
5750
  * @returns {string}
@@ -5776,20 +5841,20 @@ export class RemoteAttachment {
5776
5841
  set scheme(arg0) {
5777
5842
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5778
5843
  const len0 = WASM_VECTOR_LEN;
5779
- wasm.__wbg_set_message_id(this.__wbg_ptr, ptr0, len0);
5844
+ wasm.__wbg_set_remoteattachment_scheme(this.__wbg_ptr, ptr0, len0);
5780
5845
  }
5781
5846
  /**
5782
5847
  * @returns {bigint}
5783
5848
  */
5784
5849
  get contentLength() {
5785
- const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
5850
+ const ret = wasm.__wbg_get_remoteattachment_contentLength(this.__wbg_ptr);
5786
5851
  return ret;
5787
5852
  }
5788
5853
  /**
5789
5854
  * @param {bigint} arg0
5790
5855
  */
5791
5856
  set contentLength(arg0) {
5792
- wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
5857
+ wasm.__wbg_set_remoteattachment_contentLength(this.__wbg_ptr, arg0);
5793
5858
  }
5794
5859
  /**
5795
5860
  * @returns {string | undefined}
@@ -5812,6 +5877,7 @@ export class RemoteAttachment {
5812
5877
  wasm.__wbg_set_remoteattachment_filename(this.__wbg_ptr, ptr0, len0);
5813
5878
  }
5814
5879
  }
5880
+ if (Symbol.dispose) RemoteAttachment.prototype[Symbol.dispose] = RemoteAttachment.prototype.free;
5815
5881
 
5816
5882
  const RemoteAttachmentInfoFinalization = (typeof FinalizationRegistry === 'undefined')
5817
5883
  ? { register: () => {}, unregister: () => {} }
@@ -6011,6 +6077,7 @@ export class RemoteAttachmentInfo {
6011
6077
  return this;
6012
6078
  }
6013
6079
  }
6080
+ if (Symbol.dispose) RemoteAttachmentInfo.prototype[Symbol.dispose] = RemoteAttachmentInfo.prototype.free;
6014
6081
 
6015
6082
  const SendMessageOptsFinalization = (typeof FinalizationRegistry === 'undefined')
6016
6083
  ? { register: () => {}, unregister: () => {} }
@@ -6043,6 +6110,7 @@ export class SendMessageOpts {
6043
6110
  wasm.__wbg_set_sendmessageopts_shouldPush(this.__wbg_ptr, arg0);
6044
6111
  }
6045
6112
  }
6113
+ if (Symbol.dispose) SendMessageOpts.prototype[Symbol.dispose] = SendMessageOpts.prototype.free;
6046
6114
 
6047
6115
  const SignatureRequestHandleFinalization = (typeof FinalizationRegistry === 'undefined')
6048
6116
  ? { register: () => {}, unregister: () => {} }
@@ -6106,6 +6174,7 @@ export class SignatureRequestHandle {
6106
6174
  return ret;
6107
6175
  }
6108
6176
  }
6177
+ if (Symbol.dispose) SignatureRequestHandle.prototype[Symbol.dispose] = SignatureRequestHandle.prototype.free;
6109
6178
 
6110
6179
  const StreamCloserFinalization = (typeof FinalizationRegistry === 'undefined')
6111
6180
  ? { register: () => {}, unregister: () => {} }
@@ -6165,6 +6234,7 @@ export class StreamCloser {
6165
6234
  return ret !== 0;
6166
6235
  }
6167
6236
  }
6237
+ if (Symbol.dispose) StreamCloser.prototype[Symbol.dispose] = StreamCloser.prototype.free;
6168
6238
 
6169
6239
  const TextContentFinalization = (typeof FinalizationRegistry === 'undefined')
6170
6240
  ? { register: () => {}, unregister: () => {} }
@@ -6212,9 +6282,10 @@ export class TextContent {
6212
6282
  set content(arg0) {
6213
6283
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6214
6284
  const len0 = WASM_VECTOR_LEN;
6215
- wasm.__wbg_set_attachment_mimeType(this.__wbg_ptr, ptr0, len0);
6285
+ wasm.__wbg_set_groupupdated_initiatedByInboxId(this.__wbg_ptr, ptr0, len0);
6216
6286
  }
6217
6287
  }
6288
+ if (Symbol.dispose) TextContent.prototype[Symbol.dispose] = TextContent.prototype.free;
6218
6289
 
6219
6290
  const TransactionMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
6220
6291
  ? { register: () => {}, unregister: () => {} }
@@ -6262,7 +6333,7 @@ export class TransactionMetadata {
6262
6333
  set transactionType(arg0) {
6263
6334
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6264
6335
  const len0 = WASM_VECTOR_LEN;
6265
- wasm.__wbg_set_hmackey_key(this.__wbg_ptr, ptr0, len0);
6336
+ wasm.__wbg_set_conversationdebuginfo_forkDetails(this.__wbg_ptr, ptr0, len0);
6266
6337
  }
6267
6338
  /**
6268
6339
  * @returns {string}
@@ -6285,7 +6356,7 @@ export class TransactionMetadata {
6285
6356
  set currency(arg0) {
6286
6357
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6287
6358
  const len0 = WASM_VECTOR_LEN;
6288
- wasm.__wbg_set_remoteattachment_contentDigest(this.__wbg_ptr, ptr0, len0);
6359
+ wasm.__wbg_set_conversationdebuginfo_localCommitLog(this.__wbg_ptr, ptr0, len0);
6289
6360
  }
6290
6361
  /**
6291
6362
  * @returns {number}
@@ -6334,7 +6405,7 @@ export class TransactionMetadata {
6334
6405
  set fromAddress(arg0) {
6335
6406
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6336
6407
  const len0 = WASM_VECTOR_LEN;
6337
- wasm.__wbg_set_remoteattachment_secret(this.__wbg_ptr, ptr0, len0);
6408
+ wasm.__wbg_set_conversationdebuginfo_remoteCommitLog(this.__wbg_ptr, ptr0, len0);
6338
6409
  }
6339
6410
  /**
6340
6411
  * @returns {string}
@@ -6357,9 +6428,10 @@ export class TransactionMetadata {
6357
6428
  set toAddress(arg0) {
6358
6429
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6359
6430
  const len0 = WASM_VECTOR_LEN;
6360
- wasm.__wbg_set_remoteattachment_salt(this.__wbg_ptr, ptr0, len0);
6431
+ wasm.__wbg_set_transactionmetadata_toAddress(this.__wbg_ptr, ptr0, len0);
6361
6432
  }
6362
6433
  }
6434
+ if (Symbol.dispose) TransactionMetadata.prototype[Symbol.dispose] = TransactionMetadata.prototype.free;
6363
6435
 
6364
6436
  const TransactionReferenceFinalization = (typeof FinalizationRegistry === 'undefined')
6365
6437
  ? { register: () => {}, unregister: () => {} }
@@ -6471,6 +6543,68 @@ export class TransactionReference {
6471
6543
  wasm.__wbg_set_transactionreference_metadata(this.__wbg_ptr, ptr0);
6472
6544
  }
6473
6545
  }
6546
+ if (Symbol.dispose) TransactionReference.prototype[Symbol.dispose] = TransactionReference.prototype.free;
6547
+
6548
+ const XmtpCursorFinalization = (typeof FinalizationRegistry === 'undefined')
6549
+ ? { register: () => {}, unregister: () => {} }
6550
+ : new FinalizationRegistry(ptr => wasm.__wbg_xmtpcursor_free(ptr >>> 0, 1));
6551
+
6552
+ export class XmtpCursor {
6553
+
6554
+ static __wrap(ptr) {
6555
+ ptr = ptr >>> 0;
6556
+ const obj = Object.create(XmtpCursor.prototype);
6557
+ obj.__wbg_ptr = ptr;
6558
+ XmtpCursorFinalization.register(obj, obj.__wbg_ptr, obj);
6559
+ return obj;
6560
+ }
6561
+
6562
+ static __unwrap(jsValue) {
6563
+ if (!(jsValue instanceof XmtpCursor)) {
6564
+ return 0;
6565
+ }
6566
+ return jsValue.__destroy_into_raw();
6567
+ }
6568
+
6569
+ __destroy_into_raw() {
6570
+ const ptr = this.__wbg_ptr;
6571
+ this.__wbg_ptr = 0;
6572
+ XmtpCursorFinalization.unregister(this);
6573
+ return ptr;
6574
+ }
6575
+
6576
+ free() {
6577
+ const ptr = this.__destroy_into_raw();
6578
+ wasm.__wbg_xmtpcursor_free(ptr, 0);
6579
+ }
6580
+ /**
6581
+ * @returns {number}
6582
+ */
6583
+ get originator_id() {
6584
+ const ret = wasm.__wbg_get_xmtpcursor_originator_id(this.__wbg_ptr);
6585
+ return ret >>> 0;
6586
+ }
6587
+ /**
6588
+ * @param {number} arg0
6589
+ */
6590
+ set originator_id(arg0) {
6591
+ wasm.__wbg_set_xmtpcursor_originator_id(this.__wbg_ptr, arg0);
6592
+ }
6593
+ /**
6594
+ * @returns {bigint}
6595
+ */
6596
+ get sequence_id() {
6597
+ const ret = wasm.__wbg_get_conversationdebuginfo_epoch(this.__wbg_ptr);
6598
+ return ret;
6599
+ }
6600
+ /**
6601
+ * @param {bigint} arg0
6602
+ */
6603
+ set sequence_id(arg0) {
6604
+ wasm.__wbg_set_conversationdebuginfo_epoch(this.__wbg_ptr, arg0);
6605
+ }
6606
+ }
6607
+ if (Symbol.dispose) XmtpCursor.prototype[Symbol.dispose] = XmtpCursor.prototype.free;
6474
6608
 
6475
6609
  const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
6476
6610
 
@@ -6510,7 +6644,7 @@ async function __wbg_load(module, imports) {
6510
6644
  function __wbg_get_imports() {
6511
6645
  const imports = {};
6512
6646
  imports.wbg = {};
6513
- imports.wbg.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
6647
+ imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
6514
6648
  const ret = Error(getStringFromWasm0(arg0, arg1));
6515
6649
  return ret;
6516
6650
  };
@@ -6521,60 +6655,56 @@ function __wbg_get_imports() {
6521
6655
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6522
6656
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6523
6657
  };
6524
- imports.wbg.__wbg_abort_18ba44d46e13d7fe = function(arg0) {
6658
+ imports.wbg.__wbg_abort_67e1b49bf6614565 = function(arg0) {
6525
6659
  arg0.abort();
6526
6660
  };
6527
- imports.wbg.__wbg_abort_4198a1129c47f21a = function(arg0, arg1) {
6661
+ imports.wbg.__wbg_abort_d830bf2e9aa6ec5b = function(arg0, arg1) {
6528
6662
  arg0.abort(arg1);
6529
6663
  };
6530
- imports.wbg.__wbg_add_dd833f9f523abe36 = function(arg0, arg1) {
6664
+ imports.wbg.__wbg_add_bd7fa428f539a577 = function(arg0, arg1) {
6531
6665
  const ret = arg0.add(arg1);
6532
6666
  return ret;
6533
6667
  };
6534
- imports.wbg.__wbg_append_0342728346e47425 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
6668
+ imports.wbg.__wbg_append_72a3c0addd2bce38 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
6535
6669
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
6536
6670
  }, arguments) };
6537
- imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function() { return handleError(function (arg0) {
6671
+ imports.wbg.__wbg_arrayBuffer_9c99b8e2809e8cbb = function() { return handleError(function (arg0) {
6538
6672
  const ret = arg0.arrayBuffer();
6539
6673
  return ret;
6540
6674
  }, arguments) };
6541
- imports.wbg.__wbg_body_e1e045c770257634 = function(arg0) {
6675
+ imports.wbg.__wbg_body_4851aa049324a851 = function(arg0) {
6542
6676
  const ret = arg0.body;
6543
6677
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6544
6678
  };
6545
- imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
6546
- const ret = arg0.buffer;
6547
- return ret;
6548
- };
6549
- imports.wbg.__wbg_buffer_e495ba54cee589cc = function(arg0) {
6679
+ imports.wbg.__wbg_buffer_8d40b1d762fb3c66 = function(arg0) {
6550
6680
  const ret = arg0.buffer;
6551
6681
  return ret;
6552
6682
  };
6553
- imports.wbg.__wbg_byobRequest_56aa768ee4dfed17 = function(arg0) {
6683
+ imports.wbg.__wbg_byobRequest_2c036bceca1e6037 = function(arg0) {
6554
6684
  const ret = arg0.byobRequest;
6555
6685
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
6556
6686
  };
6557
- imports.wbg.__wbg_byteLength_937f8a52f9697148 = function(arg0) {
6687
+ imports.wbg.__wbg_byteLength_331a6b5545834024 = function(arg0) {
6558
6688
  const ret = arg0.byteLength;
6559
6689
  return ret;
6560
6690
  };
6561
- imports.wbg.__wbg_byteOffset_4d94b7170e641898 = function(arg0) {
6691
+ imports.wbg.__wbg_byteOffset_49a5b5608000358b = function(arg0) {
6562
6692
  const ret = arg0.byteOffset;
6563
6693
  return ret;
6564
6694
  };
6565
- imports.wbg.__wbg_call_f2db6205e5c51dc8 = function() { return handleError(function (arg0, arg1, arg2) {
6566
- const ret = arg0.call(arg1, arg2);
6695
+ imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
6696
+ const ret = arg0.call(arg1);
6567
6697
  return ret;
6568
6698
  }, arguments) };
6569
- imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
6570
- const ret = arg0.call(arg1);
6699
+ imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
6700
+ const ret = arg0.call(arg1, arg2);
6571
6701
  return ret;
6572
6702
  }, arguments) };
6573
- imports.wbg.__wbg_cancel_4d78160f447bbbeb = function(arg0) {
6703
+ imports.wbg.__wbg_cancel_8bb5b8f4906b658a = function(arg0) {
6574
6704
  const ret = arg0.cancel();
6575
6705
  return ret;
6576
6706
  };
6577
- imports.wbg.__wbg_catch_b51fce253ee18ec3 = function(arg0, arg1) {
6707
+ imports.wbg.__wbg_catch_c80ecae90cb8ed4e = function(arg0, arg1) {
6578
6708
  const ret = arg0.catch(arg1);
6579
6709
  return ret;
6580
6710
  };
@@ -6594,26 +6724,26 @@ function __wbg_get_imports() {
6594
6724
  const ret = clearTimeout(arg0);
6595
6725
  return ret;
6596
6726
  };
6597
- imports.wbg.__wbg_clear_1657d083d00a480f = function(arg0) {
6727
+ imports.wbg.__wbg_clear_dcb6cf8aaaa1dbd5 = function(arg0) {
6598
6728
  arg0.clear();
6599
6729
  };
6600
- imports.wbg.__wbg_clear_1da67706bfcd76cf = function(arg0) {
6730
+ imports.wbg.__wbg_clear_f94469174061203f = function(arg0) {
6601
6731
  arg0.clear();
6602
6732
  };
6603
6733
  imports.wbg.__wbg_client_new = function(arg0) {
6604
6734
  const ret = Client.__wrap(arg0);
6605
6735
  return ret;
6606
6736
  };
6607
- imports.wbg.__wbg_close_290fb040af98d3ac = function() { return handleError(function (arg0) {
6608
- arg0.close();
6609
- }, arguments) };
6610
- imports.wbg.__wbg_close_8d9e72339b45f6f5 = function(arg0) {
6737
+ imports.wbg.__wbg_close_9870d6f25f3c1f31 = function(arg0) {
6611
6738
  arg0.close();
6612
6739
  };
6613
- imports.wbg.__wbg_close_b2641ef0870e518c = function() { return handleError(function (arg0) {
6740
+ imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) {
6614
6741
  arg0.close();
6615
6742
  }, arguments) };
6616
- imports.wbg.__wbg_code_5e459ca721f994f5 = function(arg0) {
6743
+ imports.wbg.__wbg_close_d71a78219dc23e91 = function() { return handleError(function (arg0) {
6744
+ arg0.close();
6745
+ }, arguments) };
6746
+ imports.wbg.__wbg_code_89056d52bf1a8bb0 = function(arg0) {
6617
6747
  const ret = arg0.code;
6618
6748
  return ret;
6619
6749
  };
@@ -6629,11 +6759,11 @@ function __wbg_get_imports() {
6629
6759
  const ret = ConversationListItem.__wrap(arg0);
6630
6760
  return ret;
6631
6761
  };
6632
- imports.wbg.__wbg_createSyncAccessHandle_05df52d90910c9ce = function(arg0) {
6762
+ imports.wbg.__wbg_createSyncAccessHandle_d06aab2e41a339b2 = function(arg0) {
6633
6763
  const ret = arg0.createSyncAccessHandle();
6634
6764
  return ret;
6635
6765
  };
6636
- imports.wbg.__wbg_create_f3f7c1f0898ceb7c = function(arg0) {
6766
+ imports.wbg.__wbg_create_c81beed67ad2881c = function(arg0) {
6637
6767
  const ret = Object.create(arg0);
6638
6768
  return ret;
6639
6769
  };
@@ -6641,10 +6771,10 @@ function __wbg_get_imports() {
6641
6771
  const ret = arg0.crypto;
6642
6772
  return ret;
6643
6773
  };
6644
- imports.wbg.__wbg_debug_103948ed4c500577 = function(arg0, arg1, arg2, arg3) {
6774
+ imports.wbg.__wbg_debug_7f3000e7358ea482 = function(arg0, arg1, arg2, arg3) {
6645
6775
  console.debug(arg0, arg1, arg2, arg3);
6646
6776
  };
6647
- imports.wbg.__wbg_debug_58d16ea352cfbca1 = function(arg0) {
6777
+ imports.wbg.__wbg_debug_c906769d2f88c17b = function(arg0) {
6648
6778
  console.debug(arg0);
6649
6779
  };
6650
6780
  imports.wbg.__wbg_decodedmessage_new = function(arg0) {
@@ -6655,33 +6785,30 @@ function __wbg_get_imports() {
6655
6785
  const ret = DecodedMessage.__unwrap(arg0);
6656
6786
  return ret;
6657
6787
  };
6658
- imports.wbg.__wbg_delete_8f0ad80b15b2a784 = function(arg0, arg1) {
6788
+ imports.wbg.__wbg_delete_34b4d9b89634f0c0 = function(arg0, arg1) {
6659
6789
  const ret = arg0.delete(arg1);
6660
6790
  return ret;
6661
6791
  };
6662
- imports.wbg.__wbg_delete_aca203d8b0528d61 = function(arg0, arg1) {
6792
+ imports.wbg.__wbg_delete_ded22f5899363180 = function(arg0, arg1) {
6663
6793
  const ret = arg0.delete(arg1);
6664
6794
  return ret;
6665
6795
  };
6666
- imports.wbg.__wbg_done_4d01f352bade43b7 = function(arg0) {
6796
+ imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
6667
6797
  const ret = arg0.done;
6668
6798
  return ret;
6669
6799
  };
6670
- imports.wbg.__wbg_enqueue_a62faa171c4fd287 = function() { return handleError(function (arg0, arg1) {
6800
+ imports.wbg.__wbg_enqueue_452bc2343d1c2ff9 = function() { return handleError(function (arg0, arg1) {
6671
6801
  arg0.enqueue(arg1);
6672
6802
  }, arguments) };
6673
- imports.wbg.__wbg_entries_14bb5b0fa29e7393 = function(arg0) {
6803
+ imports.wbg.__wbg_entries_1a3c3b9544532397 = function(arg0) {
6674
6804
  const ret = arg0.entries();
6675
6805
  return ret;
6676
6806
  };
6677
- imports.wbg.__wbg_entries_41651c850143b957 = function(arg0) {
6807
+ imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
6678
6808
  const ret = Object.entries(arg0);
6679
6809
  return ret;
6680
6810
  };
6681
- imports.wbg.__wbg_error_51ecdd39ec054205 = function(arg0) {
6682
- console.error(arg0);
6683
- };
6684
- imports.wbg.__wbg_error_624160881466fd69 = function(arg0, arg1, arg2, arg3) {
6811
+ imports.wbg.__wbg_error_0889f151acea569e = function(arg0, arg1, arg2, arg3) {
6685
6812
  console.error(arg0, arg1, arg2, arg3);
6686
6813
  };
6687
6814
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
@@ -6695,18 +6822,21 @@ function __wbg_get_imports() {
6695
6822
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
6696
6823
  }
6697
6824
  };
6825
+ imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) {
6826
+ console.error(arg0);
6827
+ };
6698
6828
  imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
6699
6829
  console.error(getStringFromWasm0(arg0, arg1));
6700
6830
  };
6701
- imports.wbg.__wbg_fetch_53eef7df7b439a49 = function(arg0, arg1) {
6702
- const ret = fetch(arg0, arg1);
6831
+ imports.wbg.__wbg_fetch_36d024dbd9192353 = function(arg0, arg1, arg2) {
6832
+ const ret = arg0.fetch(arg1, arg2);
6703
6833
  return ret;
6704
6834
  };
6705
- imports.wbg.__wbg_fetch_571cdc97c8ee46fd = function(arg0, arg1, arg2) {
6706
- const ret = arg0.fetch(arg1, arg2);
6835
+ imports.wbg.__wbg_fetch_53eef7df7b439a49 = function(arg0, arg1) {
6836
+ const ret = fetch(arg0, arg1);
6707
6837
  return ret;
6708
6838
  };
6709
- imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function(arg0, arg1) {
6839
+ imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function(arg0, arg1) {
6710
6840
  const ret = arg0.fetch(arg1);
6711
6841
  return ret;
6712
6842
  };
@@ -6714,50 +6844,50 @@ function __wbg_get_imports() {
6714
6844
  const ret = fetch(arg0);
6715
6845
  return ret;
6716
6846
  };
6717
- imports.wbg.__wbg_fill_45ebe6f76c6747c9 = function(arg0, arg1, arg2, arg3) {
6847
+ imports.wbg.__wbg_fill_c8751cf67b766c70 = function(arg0, arg1, arg2, arg3) {
6718
6848
  const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
6719
6849
  return ret;
6720
6850
  };
6721
- imports.wbg.__wbg_flush_f0630e40db922730 = function() { return handleError(function (arg0) {
6851
+ imports.wbg.__wbg_flush_d2487a24f3bc3cf4 = function() { return handleError(function (arg0) {
6722
6852
  arg0.flush();
6723
6853
  }, arguments) };
6724
- imports.wbg.__wbg_from_12ff8e47307bd4c7 = function(arg0) {
6854
+ imports.wbg.__wbg_from_88bc52ce20ba6318 = function(arg0) {
6725
6855
  const ret = Array.from(arg0);
6726
6856
  return ret;
6727
6857
  };
6728
- imports.wbg.__wbg_getDate_18ccd9a4e925d3ec = function(arg0) {
6858
+ imports.wbg.__wbg_getDate_9615e288fc892247 = function(arg0) {
6729
6859
  const ret = arg0.getDate();
6730
6860
  return ret;
6731
6861
  };
6732
- imports.wbg.__wbg_getDay_17f53c92a7986053 = function(arg0) {
6862
+ imports.wbg.__wbg_getDay_c9c4f57fb4ef6fef = function(arg0) {
6733
6863
  const ret = arg0.getDay();
6734
6864
  return ret;
6735
6865
  };
6736
- imports.wbg.__wbg_getDirectoryHandle_812e88ca933e7f14 = function(arg0, arg1, arg2, arg3) {
6866
+ imports.wbg.__wbg_getDirectoryHandle_0fb26677897f1e21 = function(arg0, arg1, arg2, arg3) {
6737
6867
  const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
6738
6868
  return ret;
6739
6869
  };
6740
- imports.wbg.__wbg_getDirectory_d1926c6af50076e5 = function(arg0) {
6870
+ imports.wbg.__wbg_getDirectory_8564f4b4ae7ee35c = function(arg0) {
6741
6871
  const ret = arg0.getDirectory();
6742
6872
  return ret;
6743
6873
  };
6744
- imports.wbg.__wbg_getFileHandle_1cc9e8420629773c = function(arg0, arg1, arg2, arg3) {
6874
+ imports.wbg.__wbg_getFileHandle_9f23d09c2497fa5f = function(arg0, arg1, arg2, arg3) {
6745
6875
  const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
6746
6876
  return ret;
6747
6877
  };
6748
- imports.wbg.__wbg_getFullYear_1383a5751fab658e = function(arg0) {
6878
+ imports.wbg.__wbg_getFullYear_e351a9fa7d2fab83 = function(arg0) {
6749
6879
  const ret = arg0.getFullYear();
6750
6880
  return ret;
6751
6881
  };
6752
- imports.wbg.__wbg_getHours_94bc6bb5540c2b71 = function(arg0) {
6882
+ imports.wbg.__wbg_getHours_4cc14de357c9e723 = function(arg0) {
6753
6883
  const ret = arg0.getHours();
6754
6884
  return ret;
6755
6885
  };
6756
- imports.wbg.__wbg_getMinutes_92b2aadc8feb898e = function(arg0) {
6886
+ imports.wbg.__wbg_getMinutes_6cde8fdd08b0c2ec = function(arg0) {
6757
6887
  const ret = arg0.getMinutes();
6758
6888
  return ret;
6759
6889
  };
6760
- imports.wbg.__wbg_getMonth_f83b359dffd5f2aa = function(arg0) {
6890
+ imports.wbg.__wbg_getMonth_8cc234bce5c8bcac = function(arg0) {
6761
6891
  const ret = arg0.getMonth();
6762
6892
  return ret;
6763
6893
  };
@@ -6774,47 +6904,47 @@ function __wbg_get_imports() {
6774
6904
  const ret = arg0.getReader();
6775
6905
  return ret;
6776
6906
  }, arguments) };
6777
- imports.wbg.__wbg_getSeconds_5bedd376f55ef40c = function(arg0) {
6907
+ imports.wbg.__wbg_getSeconds_c2f02452d804ece0 = function(arg0) {
6778
6908
  const ret = arg0.getSeconds();
6779
6909
  return ret;
6780
6910
  };
6781
- imports.wbg.__wbg_getSize_a77eeeffdb4f3fc1 = function() { return handleError(function (arg0) {
6911
+ imports.wbg.__wbg_getSize_56a06761973a6cd7 = function() { return handleError(function (arg0) {
6782
6912
  const ret = arg0.getSize();
6783
6913
  return ret;
6784
6914
  }, arguments) };
6785
- imports.wbg.__wbg_getTime_2afe67905d873e92 = function(arg0) {
6915
+ imports.wbg.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
6786
6916
  const ret = arg0.getTime();
6787
6917
  return ret;
6788
6918
  };
6789
- imports.wbg.__wbg_getTimezoneOffset_31f33c0868da345e = function(arg0) {
6919
+ imports.wbg.__wbg_getTimezoneOffset_1e3ddc1382e7c8b0 = function(arg0) {
6790
6920
  const ret = arg0.getTimezoneOffset();
6791
6921
  return ret;
6792
6922
  };
6793
- imports.wbg.__wbg_getUint32_b1236319485e7707 = function(arg0, arg1) {
6923
+ imports.wbg.__wbg_getUint32_2dc0ed17b0324774 = function(arg0, arg1) {
6794
6924
  const ret = arg0.getUint32(arg1 >>> 0);
6795
6925
  return ret;
6796
6926
  };
6797
- imports.wbg.__wbg_get_6dd1850282dd8588 = function(arg0, arg1) {
6798
- const ret = arg0.get(arg1);
6927
+ imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
6928
+ const ret = arg0[arg1 >>> 0];
6799
6929
  return ret;
6800
6930
  };
6801
- imports.wbg.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
6931
+ imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
6802
6932
  const ret = Reflect.get(arg0, arg1);
6803
6933
  return ret;
6804
6934
  }, arguments) };
6805
- imports.wbg.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
6806
- const ret = arg0[arg1 >>> 0];
6935
+ imports.wbg.__wbg_get_5ee3191755594360 = function(arg0, arg1) {
6936
+ const ret = arg0.get(arg1);
6807
6937
  return ret;
6808
6938
  };
6809
- imports.wbg.__wbg_getdone_8355ddb2bc75c731 = function(arg0) {
6939
+ imports.wbg.__wbg_getdone_f026246f6bbe58d3 = function(arg0) {
6810
6940
  const ret = arg0.done;
6811
6941
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
6812
6942
  };
6813
- imports.wbg.__wbg_getindex_ba5b3525ad80a881 = function(arg0, arg1) {
6943
+ imports.wbg.__wbg_getindex_61bb13d19869849b = function(arg0, arg1) {
6814
6944
  const ret = arg0[arg1 >>> 0];
6815
6945
  return ret;
6816
6946
  };
6817
- imports.wbg.__wbg_getvalue_c1890a401d13f00b = function(arg0) {
6947
+ imports.wbg.__wbg_getvalue_31e5a08f61e5aa42 = function(arg0) {
6818
6948
  const ret = arg0.value;
6819
6949
  return ret;
6820
6950
  };
@@ -6826,15 +6956,15 @@ function __wbg_get_imports() {
6826
6956
  const ret = GroupMetadata.__wrap(arg0);
6827
6957
  return ret;
6828
6958
  };
6829
- imports.wbg.__wbg_has_2dc42f1e8cb156db = function(arg0, arg1) {
6959
+ imports.wbg.__wbg_has_6a9bff5f4208cfca = function(arg0, arg1) {
6830
6960
  const ret = arg0.has(arg1);
6831
6961
  return ret;
6832
6962
  };
6833
- imports.wbg.__wbg_has_809e438ee9d787a7 = function() { return handleError(function (arg0, arg1) {
6963
+ imports.wbg.__wbg_has_b89e451f638123e3 = function() { return handleError(function (arg0, arg1) {
6834
6964
  const ret = Reflect.has(arg0, arg1);
6835
6965
  return ret;
6836
6966
  }, arguments) };
6837
- imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function(arg0) {
6967
+ imports.wbg.__wbg_headers_29fec3c72865cd75 = function(arg0) {
6838
6968
  const ret = arg0.headers;
6839
6969
  return ret;
6840
6970
  };
@@ -6850,10 +6980,10 @@ function __wbg_get_imports() {
6850
6980
  const ret = InboxState.__wrap(arg0);
6851
6981
  return ret;
6852
6982
  };
6853
- imports.wbg.__wbg_info_a1cc312ecc877319 = function(arg0, arg1, arg2, arg3) {
6983
+ imports.wbg.__wbg_info_15c3631232fceddb = function(arg0, arg1, arg2, arg3) {
6854
6984
  console.info(arg0, arg1, arg2, arg3);
6855
6985
  };
6856
- imports.wbg.__wbg_info_e56933705c348038 = function(arg0) {
6986
+ imports.wbg.__wbg_info_6cf68c1a86a92f6a = function(arg0) {
6857
6987
  console.info(arg0);
6858
6988
  };
6859
6989
  imports.wbg.__wbg_installation_new = function(arg0) {
@@ -6864,7 +6994,7 @@ function __wbg_get_imports() {
6864
6994
  const ret = Installation.__unwrap(arg0);
6865
6995
  return ret;
6866
6996
  };
6867
- imports.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
6997
+ imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
6868
6998
  let result;
6869
6999
  try {
6870
7000
  result = arg0 instanceof ArrayBuffer;
@@ -6874,7 +7004,7 @@ function __wbg_get_imports() {
6874
7004
  const ret = result;
6875
7005
  return ret;
6876
7006
  };
6877
- imports.wbg.__wbg_instanceof_DomException_77720ed8752d7409 = function(arg0) {
7007
+ imports.wbg.__wbg_instanceof_DomException_bd63c2a0e0b53ed5 = function(arg0) {
6878
7008
  let result;
6879
7009
  try {
6880
7010
  result = arg0 instanceof DOMException;
@@ -6884,7 +7014,7 @@ function __wbg_get_imports() {
6884
7014
  const ret = result;
6885
7015
  return ret;
6886
7016
  };
6887
- imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function(arg0) {
7017
+ imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function(arg0) {
6888
7018
  let result;
6889
7019
  try {
6890
7020
  result = arg0 instanceof Response;
@@ -6894,7 +7024,7 @@ function __wbg_get_imports() {
6894
7024
  const ret = result;
6895
7025
  return ret;
6896
7026
  };
6897
- imports.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
7027
+ imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
6898
7028
  let result;
6899
7029
  try {
6900
7030
  result = arg0 instanceof Uint8Array;
@@ -6904,7 +7034,7 @@ function __wbg_get_imports() {
6904
7034
  const ret = result;
6905
7035
  return ret;
6906
7036
  };
6907
- imports.wbg.__wbg_instanceof_WorkerGlobalScope_11f8a14c11024785 = function(arg0) {
7037
+ imports.wbg.__wbg_instanceof_WorkerGlobalScope_85d487cc157fd065 = function(arg0) {
6908
7038
  let result;
6909
7039
  try {
6910
7040
  result = arg0 instanceof WorkerGlobalScope;
@@ -6914,27 +7044,27 @@ function __wbg_get_imports() {
6914
7044
  const ret = result;
6915
7045
  return ret;
6916
7046
  };
6917
- imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function() {
7047
+ imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
6918
7048
  const ret = Symbol.iterator;
6919
7049
  return ret;
6920
7050
  };
6921
- imports.wbg.__wbg_keys_1abdc63a39dab939 = function(arg0) {
7051
+ imports.wbg.__wbg_keys_200bc2675df61794 = function(arg0) {
6922
7052
  const ret = arg0.keys();
6923
7053
  return ret;
6924
7054
  };
6925
- imports.wbg.__wbg_keys_a89709494b6fd863 = function(arg0) {
7055
+ imports.wbg.__wbg_keys_822161a7faf55538 = function(arg0) {
6926
7056
  const ret = arg0.keys();
6927
7057
  return ret;
6928
7058
  };
6929
- imports.wbg.__wbg_length_0ca5b4c83d5d9721 = function(arg0) {
7059
+ imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
6930
7060
  const ret = arg0.length;
6931
7061
  return ret;
6932
7062
  };
6933
- imports.wbg.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
7063
+ imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
6934
7064
  const ret = arg0.length;
6935
7065
  return ret;
6936
7066
  };
6937
- imports.wbg.__wbg_length_f00ec12454a5d9fd = function(arg0) {
7067
+ imports.wbg.__wbg_length_9d771c54845e987f = function(arg0) {
6938
7068
  const ret = arg0.length;
6939
7069
  return ret;
6940
7070
  };
@@ -6950,7 +7080,7 @@ function __wbg_get_imports() {
6950
7080
  imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
6951
7081
  arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
6952
7082
  }, arguments) };
6953
- imports.wbg.__wbg_message_2d95ea5aff0d63b9 = function(arg0, arg1) {
7083
+ imports.wbg.__wbg_message_5481231e71ccaf7b = function(arg0, arg1) {
6954
7084
  const ret = arg1.message;
6955
7085
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6956
7086
  const len1 = WASM_VECTOR_LEN;
@@ -6981,69 +7111,41 @@ function __wbg_get_imports() {
6981
7111
  const ret = arg0.msCrypto;
6982
7112
  return ret;
6983
7113
  };
6984
- imports.wbg.__wbg_name_2acff1e83d9735f9 = function(arg0, arg1) {
7114
+ imports.wbg.__wbg_name_f75f535832c8ea6b = function(arg0, arg1) {
6985
7115
  const ret = arg1.name;
6986
7116
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
6987
7117
  const len1 = WASM_VECTOR_LEN;
6988
7118
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6989
7119
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6990
7120
  };
6991
- imports.wbg.__wbg_navigator_6db993f5ffeb46be = function(arg0) {
7121
+ imports.wbg.__wbg_navigator_bfaf1b0b0eb48da2 = function(arg0) {
6992
7122
  const ret = arg0.navigator;
6993
7123
  return ret;
6994
7124
  };
6995
- imports.wbg.__wbg_new0_97314565408dea38 = function() {
7125
+ imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
6996
7126
  const ret = new Date();
6997
7127
  return ret;
6998
7128
  };
6999
- imports.wbg.__wbg_new_07b483f72211fd66 = function() {
7000
- const ret = new Object();
7001
- return ret;
7002
- };
7003
- imports.wbg.__wbg_new_186abcfdff244e42 = function() { return handleError(function () {
7004
- const ret = new AbortController();
7005
- return ret;
7006
- }, arguments) };
7007
- imports.wbg.__wbg_new_476169e6d59f23ae = function(arg0, arg1) {
7008
- const ret = new Error(getStringFromWasm0(arg0, arg1));
7129
+ imports.wbg.__wbg_new_0dc86f3faa8a3b53 = function(arg0) {
7130
+ const ret = new Set(arg0);
7009
7131
  return ret;
7010
7132
  };
7011
- imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function() { return handleError(function () {
7012
- const ret = new Headers();
7013
- return ret;
7014
- }, arguments) };
7015
- imports.wbg.__wbg_new_5069c49f18141a33 = function(arg0, arg1, arg2) {
7016
- const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
7133
+ imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
7134
+ const ret = new Object();
7017
7135
  return ret;
7018
7136
  };
7019
- imports.wbg.__wbg_new_58353953ad2097cc = function() {
7137
+ imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
7020
7138
  const ret = new Array();
7021
7139
  return ret;
7022
7140
  };
7023
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
7024
- const ret = new Error();
7025
- return ret;
7026
- };
7027
- imports.wbg.__wbg_new_a2957aa5684de228 = function(arg0) {
7028
- const ret = new Date(arg0);
7029
- return ret;
7030
- };
7031
- imports.wbg.__wbg_new_a979b4b45bd55c7f = function() {
7032
- const ret = new Map();
7033
- return ret;
7034
- };
7035
- imports.wbg.__wbg_new_db7d9b0ee94df522 = function(arg0) {
7036
- const ret = new Set(arg0);
7037
- return ret;
7038
- };
7039
- imports.wbg.__wbg_new_e30c39c06edaabf2 = function(arg0, arg1) {
7141
+ imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
7040
7142
  try {
7041
7143
  var state0 = {a: arg0, b: arg1};
7042
7144
  var cb0 = (arg0, arg1) => {
7043
7145
  const a = state0.a;
7044
7146
  state0.a = 0;
7045
7147
  try {
7046
- return __wbg_adapter_942(a, state0.b, arg0, arg1);
7148
+ return __wbg_adapter_930(a, state0.b, arg0, arg1);
7047
7149
  } finally {
7048
7150
  state0.a = a;
7049
7151
  }
@@ -7054,19 +7156,47 @@ function __wbg_get_imports() {
7054
7156
  state0.a = state0.b = 0;
7055
7157
  }
7056
7158
  };
7057
- imports.wbg.__wbg_new_e52b3efaaa774f96 = function(arg0) {
7159
+ imports.wbg.__wbg_new_2ff1f68f3676ea53 = function() {
7160
+ const ret = new Map();
7161
+ return ret;
7162
+ };
7163
+ imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) {
7164
+ const ret = new Date(arg0);
7165
+ return ret;
7166
+ };
7167
+ imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
7058
7168
  const ret = new Uint8Array(arg0);
7059
7169
  return ret;
7060
7170
  };
7061
- imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function(arg0, arg1) {
7171
+ imports.wbg.__wbg_new_66b9434b4e59b63e = function() { return handleError(function () {
7172
+ const ret = new AbortController();
7173
+ return ret;
7174
+ }, arguments) };
7175
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
7176
+ const ret = new Error();
7177
+ return ret;
7178
+ };
7179
+ imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) {
7180
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
7181
+ return ret;
7182
+ };
7183
+ imports.wbg.__wbg_new_f60d6f09990bdb99 = function(arg0, arg1, arg2) {
7184
+ const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0);
7185
+ return ret;
7186
+ };
7187
+ imports.wbg.__wbg_new_f6e53210afea8e45 = function() { return handleError(function () {
7188
+ const ret = new Headers();
7189
+ return ret;
7190
+ }, arguments) };
7191
+ imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) {
7062
7192
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
7063
7193
  return ret;
7064
7194
  };
7065
- imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function(arg0, arg1) {
7195
+ imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
7066
7196
  const ret = new Function(getStringFromWasm0(arg0, arg1));
7067
7197
  return ret;
7068
7198
  };
7069
- imports.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8 = function(arg0, arg1, arg2) {
7199
+ imports.wbg.__wbg_newwithbyteoffsetandlength_e8f53910b4d42b45 = function(arg0, arg1, arg2) {
7070
7200
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
7071
7201
  return ret;
7072
7202
  };
@@ -7074,27 +7204,27 @@ function __wbg_get_imports() {
7074
7204
  const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
7075
7205
  return ret;
7076
7206
  };
7077
- imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function(arg0) {
7207
+ imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function(arg0) {
7078
7208
  const ret = new Uint8Array(arg0 >>> 0);
7079
7209
  return ret;
7080
7210
  };
7081
- imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function() { return handleError(function (arg0, arg1, arg2) {
7211
+ imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function() { return handleError(function (arg0, arg1, arg2) {
7082
7212
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
7083
7213
  return ret;
7084
7214
  }, arguments) };
7085
- imports.wbg.__wbg_newwithyearmonthday_eb1c560e7c1fb22a = function(arg0, arg1, arg2) {
7215
+ imports.wbg.__wbg_newwithyearmonthday_9d5466a369f2521d = function(arg0, arg1, arg2) {
7086
7216
  const ret = new Date(arg0 >>> 0, arg1, arg2);
7087
7217
  return ret;
7088
7218
  };
7089
- imports.wbg.__wbg_next_8bb824d217961b5d = function(arg0) {
7090
- const ret = arg0.next;
7091
- return ret;
7092
- };
7093
- imports.wbg.__wbg_next_9eb6fe77da3db3a2 = function() { return handleError(function (arg0) {
7219
+ imports.wbg.__wbg_next_1142e1658f75ec63 = function() { return handleError(function (arg0) {
7094
7220
  const ret = arg0.next();
7095
7221
  return ret;
7096
7222
  }, arguments) };
7097
- imports.wbg.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
7223
+ imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
7224
+ const ret = arg0.next;
7225
+ return ret;
7226
+ };
7227
+ imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
7098
7228
  const ret = arg0.next();
7099
7229
  return ret;
7100
7230
  }, arguments) };
@@ -7102,6 +7232,10 @@ function __wbg_get_imports() {
7102
7232
  const ret = arg0.node;
7103
7233
  return ret;
7104
7234
  };
7235
+ imports.wbg.__wbg_now_1e80617bcee43265 = function() {
7236
+ const ret = Date.now();
7237
+ return ret;
7238
+ };
7105
7239
  imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
7106
7240
  const ret = arg0.now();
7107
7241
  return ret;
@@ -7111,10 +7245,6 @@ function __wbg_get_imports() {
7111
7245
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7112
7246
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7113
7247
  };
7114
- imports.wbg.__wbg_now_eb0821f3bd9f6529 = function() {
7115
- const ret = Date.now();
7116
- return ret;
7117
- };
7118
7248
  imports.wbg.__wbg_onclose_7422fac0d15ba816 = function(arg0) {
7119
7249
  arg0.on_close();
7120
7250
  };
@@ -7143,44 +7273,47 @@ function __wbg_get_imports() {
7143
7273
  const ret = arg0.performance;
7144
7274
  return ret;
7145
7275
  };
7146
- imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function() { return handleError(function (arg0, arg1) {
7276
+ imports.wbg.__wbg_postMessage_38909232d65f5870 = function() { return handleError(function (arg0, arg1) {
7147
7277
  arg0.postMessage(arg1);
7148
7278
  }, arguments) };
7149
7279
  imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
7150
7280
  const ret = arg0.process;
7151
7281
  return ret;
7152
7282
  };
7153
- imports.wbg.__wbg_push_73fd7b5550ebf707 = function(arg0, arg1) {
7283
+ imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
7284
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
7285
+ };
7286
+ imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) {
7154
7287
  const ret = arg0.push(arg1);
7155
7288
  return ret;
7156
7289
  };
7157
- imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function(arg0) {
7290
+ imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
7158
7291
  queueMicrotask(arg0);
7159
7292
  };
7160
- imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function(arg0) {
7293
+ imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
7161
7294
  const ret = arg0.queueMicrotask;
7162
7295
  return ret;
7163
7296
  };
7164
7297
  imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
7165
7298
  arg0.randomFillSync(arg1);
7166
7299
  }, arguments) };
7167
- imports.wbg.__wbg_random_210bb7fbfa33591d = function() {
7300
+ imports.wbg.__wbg_random_7ed63a0b38ee3b75 = function() {
7168
7301
  const ret = Math.random();
7169
7302
  return ret;
7170
7303
  };
7171
- imports.wbg.__wbg_read_4dbc5a78288c4eed = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7304
+ imports.wbg.__wbg_read_a43bb46027f02ee9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7172
7305
  const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3);
7173
7306
  return ret;
7174
7307
  }, arguments) };
7175
- imports.wbg.__wbg_read_8eb30fc4016403e0 = function() { return handleError(function (arg0, arg1, arg2) {
7176
- const ret = arg0.read(arg1, arg2);
7177
- return ret;
7178
- }, arguments) };
7179
- imports.wbg.__wbg_read_f4b89f69cc51efc7 = function(arg0) {
7308
+ imports.wbg.__wbg_read_bc925c758aa4d897 = function(arg0) {
7180
7309
  const ret = arg0.read();
7181
7310
  return ret;
7182
7311
  };
7183
- imports.wbg.__wbg_releaseLock_c589dd51c0812aca = function(arg0) {
7312
+ imports.wbg.__wbg_read_e271e94623077591 = function() { return handleError(function (arg0, arg1, arg2) {
7313
+ const ret = arg0.read(arg1, arg2);
7314
+ return ret;
7315
+ }, arguments) };
7316
+ imports.wbg.__wbg_releaseLock_ff29b586502a8221 = function(arg0) {
7184
7317
  arg0.releaseLock();
7185
7318
  };
7186
7319
  imports.wbg.__wbg_remoteattachmentinfo_new = function(arg0) {
@@ -7191,7 +7324,7 @@ function __wbg_get_imports() {
7191
7324
  const ret = RemoteAttachmentInfo.__unwrap(arg0);
7192
7325
  return ret;
7193
7326
  };
7194
- imports.wbg.__wbg_removeEntry_ddd726e5b0218482 = function(arg0, arg1, arg2) {
7327
+ imports.wbg.__wbg_removeEntry_3ab786c4d0e6a154 = function(arg0, arg1, arg2) {
7195
7328
  const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
7196
7329
  return ret;
7197
7330
  };
@@ -7199,11 +7332,11 @@ function __wbg_get_imports() {
7199
7332
  const ret = module.require;
7200
7333
  return ret;
7201
7334
  }, arguments) };
7202
- imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function(arg0) {
7335
+ imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
7203
7336
  const ret = Promise.resolve(arg0);
7204
7337
  return ret;
7205
7338
  };
7206
- imports.wbg.__wbg_respond_b227f1c3be2bb879 = function() { return handleError(function (arg0, arg1) {
7339
+ imports.wbg.__wbg_respond_6c2c4e20ef85138e = function() { return handleError(function (arg0, arg1) {
7207
7340
  arg0.respond(arg1 >>> 0);
7208
7341
  }, arguments) };
7209
7342
  imports.wbg.__wbg_setInterval_ed3b5e3c3ebb8a6d = function() { return handleError(function (arg0, arg1) {
@@ -7225,75 +7358,75 @@ function __wbg_get_imports() {
7225
7358
  const ret = setTimeout(arg0, arg1);
7226
7359
  return ret;
7227
7360
  }, arguments) };
7228
- imports.wbg.__wbg_setUint32_909f117d6d6c4344 = function(arg0, arg1, arg2) {
7361
+ imports.wbg.__wbg_setUint32_8a9564ae127df4c5 = function(arg0, arg1, arg2) {
7229
7362
  arg0.setUint32(arg1 >>> 0, arg2 >>> 0);
7230
7363
  };
7231
- imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
7232
- arg0[arg1] = arg2;
7233
- };
7234
- imports.wbg.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
7235
- arg0[arg1 >>> 0] = arg2;
7364
+ imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) {
7365
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
7236
7366
  };
7237
- imports.wbg.__wbg_set_b042eef31c50834d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7367
+ imports.wbg.__wbg_set_1c17f9738fac2718 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
7238
7368
  arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
7239
7369
  }, arguments) };
7240
- imports.wbg.__wbg_set_c43293f93a35998a = function() { return handleError(function (arg0, arg1, arg2) {
7370
+ imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
7371
+ arg0[arg1] = arg2;
7372
+ };
7373
+ imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) {
7241
7374
  const ret = Reflect.set(arg0, arg1, arg2);
7242
7375
  return ret;
7243
7376
  }, arguments) };
7244
- imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
7377
+ imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
7378
+ arg0[arg1 >>> 0] = arg2;
7379
+ };
7380
+ imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
7245
7381
  const ret = arg0.set(arg1, arg2);
7246
7382
  return ret;
7247
7383
  };
7248
- imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
7249
- arg0.set(arg1, arg2 >>> 0);
7250
- };
7251
- imports.wbg.__wbg_setat_2d0d9be3db4207a9 = function(arg0, arg1) {
7384
+ imports.wbg.__wbg_setat_f8fc70f546036b10 = function(arg0, arg1) {
7252
7385
  arg0.at = arg1;
7253
7386
  };
7254
- imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function(arg0, arg1) {
7387
+ imports.wbg.__wbg_setbody_c8460bdf44147df8 = function(arg0, arg1) {
7255
7388
  arg0.body = arg1;
7256
7389
  };
7257
- imports.wbg.__wbg_setcache_a94cd14dc0cc72a2 = function(arg0, arg1) {
7390
+ imports.wbg.__wbg_setcache_90ca4ad8a8ad40d3 = function(arg0, arg1) {
7258
7391
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
7259
7392
  };
7260
- imports.wbg.__wbg_setcreate_62b7d997a9936969 = function(arg0, arg1) {
7393
+ imports.wbg.__wbg_setcreate_1eb73f4ea713c1ad = function(arg0, arg1) {
7261
7394
  arg0.create = arg1 !== 0;
7262
7395
  };
7263
- imports.wbg.__wbg_setcreate_dcf97058ed33f8f0 = function(arg0, arg1) {
7396
+ imports.wbg.__wbg_setcreate_2d32aa4bbcd1d7af = function(arg0, arg1) {
7264
7397
  arg0.create = arg1 !== 0;
7265
7398
  };
7266
- imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function(arg0, arg1) {
7399
+ imports.wbg.__wbg_setcredentials_9cd60d632c9d5dfc = function(arg0, arg1) {
7267
7400
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
7268
7401
  };
7269
- imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function(arg0, arg1) {
7402
+ imports.wbg.__wbg_setheaders_0052283e2f3503d1 = function(arg0, arg1) {
7270
7403
  arg0.headers = arg1;
7271
7404
  };
7272
- imports.wbg.__wbg_sethighwatermark_3017ad772d071dcb = function(arg0, arg1) {
7405
+ imports.wbg.__wbg_sethighwatermark_3d5961f834647d41 = function(arg0, arg1) {
7273
7406
  arg0.highWaterMark = arg1;
7274
7407
  };
7275
- imports.wbg.__wbg_setintegrity_837435fe924a8c3a = function(arg0, arg1, arg2) {
7408
+ imports.wbg.__wbg_setintegrity_de8bf847597602b5 = function(arg0, arg1, arg2) {
7276
7409
  arg0.integrity = getStringFromWasm0(arg1, arg2);
7277
7410
  };
7278
- imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function(arg0, arg1, arg2) {
7411
+ imports.wbg.__wbg_setmethod_9b504d5b855b329c = function(arg0, arg1, arg2) {
7279
7412
  arg0.method = getStringFromWasm0(arg1, arg2);
7280
7413
  };
7281
- imports.wbg.__wbg_setmode_bd35f026f55b6247 = function(arg0, arg1) {
7414
+ imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function(arg0, arg1) {
7282
7415
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
7283
7416
  };
7284
- imports.wbg.__wbg_setredirect_562df6aa76f9dd5a = function(arg0, arg1) {
7417
+ imports.wbg.__wbg_setredirect_9542307f3ab946a9 = function(arg0, arg1) {
7285
7418
  arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
7286
7419
  };
7287
- imports.wbg.__wbg_setreferrer_fa327f33294d371a = function(arg0, arg1, arg2) {
7420
+ imports.wbg.__wbg_setreferrer_c8dd38f95f31e178 = function(arg0, arg1, arg2) {
7288
7421
  arg0.referrer = getStringFromWasm0(arg1, arg2);
7289
7422
  };
7290
- imports.wbg.__wbg_setreferrerpolicy_537ff1407c81391d = function(arg0, arg1) {
7423
+ imports.wbg.__wbg_setreferrerpolicy_164abad8ed6e3886 = function(arg0, arg1) {
7291
7424
  arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
7292
7425
  };
7293
- imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function(arg0, arg1) {
7426
+ imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function(arg0, arg1) {
7294
7427
  arg0.signal = arg1;
7295
7428
  };
7296
- imports.wbg.__wbg_signal_b96223519a041faa = function(arg0) {
7429
+ imports.wbg.__wbg_signal_da4d466ce86118b5 = function(arg0) {
7297
7430
  const ret = arg0.signal;
7298
7431
  return ret;
7299
7432
  };
@@ -7301,11 +7434,11 @@ function __wbg_get_imports() {
7301
7434
  const ret = SignatureRequestHandle.__wrap(arg0);
7302
7435
  return ret;
7303
7436
  };
7304
- imports.wbg.__wbg_size_e6e036b6b1285ed9 = function(arg0) {
7437
+ imports.wbg.__wbg_size_af8602b0b838d49e = function(arg0) {
7305
7438
  const ret = arg0.size;
7306
7439
  return ret;
7307
7440
  };
7308
- imports.wbg.__wbg_slice_3b17e1df768365f2 = function(arg0, arg1, arg2) {
7441
+ imports.wbg.__wbg_slice_974daea329f5c01d = function(arg0, arg1, arg2) {
7309
7442
  const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
7310
7443
  return ret;
7311
7444
  };
@@ -7316,78 +7449,78 @@ function __wbg_get_imports() {
7316
7449
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7317
7450
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7318
7451
  };
7319
- imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function() {
7452
+ imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
7320
7453
  const ret = typeof global === 'undefined' ? null : global;
7321
7454
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7322
7455
  };
7323
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function() {
7456
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
7324
7457
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
7325
7458
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7326
7459
  };
7327
- imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function() {
7460
+ imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
7328
7461
  const ret = typeof self === 'undefined' ? null : self;
7329
7462
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7330
7463
  };
7331
- imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function() {
7464
+ imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
7332
7465
  const ret = typeof window === 'undefined' ? null : window;
7333
7466
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7334
7467
  };
7335
- imports.wbg.__wbg_status_a54682bbe52f9058 = function(arg0) {
7468
+ imports.wbg.__wbg_status_3fea3036088621d6 = function(arg0) {
7336
7469
  const ret = arg0.status;
7337
7470
  return ret;
7338
7471
  };
7339
- imports.wbg.__wbg_storage_52b923037fa3d04c = function(arg0) {
7472
+ imports.wbg.__wbg_storage_32b4ac688c114c3d = function(arg0) {
7340
7473
  const ret = arg0.storage;
7341
7474
  return ret;
7342
7475
  };
7343
- imports.wbg.__wbg_stringify_c242842b97f054cc = function() { return handleError(function (arg0) {
7476
+ imports.wbg.__wbg_stringify_b98c93d0a190446a = function() { return handleError(function (arg0) {
7344
7477
  const ret = JSON.stringify(arg0);
7345
7478
  return ret;
7346
7479
  }, arguments) };
7347
- imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function(arg0, arg1, arg2) {
7480
+ imports.wbg.__wbg_subarray_70fd07feefe14294 = function(arg0, arg1, arg2) {
7348
7481
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
7349
7482
  return ret;
7350
7483
  };
7351
- imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
7484
+ imports.wbg.__wbg_text_0f69a215637b9b34 = function() { return handleError(function (arg0) {
7352
7485
  const ret = arg0.text();
7353
7486
  return ret;
7354
7487
  }, arguments) };
7355
- imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
7488
+ imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
7356
7489
  const ret = arg0.then(arg1, arg2);
7357
7490
  return ret;
7358
7491
  };
7359
- imports.wbg.__wbg_then_db882932c0c714c6 = function(arg0, arg1) {
7492
+ imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
7360
7493
  const ret = arg0.then(arg1);
7361
7494
  return ret;
7362
7495
  };
7363
- imports.wbg.__wbg_toString_bc7a05a172b5cf14 = function(arg0) {
7364
- const ret = arg0.toString();
7365
- return ret;
7366
- };
7367
- imports.wbg.__wbg_toString_e2fd3ab0d7a3919b = function() { return handleError(function (arg0, arg1) {
7496
+ imports.wbg.__wbg_toString_2ca967683e5874bc = function() { return handleError(function (arg0, arg1) {
7368
7497
  const ret = arg0.toString(arg1);
7369
7498
  return ret;
7370
7499
  }, arguments) };
7500
+ imports.wbg.__wbg_toString_78df35411a4fd40c = function(arg0) {
7501
+ const ret = arg0.toString();
7502
+ return ret;
7503
+ };
7371
7504
  imports.wbg.__wbg_toU8Array_7fa7fb3ae8554ad0 = function(arg0, arg1, arg2, arg3) {
7372
7505
  JSArrayBufferCopy.toU8Array(arg0, arg1 >>> 0, arg2 >>> 0, arg3);
7373
7506
  };
7374
7507
  imports.wbg.__wbg_toU8Slice_11519abfa5176ae4 = function(arg0, arg1, arg2, arg3) {
7375
7508
  JSArrayBufferCopy.toU8Slice(arg0, arg1, arg2 >>> 0, arg3 >>> 0);
7376
7509
  };
7377
- imports.wbg.__wbg_truncate_015f5d17c33dc013 = function() { return handleError(function (arg0, arg1) {
7378
- arg0.truncate(arg1);
7379
- }, arguments) };
7380
- imports.wbg.__wbg_truncate_1b4fd52305f619d7 = function() { return handleError(function (arg0, arg1) {
7510
+ imports.wbg.__wbg_truncate_0fe935591188a14c = function() { return handleError(function (arg0, arg1) {
7381
7511
  arg0.truncate(arg1 >>> 0);
7382
7512
  }, arguments) };
7383
- imports.wbg.__wbg_url_e6ed869ea05b7a71 = function(arg0, arg1) {
7513
+ imports.wbg.__wbg_truncate_7cddd971e3cf0a8c = function() { return handleError(function (arg0, arg1) {
7514
+ arg0.truncate(arg1);
7515
+ }, arguments) };
7516
+ imports.wbg.__wbg_url_e5720dfacf77b05e = function(arg0, arg1) {
7384
7517
  const ret = arg1.url;
7385
7518
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7386
7519
  const len1 = WASM_VECTOR_LEN;
7387
7520
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7388
7521
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7389
7522
  };
7390
- imports.wbg.__wbg_value_17b896954e14f896 = function(arg0) {
7523
+ imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
7391
7524
  const ret = arg0.value;
7392
7525
  return ret;
7393
7526
  };
@@ -7395,45 +7528,22 @@ function __wbg_get_imports() {
7395
7528
  const ret = arg0.versions;
7396
7529
  return ret;
7397
7530
  };
7398
- imports.wbg.__wbg_view_a9ad80dcbad7cf1c = function(arg0) {
7531
+ imports.wbg.__wbg_view_91cc97d57ab30530 = function(arg0) {
7399
7532
  const ret = arg0.view;
7400
7533
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
7401
7534
  };
7402
- imports.wbg.__wbg_warn_90607373221a6b1c = function(arg0, arg1, arg2, arg3) {
7535
+ imports.wbg.__wbg_warn_90eb15d986910fe9 = function(arg0, arg1, arg2, arg3) {
7403
7536
  console.warn(arg0, arg1, arg2, arg3);
7404
7537
  };
7405
- imports.wbg.__wbg_warn_d89f6637da554c8d = function(arg0) {
7538
+ imports.wbg.__wbg_warn_e2ada06313f92f09 = function(arg0) {
7406
7539
  console.warn(arg0);
7407
7540
  };
7408
- imports.wbg.__wbg_write_0afe3c9463f48fc5 = function() { return handleError(function (arg0, arg1, arg2) {
7409
- const ret = arg0.write(arg1, arg2);
7410
- return ret;
7411
- }, arguments) };
7412
- imports.wbg.__wbg_write_20973b686f7a7721 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7413
- const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
7414
- return ret;
7415
- }, arguments) };
7416
- imports.wbg.__wbindgen_array_new = function() {
7417
- const ret = [];
7418
- return ret;
7419
- };
7420
- imports.wbg.__wbindgen_array_push = function(arg0, arg1) {
7421
- arg0.push(arg1);
7422
- };
7423
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
7424
- const ret = arg0;
7425
- return ret;
7426
- };
7427
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
7428
- const ret = BigInt.asUintN(64, arg0);
7429
- return ret;
7430
- };
7431
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
7541
+ imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
7432
7542
  const v = arg0;
7433
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
7434
- return ret;
7543
+ const ret = typeof(v) === 'boolean' ? v : undefined;
7544
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7435
7545
  };
7436
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
7546
+ imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
7437
7547
  const obj = arg0.original;
7438
7548
  if (obj.cnt-- == 1) {
7439
7549
  obj.a = 0;
@@ -7442,79 +7552,49 @@ function __wbg_get_imports() {
7442
7552
  const ret = false;
7443
7553
  return ret;
7444
7554
  };
7445
- imports.wbg.__wbindgen_closure_wrapper20636 = function(arg0, arg1, arg2) {
7446
- const ret = makeMutClosure(arg0, arg1, 5034, __wbg_adapter_48);
7447
- return ret;
7448
- };
7449
- imports.wbg.__wbindgen_closure_wrapper22341 = function(arg0, arg1, arg2) {
7450
- const ret = makeMutClosure(arg0, arg1, 5360, __wbg_adapter_51);
7451
- return ret;
7452
- };
7453
- imports.wbg.__wbindgen_closure_wrapper24471 = function(arg0, arg1, arg2) {
7454
- const ret = makeMutClosure(arg0, arg1, 5599, __wbg_adapter_54);
7455
- return ret;
7456
- };
7457
- imports.wbg.__wbindgen_closure_wrapper25117 = function(arg0, arg1, arg2) {
7458
- const ret = makeMutClosure(arg0, arg1, 5612, __wbg_adapter_57);
7459
- return ret;
7460
- };
7461
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
7555
+ imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
7462
7556
  const ret = debugString(arg1);
7463
7557
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7464
7558
  const len1 = WASM_VECTOR_LEN;
7465
7559
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7466
7560
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7467
7561
  };
7468
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
7562
+ imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
7469
7563
  const ret = arg0 in arg1;
7470
7564
  return ret;
7471
7565
  };
7472
- imports.wbg.__wbindgen_init_externref_table = function() {
7473
- const table = wasm.__wbindgen_export_4;
7474
- const offset = table.grow(4);
7475
- table.set(0, undefined);
7476
- table.set(offset + 0, undefined);
7477
- table.set(offset + 1, null);
7478
- table.set(offset + 2, true);
7479
- table.set(offset + 3, false);
7480
- ;
7481
- };
7482
- imports.wbg.__wbindgen_is_function = function(arg0) {
7566
+ imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
7483
7567
  const ret = typeof(arg0) === 'function';
7484
7568
  return ret;
7485
7569
  };
7486
- imports.wbg.__wbindgen_is_object = function(arg0) {
7570
+ imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
7487
7571
  const val = arg0;
7488
7572
  const ret = typeof(val) === 'object' && val !== null;
7489
7573
  return ret;
7490
7574
  };
7491
- imports.wbg.__wbindgen_is_string = function(arg0) {
7575
+ imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
7492
7576
  const ret = typeof(arg0) === 'string';
7493
7577
  return ret;
7494
7578
  };
7495
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
7579
+ imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
7496
7580
  const ret = arg0 === undefined;
7497
7581
  return ret;
7498
7582
  };
7499
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
7583
+ imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
7500
7584
  const ret = arg0 == arg1;
7501
7585
  return ret;
7502
7586
  };
7503
- imports.wbg.__wbindgen_memory = function() {
7587
+ imports.wbg.__wbg_wbindgenmemory_d84da70f7c42d172 = function() {
7504
7588
  const ret = wasm.memory;
7505
7589
  return ret;
7506
7590
  };
7507
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
7591
+ imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
7508
7592
  const obj = arg1;
7509
7593
  const ret = typeof(obj) === 'number' ? obj : undefined;
7510
7594
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7511
7595
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7512
7596
  };
7513
- imports.wbg.__wbindgen_number_new = function(arg0) {
7514
- const ret = arg0;
7515
- return ret;
7516
- };
7517
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
7597
+ imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
7518
7598
  const obj = arg1;
7519
7599
  const ret = typeof(obj) === 'string' ? obj : undefined;
7520
7600
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -7522,19 +7602,121 @@ function __wbg_get_imports() {
7522
7602
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7523
7603
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7524
7604
  };
7525
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
7526
- const ret = getStringFromWasm0(arg0, arg1);
7527
- return ret;
7528
- };
7529
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
7605
+ imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
7530
7606
  throw new Error(getStringFromWasm0(arg0, arg1));
7531
7607
  };
7532
- imports.wbg.__wbindgen_try_into_number = function(arg0) {
7608
+ imports.wbg.__wbg_wbindgentryintonumber_aef53fe1d23c5fd4 = function(arg0) {
7533
7609
  let result;
7534
7610
  try { result = +arg0 } catch (e) { result = e }
7535
7611
  const ret = result;
7536
7612
  return ret;
7537
7613
  };
7614
+ imports.wbg.__wbg_write_9ac6a5f58a8c835c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
7615
+ const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3);
7616
+ return ret;
7617
+ }, arguments) };
7618
+ imports.wbg.__wbg_write_c0e234eeb0039d0d = function() { return handleError(function (arg0, arg1, arg2) {
7619
+ const ret = arg0.write(arg1, arg2);
7620
+ return ret;
7621
+ }, arguments) };
7622
+ imports.wbg.__wbg_xmtpcursor_new = function(arg0) {
7623
+ const ret = XmtpCursor.__wrap(arg0);
7624
+ return ret;
7625
+ };
7626
+ imports.wbg.__wbg_xmtpcursor_unwrap = function(arg0) {
7627
+ const ret = XmtpCursor.__unwrap(arg0);
7628
+ return ret;
7629
+ };
7630
+ imports.wbg.__wbindgen_cast_0fe22db7490762e9 = function(arg0, arg1) {
7631
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 6566, function: Function { arguments: [], shim_idx: 6567, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7632
+ const ret = makeMutClosure(arg0, arg1, 6566, __wbg_adapter_19);
7633
+ return ret;
7634
+ };
7635
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
7636
+ // Cast intrinsic for `Ref(String) -> Externref`.
7637
+ const ret = getStringFromWasm0(arg0, arg1);
7638
+ return ret;
7639
+ };
7640
+ imports.wbg.__wbindgen_cast_4281f6fa3a7af8cb = function(arg0, arg1) {
7641
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 6955, function: Function { arguments: [], shim_idx: 6956, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7642
+ const ret = makeMutClosure(arg0, arg1, 6955, __wbg_adapter_30);
7643
+ return ret;
7644
+ };
7645
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
7646
+ // Cast intrinsic for `U64 -> Externref`.
7647
+ const ret = BigInt.asUintN(64, arg0);
7648
+ return ret;
7649
+ };
7650
+ imports.wbg.__wbindgen_cast_4a7a1cd401354e65 = function(arg0, arg1) {
7651
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
7652
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
7653
+ // Cast intrinsic for `Vector(NamedExternref("InboxState")) -> Externref`.
7654
+ const ret = v0;
7655
+ return ret;
7656
+ };
7657
+ imports.wbg.__wbindgen_cast_5cdffc6a64ddb7af = function(arg0, arg1) {
7658
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4739, function: Function { arguments: [], shim_idx: 4740, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7659
+ const ret = makeMutClosure(arg0, arg1, 4739, __wbg_adapter_14);
7660
+ return ret;
7661
+ };
7662
+ imports.wbg.__wbindgen_cast_8e37b4ad2f2ba653 = function(arg0, arg1) {
7663
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
7664
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
7665
+ // Cast intrinsic for `Vector(NamedExternref("Conversation")) -> Externref`.
7666
+ const ret = v0;
7667
+ return ret;
7668
+ };
7669
+ imports.wbg.__wbindgen_cast_998222446b91a002 = function(arg0, arg1) {
7670
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
7671
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
7672
+ // Cast intrinsic for `Vector(NamedExternref("MessageWithReactions")) -> Externref`.
7673
+ const ret = v0;
7674
+ return ret;
7675
+ };
7676
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
7677
+ // Cast intrinsic for `I64 -> Externref`.
7678
+ const ret = arg0;
7679
+ return ret;
7680
+ };
7681
+ imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
7682
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
7683
+ const ret = getArrayU8FromWasm0(arg0, arg1);
7684
+ return ret;
7685
+ };
7686
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
7687
+ // Cast intrinsic for `F64 -> Externref`.
7688
+ const ret = arg0;
7689
+ return ret;
7690
+ };
7691
+ imports.wbg.__wbindgen_cast_e081be35fe620ec4 = function(arg0, arg1) {
7692
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
7693
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
7694
+ // Cast intrinsic for `Vector(NamedExternref("Message")) -> Externref`.
7695
+ const ret = v0;
7696
+ return ret;
7697
+ };
7698
+ imports.wbg.__wbindgen_cast_f20a506f31063fd0 = function(arg0, arg1) {
7699
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
7700
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
7701
+ // Cast intrinsic for `Vector(NamedExternref("DecodedMessage")) -> Externref`.
7702
+ const ret = v0;
7703
+ return ret;
7704
+ };
7705
+ imports.wbg.__wbindgen_cast_fa4bd61d4b49ccb5 = function(arg0, arg1) {
7706
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 6968, function: Function { arguments: [Externref], shim_idx: 6979, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7707
+ const ret = makeMutClosure(arg0, arg1, 6968, __wbg_adapter_33);
7708
+ return ret;
7709
+ };
7710
+ imports.wbg.__wbindgen_init_externref_table = function() {
7711
+ const table = wasm.__wbindgen_export_4;
7712
+ const offset = table.grow(4);
7713
+ table.set(0, undefined);
7714
+ table.set(offset + 0, undefined);
7715
+ table.set(offset + 1, null);
7716
+ table.set(offset + 2, true);
7717
+ table.set(offset + 3, false);
7718
+ ;
7719
+ };
7538
7720
 
7539
7721
  return imports;
7540
7722
  }