@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.
@@ -404,9 +404,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
404
404
  * @param {any} error
405
405
  * @returns {boolean}
406
406
  */
407
- exports.isCryptoClientError = function (error) {
407
+ exports.isMakeKeysError = function (error) {
408
408
  try {
409
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
409
+ const ret = wasm.isMakeKeysError(addBorrowedObject(error));
410
410
  return ret !== 0;
411
411
  } finally {
412
412
  heap[stack_pointer++] = undefined;
@@ -417,9 +417,9 @@ exports.isCryptoClientError = function (error) {
417
417
  * @param {any} error
418
418
  * @returns {boolean}
419
419
  */
420
- exports.isMakeKeysError = function (error) {
420
+ exports.isEnrollAdminPasswordResetError = function (error) {
421
421
  try {
422
- const ret = wasm.isMakeKeysError(addBorrowedObject(error));
422
+ const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
423
423
  return ret !== 0;
424
424
  } finally {
425
425
  heap[stack_pointer++] = undefined;
@@ -443,9 +443,9 @@ exports.isDeriveKeyConnectorError = function (error) {
443
443
  * @param {any} error
444
444
  * @returns {boolean}
445
445
  */
446
- exports.isEnrollAdminPasswordResetError = function (error) {
446
+ exports.isCryptoClientError = function (error) {
447
447
  try {
448
- const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
448
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
449
449
  return ret !== 0;
450
450
  } finally {
451
451
  heap[stack_pointer++] = undefined;
@@ -668,9 +668,9 @@ exports.isSshKeyImportError = function (error) {
668
668
  * @param {any} error
669
669
  * @returns {boolean}
670
670
  */
671
- exports.isSshKeyExportError = function (error) {
671
+ exports.isKeyGenerationError = function (error) {
672
672
  try {
673
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
673
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
674
674
  return ret !== 0;
675
675
  } finally {
676
676
  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.isKeyGenerationError = function (error) {
684
+ exports.isSshKeyExportError = function (error) {
685
685
  try {
686
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
686
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
687
687
  return ret !== 0;
688
688
  } finally {
689
689
  heap[stack_pointer++] = undefined;
@@ -759,9 +759,9 @@ exports.isTotpError = function (error) {
759
759
  * @param {any} error
760
760
  * @returns {boolean}
761
761
  */
762
- exports.isDecryptError = function (error) {
762
+ exports.isEncryptError = function (error) {
763
763
  try {
764
- const ret = wasm.isDecryptError(addBorrowedObject(error));
764
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
765
765
  return ret !== 0;
766
766
  } finally {
767
767
  heap[stack_pointer++] = undefined;
@@ -772,9 +772,9 @@ exports.isDecryptError = function (error) {
772
772
  * @param {any} error
773
773
  * @returns {boolean}
774
774
  */
775
- exports.isEncryptError = function (error) {
775
+ exports.isDecryptError = function (error) {
776
776
  try {
777
- const ret = wasm.isEncryptError(addBorrowedObject(error));
777
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
778
778
  return ret !== 0;
779
779
  } finally {
780
780
  heap[stack_pointer++] = undefined;
@@ -824,9 +824,9 @@ exports.isCreateCipherError = function (error) {
824
824
  * @param {any} error
825
825
  * @returns {boolean}
826
826
  */
827
- exports.isDecryptFileError = function (error) {
827
+ exports.isEncryptFileError = function (error) {
828
828
  try {
829
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
829
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
830
830
  return ret !== 0;
831
831
  } finally {
832
832
  heap[stack_pointer++] = undefined;
@@ -837,9 +837,9 @@ exports.isDecryptFileError = function (error) {
837
837
  * @param {any} error
838
838
  * @returns {boolean}
839
839
  */
840
- exports.isEncryptFileError = function (error) {
840
+ exports.isDecryptFileError = function (error) {
841
841
  try {
842
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
842
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
843
843
  return ret !== 0;
844
844
  } finally {
845
845
  heap[stack_pointer++] = undefined;
@@ -898,14 +898,22 @@ exports.isGetFolderError = function (error) {
898
898
  }
899
899
  };
900
900
 
901
+ function wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6(arg0, arg1, arg2) {
902
+ wasm.wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6(
903
+ arg0,
904
+ arg1,
905
+ addHeapObject(arg2),
906
+ );
907
+ }
908
+
901
909
  function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
902
910
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
903
911
  }
904
912
 
905
- function wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(arg0, arg1, arg2) {
913
+ function wasm_bindgen__convert__closures_____invoke__h063895fc8155148b(arg0, arg1, arg2) {
906
914
  try {
907
915
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
908
- wasm.wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(
916
+ wasm.wasm_bindgen__convert__closures_____invoke__h063895fc8155148b(
909
917
  retptr,
910
918
  arg0,
911
919
  arg1,
@@ -921,14 +929,6 @@ function wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb(arg0, arg
921
929
  }
922
930
  }
923
931
 
924
- function wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50(arg0, arg1, arg2) {
925
- wasm.wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50(
926
- arg0,
927
- arg1,
928
- addHeapObject(arg2),
929
- );
930
- }
931
-
932
932
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
933
933
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(
934
934
  arg0,
@@ -4681,7 +4681,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4681
4681
  }, arguments);
4682
4682
  };
4683
4683
 
4684
- exports.__wbg_cipher_3548026f7094330b = function (arg0) {
4684
+ exports.__wbg_cipher_2881d002e99fc1e0 = function (arg0) {
4685
4685
  const ret = getObject(arg0).cipher;
4686
4686
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4687
4687
  };
@@ -4774,7 +4774,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4774
4774
  return addHeapObject(ret);
4775
4775
  };
4776
4776
 
4777
- exports.__wbg_folder_ed6a9fc5234384cb = function (arg0) {
4777
+ exports.__wbg_folder_850c0e200c1c733e = function (arg0) {
4778
4778
  const ret = getObject(arg0).folder;
4779
4779
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4780
4780
  };
@@ -4807,7 +4807,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4807
4807
  return ret;
4808
4808
  };
4809
4809
 
4810
- exports.__wbg_get_059c2d2b0d9f16c6 = function () {
4810
+ exports.__wbg_get_7a3537b50ba868e3 = function () {
4811
4811
  return handleError(function (arg0, arg1, arg2) {
4812
4812
  let deferred0_0;
4813
4813
  let deferred0_1;
@@ -4827,7 +4827,7 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4827
4827
  return addHeapObject(ret);
4828
4828
  };
4829
4829
 
4830
- exports.__wbg_get_8f24fe902ac53de8 = function () {
4830
+ exports.__wbg_get_91a968b190ba0894 = function () {
4831
4831
  return handleError(function (arg0, arg1, arg2) {
4832
4832
  let deferred0_0;
4833
4833
  let deferred0_1;
@@ -4842,7 +4842,7 @@ exports.__wbg_get_8f24fe902ac53de8 = function () {
4842
4842
  }, arguments);
4843
4843
  };
4844
4844
 
4845
- exports.__wbg_get_access_token_e21c8559fb93ca60 = function (arg0) {
4845
+ exports.__wbg_get_access_token_f26de0c17f3e56ce = function (arg0) {
4846
4846
  const ret = getObject(arg0).get_access_token();
4847
4847
  return addHeapObject(ret);
4848
4848
  };
@@ -5038,14 +5038,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
5038
5038
  return ret;
5039
5039
  };
5040
5040
 
5041
- exports.__wbg_list_0281e92db948f442 = function () {
5041
+ exports.__wbg_list_50d9f30a74a509f4 = function () {
5042
5042
  return handleError(function (arg0) {
5043
5043
  const ret = getObject(arg0).list();
5044
5044
  return addHeapObject(ret);
5045
5045
  }, arguments);
5046
5046
  };
5047
5047
 
5048
- exports.__wbg_list_bd0dc104cbe8010a = function () {
5048
+ exports.__wbg_list_9d103d839bbdfb9a = function () {
5049
5049
  return handleError(function (arg0) {
5050
5050
  const ret = getObject(arg0).list();
5051
5051
  return addHeapObject(ret);
@@ -5289,7 +5289,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5289
5289
  }, arguments);
5290
5290
  };
5291
5291
 
5292
- exports.__wbg_remove_0f4bd759e20b86e6 = function () {
5292
+ exports.__wbg_remove_603a14bd1c208694 = function () {
5293
5293
  return handleError(function (arg0, arg1, arg2) {
5294
5294
  let deferred0_0;
5295
5295
  let deferred0_1;
@@ -5304,7 +5304,7 @@ exports.__wbg_remove_0f4bd759e20b86e6 = function () {
5304
5304
  }, arguments);
5305
5305
  };
5306
5306
 
5307
- exports.__wbg_remove_e7b9b18e72bb46cf = function () {
5307
+ exports.__wbg_remove_84371f8f77bf0c28 = function () {
5308
5308
  return handleError(function (arg0, arg1, arg2) {
5309
5309
  let deferred0_0;
5310
5310
  let deferred0_1;
@@ -5354,12 +5354,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5354
5354
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5355
5355
  };
5356
5356
 
5357
- exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5358
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5359
- return addHeapObject(ret);
5360
- };
5361
-
5362
- exports.__wbg_set_92cd75f6b31005f1 = function () {
5357
+ exports.__wbg_set_71a1f020cb05bbfa = function () {
5363
5358
  return handleError(function (arg0, arg1, arg2, arg3) {
5364
5359
  let deferred0_0;
5365
5360
  let deferred0_1;
@@ -5374,6 +5369,11 @@ exports.__wbg_set_92cd75f6b31005f1 = function () {
5374
5369
  }, arguments);
5375
5370
  };
5376
5371
 
5372
+ exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5373
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5374
+ return addHeapObject(ret);
5375
+ };
5376
+
5377
5377
  exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
5378
5378
  getObject(arg0).body = getObject(arg1);
5379
5379
  };
@@ -5393,7 +5393,7 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
5393
5393
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5394
5394
  };
5395
5395
 
5396
- exports.__wbg_set_fe20f5720dd86655 = function () {
5396
+ exports.__wbg_set_ff7a3078af8cda93 = function () {
5397
5397
  return handleError(function (arg0, arg1, arg2, arg3) {
5398
5398
  let deferred0_0;
5399
5399
  let deferred0_1;
@@ -5577,8 +5577,8 @@ exports.__wbindgen_cast_20857c511765411e = function (arg0, arg1) {
5577
5577
  const ret = makeMutClosure(
5578
5578
  arg0,
5579
5579
  arg1,
5580
- wasm.wasm_bindgen__closure__destroy__h6b92e86759b79e92,
5581
- wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb,
5580
+ wasm.wasm_bindgen__closure__destroy__h0677e3d0a01c8923,
5581
+ wasm_bindgen__convert__closures_____invoke__h063895fc8155148b,
5582
5582
  );
5583
5583
  return addHeapObject(ret);
5584
5584
  };
@@ -5600,8 +5600,8 @@ exports.__wbindgen_cast_5774b2b6fba5c6d4 = function (arg0, arg1) {
5600
5600
  const ret = makeMutClosure(
5601
5601
  arg0,
5602
5602
  arg1,
5603
- wasm.wasm_bindgen__closure__destroy__h6b92e86759b79e92,
5604
- wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50,
5603
+ wasm.wasm_bindgen__closure__destroy__h0677e3d0a01c8923,
5604
+ wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6,
5605
5605
  );
5606
5606
  return addHeapObject(ret);
5607
5607
  };
@@ -5645,7 +5645,7 @@ exports.__wbindgen_cast_aaf650ef6a5be3f2 = function (arg0, arg1) {
5645
5645
  arg0,
5646
5646
  arg1,
5647
5647
  wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
5648
- wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50,
5648
+ wasm_bindgen__convert__closures_____invoke__h62fe8d9fad3884b6,
5649
5649
  );
5650
5650
  return addHeapObject(ret);
5651
5651
  };
@@ -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__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__hfdb2ccf15364fcbb: (
462
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
463
463
  a: number,
464
464
  b: number,
465
- c: number,
466
- d: number,
467
465
  ) => void;
468
- export const wasm_bindgen__closure__destroy__h6b92e86759b79e92: (a: number, b: number) => void;
469
- export const wasm_bindgen__convert__closures_____invoke__h41f7c47a682c7c50: (
466
+ export const wasm_bindgen__closure__destroy__h0677e3d0a01c8923: (a: number, b: number) => void;
467
+ export const wasm_bindgen__convert__closures_____invoke__h063895fc8155148b: (
470
468
  a: number,
471
469
  b: number,
472
470
  c: number,
471
+ 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.444",
3
+ "version": "0.2.0-main.446",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",