@bitwarden/commercial-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.
@@ -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);
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
391
391
  * @param {any} error
392
392
  * @returns {boolean}
393
393
  */
394
- exports.isCryptoClientError = function (error) {
394
+ exports.isDeriveKeyConnectorError = function (error) {
395
395
  try {
396
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
396
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
397
397
  return ret !== 0;
398
398
  } finally {
399
399
  heap[stack_pointer++] = undefined;
@@ -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.isCryptoClientError = function (error) {
421
421
  try {
422
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
422
+ const ret = wasm.isCryptoClientError(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;
@@ -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.isSshKeyExportError = function (error) {
659
659
  try {
660
- const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
660
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
661
661
  return ret !== 0;
662
662
  } finally {
663
663
  heap[stack_pointer++] = undefined;
@@ -798,9 +798,9 @@ exports.isCreateCipherError = function (error) {
798
798
  * @param {any} error
799
799
  * @returns {boolean}
800
800
  */
801
- exports.isEncryptFileError = function (error) {
801
+ exports.isDecryptFileError = function (error) {
802
802
  try {
803
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
803
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
804
804
  return ret !== 0;
805
805
  } finally {
806
806
  heap[stack_pointer++] = undefined;
@@ -811,9 +811,9 @@ exports.isEncryptFileError = function (error) {
811
811
  * @param {any} error
812
812
  * @returns {boolean}
813
813
  */
814
- exports.isDecryptFileError = function (error) {
814
+ exports.isEncryptFileError = function (error) {
815
815
  try {
816
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
816
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
817
817
  return ret !== 0;
818
818
  } finally {
819
819
  heap[stack_pointer++] = undefined;
@@ -872,14 +872,14 @@ 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);
875
+ function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
876
+ wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
877
877
  }
878
878
 
879
- function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg1, arg2) {
879
+ function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg1, arg2) {
880
880
  try {
881
881
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
882
- wasm.wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(
882
+ wasm.wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(
883
883
  retptr,
884
884
  arg0,
885
885
  arg1,
@@ -895,8 +895,8 @@ function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg
895
895
  }
896
896
  }
897
897
 
898
- function wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(arg0, arg1, arg2) {
899
- wasm.wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(
898
+ function wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(arg0, arg1, arg2) {
899
+ wasm.wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(
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_dca8572b1d6cb130 = 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_8c6c22f085c648d5 = function (arg0) {
4822
4822
  const ret = getObject(arg0).folder;
4823
4823
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4824
4824
  };
@@ -4851,7 +4851,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4851
4851
  return ret;
4852
4852
  };
4853
4853
 
4854
- exports.__wbg_get_3528dc3794a8de2d = function () {
4854
+ exports.__wbg_get_1747ea6e550a3680 = function () {
4855
4855
  return handleError(function (arg0, arg1, arg2) {
4856
4856
  let deferred0_0;
4857
4857
  let deferred0_1;
@@ -4871,7 +4871,12 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4871
4871
  return addHeapObject(ret);
4872
4872
  };
4873
4873
 
4874
- exports.__wbg_get_94406e7678e29713 = function () {
4874
+ exports.__wbg_get_access_token_37b176ffb3668729 = function (arg0) {
4875
+ const ret = getObject(arg0).get_access_token();
4876
+ return addHeapObject(ret);
4877
+ };
4878
+
4879
+ exports.__wbg_get_c0f7e010f25b83b7 = 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_7cbae88b8c1f2846 = 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_cbd6655ebbf2aaaf = 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_97eba017d94cfbe1 = 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_e963b2cd3de803fb = 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_d9516e26a6ff5fe9 = 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_f1e6b0194d67f6ad = 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,6 +5616,17 @@ 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_18e7d5b03ebc0b46 = function (arg0, arg1) {
5620
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5621
+ const ret = makeMutClosure(
5622
+ arg0,
5623
+ arg1,
5624
+ wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5625
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5626
+ );
5627
+ return addHeapObject(ret);
5628
+ };
5629
+
5619
5630
  exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5620
5631
  // Cast intrinsic for `Ref(String) -> Externref`.
5621
5632
  const ret = getStringFromWasm0(arg0, arg1);
@@ -5627,8 +5638,8 @@ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
5627
5638
  const ret = makeMutClosure(
5628
5639
  arg0,
5629
5640
  arg1,
5630
- wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5631
- wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5641
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5642
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5632
5643
  );
5633
5644
  return addHeapObject(ret);
5634
5645
  };
@@ -5638,19 +5649,8 @@ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
5638
5649
  const ret = makeMutClosure(
5639
5650
  arg0,
5640
5651
  arg1,
5641
- wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5642
- wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11,
5643
- );
5644
- return addHeapObject(ret);
5645
- };
5646
-
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,
5652
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5653
+ wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
5654
5654
  );
5655
5655
  return addHeapObject(ret);
5656
5656
  };
@@ -5669,6 +5669,17 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5669
5669
  return addHeapObject(ret);
5670
5670
  };
5671
5671
 
5672
+ exports.__wbindgen_cast_6e095a3d144cfbd7 = function (arg0, arg1) {
5673
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5674
+ const ret = makeMutClosure(
5675
+ arg0,
5676
+ arg1,
5677
+ wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
5678
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5679
+ );
5680
+ return addHeapObject(ret);
5681
+ };
5682
+
5672
5683
  exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5673
5684
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5674
5685
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5677,13 +5688,13 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5677
5688
  return addHeapObject(ret);
5678
5689
  };
5679
5690
 
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`.
5691
+ exports.__wbindgen_cast_8340b5b160d85933 = function (arg0, arg1) {
5692
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5682
5693
  const ret = makeMutClosure(
5683
5694
  arg0,
5684
5695
  arg1,
5685
5696
  wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5686
- wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5697
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5687
5698
  );
5688
5699
  return addHeapObject(ret);
5689
5700
  };
@@ -5694,17 +5705,6 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5694
5705
  return addHeapObject(ret);
5695
5706
  };
5696
5707
 
5697
- exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
5698
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5699
- const ret = makeMutClosure(
5700
- arg0,
5701
- arg1,
5702
- wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5703
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5704
- );
5705
- return addHeapObject(ret);
5706
- };
5707
-
5708
5708
  exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
5709
5709
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5710
5710
  const ret = getArrayU8FromWasm0(arg0, arg1);
@@ -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__h1920d8a7b3007373: (
458
458
  a: number,
459
459
  b: number,
460
460
  ) => void;
461
- export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11: (
461
+ export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
462
+ export const wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd: (
463
463
  a: number,
464
464
  b: number,
465
465
  c: number,
466
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__h96ff2d5ee0ca699c: (a: number, b: number) => void;
469
+ export const wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109: (
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__h602c026e8307a31b: (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.426",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",