@bitwarden/sdk-internal 0.2.0-main.444 → 0.2.0-main.446

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.
@@ -414,9 +414,9 @@ export function isAccountCryptographyInitializationError(error) {
414
414
  * @param {any} error
415
415
  * @returns {boolean}
416
416
  */
417
- export function isCryptoClientError(error) {
417
+ export function isMakeKeysError(error) {
418
418
  try {
419
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
419
+ const ret = wasm.isMakeKeysError(addBorrowedObject(error));
420
420
  return ret !== 0;
421
421
  } finally {
422
422
  heap[stack_pointer++] = undefined;
@@ -427,9 +427,9 @@ export function isCryptoClientError(error) {
427
427
  * @param {any} error
428
428
  * @returns {boolean}
429
429
  */
430
- export function isMakeKeysError(error) {
430
+ export function isEnrollAdminPasswordResetError(error) {
431
431
  try {
432
- const ret = wasm.isMakeKeysError(addBorrowedObject(error));
432
+ const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
433
433
  return ret !== 0;
434
434
  } finally {
435
435
  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 isEnrollAdminPasswordResetError(error) {
456
+ export function isCryptoClientError(error) {
457
457
  try {
458
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
458
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
459
459
  return ret !== 0;
460
460
  } finally {
461
461
  heap[stack_pointer++] = undefined;
@@ -678,9 +678,9 @@ export function isSshKeyImportError(error) {
678
678
  * @param {any} error
679
679
  * @returns {boolean}
680
680
  */
681
- export function isSshKeyExportError(error) {
681
+ export function isKeyGenerationError(error) {
682
682
  try {
683
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
683
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
684
684
  return ret !== 0;
685
685
  } finally {
686
686
  heap[stack_pointer++] = undefined;
@@ -691,9 +691,9 @@ export function isSshKeyExportError(error) {
691
691
  * @param {any} error
692
692
  * @returns {boolean}
693
693
  */
694
- export function isKeyGenerationError(error) {
694
+ export function isSshKeyExportError(error) {
695
695
  try {
696
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
696
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
697
697
  return ret !== 0;
698
698
  } finally {
699
699
  heap[stack_pointer++] = undefined;
@@ -769,9 +769,9 @@ export function isTotpError(error) {
769
769
  * @param {any} error
770
770
  * @returns {boolean}
771
771
  */
772
- export function isDecryptError(error) {
772
+ export function isEncryptError(error) {
773
773
  try {
774
- const ret = wasm.isDecryptError(addBorrowedObject(error));
774
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
775
775
  return ret !== 0;
776
776
  } finally {
777
777
  heap[stack_pointer++] = undefined;
@@ -782,9 +782,9 @@ export function isDecryptError(error) {
782
782
  * @param {any} error
783
783
  * @returns {boolean}
784
784
  */
785
- export function isEncryptError(error) {
785
+ export function isDecryptError(error) {
786
786
  try {
787
- const ret = wasm.isEncryptError(addBorrowedObject(error));
787
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
788
788
  return ret !== 0;
789
789
  } finally {
790
790
  heap[stack_pointer++] = undefined;
@@ -834,9 +834,9 @@ export function isCreateCipherError(error) {
834
834
  * @param {any} error
835
835
  * @returns {boolean}
836
836
  */
837
- export function isDecryptFileError(error) {
837
+ export function isEncryptFileError(error) {
838
838
  try {
839
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
839
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
840
840
  return ret !== 0;
841
841
  } finally {
842
842
  heap[stack_pointer++] = undefined;
@@ -847,9 +847,9 @@ export function isDecryptFileError(error) {
847
847
  * @param {any} error
848
848
  * @returns {boolean}
849
849
  */
850
- export function isEncryptFileError(error) {
850
+ export function isDecryptFileError(error) {
851
851
  try {
852
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
852
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
853
853
  return ret !== 0;
854
854
  } finally {
855
855
  heap[stack_pointer++] = undefined;
@@ -908,22 +908,18 @@ export function isGetFolderError(error) {
908
908
  }
909
909
  }
910
910
 
911
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
912
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
913
- }
914
-
915
- function wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50(arg0, arg1, arg2) {
916
- wasm.wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50(
911
+ function wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6(arg0, arg1, arg2) {
912
+ wasm.wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6(
917
913
  arg0,
918
914
  arg1,
919
915
  addHeapObject(arg2),
920
916
  );
921
917
  }
922
918
 
923
- function wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(arg0, arg1, arg2) {
919
+ function wasm_bindgen__convert__closures_____invoke__h063895fc8155148b(arg0, arg1, arg2) {
924
920
  try {
925
921
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
926
- wasm.wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(
922
+ wasm.wasm_bindgen__convert__closures_____invoke__h063895fc8155148b(
927
923
  retptr,
928
924
  arg0,
929
925
  arg1,
@@ -939,6 +935,10 @@ function wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(arg0, arg
939
935
  }
940
936
  }
941
937
 
938
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
939
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
940
+ }
941
+
942
942
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
943
943
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(
944
944
  arg0,
@@ -4641,7 +4641,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4641
4641
  }, arguments);
4642
4642
  }
4643
4643
 
4644
- export function __wbg_cipher_3548026f7094330b(arg0) {
4644
+ export function __wbg_cipher_2881d002e99fc1e0(arg0) {
4645
4645
  const ret = getObject(arg0).cipher;
4646
4646
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4647
4647
  }
@@ -4734,7 +4734,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4734
4734
  return addHeapObject(ret);
4735
4735
  }
4736
4736
 
4737
- export function __wbg_folder_ed6a9fc5234384cb(arg0) {
4737
+ export function __wbg_folder_850c0e200c1c733e(arg0) {
4738
4738
  const ret = getObject(arg0).folder;
4739
4739
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4740
4740
  }
@@ -4767,7 +4767,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4767
4767
  return ret;
4768
4768
  }
4769
4769
 
4770
- export function __wbg_get_059c2d2b0d9f16c6() {
4770
+ export function __wbg_get_7a3537b50ba868e3() {
4771
4771
  return handleError(function (arg0, arg1, arg2) {
4772
4772
  let deferred0_0;
4773
4773
  let deferred0_1;
@@ -4787,7 +4787,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4787
4787
  return addHeapObject(ret);
4788
4788
  }
4789
4789
 
4790
- export function __wbg_get_8f24fe902ac53de8() {
4790
+ export function __wbg_get_91a968b190ba0894() {
4791
4791
  return handleError(function (arg0, arg1, arg2) {
4792
4792
  let deferred0_0;
4793
4793
  let deferred0_1;
@@ -4802,7 +4802,7 @@ export function __wbg_get_8f24fe902ac53de8() {
4802
4802
  }, arguments);
4803
4803
  }
4804
4804
 
4805
- export function __wbg_get_access_token_e21c8559fb93ca60(arg0) {
4805
+ export function __wbg_get_access_token_f26de0c17f3e56ce(arg0) {
4806
4806
  const ret = getObject(arg0).get_access_token();
4807
4807
  return addHeapObject(ret);
4808
4808
  }
@@ -4998,14 +4998,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
4998
4998
  return ret;
4999
4999
  }
5000
5000
 
5001
- export function __wbg_list_0281e92db948f442() {
5001
+ export function __wbg_list_50d9f30a74a509f4() {
5002
5002
  return handleError(function (arg0) {
5003
5003
  const ret = getObject(arg0).list();
5004
5004
  return addHeapObject(ret);
5005
5005
  }, arguments);
5006
5006
  }
5007
5007
 
5008
- export function __wbg_list_bd0dc104cbe8010a() {
5008
+ export function __wbg_list_9d103d839bbdfb9a() {
5009
5009
  return handleError(function (arg0) {
5010
5010
  const ret = getObject(arg0).list();
5011
5011
  return addHeapObject(ret);
@@ -5249,7 +5249,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5249
5249
  }, arguments);
5250
5250
  }
5251
5251
 
5252
- export function __wbg_remove_0f4bd759e20b86e6() {
5252
+ export function __wbg_remove_603a14bd1c208694() {
5253
5253
  return handleError(function (arg0, arg1, arg2) {
5254
5254
  let deferred0_0;
5255
5255
  let deferred0_1;
@@ -5264,7 +5264,7 @@ export function __wbg_remove_0f4bd759e20b86e6() {
5264
5264
  }, arguments);
5265
5265
  }
5266
5266
 
5267
- export function __wbg_remove_e7b9b18e72bb46cf() {
5267
+ export function __wbg_remove_84371f8f77bf0c28() {
5268
5268
  return handleError(function (arg0, arg1, arg2) {
5269
5269
  let deferred0_0;
5270
5270
  let deferred0_1;
@@ -5314,12 +5314,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5314
5314
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5315
5315
  }
5316
5316
 
5317
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5318
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5319
- return addHeapObject(ret);
5320
- }
5321
-
5322
- export function __wbg_set_92cd75f6b31005f1() {
5317
+ export function __wbg_set_71a1f020cb05bbfa() {
5323
5318
  return handleError(function (arg0, arg1, arg2, arg3) {
5324
5319
  let deferred0_0;
5325
5320
  let deferred0_1;
@@ -5334,6 +5329,11 @@ export function __wbg_set_92cd75f6b31005f1() {
5334
5329
  }, arguments);
5335
5330
  }
5336
5331
 
5332
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5333
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5334
+ return addHeapObject(ret);
5335
+ }
5336
+
5337
5337
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5338
5338
  getObject(arg0).body = getObject(arg1);
5339
5339
  }
@@ -5353,7 +5353,7 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5353
5353
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5354
5354
  }
5355
5355
 
5356
- export function __wbg_set_fe20f5720dd86655() {
5356
+ export function __wbg_set_ff7a3078af8cda93() {
5357
5357
  return handleError(function (arg0, arg1, arg2, arg3) {
5358
5358
  let deferred0_0;
5359
5359
  let deferred0_1;
@@ -5537,8 +5537,8 @@ export function __wbindgen_cast_20857c511765411e(arg0, arg1) {
5537
5537
  const ret = makeMutClosure(
5538
5538
  arg0,
5539
5539
  arg1,
5540
- wasm.wasm_bindgen__closure__destroy__h6b92e86759b79e92,
5541
- wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb,
5540
+ wasm.wasm_bindgen__closure__destroy__h0677e3d0a01c8923,
5541
+ wasm_bindgen__convert__closures_____invoke__h063895fc8155148b,
5542
5542
  );
5543
5543
  return addHeapObject(ret);
5544
5544
  }
@@ -5560,8 +5560,8 @@ export function __wbindgen_cast_5774b2b6fba5c6d4(arg0, arg1) {
5560
5560
  const ret = makeMutClosure(
5561
5561
  arg0,
5562
5562
  arg1,
5563
- wasm.wasm_bindgen__closure__destroy__h6b92e86759b79e92,
5564
- wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50,
5563
+ wasm.wasm_bindgen__closure__destroy__h0677e3d0a01c8923,
5564
+ wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6,
5565
5565
  );
5566
5566
  return addHeapObject(ret);
5567
5567
  }
@@ -5605,7 +5605,7 @@ export function __wbindgen_cast_aaf650ef6a5be3f2(arg0, arg1) {
5605
5605
  arg0,
5606
5606
  arg1,
5607
5607
  wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5608
- wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50,
5608
+ wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6,
5609
5609
  );
5610
5610
  return addHeapObject(ret);
5611
5611
  }
Binary file
@@ -453,24 +453,24 @@ export const __wbg_vaultclient_free: (a: number, b: number) => void;
453
453
  export const __wbg_get_outgoingmessage_destination: (a: number) => number;
454
454
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
455
455
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
456
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
456
+ export const wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6: (
457
457
  a: number,
458
458
  b: number,
459
+ c: number,
459
460
  ) => void;
460
461
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
461
- export const wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50: (
462
+ export const wasm_bindgen__closure__destroy__h0677e3d0a01c8923: (a: number, b: number) => void;
463
+ export const wasm_bindgen__convert__closures_____invoke__h063895fc8155148b: (
462
464
  a: number,
463
465
  b: number,
464
466
  c: number,
467
+ d: number,
465
468
  ) => void;
466
- export const wasm_bindgen__closure__destroy__h6b92e86759b79e92: (a: number, b: number) => void;
467
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
468
- export const wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb: (
469
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
469
470
  a: number,
470
471
  b: number,
471
- c: number,
472
- d: number,
473
472
  ) => void;
473
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
474
474
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
475
475
  a: number,
476
476
  b: number,