@wireapp/core-crypto 1.0.0-rc.36 → 1.0.0-rc.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,6 +57,7 @@ var passStringToWasm0 = function(arg, malloc, realloc) {
57
57
  const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
58
58
  const ret = encodeString(arg, view);
59
59
  offset += ret.written;
60
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
60
61
  }
61
62
  WASM_VECTOR_LEN = offset;
62
63
  return ptr;
@@ -148,21 +149,23 @@ var makeMutClosure = function(arg0, arg1, dtor, f) {
148
149
  } finally {
149
150
  if (--state.cnt === 0) {
150
151
  wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
152
+ CLOSURE_DTORS.unregister(state);
151
153
  } else {
152
154
  state.a = a;
153
155
  }
154
156
  }
155
157
  };
156
158
  real.original = state;
159
+ CLOSURE_DTORS.register(real, state, state);
157
160
  return real;
158
161
  };
159
162
  var __wbg_adapter_54 = function(arg0, arg1, arg2) {
160
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h8ded8986a22d6b2f(arg0, arg1, addHeapObject(arg2));
163
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h6214bffb5ea801ae(arg0, arg1, addHeapObject(arg2));
161
164
  };
162
165
  var __wbg_adapter_57 = function(arg0, arg1, arg2) {
163
166
  try {
164
167
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
165
- wasm.wasm_bindgen__convert__closures__invoke1_mut__h33e0efc6cd1bb42c(retptr, arg0, arg1, addHeapObject(arg2));
168
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__h989080a8cafb4923(retptr, arg0, arg1, addHeapObject(arg2));
166
169
  var r0 = getInt32Memory0()[retptr / 4 + 0];
167
170
  var r1 = getInt32Memory0()[retptr / 4 + 1];
168
171
  if (r1) {
@@ -232,8 +235,8 @@ var handleError = function(f, args) {
232
235
  wasm.__wbindgen_exn_store(addHeapObject(e));
233
236
  }
234
237
  };
235
- var __wbg_adapter_417 = function(arg0, arg1, arg2, arg3) {
236
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h639173e274a4a014(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
238
+ var __wbg_adapter_418 = function(arg0, arg1, arg2, arg3) {
239
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h3ec715bfa3ffd58a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
237
240
  };
238
241
  async function __wbg_load(module, imports) {
239
242
  if (typeof Response === "function" && module instanceof Response) {
@@ -262,49 +265,49 @@ async function __wbg_load(module, imports) {
262
265
  var __wbg_get_imports = function() {
263
266
  const imports = {};
264
267
  imports.wbg = {};
265
- imports.wbg.__wbg_commitbundle_new = function(arg0) {
266
- const ret = CommitBundle.__wrap(arg0);
268
+ imports.wbg.__wbindgen_number_new = function(arg0) {
269
+ const ret = arg0;
270
+ return addHeapObject(ret);
271
+ };
272
+ imports.wbg.__wbg_newacmeorder_new = function(arg0) {
273
+ const ret = NewAcmeOrder.__wrap(arg0);
274
+ return addHeapObject(ret);
275
+ };
276
+ imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
277
+ const ret = BufferedDecryptedMessage.__wrap(arg0);
267
278
  return addHeapObject(ret);
268
279
  };
269
280
  imports.wbg.__wbg_acmedirectory_new = function(arg0) {
270
281
  const ret = AcmeDirectory.__wrap(arg0);
271
282
  return addHeapObject(ret);
272
283
  };
284
+ imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
285
+ const ret = NewAcmeAuthz.__wrap(arg0);
286
+ return addHeapObject(ret);
287
+ };
273
288
  imports.wbg.__wbg_corecrypto_new = function(arg0) {
274
289
  const ret = CoreCrypto.__wrap(arg0);
275
290
  return addHeapObject(ret);
276
291
  };
292
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
293
+ takeObject(arg0);
294
+ };
277
295
  imports.wbg.__wbg_proteusautoprekeybundle_new = function(arg0) {
278
296
  const ret = ProteusAutoPrekeyBundle.__wrap(arg0);
279
297
  return addHeapObject(ret);
280
298
  };
281
- imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
282
- const ret = FfiWireE2EIdentity.__wrap(arg0);
299
+ imports.wbg.__wbg_commitbundle_new = function(arg0) {
300
+ const ret = CommitBundle.__wrap(arg0);
283
301
  return addHeapObject(ret);
284
302
  };
285
- imports.wbg.__wbindgen_number_new = function(arg0) {
286
- const ret = arg0;
303
+ imports.wbg.__wbg_ffiwiree2eidentity_new = function(arg0) {
304
+ const ret = FfiWireE2EIdentity.__wrap(arg0);
287
305
  return addHeapObject(ret);
288
306
  };
289
307
  imports.wbg.__wbg_proposalbundle_new = function(arg0) {
290
308
  const ret = ProposalBundle.__wrap(arg0);
291
309
  return addHeapObject(ret);
292
310
  };
293
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
294
- takeObject(arg0);
295
- };
296
- imports.wbg.__wbg_buffereddecryptedmessage_new = function(arg0) {
297
- const ret = BufferedDecryptedMessage.__wrap(arg0);
298
- return addHeapObject(ret);
299
- };
300
- imports.wbg.__wbg_newacmeauthz_new = function(arg0) {
301
- const ret = NewAcmeAuthz.__wrap(arg0);
302
- return addHeapObject(ret);
303
- };
304
- imports.wbg.__wbg_newacmeorder_new = function(arg0) {
305
- const ret = NewAcmeOrder.__wrap(arg0);
306
- return addHeapObject(ret);
307
- };
308
311
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
309
312
  const ret = getObject(arg0);
310
313
  return addHeapObject(ret);
@@ -365,7 +368,7 @@ var __wbg_get_imports = function() {
365
368
  const ret = getObject(arg0) in getObject(arg1);
366
369
  return ret;
367
370
  };
368
- imports.wbg.__wbg_queueMicrotask_26a89c14c53809c0 = function(arg0) {
371
+ imports.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
369
372
  const ret = getObject(arg0).queueMicrotask;
370
373
  return addHeapObject(ret);
371
374
  };
@@ -382,10 +385,10 @@ var __wbg_get_imports = function() {
382
385
  const ret = false;
383
386
  return ret;
384
387
  };
385
- imports.wbg.__wbg_queueMicrotask_118eeb525d584d9a = function(arg0) {
388
+ imports.wbg.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
386
389
  queueMicrotask(getObject(arg0));
387
390
  };
388
- imports.wbg.__wbg_now_0343d9c3e0e8eedc = function() {
391
+ imports.wbg.__wbg_now_1be9a41d0832ae2d = function() {
389
392
  const ret = Date.now();
390
393
  return ret;
391
394
  };
@@ -441,79 +444,79 @@ var __wbg_get_imports = function() {
441
444
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
442
445
  }
443
446
  };
444
- imports.wbg.__wbg_length_8df427eeded90205 = function(arg0) {
447
+ imports.wbg.__wbg_length_f4c93968efbcbe64 = function(arg0) {
445
448
  const ret = getObject(arg0).length;
446
449
  return ret;
447
450
  };
448
- imports.wbg.__wbg_contains_7a87af89c3705616 = function(arg0, arg1, arg2) {
451
+ imports.wbg.__wbg_contains_387aaee89de6826b = function(arg0, arg1, arg2) {
449
452
  const ret = getObject(arg0).contains(getStringFromWasm0(arg1, arg2));
450
453
  return ret;
451
454
  };
452
- imports.wbg.__wbg_get_6de6fdeef4691e1a = function(arg0, arg1, arg2) {
455
+ imports.wbg.__wbg_get_de1356a147af67e3 = function(arg0, arg1, arg2) {
453
456
  const ret = getObject(arg1)[arg2 >>> 0];
454
457
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
455
458
  var len1 = WASM_VECTOR_LEN;
456
459
  getInt32Memory0()[arg0 / 4 + 1] = len1;
457
460
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
458
461
  };
459
- imports.wbg.__wbg_target_791826e938c3e308 = function(arg0) {
462
+ imports.wbg.__wbg_target_6795373f170fd786 = function(arg0) {
460
463
  const ret = getObject(arg0).target;
461
464
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
462
465
  };
463
- imports.wbg.__wbg_key_37c38754953d9548 = function() {
466
+ imports.wbg.__wbg_key_ef58c847107973b5 = function() {
464
467
  return handleError(function(arg0) {
465
468
  const ret = getObject(arg0).key;
466
469
  return addHeapObject(ret);
467
470
  }, arguments);
468
471
  };
469
- imports.wbg.__wbg_advance_91191c6e755be0cf = function() {
472
+ imports.wbg.__wbg_advance_b4757fc0d86c7f4b = function() {
470
473
  return handleError(function(arg0, arg1) {
471
474
  getObject(arg0).advance(arg1 >>> 0);
472
475
  }, arguments);
473
476
  };
474
- imports.wbg.__wbg_continue_dc63786eb32e68f4 = function() {
477
+ imports.wbg.__wbg_continue_e476fb4cd4175cd3 = function() {
475
478
  return handleError(function(arg0) {
476
479
  getObject(arg0).continue();
477
480
  }, arguments);
478
481
  };
479
- imports.wbg.__wbg_value_2423cc2503742f59 = function() {
482
+ imports.wbg.__wbg_value_4eacb3e8dab4ab94 = function() {
480
483
  return handleError(function(arg0) {
481
484
  const ret = getObject(arg0).value;
482
485
  return addHeapObject(ret);
483
486
  }, arguments);
484
487
  };
485
- imports.wbg.__wbg_name_19991fc9d5bba34b = function(arg0, arg1) {
488
+ imports.wbg.__wbg_name_13a3ac72fdecd556 = function(arg0, arg1) {
486
489
  const ret = getObject(arg1).name;
487
490
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
488
491
  const len1 = WASM_VECTOR_LEN;
489
492
  getInt32Memory0()[arg0 / 4 + 1] = len1;
490
493
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
491
494
  };
492
- imports.wbg.__wbg_objectStoreNames_39d5d8ff165673c0 = function(arg0) {
495
+ imports.wbg.__wbg_objectStoreNames_2ecdd48caeba004f = function(arg0) {
493
496
  const ret = getObject(arg0).objectStoreNames;
494
497
  return addHeapObject(ret);
495
498
  };
496
- imports.wbg.__wbg_close_acce9432a5e50b56 = function(arg0) {
499
+ imports.wbg.__wbg_close_575a78984a58eb91 = function(arg0) {
497
500
  getObject(arg0).close();
498
501
  };
499
- imports.wbg.__wbg_createObjectStore_3e6033d951d4d4e3 = function() {
502
+ imports.wbg.__wbg_createObjectStore_b94c8c593fd6d249 = function() {
500
503
  return handleError(function(arg0, arg1, arg2, arg3) {
501
504
  const ret = getObject(arg0).createObjectStore(getStringFromWasm0(arg1, arg2), getObject(arg3));
502
505
  return addHeapObject(ret);
503
506
  }, arguments);
504
507
  };
505
- imports.wbg.__wbg_deleteObjectStore_5e4d5099dfc2a4dd = function() {
508
+ imports.wbg.__wbg_deleteObjectStore_a858b88892001cfb = function() {
506
509
  return handleError(function(arg0, arg1, arg2) {
507
510
  getObject(arg0).deleteObjectStore(getStringFromWasm0(arg1, arg2));
508
511
  }, arguments);
509
512
  };
510
- imports.wbg.__wbg_transaction_f3434456de85f902 = function() {
513
+ imports.wbg.__wbg_transaction_b46588e9ee3c2219 = function() {
511
514
  return handleError(function(arg0, arg1, arg2) {
512
515
  const ret = getObject(arg0).transaction(getObject(arg1), takeObject(arg2));
513
516
  return addHeapObject(ret);
514
517
  }, arguments);
515
518
  };
516
- imports.wbg.__wbg_instanceof_IdbFactory_44ad7bf9d2432630 = function(arg0) {
519
+ imports.wbg.__wbg_instanceof_IdbFactory_ce39c85191908177 = function(arg0) {
517
520
  let result;
518
521
  try {
519
522
  result = getObject(arg0) instanceof IDBFactory;
@@ -523,137 +526,137 @@ var __wbg_get_imports = function() {
523
526
  const ret = result;
524
527
  return ret;
525
528
  };
526
- imports.wbg.__wbg_deleteDatabase_4d9345751592d548 = function() {
529
+ imports.wbg.__wbg_deleteDatabase_124fead5afde1fd0 = function() {
527
530
  return handleError(function(arg0, arg1, arg2) {
528
531
  const ret = getObject(arg0).deleteDatabase(getStringFromWasm0(arg1, arg2));
529
532
  return addHeapObject(ret);
530
533
  }, arguments);
531
534
  };
532
- imports.wbg.__wbg_open_67f43f98b0470c36 = function() {
535
+ imports.wbg.__wbg_open_e75f6c89e35c2edf = function() {
533
536
  return handleError(function(arg0, arg1, arg2, arg3) {
534
537
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
535
538
  return addHeapObject(ret);
536
539
  }, arguments);
537
540
  };
538
- imports.wbg.__wbg_open_fdc86a2e78792175 = function() {
541
+ imports.wbg.__wbg_open_dda0623a9d03ec08 = function() {
539
542
  return handleError(function(arg0, arg1, arg2) {
540
543
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2));
541
544
  return addHeapObject(ret);
542
545
  }, arguments);
543
546
  };
544
- imports.wbg.__wbg_get_5a53f1db2e1f849e = function() {
547
+ imports.wbg.__wbg_get_037ff0e861f69036 = function() {
545
548
  return handleError(function(arg0, arg1) {
546
549
  const ret = getObject(arg0).get(getObject(arg1));
547
550
  return addHeapObject(ret);
548
551
  }, arguments);
549
552
  };
550
- imports.wbg.__wbg_indexNames_46f7cbd210ff2316 = function(arg0) {
553
+ imports.wbg.__wbg_indexNames_8bd628ce8dc4bc30 = function(arg0) {
551
554
  const ret = getObject(arg0).indexNames;
552
555
  return addHeapObject(ret);
553
556
  };
554
- imports.wbg.__wbg_count_e8ca9e4c26c83124 = function() {
557
+ imports.wbg.__wbg_count_98c737963cf15417 = function() {
555
558
  return handleError(function(arg0) {
556
559
  const ret = getObject(arg0).count();
557
560
  return addHeapObject(ret);
558
561
  }, arguments);
559
562
  };
560
- imports.wbg.__wbg_count_b52f69a5b1f2c70c = function() {
563
+ imports.wbg.__wbg_count_1b9644db007fb2f7 = function() {
561
564
  return handleError(function(arg0, arg1) {
562
565
  const ret = getObject(arg0).count(getObject(arg1));
563
566
  return addHeapObject(ret);
564
567
  }, arguments);
565
568
  };
566
- imports.wbg.__wbg_createIndex_224ae7381d3b4bfd = function() {
569
+ imports.wbg.__wbg_createIndex_2b4d8db40f62b4a6 = function() {
567
570
  return handleError(function(arg0, arg1, arg2, arg3, arg4) {
568
571
  const ret = getObject(arg0).createIndex(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
569
572
  return addHeapObject(ret);
570
573
  }, arguments);
571
574
  };
572
- imports.wbg.__wbg_delete_a1548c00f44e1608 = function() {
575
+ imports.wbg.__wbg_delete_e7f0bdfa8e9100d2 = function() {
573
576
  return handleError(function(arg0, arg1) {
574
577
  const ret = getObject(arg0).delete(getObject(arg1));
575
578
  return addHeapObject(ret);
576
579
  }, arguments);
577
580
  };
578
- imports.wbg.__wbg_deleteIndex_c9c7ce8f15358d94 = function() {
581
+ imports.wbg.__wbg_deleteIndex_99e3acff010af182 = function() {
579
582
  return handleError(function(arg0, arg1, arg2) {
580
583
  getObject(arg0).deleteIndex(getStringFromWasm0(arg1, arg2));
581
584
  }, arguments);
582
585
  };
583
- imports.wbg.__wbg_get_f477c47401497f39 = function() {
586
+ imports.wbg.__wbg_get_a511742412eef1ff = function() {
584
587
  return handleError(function(arg0, arg1) {
585
588
  const ret = getObject(arg0).get(getObject(arg1));
586
589
  return addHeapObject(ret);
587
590
  }, arguments);
588
591
  };
589
- imports.wbg.__wbg_index_467316d1b83c23e0 = function() {
592
+ imports.wbg.__wbg_index_494185b56c74838e = function() {
590
593
  return handleError(function(arg0, arg1, arg2) {
591
594
  const ret = getObject(arg0).index(getStringFromWasm0(arg1, arg2));
592
595
  return addHeapObject(ret);
593
596
  }, arguments);
594
597
  };
595
- imports.wbg.__wbg_openCursor_f22aef1cc12ac4f8 = function() {
598
+ imports.wbg.__wbg_openCursor_c1242c19f36e0ef0 = function() {
596
599
  return handleError(function(arg0) {
597
600
  const ret = getObject(arg0).openCursor();
598
601
  return addHeapObject(ret);
599
602
  }, arguments);
600
603
  };
601
- imports.wbg.__wbg_openCursor_dfd216338fea9811 = function() {
604
+ imports.wbg.__wbg_openCursor_0f263b5636e9470e = function() {
602
605
  return handleError(function(arg0, arg1) {
603
606
  const ret = getObject(arg0).openCursor(getObject(arg1));
604
607
  return addHeapObject(ret);
605
608
  }, arguments);
606
609
  };
607
- imports.wbg.__wbg_openCursor_d0e99645eacfd500 = function() {
610
+ imports.wbg.__wbg_openCursor_569fe4858ad7ccb2 = function() {
608
611
  return handleError(function(arg0, arg1, arg2) {
609
612
  const ret = getObject(arg0).openCursor(getObject(arg1), takeObject(arg2));
610
613
  return addHeapObject(ret);
611
614
  }, arguments);
612
615
  };
613
- imports.wbg.__wbg_put_39d210624272c87d = function() {
616
+ imports.wbg.__wbg_put_9806ff25ff20486b = function() {
614
617
  return handleError(function(arg0, arg1) {
615
618
  const ret = getObject(arg0).put(getObject(arg1));
616
619
  return addHeapObject(ret);
617
620
  }, arguments);
618
621
  };
619
- imports.wbg.__wbg_put_d0c11cfda402797f = function() {
622
+ imports.wbg.__wbg_put_f5ab898915aa0ec4 = function() {
620
623
  return handleError(function(arg0, arg1, arg2) {
621
624
  const ret = getObject(arg0).put(getObject(arg1), getObject(arg2));
622
625
  return addHeapObject(ret);
623
626
  }, arguments);
624
627
  };
625
- imports.wbg.__wbg_setonupgradeneeded_ebb6b49da07ef076 = function(arg0, arg1) {
628
+ imports.wbg.__wbg_setonupgradeneeded_704b0c0061756fd9 = function(arg0, arg1) {
626
629
  getObject(arg0).onupgradeneeded = getObject(arg1);
627
630
  };
628
- imports.wbg.__wbg_result_43945900200dc972 = function() {
631
+ imports.wbg.__wbg_result_43ea35e72f0fa7c7 = function() {
629
632
  return handleError(function(arg0) {
630
633
  const ret = getObject(arg0).result;
631
634
  return addHeapObject(ret);
632
635
  }, arguments);
633
636
  };
634
- imports.wbg.__wbg_error_ebceed2ec415ded1 = function() {
637
+ imports.wbg.__wbg_error_180ee1f6d813554e = function() {
635
638
  return handleError(function(arg0) {
636
639
  const ret = getObject(arg0).error;
637
640
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
638
641
  }, arguments);
639
642
  };
640
- imports.wbg.__wbg_transaction_e0b73c5d10b37756 = function(arg0) {
643
+ imports.wbg.__wbg_transaction_75ade65c1c881217 = function(arg0) {
641
644
  const ret = getObject(arg0).transaction;
642
645
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
643
646
  };
644
- imports.wbg.__wbg_setonsuccess_8c53d1b7e13c41e5 = function(arg0, arg1) {
647
+ imports.wbg.__wbg_setonsuccess_07be5f02db609d40 = function(arg0, arg1) {
645
648
  getObject(arg0).onsuccess = getObject(arg1);
646
649
  };
647
- imports.wbg.__wbg_setonerror_39dab75ef2d606f0 = function(arg0, arg1) {
650
+ imports.wbg.__wbg_setonerror_4042c0d324fafcf9 = function(arg0, arg1) {
648
651
  getObject(arg0).onerror = getObject(arg1);
649
652
  };
650
- imports.wbg.__wbg_objectStore_fe6c5364a54fc56a = function() {
653
+ imports.wbg.__wbg_objectStore_402a3923882f9f3f = function() {
651
654
  return handleError(function(arg0, arg1, arg2) {
652
655
  const ret = getObject(arg0).objectStore(getStringFromWasm0(arg1, arg2));
653
656
  return addHeapObject(ret);
654
657
  }, arguments);
655
658
  };
656
- imports.wbg.__wbg_warn_0e0204547af47087 = function(arg0) {
659
+ imports.wbg.__wbg_warn_2a68e3ab54e55f28 = function(arg0) {
657
660
  console.warn(getObject(arg0));
658
661
  };
659
662
  imports.wbg.__wbg_crypto_d05b68a3572bb8ca = function(arg0) {
@@ -696,104 +699,104 @@ var __wbg_get_imports = function() {
696
699
  getObject(arg0).getRandomValues(getObject(arg1));
697
700
  }, arguments);
698
701
  };
699
- imports.wbg.__wbg_self_086b5302bcafb962 = function() {
702
+ imports.wbg.__wbg_self_05040bd9523805b9 = function() {
700
703
  return handleError(function() {
701
704
  const ret = self.self;
702
705
  return addHeapObject(ret);
703
706
  }, arguments);
704
707
  };
705
- imports.wbg.__wbg_window_132fa5d7546f1de5 = function() {
708
+ imports.wbg.__wbg_window_adc720039f2cb14f = function() {
706
709
  return handleError(function() {
707
710
  const ret = window.window;
708
711
  return addHeapObject(ret);
709
712
  }, arguments);
710
713
  };
711
- imports.wbg.__wbg_globalThis_e5f801a37ad7d07b = function() {
714
+ imports.wbg.__wbg_globalThis_622105db80c1457d = function() {
712
715
  return handleError(function() {
713
716
  const ret = globalThis.globalThis;
714
717
  return addHeapObject(ret);
715
718
  }, arguments);
716
719
  };
717
- imports.wbg.__wbg_global_f9a61fce4af6b7c1 = function() {
720
+ imports.wbg.__wbg_global_f56b013ed9bcf359 = function() {
718
721
  return handleError(function() {
719
722
  const ret = global.global;
720
723
  return addHeapObject(ret);
721
724
  }, arguments);
722
725
  };
723
- imports.wbg.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) {
726
+ imports.wbg.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
724
727
  const ret = new Function(getStringFromWasm0(arg0, arg1));
725
728
  return addHeapObject(ret);
726
729
  };
727
- imports.wbg.__wbg_call_a79f1973a4f07d5e = function() {
730
+ imports.wbg.__wbg_call_3f093dd26d5569f8 = function() {
728
731
  return handleError(function(arg0, arg1) {
729
732
  const ret = getObject(arg0).call(getObject(arg1));
730
733
  return addHeapObject(ret);
731
734
  }, arguments);
732
735
  };
733
- imports.wbg.__wbg_get_c43534c00f382c8a = function(arg0, arg1) {
736
+ imports.wbg.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
734
737
  const ret = getObject(arg0)[arg1 >>> 0];
735
738
  return addHeapObject(ret);
736
739
  };
737
- imports.wbg.__wbg_length_d99b680fd68bf71b = function(arg0) {
740
+ imports.wbg.__wbg_length_161c0d89c6535c1d = function(arg0) {
738
741
  const ret = getObject(arg0).length;
739
742
  return ret;
740
743
  };
741
- imports.wbg.__wbg_new_34c624469fb1d4fd = function() {
744
+ imports.wbg.__wbg_new_75208e29bddfd88c = function() {
742
745
  const ret = new Array;
743
746
  return addHeapObject(ret);
744
747
  };
745
- imports.wbg.__wbg_new_ad4df4628315a892 = function() {
748
+ imports.wbg.__wbg_new_d1cc518eff6805bb = function() {
746
749
  const ret = new Map;
747
750
  return addHeapObject(ret);
748
751
  };
749
- imports.wbg.__wbg_next_1938cf110c9491d4 = function(arg0) {
752
+ imports.wbg.__wbg_next_586204376d2ed373 = function(arg0) {
750
753
  const ret = getObject(arg0).next;
751
754
  return addHeapObject(ret);
752
755
  };
753
- imports.wbg.__wbg_next_267398d0e0761bf9 = function() {
756
+ imports.wbg.__wbg_next_b2d3366343a208b3 = function() {
754
757
  return handleError(function(arg0) {
755
758
  const ret = getObject(arg0).next();
756
759
  return addHeapObject(ret);
757
760
  }, arguments);
758
761
  };
759
- imports.wbg.__wbg_done_506b44765ba84b9c = function(arg0) {
762
+ imports.wbg.__wbg_done_90b14d6f6eacc42f = function(arg0) {
760
763
  const ret = getObject(arg0).done;
761
764
  return ret;
762
765
  };
763
- imports.wbg.__wbg_value_31485d8770eb06ab = function(arg0) {
766
+ imports.wbg.__wbg_value_3158be908c80a75e = function(arg0) {
764
767
  const ret = getObject(arg0).value;
765
768
  return addHeapObject(ret);
766
769
  };
767
- imports.wbg.__wbg_iterator_364187e1ee96b750 = function() {
770
+ imports.wbg.__wbg_iterator_40027cdd598da26b = function() {
768
771
  const ret = Symbol.iterator;
769
772
  return addHeapObject(ret);
770
773
  };
771
- imports.wbg.__wbg_get_5027b32da70f39b1 = function() {
774
+ imports.wbg.__wbg_get_3fddfed2c83f434c = function() {
772
775
  return handleError(function(arg0, arg1) {
773
776
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
774
777
  return addHeapObject(ret);
775
778
  }, arguments);
776
779
  };
777
- imports.wbg.__wbg_new_87d841e70661f6e9 = function() {
780
+ imports.wbg.__wbg_new_632630b5cec17f21 = function() {
778
781
  const ret = new Object;
779
782
  return addHeapObject(ret);
780
783
  };
781
- imports.wbg.__wbg_set_379b27f1d5f1bf9c = function(arg0, arg1, arg2) {
784
+ imports.wbg.__wbg_set_79c308ecd9a1d091 = function(arg0, arg1, arg2) {
782
785
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
783
786
  };
784
- imports.wbg.__wbg_isArray_fbd24d447869b527 = function(arg0) {
787
+ imports.wbg.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
785
788
  const ret = Array.isArray(getObject(arg0));
786
789
  return ret;
787
790
  };
788
- imports.wbg.__wbg_of_d43fb39c006c0b36 = function(arg0, arg1, arg2, arg3) {
791
+ imports.wbg.__wbg_of_38777ff6f65d601a = function(arg0, arg1, arg2, arg3) {
789
792
  const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
790
793
  return addHeapObject(ret);
791
794
  };
792
- imports.wbg.__wbg_push_906164999551d793 = function(arg0, arg1) {
795
+ imports.wbg.__wbg_push_0239ee92f127e807 = function(arg0, arg1) {
793
796
  const ret = getObject(arg0).push(getObject(arg1));
794
797
  return ret;
795
798
  };
796
- imports.wbg.__wbg_instanceof_ArrayBuffer_f4521cec1b99ee35 = function(arg0) {
799
+ imports.wbg.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
797
800
  let result;
798
801
  try {
799
802
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -803,73 +806,73 @@ var __wbg_get_imports = function() {
803
806
  const ret = result;
804
807
  return ret;
805
808
  };
806
- imports.wbg.__wbg_new_3a66822ed076951c = function(arg0, arg1) {
809
+ imports.wbg.__wbg_new_73a5987615ec8862 = function(arg0, arg1) {
807
810
  const ret = new Error(getStringFromWasm0(arg0, arg1));
808
811
  return addHeapObject(ret);
809
812
  };
810
- imports.wbg.__wbg_toString_5326377607a05bf2 = function(arg0) {
813
+ imports.wbg.__wbg_toString_07f01913ec9af122 = function(arg0) {
811
814
  const ret = getObject(arg0).toString();
812
815
  return addHeapObject(ret);
813
816
  };
814
- imports.wbg.__wbg_apply_d890a2eae27f4a03 = function() {
817
+ imports.wbg.__wbg_apply_2ed8aac218b83e42 = function() {
815
818
  return handleError(function(arg0, arg1, arg2) {
816
819
  const ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));
817
820
  return addHeapObject(ret);
818
821
  }, arguments);
819
822
  };
820
- imports.wbg.__wbg_call_f6a2bc58c19c53c6 = function() {
823
+ imports.wbg.__wbg_call_67f2111acd2dfdb6 = function() {
821
824
  return handleError(function(arg0, arg1, arg2) {
822
825
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
823
826
  return addHeapObject(ret);
824
827
  }, arguments);
825
828
  };
826
- imports.wbg.__wbg_call_5830eb5e103aa772 = function() {
829
+ imports.wbg.__wbg_call_ef6edd65b3d356b6 = function() {
827
830
  return handleError(function(arg0, arg1, arg2, arg3) {
828
831
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
829
832
  return addHeapObject(ret);
830
833
  }, arguments);
831
834
  };
832
- imports.wbg.__wbg_call_84a3935b24cb0625 = function() {
835
+ imports.wbg.__wbg_call_29e8448cce029bad = function() {
833
836
  return handleError(function(arg0, arg1, arg2, arg3, arg4) {
834
837
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
835
838
  return addHeapObject(ret);
836
839
  }, arguments);
837
840
  };
838
- imports.wbg.__wbg_set_83e83bc2428e50ab = function(arg0, arg1, arg2) {
841
+ imports.wbg.__wbg_set_e4cfc2763115ffc7 = function(arg0, arg1, arg2) {
839
842
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
840
843
  return addHeapObject(ret);
841
844
  };
842
- imports.wbg.__wbg_isSafeInteger_d8c89788832a17bf = function(arg0) {
845
+ imports.wbg.__wbg_isSafeInteger_a23a66ee7c41b273 = function(arg0) {
843
846
  const ret = Number.isSafeInteger(getObject(arg0));
844
847
  return ret;
845
848
  };
846
- imports.wbg.__wbg_getTime_af7ca51c0bcefa08 = function(arg0) {
849
+ imports.wbg.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
847
850
  const ret = getObject(arg0).getTime();
848
851
  return ret;
849
852
  };
850
- imports.wbg.__wbg_new0_c0e40662db0749ee = function() {
853
+ imports.wbg.__wbg_new0_7a6141101f2206da = function() {
851
854
  const ret = new Date;
852
855
  return addHeapObject(ret);
853
856
  };
854
- imports.wbg.__wbg_now_86f7ca537c8b86d5 = function() {
857
+ imports.wbg.__wbg_now_ba25f0a487340763 = function() {
855
858
  const ret = Date.now();
856
859
  return ret;
857
860
  };
858
- imports.wbg.__wbg_entries_7a47f5716366056b = function(arg0) {
861
+ imports.wbg.__wbg_entries_488960b196cfb6a5 = function(arg0) {
859
862
  const ret = Object.entries(getObject(arg0));
860
863
  return addHeapObject(ret);
861
864
  };
862
- imports.wbg.__wbg_set_37a50e901587b477 = function() {
865
+ imports.wbg.__wbg_set_961700853a212a39 = function() {
863
866
  return handleError(function(arg0, arg1, arg2) {
864
867
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
865
868
  return ret;
866
869
  }, arguments);
867
870
  };
868
- imports.wbg.__wbg_buffer_5d1b598a01b41a42 = function(arg0) {
871
+ imports.wbg.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
869
872
  const ret = getObject(arg0).buffer;
870
873
  return addHeapObject(ret);
871
874
  };
872
- imports.wbg.__wbg_instanceof_Promise_bbd46d56519fb966 = function(arg0) {
875
+ imports.wbg.__wbg_instanceof_Promise_ccef695df7116cb7 = function(arg0) {
873
876
  let result;
874
877
  try {
875
878
  result = getObject(arg0) instanceof Promise;
@@ -879,14 +882,14 @@ var __wbg_get_imports = function() {
879
882
  const ret = result;
880
883
  return ret;
881
884
  };
882
- imports.wbg.__wbg_new_1d93771b84541aa5 = function(arg0, arg1) {
885
+ imports.wbg.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
883
886
  try {
884
887
  var state0 = { a: arg0, b: arg1 };
885
888
  var cb0 = (arg02, arg12) => {
886
889
  const a = state0.a;
887
890
  state0.a = 0;
888
891
  try {
889
- return __wbg_adapter_417(a, state0.b, arg02, arg12);
892
+ return __wbg_adapter_418(a, state0.b, arg02, arg12);
890
893
  } finally {
891
894
  state0.a = a;
892
895
  }
@@ -897,38 +900,38 @@ var __wbg_get_imports = function() {
897
900
  state0.a = state0.b = 0;
898
901
  }
899
902
  };
900
- imports.wbg.__wbg_reject_c314396c0c29d52d = function(arg0) {
903
+ imports.wbg.__wbg_reject_20edd857b2f91504 = function(arg0) {
901
904
  const ret = Promise.reject(getObject(arg0));
902
905
  return addHeapObject(ret);
903
906
  };
904
- imports.wbg.__wbg_resolve_97ecd55ee839391b = function(arg0) {
907
+ imports.wbg.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
905
908
  const ret = Promise.resolve(getObject(arg0));
906
909
  return addHeapObject(ret);
907
910
  };
908
- imports.wbg.__wbg_then_7aeb7c5f1536640f = function(arg0, arg1) {
911
+ imports.wbg.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
909
912
  const ret = getObject(arg0).then(getObject(arg1));
910
913
  return addHeapObject(ret);
911
914
  };
912
- imports.wbg.__wbg_then_5842e4e97f7beace = function(arg0, arg1, arg2) {
915
+ imports.wbg.__wbg_then_20a5920e447d1cb1 = function(arg0, arg1, arg2) {
913
916
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
914
917
  return addHeapObject(ret);
915
918
  };
916
- imports.wbg.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) {
919
+ imports.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
917
920
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
918
921
  return addHeapObject(ret);
919
922
  };
920
- imports.wbg.__wbg_new_ace717933ad7117f = function(arg0) {
923
+ imports.wbg.__wbg_new_b1f2d6842d615181 = function(arg0) {
921
924
  const ret = new Uint8Array(getObject(arg0));
922
925
  return addHeapObject(ret);
923
926
  };
924
- imports.wbg.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) {
927
+ imports.wbg.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
925
928
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
926
929
  };
927
- imports.wbg.__wbg_length_f0764416ba5bb237 = function(arg0) {
930
+ imports.wbg.__wbg_length_21c4b0ae73cba59d = function(arg0) {
928
931
  const ret = getObject(arg0).length;
929
932
  return ret;
930
933
  };
931
- imports.wbg.__wbg_instanceof_Uint8Array_4f5cffed7df34b2f = function(arg0) {
934
+ imports.wbg.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) {
932
935
  let result;
933
936
  try {
934
937
  result = getObject(arg0) instanceof Uint8Array;
@@ -938,11 +941,11 @@ var __wbg_get_imports = function() {
938
941
  const ret = result;
939
942
  return ret;
940
943
  };
941
- imports.wbg.__wbg_newwithlength_728575f3bba9959b = function(arg0) {
944
+ imports.wbg.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
942
945
  const ret = new Uint8Array(arg0 >>> 0);
943
946
  return addHeapObject(ret);
944
947
  };
945
- imports.wbg.__wbg_subarray_7f7a652672800851 = function(arg0, arg1, arg2) {
948
+ imports.wbg.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
946
949
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
947
950
  return addHeapObject(ret);
948
951
  };
@@ -966,12 +969,12 @@ var __wbg_get_imports = function() {
966
969
  const ret = wasm.memory;
967
970
  return addHeapObject(ret);
968
971
  };
969
- imports.wbg.__wbindgen_closure_wrapper2510 = function(arg0, arg1, arg2) {
970
- const ret = makeMutClosure(arg0, arg1, 648, __wbg_adapter_54);
972
+ imports.wbg.__wbindgen_closure_wrapper2574 = function(arg0, arg1, arg2) {
973
+ const ret = makeMutClosure(arg0, arg1, 652, __wbg_adapter_54);
971
974
  return addHeapObject(ret);
972
975
  };
973
- imports.wbg.__wbindgen_closure_wrapper11519 = function(arg0, arg1, arg2) {
974
- const ret = makeMutClosure(arg0, arg1, 1592, __wbg_adapter_57);
976
+ imports.wbg.__wbindgen_closure_wrapper13175 = function(arg0, arg1, arg2) {
977
+ const ret = makeMutClosure(arg0, arg1, 2176, __wbg_adapter_57);
975
978
  return addHeapObject(ret);
976
979
  };
977
980
  return imports;
@@ -1031,15 +1034,18 @@ var encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function
1031
1034
  var cachedInt32Memory0 = null;
1032
1035
  var cachedFloat64Memory0 = null;
1033
1036
  var cachedBigInt64Memory0 = null;
1037
+ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
1038
+ }, unregister: () => {
1039
+ } } : new FinalizationRegistry((state) => {
1040
+ wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
1041
+ });
1034
1042
  var cachedUint32Memory0 = null;
1035
1043
  var cachedUint16Memory0 = null;
1036
- var DeviceStatus = Object.freeze({
1037
- Valid: 0,
1038
- "0": "Valid",
1039
- Expired: 1,
1040
- "1": "Expired",
1041
- Revoked: 2,
1042
- "2": "Revoked"
1044
+ var CredentialType = Object.freeze({
1045
+ Basic: 1,
1046
+ "1": "Basic",
1047
+ X509: 2,
1048
+ "2": "X509"
1043
1049
  });
1044
1050
  var Ciphersuite = Object.freeze({
1045
1051
  MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519: 1,
@@ -1059,29 +1065,36 @@ var Ciphersuite = Object.freeze({
1059
1065
  MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519: 61489,
1060
1066
  "61489": "MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_Ed25519"
1061
1067
  });
1068
+ var DeviceStatus = Object.freeze({
1069
+ Valid: 0,
1070
+ "0": "Valid",
1071
+ Expired: 1,
1072
+ "1": "Expired",
1073
+ Revoked: 2,
1074
+ "2": "Revoked"
1075
+ });
1062
1076
  var WirePolicy = Object.freeze({
1063
1077
  Plaintext: 1,
1064
1078
  "1": "Plaintext",
1065
1079
  Ciphertext: 2,
1066
1080
  "2": "Ciphertext"
1067
1081
  });
1068
- var CredentialType = Object.freeze({
1069
- Basic: 1,
1070
- "1": "Basic",
1071
- X509: 2,
1072
- "2": "X509"
1073
- });
1082
+ var AcmeChallengeFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1083
+ }, unregister: () => {
1084
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_acmechallenge_free(ptr >>> 0));
1074
1085
 
1075
1086
  class AcmeChallenge {
1076
1087
  static __wrap(ptr) {
1077
1088
  ptr = ptr >>> 0;
1078
1089
  const obj = Object.create(AcmeChallenge.prototype);
1079
1090
  obj.__wbg_ptr = ptr;
1091
+ AcmeChallengeFinalization.register(obj, obj.__wbg_ptr, obj);
1080
1092
  return obj;
1081
1093
  }
1082
1094
  __destroy_into_raw() {
1083
1095
  const ptr = this.__wbg_ptr;
1084
1096
  this.__wbg_ptr = 0;
1097
+ AcmeChallengeFinalization.unregister(this);
1085
1098
  return ptr;
1086
1099
  }
1087
1100
  free() {
@@ -1134,17 +1147,22 @@ class AcmeChallenge {
1134
1147
  }
1135
1148
  }
1136
1149
  }
1150
+ var AcmeDirectoryFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1151
+ }, unregister: () => {
1152
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_acmedirectory_free(ptr >>> 0));
1137
1153
 
1138
1154
  class AcmeDirectory {
1139
1155
  static __wrap(ptr) {
1140
1156
  ptr = ptr >>> 0;
1141
1157
  const obj = Object.create(AcmeDirectory.prototype);
1142
1158
  obj.__wbg_ptr = ptr;
1159
+ AcmeDirectoryFinalization.register(obj, obj.__wbg_ptr, obj);
1143
1160
  return obj;
1144
1161
  }
1145
1162
  __destroy_into_raw() {
1146
1163
  const ptr = this.__wbg_ptr;
1147
1164
  this.__wbg_ptr = 0;
1165
+ AcmeDirectoryFinalization.unregister(this);
1148
1166
  return ptr;
1149
1167
  }
1150
1168
  free() {
@@ -1216,17 +1234,22 @@ class AcmeDirectory {
1216
1234
  }
1217
1235
  }
1218
1236
  }
1237
+ var BufferedDecryptedMessageFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1238
+ }, unregister: () => {
1239
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_buffereddecryptedmessage_free(ptr >>> 0));
1219
1240
 
1220
1241
  class BufferedDecryptedMessage {
1221
1242
  static __wrap(ptr) {
1222
1243
  ptr = ptr >>> 0;
1223
1244
  const obj = Object.create(BufferedDecryptedMessage.prototype);
1224
1245
  obj.__wbg_ptr = ptr;
1246
+ BufferedDecryptedMessageFinalization.register(obj, obj.__wbg_ptr, obj);
1225
1247
  return obj;
1226
1248
  }
1227
1249
  __destroy_into_raw() {
1228
1250
  const ptr = this.__wbg_ptr;
1229
1251
  this.__wbg_ptr = 0;
1252
+ BufferedDecryptedMessageFinalization.unregister(this);
1230
1253
  return ptr;
1231
1254
  }
1232
1255
  free() {
@@ -1268,34 +1291,27 @@ class BufferedDecryptedMessage {
1268
1291
  const ret = wasm.buffereddecryptedmessage_identity(this.__wbg_ptr);
1269
1292
  return ret === 0 ? undefined : WireIdentity.__wrap(ret);
1270
1293
  }
1271
- get crlNewDistributionPoints() {
1272
- try {
1273
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1274
- wasm.__wbg_get_buffereddecryptedmessage_crlNewDistributionPoints(retptr, this.__wbg_ptr);
1275
- var r0 = getInt32Memory0()[retptr / 4 + 0];
1276
- var r1 = getInt32Memory0()[retptr / 4 + 1];
1277
- let v1;
1278
- if (r0 !== 0) {
1279
- v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1280
- wasm.__wbindgen_free(r0, r1 * 4, 4);
1281
- }
1282
- return v1;
1283
- } finally {
1284
- wasm.__wbindgen_add_to_stack_pointer(16);
1285
- }
1294
+ get crl_new_distribution_points() {
1295
+ const ret = wasm.buffereddecryptedmessage_crl_new_distribution_points(this.__wbg_ptr);
1296
+ return takeObject(ret);
1286
1297
  }
1287
1298
  }
1299
+ var CommitBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1300
+ }, unregister: () => {
1301
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_commitbundle_free(ptr >>> 0));
1288
1302
 
1289
1303
  class CommitBundle {
1290
1304
  static __wrap(ptr) {
1291
1305
  ptr = ptr >>> 0;
1292
1306
  const obj = Object.create(CommitBundle.prototype);
1293
1307
  obj.__wbg_ptr = ptr;
1308
+ CommitBundleFinalization.register(obj, obj.__wbg_ptr, obj);
1294
1309
  return obj;
1295
1310
  }
1296
1311
  __destroy_into_raw() {
1297
1312
  const ptr = this.__wbg_ptr;
1298
1313
  this.__wbg_ptr = 0;
1314
+ CommitBundleFinalization.unregister(this);
1299
1315
  return ptr;
1300
1316
  }
1301
1317
  free() {
@@ -1315,11 +1331,15 @@ class CommitBundle {
1315
1331
  return GroupInfoBundle.__wrap(ret);
1316
1332
  }
1317
1333
  }
1334
+ var ConversationConfigurationFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1335
+ }, unregister: () => {
1336
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_conversationconfiguration_free(ptr >>> 0));
1318
1337
 
1319
1338
  class ConversationConfiguration {
1320
1339
  __destroy_into_raw() {
1321
1340
  const ptr = this.__wbg_ptr;
1322
1341
  this.__wbg_ptr = 0;
1342
+ ConversationConfigurationFinalization.unregister(this);
1323
1343
  return ptr;
1324
1344
  }
1325
1345
  free() {
@@ -1345,16 +1365,25 @@ class ConversationConfiguration {
1345
1365
  }
1346
1366
  }
1347
1367
  }
1368
+ var ConversationInitBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1369
+ }, unregister: () => {
1370
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_conversationinitbundle_free(ptr >>> 0));
1371
+ var CoreCryptoFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1372
+ }, unregister: () => {
1373
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_corecrypto_free(ptr >>> 0));
1374
+
1348
1375
  class CoreCrypto {
1349
1376
  static __wrap(ptr) {
1350
1377
  ptr = ptr >>> 0;
1351
1378
  const obj = Object.create(CoreCrypto.prototype);
1352
1379
  obj.__wbg_ptr = ptr;
1380
+ CoreCryptoFinalization.register(obj, obj.__wbg_ptr, obj);
1353
1381
  return obj;
1354
1382
  }
1355
1383
  __destroy_into_raw() {
1356
1384
  const ptr = this.__wbg_ptr;
1357
1385
  this.__wbg_ptr = 0;
1386
+ CoreCryptoFinalization.unregister(this);
1358
1387
  return ptr;
1359
1388
  }
1360
1389
  free() {
@@ -1559,8 +1588,8 @@ class CoreCrypto {
1559
1588
  const ret = wasm.corecrypto_set_callbacks(this.__wbg_ptr, ptr0);
1560
1589
  return takeObject(ret);
1561
1590
  }
1562
- client_public_key(ciphersuite) {
1563
- const ret = wasm.corecrypto_client_public_key(this.__wbg_ptr, ciphersuite);
1591
+ client_public_key(ciphersuite, credential_type) {
1592
+ const ret = wasm.corecrypto_client_public_key(this.__wbg_ptr, ciphersuite, credential_type);
1564
1593
  return takeObject(ret);
1565
1594
  }
1566
1595
  client_keypackages(ciphersuite, credential_type, amount_requested) {
@@ -1889,6 +1918,12 @@ class CoreCrypto {
1889
1918
  const ret = wasm.corecrypto_export_secret_key(this.__wbg_ptr, ptr0, len0, key_length);
1890
1919
  return takeObject(ret);
1891
1920
  }
1921
+ get_external_sender(id) {
1922
+ const ptr0 = passArray8ToWasm0(id, wasm.__wbindgen_malloc);
1923
+ const len0 = WASM_VECTOR_LEN;
1924
+ const ret = wasm.corecrypto_get_external_sender(this.__wbg_ptr, ptr0, len0);
1925
+ return takeObject(ret);
1926
+ }
1892
1927
  get_client_ids(conversation_id) {
1893
1928
  const ptr0 = passArray8ToWasm0(conversation_id, wasm.__wbindgen_malloc);
1894
1929
  const len0 = WASM_VECTOR_LEN;
@@ -1896,11 +1931,15 @@ class CoreCrypto {
1896
1931
  return takeObject(ret);
1897
1932
  }
1898
1933
  }
1934
+ var CoreCryptoWasmCallbacksFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1935
+ }, unregister: () => {
1936
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_corecryptowasmcallbacks_free(ptr >>> 0));
1899
1937
 
1900
1938
  class CoreCryptoWasmCallbacks {
1901
1939
  __destroy_into_raw() {
1902
1940
  const ptr = this.__wbg_ptr;
1903
1941
  this.__wbg_ptr = 0;
1942
+ CoreCryptoWasmCallbacksFinalization.unregister(this);
1904
1943
  return ptr;
1905
1944
  }
1906
1945
  free() {
@@ -1913,10 +1952,18 @@ class CoreCryptoWasmCallbacks {
1913
1952
  return this;
1914
1953
  }
1915
1954
  }
1955
+ var CrlRegistrationFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1956
+ }, unregister: () => {
1957
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_crlregistration_free(ptr >>> 0));
1958
+ var CustomConfigurationFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1959
+ }, unregister: () => {
1960
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_customconfiguration_free(ptr >>> 0));
1961
+
1916
1962
  class CustomConfiguration {
1917
1963
  __destroy_into_raw() {
1918
1964
  const ptr = this.__wbg_ptr;
1919
1965
  this.__wbg_ptr = 0;
1966
+ CustomConfigurationFinalization.unregister(this);
1920
1967
  return ptr;
1921
1968
  }
1922
1969
  free() {
@@ -1929,16 +1976,25 @@ class CustomConfiguration {
1929
1976
  return this;
1930
1977
  }
1931
1978
  }
1979
+ var DecryptedMessageFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1980
+ }, unregister: () => {
1981
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_decryptedmessage_free(ptr >>> 0));
1982
+ var FfiWireE2EIdentityFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
1983
+ }, unregister: () => {
1984
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_ffiwiree2eidentity_free(ptr >>> 0));
1985
+
1932
1986
  class FfiWireE2EIdentity {
1933
1987
  static __wrap(ptr) {
1934
1988
  ptr = ptr >>> 0;
1935
1989
  const obj = Object.create(FfiWireE2EIdentity.prototype);
1936
1990
  obj.__wbg_ptr = ptr;
1991
+ FfiWireE2EIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
1937
1992
  return obj;
1938
1993
  }
1939
1994
  __destroy_into_raw() {
1940
1995
  const ptr = this.__wbg_ptr;
1941
1996
  this.__wbg_ptr = 0;
1997
+ FfiWireE2EIdentityFinalization.unregister(this);
1942
1998
  return ptr;
1943
1999
  }
1944
2000
  free() {
@@ -2042,17 +2098,22 @@ class FfiWireE2EIdentity {
2042
2098
  return takeObject(ret);
2043
2099
  }
2044
2100
  }
2101
+ var GroupInfoBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2102
+ }, unregister: () => {
2103
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_groupinfobundle_free(ptr >>> 0));
2045
2104
 
2046
2105
  class GroupInfoBundle {
2047
2106
  static __wrap(ptr) {
2048
2107
  ptr = ptr >>> 0;
2049
2108
  const obj = Object.create(GroupInfoBundle.prototype);
2050
2109
  obj.__wbg_ptr = ptr;
2110
+ GroupInfoBundleFinalization.register(obj, obj.__wbg_ptr, obj);
2051
2111
  return obj;
2052
2112
  }
2053
2113
  __destroy_into_raw() {
2054
2114
  const ptr = this.__wbg_ptr;
2055
2115
  this.__wbg_ptr = 0;
2116
+ GroupInfoBundleFinalization.unregister(this);
2056
2117
  return ptr;
2057
2118
  }
2058
2119
  free() {
@@ -2072,16 +2133,25 @@ class GroupInfoBundle {
2072
2133
  return takeObject(ret);
2073
2134
  }
2074
2135
  }
2136
+ var MemberAddedMessagesFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2137
+ }, unregister: () => {
2138
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_memberaddedmessages_free(ptr >>> 0));
2139
+ var NewAcmeAuthzFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2140
+ }, unregister: () => {
2141
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_newacmeauthz_free(ptr >>> 0));
2142
+
2075
2143
  class NewAcmeAuthz {
2076
2144
  static __wrap(ptr) {
2077
2145
  ptr = ptr >>> 0;
2078
2146
  const obj = Object.create(NewAcmeAuthz.prototype);
2079
2147
  obj.__wbg_ptr = ptr;
2148
+ NewAcmeAuthzFinalization.register(obj, obj.__wbg_ptr, obj);
2080
2149
  return obj;
2081
2150
  }
2082
2151
  __destroy_into_raw() {
2083
2152
  const ptr = this.__wbg_ptr;
2084
2153
  this.__wbg_ptr = 0;
2154
+ NewAcmeAuthzFinalization.unregister(this);
2085
2155
  return ptr;
2086
2156
  }
2087
2157
  free() {
@@ -2125,17 +2195,22 @@ class NewAcmeAuthz {
2125
2195
  return AcmeChallenge.__wrap(ret);
2126
2196
  }
2127
2197
  }
2198
+ var NewAcmeOrderFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2199
+ }, unregister: () => {
2200
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_newacmeorder_free(ptr >>> 0));
2128
2201
 
2129
2202
  class NewAcmeOrder {
2130
2203
  static __wrap(ptr) {
2131
2204
  ptr = ptr >>> 0;
2132
2205
  const obj = Object.create(NewAcmeOrder.prototype);
2133
2206
  obj.__wbg_ptr = ptr;
2207
+ NewAcmeOrderFinalization.register(obj, obj.__wbg_ptr, obj);
2134
2208
  return obj;
2135
2209
  }
2136
2210
  __destroy_into_raw() {
2137
2211
  const ptr = this.__wbg_ptr;
2138
2212
  this.__wbg_ptr = 0;
2213
+ NewAcmeOrderFinalization.unregister(this);
2139
2214
  return ptr;
2140
2215
  }
2141
2216
  free() {
@@ -2169,17 +2244,22 @@ class NewAcmeOrder {
2169
2244
  }
2170
2245
  }
2171
2246
  }
2247
+ var ProposalBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2248
+ }, unregister: () => {
2249
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_proposalbundle_free(ptr >>> 0));
2172
2250
 
2173
2251
  class ProposalBundle {
2174
2252
  static __wrap(ptr) {
2175
2253
  ptr = ptr >>> 0;
2176
2254
  const obj = Object.create(ProposalBundle.prototype);
2177
2255
  obj.__wbg_ptr = ptr;
2256
+ ProposalBundleFinalization.register(obj, obj.__wbg_ptr, obj);
2178
2257
  return obj;
2179
2258
  }
2180
2259
  __destroy_into_raw() {
2181
2260
  const ptr = this.__wbg_ptr;
2182
2261
  this.__wbg_ptr = 0;
2262
+ ProposalBundleFinalization.unregister(this);
2183
2263
  return ptr;
2184
2264
  }
2185
2265
  free() {
@@ -2187,59 +2267,34 @@ class ProposalBundle {
2187
2267
  wasm.__wbg_proposalbundle_free(ptr);
2188
2268
  }
2189
2269
  get proposal() {
2190
- try {
2191
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2192
- wasm.__wbg_get_acmechallenge_delegate(retptr, this.__wbg_ptr);
2193
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2194
- var r1 = getInt32Memory0()[retptr / 4 + 1];
2195
- var v1 = getArrayU8FromWasm0(r0, r1).slice();
2196
- wasm.__wbindgen_free(r0, r1 * 1, 1);
2197
- return v1;
2198
- } finally {
2199
- wasm.__wbindgen_add_to_stack_pointer(16);
2200
- }
2270
+ const ret = wasm.proposalbundle_proposal(this.__wbg_ptr);
2271
+ return takeObject(ret);
2201
2272
  }
2202
- get proposalRef() {
2203
- try {
2204
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2205
- wasm.__wbg_get_proposalbundle_proposalRef(retptr, this.__wbg_ptr);
2206
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2207
- var r1 = getInt32Memory0()[retptr / 4 + 1];
2208
- var v1 = getArrayU8FromWasm0(r0, r1).slice();
2209
- wasm.__wbindgen_free(r0, r1 * 1, 1);
2210
- return v1;
2211
- } finally {
2212
- wasm.__wbindgen_add_to_stack_pointer(16);
2213
- }
2273
+ get proposal_ref() {
2274
+ const ret = wasm.proposalbundle_proposal_ref(this.__wbg_ptr);
2275
+ return takeObject(ret);
2214
2276
  }
2215
- get crlNewDistributionPoints() {
2216
- try {
2217
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2218
- wasm.__wbg_get_proposalbundle_crlNewDistributionPoints(retptr, this.__wbg_ptr);
2219
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2220
- var r1 = getInt32Memory0()[retptr / 4 + 1];
2221
- let v1;
2222
- if (r0 !== 0) {
2223
- v1 = getArrayJsValueFromWasm0(r0, r1).slice();
2224
- wasm.__wbindgen_free(r0, r1 * 4, 4);
2225
- }
2226
- return v1;
2227
- } finally {
2228
- wasm.__wbindgen_add_to_stack_pointer(16);
2229
- }
2277
+ get crl_new_distribution_points() {
2278
+ const ret = wasm.proposalbundle_crl_new_distribution_points(this.__wbg_ptr);
2279
+ return takeObject(ret);
2230
2280
  }
2231
2281
  }
2282
+ var ProteusAutoPrekeyBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2283
+ }, unregister: () => {
2284
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_proteusautoprekeybundle_free(ptr >>> 0));
2232
2285
 
2233
2286
  class ProteusAutoPrekeyBundle {
2234
2287
  static __wrap(ptr) {
2235
2288
  ptr = ptr >>> 0;
2236
2289
  const obj = Object.create(ProteusAutoPrekeyBundle.prototype);
2237
2290
  obj.__wbg_ptr = ptr;
2291
+ ProteusAutoPrekeyBundleFinalization.register(obj, obj.__wbg_ptr, obj);
2238
2292
  return obj;
2239
2293
  }
2240
2294
  __destroy_into_raw() {
2241
2295
  const ptr = this.__wbg_ptr;
2242
2296
  this.__wbg_ptr = 0;
2297
+ ProteusAutoPrekeyBundleFinalization.unregister(this);
2243
2298
  return ptr;
2244
2299
  }
2245
2300
  free() {
@@ -2272,57 +2327,28 @@ class ProteusAutoPrekeyBundle {
2272
2327
  wasm.__wbg_set_proteusautoprekeybundle_pkb(this.__wbg_ptr, ptr0, len0);
2273
2328
  }
2274
2329
  }
2275
- class WelcomeBundle {
2276
- __destroy_into_raw() {
2277
- const ptr = this.__wbg_ptr;
2278
- this.__wbg_ptr = 0;
2279
- return ptr;
2280
- }
2281
- free() {
2282
- const ptr = this.__destroy_into_raw();
2283
- wasm.__wbg_welcomebundle_free(ptr);
2284
- }
2285
- get id() {
2286
- try {
2287
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2288
- wasm.__wbg_get_acmechallenge_delegate(retptr, this.__wbg_ptr);
2289
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2290
- var r1 = getInt32Memory0()[retptr / 4 + 1];
2291
- var v1 = getArrayU8FromWasm0(r0, r1).slice();
2292
- wasm.__wbindgen_free(r0, r1 * 1, 1);
2293
- return v1;
2294
- } finally {
2295
- wasm.__wbindgen_add_to_stack_pointer(16);
2296
- }
2297
- }
2298
- get crlNewDistributionPoints() {
2299
- try {
2300
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2301
- wasm.__wbg_get_welcomebundle_crlNewDistributionPoints(retptr, this.__wbg_ptr);
2302
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2303
- var r1 = getInt32Memory0()[retptr / 4 + 1];
2304
- let v1;
2305
- if (r0 !== 0) {
2306
- v1 = getArrayJsValueFromWasm0(r0, r1).slice();
2307
- wasm.__wbindgen_free(r0, r1 * 4, 4);
2308
- }
2309
- return v1;
2310
- } finally {
2311
- wasm.__wbindgen_add_to_stack_pointer(16);
2312
- }
2313
- }
2314
- }
2330
+ var RotateBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2331
+ }, unregister: () => {
2332
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_rotatebundle_free(ptr >>> 0));
2333
+ var WelcomeBundleFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2334
+ }, unregister: () => {
2335
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_welcomebundle_free(ptr >>> 0));
2336
+ var WireIdentityFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
2337
+ }, unregister: () => {
2338
+ } } : new FinalizationRegistry((ptr) => wasm.__wbg_wireidentity_free(ptr >>> 0));
2315
2339
 
2316
2340
  class WireIdentity {
2317
2341
  static __wrap(ptr) {
2318
2342
  ptr = ptr >>> 0;
2319
2343
  const obj = Object.create(WireIdentity.prototype);
2320
2344
  obj.__wbg_ptr = ptr;
2345
+ WireIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
2321
2346
  return obj;
2322
2347
  }
2323
2348
  __destroy_into_raw() {
2324
2349
  const ptr = this.__wbg_ptr;
2325
2350
  this.__wbg_ptr = 0;
2351
+ WireIdentityFinalization.unregister(this);
2326
2352
  return ptr;
2327
2353
  }
2328
2354
  free() {
@@ -2629,7 +2655,7 @@ class CoreCrypto2 {
2629
2655
  }
2630
2656
  try {
2631
2657
  const ffiDecryptedMessage = await CoreCryptoError.asyncMapErr(this.#cc.decrypt_message(conversationId, payload));
2632
- const ffiCommitDelay = ffiDecryptedMessage.commitDelay;
2658
+ const ffiCommitDelay = ffiDecryptedMessage.commit_delay;
2633
2659
  let commitDelay = undefined;
2634
2660
  if (typeof ffiCommitDelay === "number" && ffiCommitDelay >= 0) {
2635
2661
  commitDelay = ffiCommitDelay * 1000;
@@ -2637,10 +2663,10 @@ class CoreCrypto2 {
2637
2663
  const ret = {
2638
2664
  message: ffiDecryptedMessage.message,
2639
2665
  proposals: ffiDecryptedMessage.proposals,
2640
- isActive: ffiDecryptedMessage.isActive,
2666
+ isActive: ffiDecryptedMessage.is_active,
2641
2667
  senderClientId: ffiDecryptedMessage.sender_client_id,
2642
2668
  commitDelay,
2643
- hasEpochChanged: ffiDecryptedMessage.hasEpochChanged,
2669
+ hasEpochChanged: ffiDecryptedMessage.has_epoch_changed,
2644
2670
  bufferedMessages: ffiDecryptedMessage.buffered_messages?.map((m) => {
2645
2671
  return {
2646
2672
  message: m.message,
@@ -2649,10 +2675,10 @@ class CoreCrypto2 {
2649
2675
  senderClientId: m.sender_client_id,
2650
2676
  commitDelay: m.commit_delay,
2651
2677
  hasEpochChanged: m.has_epoch_changed,
2652
- crlNewDistributionPoints: m.crlNewDistributionPoints
2678
+ crlNewDistributionPoints: m.crl_new_distribution_points
2653
2679
  };
2654
2680
  }),
2655
- crlNewDistributionPoints: ffiDecryptedMessage.crlNewDistributionPoints
2681
+ crlNewDistributionPoints: ffiDecryptedMessage.crl_new_distribution_points
2656
2682
  };
2657
2683
  return ret;
2658
2684
  } catch (e) {
@@ -2666,13 +2692,18 @@ class CoreCrypto2 {
2666
2692
  try {
2667
2693
  const { keyRotationSpan, wirePolicy } = configuration || {};
2668
2694
  const config = new CustomConfiguration(keyRotationSpan, wirePolicy);
2669
- return await CoreCryptoError.asyncMapErr(this.#cc.process_welcome_message(welcomeMessage, config));
2695
+ const ffiRet = await CoreCryptoError.asyncMapErr(this.#cc.process_welcome_message(welcomeMessage, config));
2696
+ const ret = {
2697
+ id: ffiRet.id,
2698
+ crlNewDistributionPoints: ffiRet.crl_new_distribution_points
2699
+ };
2700
+ return ret;
2670
2701
  } catch (e) {
2671
2702
  throw CoreCryptoError.fromStdError(e);
2672
2703
  }
2673
2704
  }
2674
- async clientPublicKey(ciphersuite) {
2675
- return await CoreCryptoError.asyncMapErr(this.#cc.client_public_key(ciphersuite));
2705
+ async clientPublicKey(ciphersuite, credentialType) {
2706
+ return await CoreCryptoError.asyncMapErr(this.#cc.client_public_key(ciphersuite, credentialType));
2676
2707
  }
2677
2708
  async clientValidKeypackagesCount(ciphersuite, credentialType) {
2678
2709
  return await CoreCryptoError.asyncMapErr(this.#cc.client_valid_keypackages_count(ciphersuite, credentialType));
@@ -2695,7 +2726,7 @@ class CoreCrypto2 {
2695
2726
  ratchetTreeType: gi.ratchet_tree_type,
2696
2727
  payload: gi.payload
2697
2728
  },
2698
- crlNewDistributionPoints: ffiRet.crlNewDistributionPoints
2729
+ crlNewDistributionPoints: ffiRet.crl_new_distribution_points
2699
2730
  };
2700
2731
  return ret;
2701
2732
  } catch (e) {
@@ -2803,7 +2834,7 @@ class CoreCrypto2 {
2803
2834
  ratchetTreeType: gi.ratchet_tree_type,
2804
2835
  payload: gi.payload
2805
2836
  },
2806
- crlNewDistributionPoints: ffiInitMessage.crlNewDistributionPoints
2837
+ crlNewDistributionPoints: ffiInitMessage.crl_new_distribution_points
2807
2838
  };
2808
2839
  return ret;
2809
2840
  } catch (e) {
@@ -2828,6 +2859,9 @@ class CoreCrypto2 {
2828
2859
  async exportSecretKey(conversationId, keyLength) {
2829
2860
  return await CoreCryptoError.asyncMapErr(this.#cc.export_secret_key(conversationId, keyLength));
2830
2861
  }
2862
+ async getExternalSender(conversationId) {
2863
+ return await CoreCryptoError.asyncMapErr(this.#cc.get_external_sender(conversationId));
2864
+ }
2831
2865
  async getClientIds(conversationId) {
2832
2866
  return await CoreCryptoError.asyncMapErr(this.#cc.get_client_ids(conversationId));
2833
2867
  }
@@ -2932,7 +2966,7 @@ class CoreCrypto2 {
2932
2966
  commits: ffiRet.commits,
2933
2967
  newKeyPackages: ffiRet.new_key_packages,
2934
2968
  keyPackageRefsToRemove: ffiRet.key_package_refs_to_remove,
2935
- crlNewDistributionPoints: ffiRet.crlNewDistributionPoints
2969
+ crlNewDistributionPoints: ffiRet.crl_new_distribution_points
2936
2970
  };
2937
2971
  return ret;
2938
2972
  }
@@ -3038,10 +3072,8 @@ var E2eiConversationState;
3038
3072
  export {
3039
3073
  WirePolicy2 as WirePolicy,
3040
3074
  WireIdentity,
3041
- WelcomeBundle,
3042
3075
  RatchetTreeType,
3043
3076
  ProposalType,
3044
- ProposalBundle,
3045
3077
  NewAcmeOrder,
3046
3078
  NewAcmeAuthz,
3047
3079
  GroupInfoEncryptionType,