@bitwarden/sdk-internal 0.2.0-main.513 → 0.2.0-main.514

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.
@@ -247,21 +247,31 @@ function passArray8ToWasm0(arg, malloc) {
247
247
  return ptr;
248
248
  }
249
249
  /**
250
- * Generate a new SSH key pair
250
+ * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
251
+ * to an OpenSSH private key with public key and fingerprint
251
252
  *
252
253
  * # Arguments
253
- * - `key_algorithm` - The algorithm to use for the key pair
254
+ * - `imported_key` - The private key to convert
255
+ * - `password` - The password to use for decrypting the key
254
256
  *
255
257
  * # Returns
256
- * - `Ok(SshKey)` if the key was successfully generated
257
- * - `Err(KeyGenerationError)` if the key could not be generated
258
- * @param {KeyAlgorithm} key_algorithm
258
+ * - `Ok(SshKey)` if the key was successfully coneverted
259
+ * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
260
+ * - `Err(WrongPassword)` if the password provided is incorrect
261
+ * - `Err(ParsingError)` if the key could not be parsed
262
+ * - `Err(UnsupportedKeyType)` if the key type is not supported
263
+ * @param {string} imported_key
264
+ * @param {string | null} [password]
259
265
  * @returns {SshKeyView}
260
266
  */
261
- exports.generate_ssh_key = function(key_algorithm) {
267
+ exports.import_ssh_key = function(imported_key, password) {
262
268
  try {
263
269
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
264
- wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
270
+ const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
271
+ const len0 = WASM_VECTOR_LEN;
272
+ var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
273
+ var len1 = WASM_VECTOR_LEN;
274
+ wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
265
275
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
266
276
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
267
277
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -275,31 +285,21 @@ exports.generate_ssh_key = function(key_algorithm) {
275
285
  };
276
286
 
277
287
  /**
278
- * Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
279
- * to an OpenSSH private key with public key and fingerprint
288
+ * Generate a new SSH key pair
280
289
  *
281
290
  * # Arguments
282
- * - `imported_key` - The private key to convert
283
- * - `password` - The password to use for decrypting the key
291
+ * - `key_algorithm` - The algorithm to use for the key pair
284
292
  *
285
293
  * # Returns
286
- * - `Ok(SshKey)` if the key was successfully coneverted
287
- * - `Err(PasswordRequired)` if the key is encrypted and no password was provided
288
- * - `Err(WrongPassword)` if the password provided is incorrect
289
- * - `Err(ParsingError)` if the key could not be parsed
290
- * - `Err(UnsupportedKeyType)` if the key type is not supported
291
- * @param {string} imported_key
292
- * @param {string | null} [password]
294
+ * - `Ok(SshKey)` if the key was successfully generated
295
+ * - `Err(KeyGenerationError)` if the key could not be generated
296
+ * @param {KeyAlgorithm} key_algorithm
293
297
  * @returns {SshKeyView}
294
298
  */
295
- exports.import_ssh_key = function(imported_key, password) {
299
+ exports.generate_ssh_key = function(key_algorithm) {
296
300
  try {
297
301
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
298
- const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
299
- const len0 = WASM_VECTOR_LEN;
300
- var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
301
- var len1 = WASM_VECTOR_LEN;
302
- wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
302
+ wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
303
303
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
304
304
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
305
305
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -382,9 +382,9 @@ exports.isMasterPasswordError = function(error) {
382
382
  * @param {any} error
383
383
  * @returns {boolean}
384
384
  */
385
- exports.isAccountCryptographyInitializationError = function(error) {
385
+ exports.isRotateCryptographyStateError = function(error) {
386
386
  try {
387
- const ret = wasm.isAccountCryptographyInitializationError(addBorrowedObject(error));
387
+ const ret = wasm.isRotateCryptographyStateError(addBorrowedObject(error));
388
388
  return ret !== 0;
389
389
  } finally {
390
390
  heap[stack_pointer++] = undefined;
@@ -395,9 +395,9 @@ exports.isAccountCryptographyInitializationError = function(error) {
395
395
  * @param {any} error
396
396
  * @returns {boolean}
397
397
  */
398
- exports.isRotateCryptographyStateError = function(error) {
398
+ exports.isAccountCryptographyInitializationError = function(error) {
399
399
  try {
400
- const ret = wasm.isRotateCryptographyStateError(addBorrowedObject(error));
400
+ const ret = wasm.isAccountCryptographyInitializationError(addBorrowedObject(error));
401
401
  return ret !== 0;
402
402
  } finally {
403
403
  heap[stack_pointer++] = undefined;
@@ -408,9 +408,9 @@ exports.isRotateCryptographyStateError = function(error) {
408
408
  * @param {any} error
409
409
  * @returns {boolean}
410
410
  */
411
- exports.isEnrollAdminPasswordResetError = function(error) {
411
+ exports.isMakeKeysError = function(error) {
412
412
  try {
413
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
413
+ const ret = wasm.isMakeKeysError(addBorrowedObject(error));
414
414
  return ret !== 0;
415
415
  } finally {
416
416
  heap[stack_pointer++] = undefined;
@@ -434,9 +434,9 @@ exports.isCryptoClientError = function(error) {
434
434
  * @param {any} error
435
435
  * @returns {boolean}
436
436
  */
437
- exports.isMakeKeysError = function(error) {
437
+ exports.isEnrollAdminPasswordResetError = function(error) {
438
438
  try {
439
- const ret = wasm.isMakeKeysError(addBorrowedObject(error));
439
+ const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
440
440
  return ret !== 0;
441
441
  } finally {
442
442
  heap[stack_pointer++] = undefined;
@@ -655,9 +655,9 @@ exports.ipcRequestDiscover = function(ipc_client, destination, abort_signal) {
655
655
  * @param {any} error
656
656
  * @returns {boolean}
657
657
  */
658
- exports.isKeyGenerationError = function(error) {
658
+ exports.isSshKeyImportError = function(error) {
659
659
  try {
660
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
660
+ const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
661
661
  return ret !== 0;
662
662
  } finally {
663
663
  heap[stack_pointer++] = undefined;
@@ -681,9 +681,9 @@ exports.isSshKeyExportError = function(error) {
681
681
  * @param {any} error
682
682
  * @returns {boolean}
683
683
  */
684
- exports.isSshKeyImportError = function(error) {
684
+ exports.isKeyGenerationError = function(error) {
685
685
  try {
686
- const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
686
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
687
687
  return ret !== 0;
688
688
  } finally {
689
689
  heap[stack_pointer++] = undefined;
@@ -989,10 +989,18 @@ exports.isGetFolderError = function(error) {
989
989
  }
990
990
  };
991
991
 
992
- function wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07(arg0, arg1, arg2) {
992
+ function wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3(arg0, arg1, arg2) {
993
+ wasm.wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3(arg0, arg1, addHeapObject(arg2));
994
+ }
995
+
996
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
997
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
998
+ }
999
+
1000
+ function wasm_bindgen__convert__closures_____invoke__h099f072940b41685(arg0, arg1, arg2) {
993
1001
  try {
994
1002
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
995
- wasm.wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07(retptr, arg0, arg1, addHeapObject(arg2));
1003
+ wasm.wasm_bindgen__convert__closures_____invoke__h099f072940b41685(retptr, arg0, arg1, addHeapObject(arg2));
996
1004
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
997
1005
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
998
1006
  if (r1) {
@@ -1003,14 +1011,6 @@ function wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07(arg0, arg
1003
1011
  }
1004
1012
  }
1005
1013
 
1006
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1007
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1008
- }
1009
-
1010
- function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
1011
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1012
- }
1013
-
1014
1014
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1015
1015
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1016
1016
  }
@@ -4805,7 +4805,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4805
4805
  return addHeapObject(ret);
4806
4806
  }, arguments) };
4807
4807
 
4808
- exports.__wbg_cipher_dc70b6995db21d9c = function(arg0) {
4808
+ exports.__wbg_cipher_66a731b73a5e6928 = function(arg0) {
4809
4809
  const ret = getObject(arg0).cipher;
4810
4810
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4811
4811
  };
@@ -4897,7 +4897,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4897
4897
  return addHeapObject(ret);
4898
4898
  };
4899
4899
 
4900
- exports.__wbg_folder_13dc4a6cba2555e2 = function(arg0) {
4900
+ exports.__wbg_folder_719bc3a5dc283f4d = function(arg0) {
4901
4901
  const ret = getObject(arg0).folder;
4902
4902
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4903
4903
  };
@@ -4929,7 +4929,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4929
4929
  return ret;
4930
4930
  };
4931
4931
 
4932
- exports.__wbg_get_5a209ebb46d180e7 = function() { return handleError(function (arg0, arg1, arg2) {
4932
+ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4933
+ const ret = getObject(arg0)[arg1 >>> 0];
4934
+ return addHeapObject(ret);
4935
+ };
4936
+
4937
+ exports.__wbg_get_9ce5877487d5d6c3 = function() { return handleError(function (arg0, arg1, arg2) {
4933
4938
  let deferred0_0;
4934
4939
  let deferred0_1;
4935
4940
  try {
@@ -4942,7 +4947,12 @@ exports.__wbg_get_5a209ebb46d180e7 = function() { return handleError(function (a
4942
4947
  }
4943
4948
  }, arguments) };
4944
4949
 
4945
- exports.__wbg_get_666014226d6f915b = function() { return handleError(function (arg0, arg1, arg2) {
4950
+ exports.__wbg_get_access_token_793e819507286d2d = function(arg0) {
4951
+ const ret = getObject(arg0).get_access_token();
4952
+ return addHeapObject(ret);
4953
+ };
4954
+
4955
+ exports.__wbg_get_b69ecfa393dca957 = function() { return handleError(function (arg0, arg1, arg2) {
4946
4956
  let deferred0_0;
4947
4957
  let deferred0_1;
4948
4958
  try {
@@ -4955,16 +4965,6 @@ exports.__wbg_get_666014226d6f915b = function() { return handleError(function (a
4955
4965
  }
4956
4966
  }, arguments) };
4957
4967
 
4958
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4959
- const ret = getObject(arg0)[arg1 >>> 0];
4960
- return addHeapObject(ret);
4961
- };
4962
-
4963
- exports.__wbg_get_access_token_ce05ead7ffa42d81 = function(arg0) {
4964
- const ret = getObject(arg0).get_access_token();
4965
- return addHeapObject(ret);
4966
- };
4967
-
4968
4968
  exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
4969
4969
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4970
4970
  return addHeapObject(ret);
@@ -5153,12 +5153,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5153
5153
  return ret;
5154
5154
  };
5155
5155
 
5156
- exports.__wbg_list_66f9000a1c11c1f0 = function() { return handleError(function (arg0) {
5156
+ exports.__wbg_list_c411843e234f4dd8 = function() { return handleError(function (arg0) {
5157
5157
  const ret = getObject(arg0).list();
5158
5158
  return addHeapObject(ret);
5159
5159
  }, arguments) };
5160
5160
 
5161
- exports.__wbg_list_a1170a6f5501687b = function() { return handleError(function (arg0) {
5161
+ exports.__wbg_list_cfa2dfc2c29bc4da = function() { return handleError(function (arg0) {
5162
5162
  const ret = getObject(arg0).list();
5163
5163
  return addHeapObject(ret);
5164
5164
  }, arguments) };
@@ -5380,7 +5380,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5380
5380
  getObject(arg0).randomFillSync(takeObject(arg1));
5381
5381
  }, arguments) };
5382
5382
 
5383
- exports.__wbg_remove_3293c50d7ab8cfbd = function() { return handleError(function (arg0, arg1, arg2) {
5383
+ exports.__wbg_remove_aa13923c5a732cc2 = function() { return handleError(function (arg0, arg1, arg2) {
5384
5384
  let deferred0_0;
5385
5385
  let deferred0_1;
5386
5386
  try {
@@ -5393,7 +5393,7 @@ exports.__wbg_remove_3293c50d7ab8cfbd = function() { return handleError(function
5393
5393
  }
5394
5394
  }, arguments) };
5395
5395
 
5396
- exports.__wbg_remove_9c3b3e413bbaf9d5 = function() { return handleError(function (arg0, arg1, arg2) {
5396
+ exports.__wbg_remove_c4832623744e558c = function() { return handleError(function (arg0, arg1, arg2) {
5397
5397
  let deferred0_0;
5398
5398
  let deferred0_1;
5399
5399
  try {
@@ -5431,7 +5431,16 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
5431
5431
  return addHeapObject(ret);
5432
5432
  };
5433
5433
 
5434
- exports.__wbg_set_1a3ea3f19919f2c5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5434
+ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5435
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5436
+ };
5437
+
5438
+ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5439
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5440
+ return addHeapObject(ret);
5441
+ };
5442
+
5443
+ exports.__wbg_set_958499d1db90ad07 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5435
5444
  let deferred0_0;
5436
5445
  let deferred0_1;
5437
5446
  try {
@@ -5444,11 +5453,7 @@ exports.__wbg_set_1a3ea3f19919f2c5 = function() { return handleError(function (a
5444
5453
  }
5445
5454
  }, arguments) };
5446
5455
 
5447
- exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5448
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5449
- };
5450
-
5451
- exports.__wbg_set_63b00bfc4ff21c0a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5456
+ exports.__wbg_set_a6b42852f41c4ca6 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5452
5457
  let deferred0_0;
5453
5458
  let deferred0_1;
5454
5459
  try {
@@ -5461,11 +5466,6 @@ exports.__wbg_set_63b00bfc4ff21c0a = function() { return handleError(function (a
5461
5466
  }
5462
5467
  }, arguments) };
5463
5468
 
5464
- exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5465
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5466
- return addHeapObject(ret);
5467
- };
5468
-
5469
5469
  exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5470
5470
  getObject(arg0).body = getObject(arg1);
5471
5471
  };
@@ -5648,15 +5648,9 @@ exports.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
5648
5648
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5649
5649
  };
5650
5650
 
5651
- exports.__wbindgen_cast_040237b82ce31ec9 = function(arg0, arg1) {
5652
- // Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5653
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5654
- return addHeapObject(ret);
5655
- };
5656
-
5657
5651
  exports.__wbindgen_cast_1e9dc1058b799ead = function(arg0, arg1) {
5658
5652
  // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5659
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hac765abac2a69fdd, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5653
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4bf386d9f33ab76e, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
5660
5654
  return addHeapObject(ret);
5661
5655
  };
5662
5656
 
@@ -5680,12 +5674,6 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function(arg0, arg1) {
5680
5674
  return addHeapObject(ret);
5681
5675
  };
5682
5676
 
5683
- exports.__wbindgen_cast_73a0930a4562bf7d = function(arg0, arg1) {
5684
- // Cast intrinsic for `Closure(Closure { dtor_idx: 583, function: Function { arguments: [], shim_idx: 334, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5685
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5686
- return addHeapObject(ret);
5687
- };
5688
-
5689
5677
  exports.__wbindgen_cast_7a6d185652cd8149 = function(arg0, arg1) {
5690
5678
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5691
5679
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5694,14 +5682,20 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function(arg0, arg1) {
5694
5682
  return addHeapObject(ret);
5695
5683
  };
5696
5684
 
5685
+ exports.__wbindgen_cast_936643e1d8ccf009 = function(arg0, arg1) {
5686
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 583, function: Function { arguments: [], shim_idx: 333, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5687
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5688
+ return addHeapObject(ret);
5689
+ };
5690
+
5697
5691
  exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
5698
5692
  // Cast intrinsic for `I64 -> Externref`.
5699
5693
  const ret = arg0;
5700
5694
  return addHeapObject(ret);
5701
5695
  };
5702
5696
 
5703
- exports.__wbindgen_cast_c425055212da0068 = function(arg0, arg1) {
5704
- // Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [], shim_idx: 334, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5697
+ exports.__wbindgen_cast_a2a1216eb14e5e30 = function(arg0, arg1) {
5698
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [], shim_idx: 333, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5705
5699
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5706
5700
  return addHeapObject(ret);
5707
5701
  };
@@ -5720,7 +5714,7 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
5720
5714
 
5721
5715
  exports.__wbindgen_cast_daac1d8e48fc3ba0 = function(arg0, arg1) {
5722
5716
  // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5723
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hac765abac2a69fdd, wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07);
5717
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4bf386d9f33ab76e, wasm_bindgen__convert__closures_____invoke__h099f072940b41685);
5724
5718
  return addHeapObject(ret);
5725
5719
  };
5726
5720
 
@@ -5732,9 +5726,15 @@ exports.__wbindgen_cast_ef90a087adb7475d = function(arg0, arg1) {
5732
5726
  return addHeapObject(ret);
5733
5727
  };
5734
5728
 
5735
- exports.__wbindgen_cast_faabdb593332903b = function(arg0, arg1) {
5736
- // Cast intrinsic for `Closure(Closure { dtor_idx: 339, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5737
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5729
+ exports.__wbindgen_cast_f5b267b11ec1f06a = function(arg0, arg1) {
5730
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5731
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
5732
+ return addHeapObject(ret);
5733
+ };
5734
+
5735
+ exports.__wbindgen_cast_fbfd89465e3eb8a6 = function(arg0, arg1) {
5736
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 338, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5737
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
5738
5738
  return addHeapObject(ret);
5739
5739
  };
5740
5740
 
@@ -512,25 +512,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
512
512
  export const vaultclient_attachments: (a: number) => number;
513
513
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
514
514
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
515
- export const wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07: (
515
+ export const wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3: (
516
516
  a: number,
517
517
  b: number,
518
518
  c: number,
519
- d: number,
520
519
  ) => void;
521
- export const wasm_bindgen__closure__destroy__hac765abac2a69fdd: (a: number, b: number) => void;
520
+ export const wasm_bindgen__closure__destroy__h4bf386d9f33ab76e: (a: number, b: number) => void;
522
521
  export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
523
522
  a: number,
524
523
  b: number,
525
524
  ) => void;
525
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
526
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
526
527
  export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
527
- export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
528
+ export const wasm_bindgen__convert__closures_____invoke__h099f072940b41685: (
528
529
  a: number,
529
530
  b: number,
530
531
  c: number,
532
+ d: number,
531
533
  ) => void;
532
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
533
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
534
534
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
535
535
  a: number,
536
536
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.513",
3
+ "version": "0.2.0-main.514",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",