@bitwarden/commercial-sdk-internal 0.2.0-main.424 → 0.2.0-main.425

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.
@@ -254,21 +254,33 @@ function passArray8ToWasm0(arg, malloc) {
254
254
  return ptr;
255
255
  }
256
256
  /**
257
- * Generate a new SSH key pair
257
+ * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
258
+ * to an OpenSSH private key with public key and fingerprint
258
259
  *
259
260
  * # Arguments
260
- * - `key_algorithm` - The algorithm to use for the key pair
261
+ * - `imported_key` - The private key to convert
262
+ * - `password` - The password to use for decrypting the key
261
263
  *
262
264
  * # Returns
263
- * - `Ok(SshKey)` if the key was successfully generated
264
- * - `Err(KeyGenerationError)` if the key could not be generated
265
- * @param {KeyAlgorithm} key_algorithm
265
+ * - `Ok(SshKey)` if the key was successfully coneverted
266
+ * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
267
+ * - `Err(WrongPassword)` if the password provided is incorrect
268
+ * - `Err(ParsingError)` if the key could not be parsed
269
+ * - `Err(UnsupportedKeyType)` if the key type is not supported
270
+ * @param {string} imported_key
271
+ * @param {string | null} [password]
266
272
  * @returns {SshKeyView}
267
273
  */
268
- exports.generate_ssh_key = function (key_algorithm) {
274
+ exports.import_ssh_key = function (imported_key, password) {
269
275
  try {
270
276
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
271
- wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
277
+ const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
278
+ const len0 = WASM_VECTOR_LEN;
279
+ var ptr1 = isLikeNone(password)
280
+ ? 0
281
+ : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
282
+ var len1 = WASM_VECTOR_LEN;
283
+ wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
272
284
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
273
285
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
274
286
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -282,33 +294,21 @@ exports.generate_ssh_key = function (key_algorithm) {
282
294
  };
283
295
 
284
296
  /**
285
- * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
286
- * to an OpenSSH private key with public key and fingerprint
297
+ * Generate a new SSH key pair
287
298
  *
288
299
  * # Arguments
289
- * - `imported_key` - The private key to convert
290
- * - `password` - The password to use for decrypting the key
300
+ * - `key_algorithm` - The algorithm to use for the key pair
291
301
  *
292
302
  * # Returns
293
- * - `Ok(SshKey)` if the key was successfully coneverted
294
- * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
295
- * - `Err(WrongPassword)` if the password provided is incorrect
296
- * - `Err(ParsingError)` if the key could not be parsed
297
- * - `Err(UnsupportedKeyType)` if the key type is not supported
298
- * @param {string} imported_key
299
- * @param {string | null} [password]
303
+ * - `Ok(SshKey)` if the key was successfully generated
304
+ * - `Err(KeyGenerationError)` if the key could not be generated
305
+ * @param {KeyAlgorithm} key_algorithm
300
306
  * @returns {SshKeyView}
301
307
  */
302
- exports.import_ssh_key = function (imported_key, password) {
308
+ exports.generate_ssh_key = function (key_algorithm) {
303
309
  try {
304
310
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
305
- const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
306
- const len0 = WASM_VECTOR_LEN;
307
- var ptr1 = isLikeNone(password)
308
- ? 0
309
- : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
310
- var len1 = WASM_VECTOR_LEN;
311
- wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
311
+ wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
312
312
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
313
313
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
314
314
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -404,9 +404,9 @@ exports.isCryptoClientError = function (error) {
404
404
  * @param {any} error
405
405
  * @returns {boolean}
406
406
  */
407
- exports.isDeriveKeyConnectorError = function (error) {
407
+ exports.isEnrollAdminPasswordResetError = function (error) {
408
408
  try {
409
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
409
+ const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
410
410
  return ret !== 0;
411
411
  } finally {
412
412
  heap[stack_pointer++] = undefined;
@@ -417,9 +417,9 @@ exports.isDeriveKeyConnectorError = function (error) {
417
417
  * @param {any} error
418
418
  * @returns {boolean}
419
419
  */
420
- exports.isEnrollAdminPasswordResetError = function (error) {
420
+ exports.isDeriveKeyConnectorError = function (error) {
421
421
  try {
422
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
422
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
423
423
  return ret !== 0;
424
424
  } finally {
425
425
  heap[stack_pointer++] = undefined;
@@ -629,9 +629,9 @@ exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
629
629
  * @param {any} error
630
630
  * @returns {boolean}
631
631
  */
632
- exports.isSshKeyExportError = function (error) {
632
+ exports.isSshKeyImportError = function (error) {
633
633
  try {
634
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
634
+ const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
635
635
  return ret !== 0;
636
636
  } finally {
637
637
  heap[stack_pointer++] = undefined;
@@ -642,9 +642,9 @@ exports.isSshKeyExportError = function (error) {
642
642
  * @param {any} error
643
643
  * @returns {boolean}
644
644
  */
645
- exports.isKeyGenerationError = function (error) {
645
+ exports.isSshKeyExportError = function (error) {
646
646
  try {
647
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
647
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
648
648
  return ret !== 0;
649
649
  } finally {
650
650
  heap[stack_pointer++] = undefined;
@@ -655,9 +655,9 @@ exports.isKeyGenerationError = function (error) {
655
655
  * @param {any} error
656
656
  * @returns {boolean}
657
657
  */
658
- exports.isSshKeyImportError = function (error) {
658
+ exports.isKeyGenerationError = function (error) {
659
659
  try {
660
- const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
660
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
661
661
  return ret !== 0;
662
662
  } finally {
663
663
  heap[stack_pointer++] = undefined;
@@ -733,9 +733,9 @@ exports.isTotpError = function (error) {
733
733
  * @param {any} error
734
734
  * @returns {boolean}
735
735
  */
736
- exports.isEncryptError = function (error) {
736
+ exports.isDecryptError = function (error) {
737
737
  try {
738
- const ret = wasm.isEncryptError(addBorrowedObject(error));
738
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
739
739
  return ret !== 0;
740
740
  } finally {
741
741
  heap[stack_pointer++] = undefined;
@@ -746,9 +746,9 @@ exports.isEncryptError = function (error) {
746
746
  * @param {any} error
747
747
  * @returns {boolean}
748
748
  */
749
- exports.isDecryptError = function (error) {
749
+ exports.isEncryptError = function (error) {
750
750
  try {
751
- const ret = wasm.isDecryptError(addBorrowedObject(error));
751
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
752
752
  return ret !== 0;
753
753
  } finally {
754
754
  heap[stack_pointer++] = undefined;
@@ -872,14 +872,10 @@ exports.isGetFolderError = function (error) {
872
872
  }
873
873
  };
874
874
 
875
- function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
876
- wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
877
- }
878
-
879
- function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg1, arg2) {
875
+ function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg1, arg2) {
880
876
  try {
881
877
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
882
- wasm.wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(
878
+ wasm.wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(
883
879
  retptr,
884
880
  arg0,
885
881
  arg1,
@@ -895,8 +891,12 @@ function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg
895
891
  }
896
892
  }
897
893
 
898
- function wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(arg0, arg1, arg2) {
899
- wasm.wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(
894
+ function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
895
+ wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
896
+ }
897
+
898
+ function wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(arg0, arg1, arg2) {
899
+ wasm.wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(
900
900
  arg0,
901
901
  arg1,
902
902
  addHeapObject(arg2),
@@ -4725,7 +4725,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4725
4725
  }, arguments);
4726
4726
  };
4727
4727
 
4728
- exports.__wbg_cipher_d3a477a8df673652 = function (arg0) {
4728
+ exports.__wbg_cipher_4720c11002fc96fd = function (arg0) {
4729
4729
  const ret = getObject(arg0).cipher;
4730
4730
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4731
4731
  };
@@ -4818,7 +4818,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4818
4818
  return addHeapObject(ret);
4819
4819
  };
4820
4820
 
4821
- exports.__wbg_folder_cf6710d7bcc08b39 = function (arg0) {
4821
+ exports.__wbg_folder_d21d8f5a125d055f = function (arg0) {
4822
4822
  const ret = getObject(arg0).folder;
4823
4823
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4824
4824
  };
@@ -4851,7 +4851,17 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4851
4851
  return ret;
4852
4852
  };
4853
4853
 
4854
- exports.__wbg_get_3528dc3794a8de2d = function () {
4854
+ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4855
+ const ret = getObject(arg0)[arg1 >>> 0];
4856
+ return addHeapObject(ret);
4857
+ };
4858
+
4859
+ exports.__wbg_get_access_token_e2133519f41a6ac7 = function (arg0) {
4860
+ const ret = getObject(arg0).get_access_token();
4861
+ return addHeapObject(ret);
4862
+ };
4863
+
4864
+ exports.__wbg_get_cd62268d8c087001 = function () {
4855
4865
  return handleError(function (arg0, arg1, arg2) {
4856
4866
  let deferred0_0;
4857
4867
  let deferred0_1;
@@ -4866,12 +4876,7 @@ exports.__wbg_get_3528dc3794a8de2d = function () {
4866
4876
  }, arguments);
4867
4877
  };
4868
4878
 
4869
- exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4870
- const ret = getObject(arg0)[arg1 >>> 0];
4871
- return addHeapObject(ret);
4872
- };
4873
-
4874
- exports.__wbg_get_94406e7678e29713 = function () {
4879
+ exports.__wbg_get_d1114999a8ab47d9 = function () {
4875
4880
  return handleError(function (arg0, arg1, arg2) {
4876
4881
  let deferred0_0;
4877
4882
  let deferred0_1;
@@ -4886,11 +4891,6 @@ exports.__wbg_get_94406e7678e29713 = function () {
4886
4891
  }, arguments);
4887
4892
  };
4888
4893
 
4889
- exports.__wbg_get_access_token_88dc7c09a576432c = function (arg0) {
4890
- const ret = getObject(arg0).get_access_token();
4891
- return addHeapObject(ret);
4892
- };
4893
-
4894
4894
  exports.__wbg_get_efcb449f58ec27c2 = function () {
4895
4895
  return handleError(function (arg0, arg1) {
4896
4896
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
@@ -5082,14 +5082,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
5082
5082
  return ret;
5083
5083
  };
5084
5084
 
5085
- exports.__wbg_list_05af67e3e4df7ec4 = function () {
5085
+ exports.__wbg_list_7b4bcbc83976604d = function () {
5086
5086
  return handleError(function (arg0) {
5087
5087
  const ret = getObject(arg0).list();
5088
5088
  return addHeapObject(ret);
5089
5089
  }, arguments);
5090
5090
  };
5091
5091
 
5092
- exports.__wbg_list_48a7cbe7b804534f = function () {
5092
+ exports.__wbg_list_a7aca25d8822da99 = function () {
5093
5093
  return handleError(function (arg0) {
5094
5094
  const ret = getObject(arg0).list();
5095
5095
  return addHeapObject(ret);
@@ -5333,7 +5333,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5333
5333
  }, arguments);
5334
5334
  };
5335
5335
 
5336
- exports.__wbg_remove_662a447836fc0213 = function () {
5336
+ exports.__wbg_remove_486de06f6037d12d = function () {
5337
5337
  return handleError(function (arg0, arg1, arg2) {
5338
5338
  let deferred0_0;
5339
5339
  let deferred0_1;
@@ -5348,7 +5348,7 @@ exports.__wbg_remove_662a447836fc0213 = function () {
5348
5348
  }, arguments);
5349
5349
  };
5350
5350
 
5351
- exports.__wbg_remove_9b7b7e47c1464ec7 = function () {
5351
+ exports.__wbg_remove_839a2bc7e9bfd311 = function () {
5352
5352
  return handleError(function (arg0, arg1, arg2) {
5353
5353
  let deferred0_0;
5354
5354
  let deferred0_1;
@@ -5394,40 +5394,10 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5394
5394
  return addHeapObject(ret);
5395
5395
  };
5396
5396
 
5397
- exports.__wbg_set_130fc92ad5bc93cc = function () {
5398
- return handleError(function (arg0, arg1, arg2, arg3) {
5399
- let deferred0_0;
5400
- let deferred0_1;
5401
- try {
5402
- deferred0_0 = arg1;
5403
- deferred0_1 = arg2;
5404
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5405
- return addHeapObject(ret);
5406
- } finally {
5407
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5408
- }
5409
- }, arguments);
5410
- };
5411
-
5412
5397
  exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5413
5398
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5414
5399
  };
5415
5400
 
5416
- exports.__wbg_set_8e2af17aad7e3578 = function () {
5417
- return handleError(function (arg0, arg1, arg2, arg3) {
5418
- let deferred0_0;
5419
- let deferred0_1;
5420
- try {
5421
- deferred0_0 = arg1;
5422
- deferred0_1 = arg2;
5423
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5424
- return addHeapObject(ret);
5425
- } finally {
5426
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5427
- }
5428
- }, arguments);
5429
- };
5430
-
5431
5401
  exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5432
5402
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5433
5403
  return addHeapObject(ret);
@@ -5452,6 +5422,36 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
5452
5422
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5453
5423
  };
5454
5424
 
5425
+ exports.__wbg_set_d16463df2409068d = function () {
5426
+ return handleError(function (arg0, arg1, arg2, arg3) {
5427
+ let deferred0_0;
5428
+ let deferred0_1;
5429
+ try {
5430
+ deferred0_0 = arg1;
5431
+ deferred0_1 = arg2;
5432
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5433
+ return addHeapObject(ret);
5434
+ } finally {
5435
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5436
+ }
5437
+ }, arguments);
5438
+ };
5439
+
5440
+ exports.__wbg_set_e9bc328257c76201 = function () {
5441
+ return handleError(function (arg0, arg1, arg2, arg3) {
5442
+ let deferred0_0;
5443
+ let deferred0_1;
5444
+ try {
5445
+ deferred0_0 = arg1;
5446
+ deferred0_1 = arg2;
5447
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5448
+ return addHeapObject(ret);
5449
+ } finally {
5450
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5451
+ }
5452
+ }, arguments);
5453
+ };
5454
+
5455
5455
  exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
5456
5456
  getObject(arg0).headers = getObject(arg1);
5457
5457
  };
@@ -5616,42 +5616,20 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
5616
5616
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5617
5617
  };
5618
5618
 
5619
- exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5620
- // Cast intrinsic for `Ref(String) -> Externref`.
5621
- const ret = getStringFromWasm0(arg0, arg1);
5622
- return addHeapObject(ret);
5623
- };
5624
-
5625
- exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
5626
- // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5627
- const ret = makeMutClosure(
5628
- arg0,
5629
- arg1,
5630
- wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5631
- wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5632
- );
5633
- return addHeapObject(ret);
5634
- };
5635
-
5636
- exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
5637
- // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5619
+ exports.__wbindgen_cast_0f3a80f9c6c81c16 = function (arg0, arg1) {
5620
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5638
5621
  const ret = makeMutClosure(
5639
5622
  arg0,
5640
5623
  arg1,
5641
- wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5642
- wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11,
5624
+ wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
5625
+ wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5643
5626
  );
5644
5627
  return addHeapObject(ret);
5645
5628
  };
5646
5629
 
5647
- exports.__wbindgen_cast_3fbb763e21ae0efe = function (arg0, arg1) {
5648
- // Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5649
- const ret = makeMutClosure(
5650
- arg0,
5651
- arg1,
5652
- wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5653
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5654
- );
5630
+ exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5631
+ // Cast intrinsic for `Ref(String) -> Externref`.
5632
+ const ret = getStringFromWasm0(arg0, arg1);
5655
5633
  return addHeapObject(ret);
5656
5634
  };
5657
5635
 
@@ -5669,25 +5647,36 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5669
5647
  return addHeapObject(ret);
5670
5648
  };
5671
5649
 
5672
- exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5673
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5674
- wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5675
- // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5676
- const ret = v0;
5650
+ exports.__wbindgen_cast_630a55545c54fc2a = function (arg0, arg1) {
5651
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5652
+ const ret = makeMutClosure(
5653
+ arg0,
5654
+ arg1,
5655
+ wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5656
+ wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5657
+ );
5677
5658
  return addHeapObject(ret);
5678
5659
  };
5679
5660
 
5680
- exports.__wbindgen_cast_930d054add031527 = function (arg0, arg1) {
5681
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5661
+ exports.__wbindgen_cast_67d165bf11ca912a = function (arg0, arg1) {
5662
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5682
5663
  const ret = makeMutClosure(
5683
5664
  arg0,
5684
5665
  arg1,
5685
5666
  wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5686
- wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5667
+ wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5687
5668
  );
5688
5669
  return addHeapObject(ret);
5689
5670
  };
5690
5671
 
5672
+ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5673
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5674
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5675
+ // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5676
+ const ret = v0;
5677
+ return addHeapObject(ret);
5678
+ };
5679
+
5691
5680
  exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5692
5681
  // Cast intrinsic for `I64 -> Externref`.
5693
5682
  const ret = arg0;
@@ -5717,6 +5706,17 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
5717
5706
  return addHeapObject(ret);
5718
5707
  };
5719
5708
 
5709
+ exports.__wbindgen_cast_e12aaa4ecde9c999 = function (arg0, arg1) {
5710
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 41, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5711
+ const ret = makeMutClosure(
5712
+ arg0,
5713
+ arg1,
5714
+ wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
5715
+ wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531,
5716
+ );
5717
+ return addHeapObject(ret);
5718
+ };
5719
+
5720
5720
  exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
5721
5721
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5722
5722
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -454,24 +454,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
454
454
  export const __wbg_registrationclient_free: (a: number, b: number) => void;
455
455
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
456
456
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
457
- export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
457
+ export const wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531: (
458
458
  a: number,
459
459
  b: number,
460
+ c: number,
461
+ d: number,
460
462
  ) => void;
461
- export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11: (
463
+ export const wasm_bindgen__closure__destroy__h405eed9c319f41ea: (a: number, b: number) => void;
464
+ export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
463
465
  a: number,
464
466
  b: number,
465
- c: number,
466
- d: number,
467
467
  ) => void;
468
- export const wasm_bindgen__closure__destroy__h450a29d5adc6ff56: (a: number, b: number) => void;
469
- export const wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62: (
468
+ export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
469
+ export const wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9: (
470
470
  a: number,
471
471
  b: number,
472
472
  c: number,
473
473
  ) => void;
474
- export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
474
+ export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
475
475
  export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
476
476
  a: number,
477
477
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/commercial-sdk-internal",
3
- "version": "0.2.0-main.424",
3
+ "version": "0.2.0-main.425",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",