@bitwarden/commercial-sdk-internal 0.2.0-main.425 → 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.
@@ -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;
@@ -417,9 +417,9 @@ exports.isEnrollAdminPasswordResetError = function (error) {
417
417
  * @param {any} error
418
418
  * @returns {boolean}
419
419
  */
420
- exports.isDeriveKeyConnectorError = function (error) {
420
+ exports.isCryptoClientError = function (error) {
421
421
  try {
422
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
422
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
423
423
  return ret !== 0;
424
424
  } finally {
425
425
  heap[stack_pointer++] = undefined;
@@ -642,9 +642,9 @@ exports.isSshKeyImportError = function (error) {
642
642
  * @param {any} error
643
643
  * @returns {boolean}
644
644
  */
645
- exports.isSshKeyExportError = function (error) {
645
+ exports.isKeyGenerationError = function (error) {
646
646
  try {
647
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
647
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
648
648
  return ret !== 0;
649
649
  } finally {
650
650
  heap[stack_pointer++] = undefined;
@@ -655,9 +655,9 @@ exports.isSshKeyExportError = function (error) {
655
655
  * @param {any} error
656
656
  * @returns {boolean}
657
657
  */
658
- exports.isKeyGenerationError = function (error) {
658
+ exports.isSshKeyExportError = function (error) {
659
659
  try {
660
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
660
+ const ret = wasm.isSshKeyExportError(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.isDecryptError = function (error) {
736
+ exports.isEncryptError = function (error) {
737
737
  try {
738
- const ret = wasm.isDecryptError(addBorrowedObject(error));
738
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
739
739
  return ret !== 0;
740
740
  } finally {
741
741
  heap[stack_pointer++] = undefined;
@@ -746,9 +746,9 @@ exports.isDecryptError = function (error) {
746
746
  * @param {any} error
747
747
  * @returns {boolean}
748
748
  */
749
- exports.isEncryptError = function (error) {
749
+ exports.isDecryptError = function (error) {
750
750
  try {
751
- const ret = wasm.isEncryptError(addBorrowedObject(error));
751
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
752
752
  return ret !== 0;
753
753
  } finally {
754
754
  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,10 +872,14 @@ exports.isGetFolderError = function (error) {
872
872
  }
873
873
  };
874
874
 
875
- function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg1, arg2) {
875
+ function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
876
+ wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
877
+ }
878
+
879
+ function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg1, arg2) {
876
880
  try {
877
881
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
878
- wasm.wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(
882
+ wasm.wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(
879
883
  retptr,
880
884
  arg0,
881
885
  arg1,
@@ -891,12 +895,8 @@ function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg
891
895
  }
892
896
  }
893
897
 
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(
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_4720c11002fc96fd = 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_d21d8f5a125d055f = 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,17 +4851,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4851
4851
  return ret;
4852
4852
  };
4853
4853
 
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 () {
4854
+ exports.__wbg_get_1747ea6e550a3680 = function () {
4865
4855
  return handleError(function (arg0, arg1, arg2) {
4866
4856
  let deferred0_0;
4867
4857
  let deferred0_1;
@@ -4876,7 +4866,17 @@ exports.__wbg_get_cd62268d8c087001 = function () {
4876
4866
  }, arguments);
4877
4867
  };
4878
4868
 
4879
- exports.__wbg_get_d1114999a8ab47d9 = function () {
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_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 () {
4880
4880
  return handleError(function (arg0, arg1, arg2) {
4881
4881
  let deferred0_0;
4882
4882
  let deferred0_1;
@@ -5082,14 +5082,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
5082
5082
  return ret;
5083
5083
  };
5084
5084
 
5085
- exports.__wbg_list_7b4bcbc83976604d = 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_a7aca25d8822da99 = 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_486de06f6037d12d = 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_486de06f6037d12d = function () {
5348
5348
  }, arguments);
5349
5349
  };
5350
5350
 
5351
- exports.__wbg_remove_839a2bc7e9bfd311 = 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;
@@ -5422,7 +5422,7 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
5422
5422
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5423
5423
  };
5424
5424
 
5425
- exports.__wbg_set_d16463df2409068d = function () {
5425
+ exports.__wbg_set_d9516e26a6ff5fe9 = function () {
5426
5426
  return handleError(function (arg0, arg1, arg2, arg3) {
5427
5427
  let deferred0_0;
5428
5428
  let deferred0_1;
@@ -5437,7 +5437,7 @@ exports.__wbg_set_d16463df2409068d = function () {
5437
5437
  }, arguments);
5438
5438
  };
5439
5439
 
5440
- exports.__wbg_set_e9bc328257c76201 = function () {
5440
+ exports.__wbg_set_f1e6b0194d67f6ad = function () {
5441
5441
  return handleError(function (arg0, arg1, arg2, arg3) {
5442
5442
  let deferred0_0;
5443
5443
  let deferred0_1;
@@ -5616,13 +5616,13 @@ 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_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`.
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
5621
  const ret = makeMutClosure(
5622
5622
  arg0,
5623
5623
  arg1,
5624
- wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
5625
- wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5624
+ wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5625
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5626
5626
  );
5627
5627
  return addHeapObject(ret);
5628
5628
  };
@@ -5633,6 +5633,28 @@ exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5633
5633
  return addHeapObject(ret);
5634
5634
  };
5635
5635
 
5636
+ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
5637
+ // 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`.
5638
+ const ret = makeMutClosure(
5639
+ arg0,
5640
+ arg1,
5641
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5642
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5643
+ );
5644
+ return addHeapObject(ret);
5645
+ };
5646
+
5647
+ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
5648
+ // 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`.
5649
+ const ret = makeMutClosure(
5650
+ arg0,
5651
+ arg1,
5652
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5653
+ wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
5654
+ );
5655
+ return addHeapObject(ret);
5656
+ };
5657
+
5636
5658
  exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
5637
5659
  // Cast intrinsic for `U64 -> Externref`.
5638
5660
  const ret = BigInt.asUintN(64, arg0);
@@ -5647,24 +5669,13 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5647
5669
  return addHeapObject(ret);
5648
5670
  };
5649
5671
 
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
- );
5658
- return addHeapObject(ret);
5659
- };
5660
-
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`.
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`.
5663
5674
  const ret = makeMutClosure(
5664
5675
  arg0,
5665
5676
  arg1,
5666
- wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5667
- wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5677
+ wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
5678
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5668
5679
  );
5669
5680
  return addHeapObject(ret);
5670
5681
  };
@@ -5677,23 +5688,23 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5677
5688
  return addHeapObject(ret);
5678
5689
  };
5679
5690
 
5680
- exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5681
- // Cast intrinsic for `I64 -> Externref`.
5682
- const ret = arg0;
5683
- return addHeapObject(ret);
5684
- };
5685
-
5686
- exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
5687
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, 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`.
5688
5693
  const ret = makeMutClosure(
5689
5694
  arg0,
5690
5695
  arg1,
5691
5696
  wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5692
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5697
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5693
5698
  );
5694
5699
  return addHeapObject(ret);
5695
5700
  };
5696
5701
 
5702
+ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5703
+ // Cast intrinsic for `I64 -> Externref`.
5704
+ const ret = arg0;
5705
+ return addHeapObject(ret);
5706
+ };
5707
+
5697
5708
  exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
5698
5709
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5699
5710
  const ret = getArrayU8FromWasm0(arg0, arg1);
@@ -5706,17 +5717,6 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
5706
5717
  return addHeapObject(ret);
5707
5718
  };
5708
5719
 
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__h2b7fa2bee4bd4531: (
457
+ export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
458
458
  a: number,
459
459
  b: number,
460
- c: number,
461
- d: number,
462
460
  ) => void;
463
- export const wasm_bindgen__closure__destroy__h405eed9c319f41ea: (a: number, b: number) => void;
464
- export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
461
+ export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
462
+ export const wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd: (
465
463
  a: number,
466
464
  b: number,
465
+ c: number,
466
+ d: number,
467
467
  ) => void;
468
- export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
469
- export const wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9: (
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__he41cbbdbe831f2ac: (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.425",
3
+ "version": "0.2.0-main.426",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",