@bitwarden/commercial-sdk-internal 0.2.0-main.448 → 0.2.0-main.450

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,33 +264,21 @@ function passArray8ToWasm0(arg, malloc) {
264
264
  return ptr;
265
265
  }
266
266
  /**
267
- * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
268
- * to an OpenSSH private key with public key and fingerprint
267
+ * Generate a new SSH key pair
269
268
  *
270
269
  * # Arguments
271
- * - `imported_key` - The private key to convert
272
- * - `password` - The password to use for decrypting the key
270
+ * - `key_algorithm` - The algorithm to use for the key pair
273
271
  *
274
272
  * # Returns
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]
273
+ * - `Ok(SshKey)` if the key was successfully generated
274
+ * - `Err(KeyGenerationError)` if the key could not be generated
275
+ * @param {KeyAlgorithm} key_algorithm
282
276
  * @returns {SshKeyView}
283
277
  */
284
- export function import_ssh_key(imported_key, password) {
278
+ export function generate_ssh_key(key_algorithm) {
285
279
  try {
286
280
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
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);
281
+ wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
294
282
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
295
283
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
296
284
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -304,21 +292,33 @@ export function import_ssh_key(imported_key, password) {
304
292
  }
305
293
 
306
294
  /**
307
- * Generate a new SSH key pair
295
+ * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
296
+ * to an OpenSSH private key with public key and fingerprint
308
297
  *
309
298
  * # Arguments
310
- * - `key_algorithm` - The algorithm to use for the key pair
299
+ * - `imported_key` - The private key to convert
300
+ * - `password` - The password to use for decrypting the key
311
301
  *
312
302
  * # Returns
313
- * - `Ok(SshKey)` if the key was successfully generated
314
- * - `Err(KeyGenerationError)` if the key could not be generated
315
- * @param {KeyAlgorithm} key_algorithm
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]
316
310
  * @returns {SshKeyView}
317
311
  */
318
- export function generate_ssh_key(key_algorithm) {
312
+ export function import_ssh_key(imported_key, password) {
319
313
  try {
320
314
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
321
- wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
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);
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);
@@ -414,9 +414,9 @@ export function isAccountCryptographyInitializationError(error) {
414
414
  * @param {any} error
415
415
  * @returns {boolean}
416
416
  */
417
- export function isMakeKeysError(error) {
417
+ export function isCryptoClientError(error) {
418
418
  try {
419
- const ret = wasm.isMakeKeysError(addBorrowedObject(error));
419
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
420
420
  return ret !== 0;
421
421
  } finally {
422
422
  heap[stack_pointer++] = undefined;
@@ -440,9 +440,9 @@ export function isEnrollAdminPasswordResetError(error) {
440
440
  * @param {any} error
441
441
  * @returns {boolean}
442
442
  */
443
- export function isDeriveKeyConnectorError(error) {
443
+ export function isMakeKeysError(error) {
444
444
  try {
445
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
445
+ const ret = wasm.isMakeKeysError(addBorrowedObject(error));
446
446
  return ret !== 0;
447
447
  } finally {
448
448
  heap[stack_pointer++] = undefined;
@@ -453,9 +453,9 @@ export function isDeriveKeyConnectorError(error) {
453
453
  * @param {any} error
454
454
  * @returns {boolean}
455
455
  */
456
- export function isCryptoClientError(error) {
456
+ export function isDeriveKeyConnectorError(error) {
457
457
  try {
458
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
458
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
459
459
  return ret !== 0;
460
460
  } finally {
461
461
  heap[stack_pointer++] = undefined;
@@ -912,9 +912,9 @@ export function isRestoreCipherError(error) {
912
912
  * @param {any} error
913
913
  * @returns {boolean}
914
914
  */
915
- export function isEncryptFileError(error) {
915
+ export function isDecryptFileError(error) {
916
916
  try {
917
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
917
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
918
918
  return ret !== 0;
919
919
  } finally {
920
920
  heap[stack_pointer++] = undefined;
@@ -925,9 +925,9 @@ export function isEncryptFileError(error) {
925
925
  * @param {any} error
926
926
  * @returns {boolean}
927
927
  */
928
- export function isDecryptFileError(error) {
928
+ export function isEncryptFileError(error) {
929
929
  try {
930
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
930
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
931
931
  return ret !== 0;
932
932
  } finally {
933
933
  heap[stack_pointer++] = undefined;
@@ -986,10 +986,22 @@ export function isGetFolderError(error) {
986
986
  }
987
987
  }
988
988
 
989
- function wasm_bindgen__convert__closures_____invoke__he146b106f849f26a(arg0, arg1, arg2) {
989
+ function wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(arg0, arg1, arg2) {
990
+ wasm.wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5(
991
+ arg0,
992
+ arg1,
993
+ addHeapObject(arg2),
994
+ );
995
+ }
996
+
997
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
998
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
999
+ }
1000
+
1001
+ function wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(arg0, arg1, arg2) {
990
1002
  try {
991
1003
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
992
- wasm.wasm_bindgen__convert__closures_____invoke__he146b106f849f26a(
1004
+ wasm.wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(
993
1005
  retptr,
994
1006
  arg0,
995
1007
  arg1,
@@ -1005,18 +1017,6 @@ function wasm_bindgen__convert__closures_____invoke__he146b106f849f26a(arg0, arg
1005
1017
  }
1006
1018
  }
1007
1019
 
1008
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1009
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1010
- }
1011
-
1012
- function wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984(arg0, arg1, arg2) {
1013
- wasm.wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984(
1014
- arg0,
1015
- arg1,
1016
- addHeapObject(arg2),
1017
- );
1018
- }
1019
-
1020
1020
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1021
1021
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(
1022
1022
  arg0,
@@ -4480,6 +4480,37 @@ export class RegistrationClient {
4480
4480
  );
4481
4481
  return takeObject(ret);
4482
4482
  }
4483
+ /**
4484
+ * Initializes a new cryptographic state for a user and posts it to the server; enrolls the
4485
+ * user to key connector unlock.
4486
+ * @param {string} key_connector_url
4487
+ * @param {string} sso_org_identifier
4488
+ * @param {UserId} user_id
4489
+ * @returns {Promise<KeyConnectorRegistrationResult>}
4490
+ */
4491
+ post_keys_for_key_connector_registration(key_connector_url, sso_org_identifier, user_id) {
4492
+ const ptr0 = passStringToWasm0(
4493
+ key_connector_url,
4494
+ wasm.__wbindgen_malloc,
4495
+ wasm.__wbindgen_realloc,
4496
+ );
4497
+ const len0 = WASM_VECTOR_LEN;
4498
+ const ptr1 = passStringToWasm0(
4499
+ sso_org_identifier,
4500
+ wasm.__wbindgen_malloc,
4501
+ wasm.__wbindgen_realloc,
4502
+ );
4503
+ const len1 = WASM_VECTOR_LEN;
4504
+ const ret = wasm.registrationclient_post_keys_for_key_connector_registration(
4505
+ this.__wbg_ptr,
4506
+ ptr0,
4507
+ len0,
4508
+ ptr1,
4509
+ len1,
4510
+ addHeapObject(user_id),
4511
+ );
4512
+ return takeObject(ret);
4513
+ }
4483
4514
  }
4484
4515
  if (Symbol.dispose)
4485
4516
  RegistrationClient.prototype[Symbol.dispose] = RegistrationClient.prototype.free;
@@ -4898,7 +4929,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4898
4929
  }, arguments);
4899
4930
  }
4900
4931
 
4901
- export function __wbg_cipher_21e5f29ae8c2ff42(arg0) {
4932
+ export function __wbg_cipher_49b644932c6062aa(arg0) {
4902
4933
  const ret = getObject(arg0).cipher;
4903
4934
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4904
4935
  }
@@ -4991,7 +5022,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4991
5022
  return addHeapObject(ret);
4992
5023
  }
4993
5024
 
4994
- export function __wbg_folder_3553b38cd515c2ff(arg0) {
5025
+ export function __wbg_folder_99ab40e1ac06b0ae(arg0) {
4995
5026
  const ret = getObject(arg0).folder;
4996
5027
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4997
5028
  }
@@ -5024,7 +5055,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
5024
5055
  return ret;
5025
5056
  }
5026
5057
 
5027
- export function __wbg_get_668b158310bca78d() {
5058
+ export function __wbg_get_622a532ce4f4f602() {
5028
5059
  return handleError(function (arg0, arg1, arg2) {
5029
5060
  let deferred0_0;
5030
5061
  let deferred0_1;
@@ -5044,12 +5075,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
5044
5075
  return addHeapObject(ret);
5045
5076
  }
5046
5077
 
5047
- export function __wbg_get_access_token_a418c10ffa0b08b3(arg0) {
5078
+ export function __wbg_get_access_token_1bb7cb35ffeaf4b3(arg0) {
5048
5079
  const ret = getObject(arg0).get_access_token();
5049
5080
  return addHeapObject(ret);
5050
5081
  }
5051
5082
 
5052
- export function __wbg_get_b4c7865e69ac29f5() {
5083
+ export function __wbg_get_e62e426bfe0b1bfe() {
5053
5084
  return handleError(function (arg0, arg1, arg2) {
5054
5085
  let deferred0_0;
5055
5086
  let deferred0_1;
@@ -5255,14 +5286,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5255
5286
  return ret;
5256
5287
  }
5257
5288
 
5258
- export function __wbg_list_00412b70c121d775() {
5289
+ export function __wbg_list_4cce361ccdd59dbd() {
5259
5290
  return handleError(function (arg0) {
5260
5291
  const ret = getObject(arg0).list();
5261
5292
  return addHeapObject(ret);
5262
5293
  }, arguments);
5263
5294
  }
5264
5295
 
5265
- export function __wbg_list_bc6768b69622a710() {
5296
+ export function __wbg_list_5b272242a43f33b3() {
5266
5297
  return handleError(function (arg0) {
5267
5298
  const ret = getObject(arg0).list();
5268
5299
  return addHeapObject(ret);
@@ -5506,7 +5537,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5506
5537
  }, arguments);
5507
5538
  }
5508
5539
 
5509
- export function __wbg_remove_4446217459673d72() {
5540
+ export function __wbg_remove_305804be05991243() {
5510
5541
  return handleError(function (arg0, arg1, arg2) {
5511
5542
  let deferred0_0;
5512
5543
  let deferred0_1;
@@ -5521,7 +5552,7 @@ export function __wbg_remove_4446217459673d72() {
5521
5552
  }, arguments);
5522
5553
  }
5523
5554
 
5524
- export function __wbg_remove_fad4a9997731ae20() {
5555
+ export function __wbg_remove_682c7a7874d6c8d2() {
5525
5556
  return handleError(function (arg0, arg1, arg2) {
5526
5557
  let deferred0_0;
5527
5558
  let deferred0_1;
@@ -5567,7 +5598,11 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5567
5598
  return addHeapObject(ret);
5568
5599
  }
5569
5600
 
5570
- export function __wbg_set_198ef2b517248ac4() {
5601
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5602
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5603
+ }
5604
+
5605
+ export function __wbg_set_5886f1f4d2c9db0e() {
5571
5606
  return handleError(function (arg0, arg1, arg2, arg3) {
5572
5607
  let deferred0_0;
5573
5608
  let deferred0_1;
@@ -5582,7 +5617,7 @@ export function __wbg_set_198ef2b517248ac4() {
5582
5617
  }, arguments);
5583
5618
  }
5584
5619
 
5585
- export function __wbg_set_3238db24d5bcd49f() {
5620
+ export function __wbg_set_6fd579c79c799c7b() {
5586
5621
  return handleError(function (arg0, arg1, arg2, arg3) {
5587
5622
  let deferred0_0;
5588
5623
  let deferred0_1;
@@ -5597,10 +5632,6 @@ export function __wbg_set_3238db24d5bcd49f() {
5597
5632
  }, arguments);
5598
5633
  }
5599
5634
 
5600
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5601
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5602
- }
5603
-
5604
5635
  export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5605
5636
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5606
5637
  return addHeapObject(ret);
@@ -5789,36 +5820,36 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5789
5820
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5790
5821
  }
5791
5822
 
5792
- export function __wbindgen_cast_20857c511765411e(arg0, arg1) {
5793
- // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 46, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5823
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5824
+ // Cast intrinsic for `Ref(String) -> Externref`.
5825
+ const ret = getStringFromWasm0(arg0, arg1);
5826
+ return addHeapObject(ret);
5827
+ }
5828
+
5829
+ export function __wbindgen_cast_3a10e1a5d733093a(arg0, arg1) {
5830
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5794
5831
  const ret = makeMutClosure(
5795
5832
  arg0,
5796
5833
  arg1,
5797
- wasm.wasm_bindgen__closure__destroy__hb9785c609198ba41,
5798
- wasm_bindgen__convert__closures_____invoke__he146b106f849f26a,
5834
+ wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5835
+ wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
5799
5836
  );
5800
5837
  return addHeapObject(ret);
5801
5838
  }
5802
5839
 
5803
- export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5804
- // Cast intrinsic for `Ref(String) -> Externref`.
5805
- const ret = getStringFromWasm0(arg0, arg1);
5806
- return addHeapObject(ret);
5807
- }
5808
-
5809
5840
  export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
5810
5841
  // Cast intrinsic for `U64 -> Externref`.
5811
5842
  const ret = BigInt.asUintN(64, arg0);
5812
5843
  return addHeapObject(ret);
5813
5844
  }
5814
5845
 
5815
- export function __wbindgen_cast_5774b2b6fba5c6d4(arg0, arg1) {
5816
- // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5846
+ export function __wbindgen_cast_4d264fdb14fbe142(arg0, arg1) {
5847
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 324, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5817
5848
  const ret = makeMutClosure(
5818
5849
  arg0,
5819
5850
  arg1,
5820
- wasm.wasm_bindgen__closure__destroy__hb9785c609198ba41,
5821
- wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984,
5851
+ wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5852
+ wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
5822
5853
  );
5823
5854
  return addHeapObject(ret);
5824
5855
  }
@@ -5839,30 +5870,19 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5839
5870
  return addHeapObject(ret);
5840
5871
  }
5841
5872
 
5842
- export function __wbindgen_cast_999c2e74f2a852c3(arg0, arg1) {
5843
- // Cast intrinsic for `Closure(Closure { dtor_idx: 562, function: Function { arguments: [], shim_idx: 314, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5844
- const ret = makeMutClosure(
5845
- arg0,
5846
- arg1,
5847
- wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
5848
- wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
5849
- );
5850
- return addHeapObject(ret);
5851
- }
5852
-
5853
5873
  export function __wbindgen_cast_9ae0607507abb057(arg0) {
5854
5874
  // Cast intrinsic for `I64 -> Externref`.
5855
5875
  const ret = arg0;
5856
5876
  return addHeapObject(ret);
5857
5877
  }
5858
5878
 
5859
- export function __wbindgen_cast_aaf650ef6a5be3f2(arg0, arg1) {
5860
- // Cast intrinsic for `Closure(Closure { dtor_idx: 313, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5879
+ export function __wbindgen_cast_bf18027ee84acd62(arg0, arg1) {
5880
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 573, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5861
5881
  const ret = makeMutClosure(
5862
5882
  arg0,
5863
5883
  arg1,
5864
- wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5865
- wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984,
5884
+ wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11,
5885
+ wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
5866
5886
  );
5867
5887
  return addHeapObject(ret);
5868
5888
  }
@@ -5873,19 +5893,30 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5873
5893
  return addHeapObject(ret);
5874
5894
  }
5875
5895
 
5896
+ export function __wbindgen_cast_d3c442d81884e8e4(arg0, arg1) {
5897
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5898
+ const ret = makeMutClosure(
5899
+ arg0,
5900
+ arg1,
5901
+ wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
5902
+ wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000,
5903
+ );
5904
+ return addHeapObject(ret);
5905
+ }
5906
+
5876
5907
  export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
5877
5908
  // Cast intrinsic for `F64 -> Externref`.
5878
5909
  const ret = arg0;
5879
5910
  return addHeapObject(ret);
5880
5911
  }
5881
5912
 
5882
- export function __wbindgen_cast_de94229cd40e7152(arg0, arg1) {
5883
- // Cast intrinsic for `Closure(Closure { dtor_idx: 313, function: Function { arguments: [], shim_idx: 314, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5913
+ export function __wbindgen_cast_d9da8617cf4d65f6(arg0, arg1) {
5914
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5884
5915
  const ret = makeMutClosure(
5885
5916
  arg0,
5886
5917
  arg1,
5887
- wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5888
- wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d,
5918
+ wasm.wasm_bindgen__closure__destroy__h7a79e3df9e7c7848,
5919
+ wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5,
5889
5920
  );
5890
5921
  return addHeapObject(ret);
5891
5922
  }
Binary file
@@ -201,6 +201,14 @@ export const __wbg_authclient_free: (a: number, b: number) => void;
201
201
  export const __wbg_identityclient_free: (a: number, b: number) => void;
202
202
  export const authclient_identity: (a: number) => number;
203
203
  export const isRegistrationError: (a: number) => number;
204
+ export const registrationclient_post_keys_for_key_connector_registration: (
205
+ a: number,
206
+ b: number,
207
+ c: number,
208
+ d: number,
209
+ e: number,
210
+ f: number,
211
+ ) => number;
204
212
  export const registrationclient_post_keys_for_tde_registration: (a: number, b: number) => number;
205
213
  export const sendaccessclient_request_send_access_token: (a: number, b: number) => number;
206
214
  export const isCollectionDecryptError: (a: number) => number;
@@ -480,22 +488,22 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
480
488
  export const vaultclient_attachments: (a: number) => number;
481
489
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
482
490
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
483
- export const wasm_bindgen__convert__closures_____invoke__he146b106f849f26a: (
491
+ export const wasm_bindgen__convert__closures_____invoke__he2e170c549b97ed5: (
484
492
  a: number,
485
493
  b: number,
486
494
  c: number,
487
- d: number,
488
495
  ) => void;
489
- export const wasm_bindgen__closure__destroy__hb9785c609198ba41: (a: number, b: number) => void;
496
+ export const wasm_bindgen__closure__destroy__h7a79e3df9e7c7848: (a: number, b: number) => void;
490
497
  export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
491
498
  a: number,
492
499
  b: number,
493
500
  ) => void;
494
501
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
495
- export const wasm_bindgen__convert__closures_____invoke__ha40d0e6540b33984: (
502
+ export const wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000: (
496
503
  a: number,
497
504
  b: number,
498
505
  c: number,
506
+ d: number,
499
507
  ) => void;
500
508
  export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
501
509
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (