@bitwarden/sdk-internal 0.2.0-main.424 → 0.2.0-main.426

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.
@@ -264,21 +264,33 @@ function passArray8ToWasm0(arg, malloc) {
264
264
  return ptr;
265
265
  }
266
266
  /**
267
- * Generate a new SSH key pair
267
+ * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
268
+ * to an OpenSSH private key with public key and fingerprint
268
269
  *
269
270
  * # Arguments
270
- * - `key_algorithm` - The algorithm to use for the key pair
271
+ * - `imported_key` - The private key to convert
272
+ * - `password` - The password to use for decrypting the key
271
273
  *
272
274
  * # Returns
273
- * - `Ok(SshKey)` if the key was successfully generated
274
- * - `Err(KeyGenerationError)` if the key could not be generated
275
- * @param {KeyAlgorithm} key_algorithm
275
+ * - `Ok(SshKey)` if the key was successfully coneverted
276
+ * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
277
+ * - `Err(WrongPassword)` if the password provided is incorrect
278
+ * - `Err(ParsingError)` if the key could not be parsed
279
+ * - `Err(UnsupportedKeyType)` if the key type is not supported
280
+ * @param {string} imported_key
281
+ * @param {string | null} [password]
276
282
  * @returns {SshKeyView}
277
283
  */
278
- export function generate_ssh_key(key_algorithm) {
284
+ export function import_ssh_key(imported_key, password) {
279
285
  try {
280
286
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
281
- wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
287
+ const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
288
+ const len0 = WASM_VECTOR_LEN;
289
+ var ptr1 = isLikeNone(password)
290
+ ? 0
291
+ : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
292
+ var len1 = WASM_VECTOR_LEN;
293
+ wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
282
294
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
283
295
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
284
296
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -292,33 +304,21 @@ export function generate_ssh_key(key_algorithm) {
292
304
  }
293
305
 
294
306
  /**
295
- * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
296
- * to an OpenSSH private key with public key and fingerprint
307
+ * Generate a new SSH key pair
297
308
  *
298
309
  * # Arguments
299
- * - `imported_key` - The private key to convert
300
- * - `password` - The password to use for decrypting the key
310
+ * - `key_algorithm` - The algorithm to use for the key pair
301
311
  *
302
312
  * # Returns
303
- * - `Ok(SshKey)` if the key was successfully coneverted
304
- * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
305
- * - `Err(WrongPassword)` if the password provided is incorrect
306
- * - `Err(ParsingError)` if the key could not be parsed
307
- * - `Err(UnsupportedKeyType)` if the key type is not supported
308
- * @param {string} imported_key
309
- * @param {string | null} [password]
313
+ * - `Ok(SshKey)` if the key was successfully generated
314
+ * - `Err(KeyGenerationError)` if the key could not be generated
315
+ * @param {KeyAlgorithm} key_algorithm
310
316
  * @returns {SshKeyView}
311
317
  */
312
- export function import_ssh_key(imported_key, password) {
318
+ export function generate_ssh_key(key_algorithm) {
313
319
  try {
314
320
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
315
- const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
316
- const len0 = WASM_VECTOR_LEN;
317
- var ptr1 = isLikeNone(password)
318
- ? 0
319
- : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
320
- var len1 = WASM_VECTOR_LEN;
321
- wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
321
+ wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
322
322
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
323
323
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
324
324
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -401,9 +401,9 @@ export function isAccountCryptographyInitializationError(error) {
401
401
  * @param {any} error
402
402
  * @returns {boolean}
403
403
  */
404
- export function isCryptoClientError(error) {
404
+ export function isDeriveKeyConnectorError(error) {
405
405
  try {
406
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
406
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
407
407
  return ret !== 0;
408
408
  } finally {
409
409
  heap[stack_pointer++] = undefined;
@@ -414,9 +414,9 @@ export function isCryptoClientError(error) {
414
414
  * @param {any} error
415
415
  * @returns {boolean}
416
416
  */
417
- export function isDeriveKeyConnectorError(error) {
417
+ export function isEnrollAdminPasswordResetError(error) {
418
418
  try {
419
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
419
+ const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
420
420
  return ret !== 0;
421
421
  } finally {
422
422
  heap[stack_pointer++] = undefined;
@@ -427,9 +427,9 @@ export function isDeriveKeyConnectorError(error) {
427
427
  * @param {any} error
428
428
  * @returns {boolean}
429
429
  */
430
- export function isEnrollAdminPasswordResetError(error) {
430
+ export function isCryptoClientError(error) {
431
431
  try {
432
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
432
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
433
433
  return ret !== 0;
434
434
  } finally {
435
435
  heap[stack_pointer++] = undefined;
@@ -639,9 +639,9 @@ export function ipcRegisterDiscoverHandler(ipc_client, response) {
639
639
  * @param {any} error
640
640
  * @returns {boolean}
641
641
  */
642
- export function isSshKeyExportError(error) {
642
+ export function isSshKeyImportError(error) {
643
643
  try {
644
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
644
+ const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
645
645
  return ret !== 0;
646
646
  } finally {
647
647
  heap[stack_pointer++] = undefined;
@@ -665,9 +665,9 @@ export function isKeyGenerationError(error) {
665
665
  * @param {any} error
666
666
  * @returns {boolean}
667
667
  */
668
- export function isSshKeyImportError(error) {
668
+ export function isSshKeyExportError(error) {
669
669
  try {
670
- const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
670
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
671
671
  return ret !== 0;
672
672
  } finally {
673
673
  heap[stack_pointer++] = undefined;
@@ -808,9 +808,9 @@ export function isCreateCipherError(error) {
808
808
  * @param {any} error
809
809
  * @returns {boolean}
810
810
  */
811
- export function isEncryptFileError(error) {
811
+ export function isDecryptFileError(error) {
812
812
  try {
813
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
813
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
814
814
  return ret !== 0;
815
815
  } finally {
816
816
  heap[stack_pointer++] = undefined;
@@ -821,9 +821,9 @@ export function isEncryptFileError(error) {
821
821
  * @param {any} error
822
822
  * @returns {boolean}
823
823
  */
824
- export function isDecryptFileError(error) {
824
+ export function isEncryptFileError(error) {
825
825
  try {
826
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
826
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
827
827
  return ret !== 0;
828
828
  } finally {
829
829
  heap[stack_pointer++] = undefined;
@@ -882,10 +882,14 @@ export function isGetFolderError(error) {
882
882
  }
883
883
  }
884
884
 
885
- function wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(arg0, arg1, arg2) {
885
+ function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
886
+ wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
887
+ }
888
+
889
+ function wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(arg0, arg1, arg2) {
886
890
  try {
887
891
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
888
- wasm.wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(
892
+ wasm.wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(
889
893
  retptr,
890
894
  arg0,
891
895
  arg1,
@@ -901,12 +905,8 @@ function wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(arg0, arg
901
905
  }
902
906
  }
903
907
 
904
- function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
905
- wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
906
- }
907
-
908
- function wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(arg0, arg1, arg2) {
909
- wasm.wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(
908
+ function wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(arg0, arg1, arg2) {
909
+ wasm.wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(
910
910
  arg0,
911
911
  arg1,
912
912
  addHeapObject(arg2),
@@ -4602,7 +4602,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4602
4602
  }, arguments);
4603
4603
  }
4604
4604
 
4605
- export function __wbg_cipher_d3a477a8df673652(arg0) {
4605
+ export function __wbg_cipher_dca8572b1d6cb130(arg0) {
4606
4606
  const ret = getObject(arg0).cipher;
4607
4607
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4608
4608
  }
@@ -4695,7 +4695,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4695
4695
  return addHeapObject(ret);
4696
4696
  }
4697
4697
 
4698
- export function __wbg_folder_cf6710d7bcc08b39(arg0) {
4698
+ export function __wbg_folder_8c6c22f085c648d5(arg0) {
4699
4699
  const ret = getObject(arg0).folder;
4700
4700
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4701
4701
  }
@@ -4728,7 +4728,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4728
4728
  return ret;
4729
4729
  }
4730
4730
 
4731
- export function __wbg_get_3528dc3794a8de2d() {
4731
+ export function __wbg_get_1747ea6e550a3680() {
4732
4732
  return handleError(function (arg0, arg1, arg2) {
4733
4733
  let deferred0_0;
4734
4734
  let deferred0_1;
@@ -4748,7 +4748,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4748
4748
  return addHeapObject(ret);
4749
4749
  }
4750
4750
 
4751
- export function __wbg_get_94406e7678e29713() {
4751
+ export function __wbg_get_access_token_37b176ffb3668729(arg0) {
4752
+ const ret = getObject(arg0).get_access_token();
4753
+ return addHeapObject(ret);
4754
+ }
4755
+
4756
+ export function __wbg_get_c0f7e010f25b83b7() {
4752
4757
  return handleError(function (arg0, arg1, arg2) {
4753
4758
  let deferred0_0;
4754
4759
  let deferred0_1;
@@ -4763,11 +4768,6 @@ export function __wbg_get_94406e7678e29713() {
4763
4768
  }, arguments);
4764
4769
  }
4765
4770
 
4766
- export function __wbg_get_access_token_88dc7c09a576432c(arg0) {
4767
- const ret = getObject(arg0).get_access_token();
4768
- return addHeapObject(ret);
4769
- }
4770
-
4771
4771
  export function __wbg_get_efcb449f58ec27c2() {
4772
4772
  return handleError(function (arg0, arg1) {
4773
4773
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
@@ -4959,14 +4959,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
4959
4959
  return ret;
4960
4960
  }
4961
4961
 
4962
- export function __wbg_list_05af67e3e4df7ec4() {
4962
+ export function __wbg_list_7cbae88b8c1f2846() {
4963
4963
  return handleError(function (arg0) {
4964
4964
  const ret = getObject(arg0).list();
4965
4965
  return addHeapObject(ret);
4966
4966
  }, arguments);
4967
4967
  }
4968
4968
 
4969
- export function __wbg_list_48a7cbe7b804534f() {
4969
+ export function __wbg_list_cbd6655ebbf2aaaf() {
4970
4970
  return handleError(function (arg0) {
4971
4971
  const ret = getObject(arg0).list();
4972
4972
  return addHeapObject(ret);
@@ -5210,7 +5210,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5210
5210
  }, arguments);
5211
5211
  }
5212
5212
 
5213
- export function __wbg_remove_662a447836fc0213() {
5213
+ export function __wbg_remove_97eba017d94cfbe1() {
5214
5214
  return handleError(function (arg0, arg1, arg2) {
5215
5215
  let deferred0_0;
5216
5216
  let deferred0_1;
@@ -5225,7 +5225,7 @@ export function __wbg_remove_662a447836fc0213() {
5225
5225
  }, arguments);
5226
5226
  }
5227
5227
 
5228
- export function __wbg_remove_9b7b7e47c1464ec7() {
5228
+ export function __wbg_remove_e963b2cd3de803fb() {
5229
5229
  return handleError(function (arg0, arg1, arg2) {
5230
5230
  let deferred0_0;
5231
5231
  let deferred0_1;
@@ -5271,40 +5271,10 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5271
5271
  return addHeapObject(ret);
5272
5272
  }
5273
5273
 
5274
- export function __wbg_set_130fc92ad5bc93cc() {
5275
- return handleError(function (arg0, arg1, arg2, arg3) {
5276
- let deferred0_0;
5277
- let deferred0_1;
5278
- try {
5279
- deferred0_0 = arg1;
5280
- deferred0_1 = arg2;
5281
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5282
- return addHeapObject(ret);
5283
- } finally {
5284
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5285
- }
5286
- }, arguments);
5287
- }
5288
-
5289
5274
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5290
5275
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5291
5276
  }
5292
5277
 
5293
- export function __wbg_set_8e2af17aad7e3578() {
5294
- return handleError(function (arg0, arg1, arg2, arg3) {
5295
- let deferred0_0;
5296
- let deferred0_1;
5297
- try {
5298
- deferred0_0 = arg1;
5299
- deferred0_1 = arg2;
5300
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5301
- return addHeapObject(ret);
5302
- } finally {
5303
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5304
- }
5305
- }, arguments);
5306
- }
5307
-
5308
5278
  export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5309
5279
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5310
5280
  return addHeapObject(ret);
@@ -5329,6 +5299,36 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5329
5299
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5330
5300
  }
5331
5301
 
5302
+ export function __wbg_set_d9516e26a6ff5fe9() {
5303
+ return handleError(function (arg0, arg1, arg2, arg3) {
5304
+ let deferred0_0;
5305
+ let deferred0_1;
5306
+ try {
5307
+ deferred0_0 = arg1;
5308
+ deferred0_1 = arg2;
5309
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5310
+ return addHeapObject(ret);
5311
+ } finally {
5312
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5313
+ }
5314
+ }, arguments);
5315
+ }
5316
+
5317
+ export function __wbg_set_f1e6b0194d67f6ad() {
5318
+ return handleError(function (arg0, arg1, arg2, arg3) {
5319
+ let deferred0_0;
5320
+ let deferred0_1;
5321
+ try {
5322
+ deferred0_0 = arg1;
5323
+ deferred0_1 = arg2;
5324
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5325
+ return addHeapObject(ret);
5326
+ } finally {
5327
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5328
+ }
5329
+ }, arguments);
5330
+ }
5331
+
5332
5332
  export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5333
5333
  getObject(arg0).headers = getObject(arg1);
5334
5334
  }
@@ -5493,6 +5493,17 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5493
5493
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5494
5494
  }
5495
5495
 
5496
+ export function __wbindgen_cast_18e7d5b03ebc0b46(arg0, arg1) {
5497
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5498
+ const ret = makeMutClosure(
5499
+ arg0,
5500
+ arg1,
5501
+ wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5502
+ wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
5503
+ );
5504
+ return addHeapObject(ret);
5505
+ }
5506
+
5496
5507
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5497
5508
  // Cast intrinsic for `Ref(String) -> Externref`.
5498
5509
  const ret = getStringFromWasm0(arg0, arg1);
@@ -5504,8 +5515,8 @@ export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
5504
5515
  const ret = makeMutClosure(
5505
5516
  arg0,
5506
5517
  arg1,
5507
- wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
5508
- wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
5518
+ wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
5519
+ wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
5509
5520
  );
5510
5521
  return addHeapObject(ret);
5511
5522
  }
@@ -5515,19 +5526,8 @@ export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
5515
5526
  const ret = makeMutClosure(
5516
5527
  arg0,
5517
5528
  arg1,
5518
- wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
5519
- wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2,
5520
- );
5521
- return addHeapObject(ret);
5522
- }
5523
-
5524
- export function __wbindgen_cast_3fbb763e21ae0efe(arg0, arg1) {
5525
- // Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5526
- const ret = makeMutClosure(
5527
- arg0,
5528
- arg1,
5529
- wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5530
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5529
+ wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
5530
+ wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b,
5531
5531
  );
5532
5532
  return addHeapObject(ret);
5533
5533
  }
@@ -5546,6 +5546,17 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5546
5546
  return addHeapObject(ret);
5547
5547
  }
5548
5548
 
5549
+ export function __wbindgen_cast_6e095a3d144cfbd7(arg0, arg1) {
5550
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5551
+ const ret = makeMutClosure(
5552
+ arg0,
5553
+ arg1,
5554
+ wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
5555
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5556
+ );
5557
+ return addHeapObject(ret);
5558
+ }
5559
+
5549
5560
  export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5550
5561
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5551
5562
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5554,13 +5565,13 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5554
5565
  return addHeapObject(ret);
5555
5566
  }
5556
5567
 
5557
- export function __wbindgen_cast_930d054add031527(arg0, arg1) {
5558
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5568
+ export function __wbindgen_cast_8340b5b160d85933(arg0, arg1) {
5569
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5559
5570
  const ret = makeMutClosure(
5560
5571
  arg0,
5561
5572
  arg1,
5562
5573
  wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5563
- wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
5574
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5564
5575
  );
5565
5576
  return addHeapObject(ret);
5566
5577
  }
@@ -5571,17 +5582,6 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
5571
5582
  return addHeapObject(ret);
5572
5583
  }
5573
5584
 
5574
- export function __wbindgen_cast_bfa5a190b0f2e981(arg0, arg1) {
5575
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5576
- const ret = makeMutClosure(
5577
- arg0,
5578
- arg1,
5579
- wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5580
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5581
- );
5582
- return addHeapObject(ret);
5583
- }
5584
-
5585
5585
  export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5586
5586
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5587
5587
  const ret = getArrayU8FromWasm0(arg0, arg1);
Binary file
@@ -450,24 +450,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
450
450
  export const __wbg_registrationclient_free: (a: number, b: number) => void;
451
451
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
452
452
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
453
- export const wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2: (
453
+ export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
454
454
  a: number,
455
455
  b: number,
456
- c: number,
457
- d: number,
458
456
  ) => void;
459
- export const wasm_bindgen__closure__destroy__h26a46d7b4587c5e7: (a: number, b: number) => void;
460
- export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
457
+ export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
458
+ export const wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b: (
461
459
  a: number,
462
460
  b: number,
461
+ c: number,
462
+ d: number,
463
463
  ) => void;
464
- export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
465
- export const wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff: (
464
+ export const wasm_bindgen__closure__destroy__h563da61d09f48819: (a: number, b: number) => void;
465
+ export const wasm_bindgen__closure__destroy__h602c026e8307a31b: (a: number, b: number) => void;
466
+ export const wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820: (
466
467
  a: number,
467
468
  b: number,
468
469
  c: number,
469
470
  ) => void;
470
- export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
471
471
  export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
472
472
  a: number,
473
473
  b: number,