@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.
@@ -401,9 +401,9 @@ export function isAccountCryptographyInitializationError(error) {
401
401
  * @param {any} error
402
402
  * @returns {boolean}
403
403
  */
404
- export function isCryptoClientError(error) {
404
+ export function isDeriveKeyConnectorError(error) {
405
405
  try {
406
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
406
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
407
407
  return ret !== 0;
408
408
  } finally {
409
409
  heap[stack_pointer++] = undefined;
@@ -427,9 +427,9 @@ export function isEnrollAdminPasswordResetError(error) {
427
427
  * @param {any} error
428
428
  * @returns {boolean}
429
429
  */
430
- export function isDeriveKeyConnectorError(error) {
430
+ export function isCryptoClientError(error) {
431
431
  try {
432
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
432
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
433
433
  return ret !== 0;
434
434
  } finally {
435
435
  heap[stack_pointer++] = undefined;
@@ -652,9 +652,9 @@ export function isSshKeyImportError(error) {
652
652
  * @param {any} error
653
653
  * @returns {boolean}
654
654
  */
655
- export function isSshKeyExportError(error) {
655
+ export function isKeyGenerationError(error) {
656
656
  try {
657
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
657
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
658
658
  return ret !== 0;
659
659
  } finally {
660
660
  heap[stack_pointer++] = undefined;
@@ -665,9 +665,9 @@ export function isSshKeyExportError(error) {
665
665
  * @param {any} error
666
666
  * @returns {boolean}
667
667
  */
668
- export function isKeyGenerationError(error) {
668
+ export function isSshKeyExportError(error) {
669
669
  try {
670
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
670
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
671
671
  return ret !== 0;
672
672
  } finally {
673
673
  heap[stack_pointer++] = undefined;
@@ -743,9 +743,9 @@ export function isTotpError(error) {
743
743
  * @param {any} error
744
744
  * @returns {boolean}
745
745
  */
746
- export function isDecryptError(error) {
746
+ export function isEncryptError(error) {
747
747
  try {
748
- const ret = wasm.isDecryptError(addBorrowedObject(error));
748
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
749
749
  return ret !== 0;
750
750
  } finally {
751
751
  heap[stack_pointer++] = undefined;
@@ -756,9 +756,9 @@ export function isDecryptError(error) {
756
756
  * @param {any} error
757
757
  * @returns {boolean}
758
758
  */
759
- export function isEncryptError(error) {
759
+ export function isDecryptError(error) {
760
760
  try {
761
- const ret = wasm.isEncryptError(addBorrowedObject(error));
761
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
762
762
  return ret !== 0;
763
763
  } finally {
764
764
  heap[stack_pointer++] = undefined;
@@ -808,9 +808,9 @@ export function isCreateCipherError(error) {
808
808
  * @param {any} error
809
809
  * @returns {boolean}
810
810
  */
811
- export function isEncryptFileError(error) {
811
+ export function isDecryptFileError(error) {
812
812
  try {
813
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
813
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
814
814
  return ret !== 0;
815
815
  } finally {
816
816
  heap[stack_pointer++] = undefined;
@@ -821,9 +821,9 @@ export function isEncryptFileError(error) {
821
821
  * @param {any} error
822
822
  * @returns {boolean}
823
823
  */
824
- export function isDecryptFileError(error) {
824
+ export function isEncryptFileError(error) {
825
825
  try {
826
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
826
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
827
827
  return ret !== 0;
828
828
  } finally {
829
829
  heap[stack_pointer++] = undefined;
@@ -882,22 +882,22 @@ export function isGetFolderError(error) {
882
882
  }
883
883
  }
884
884
 
885
- function wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(arg0, arg1, arg2) {
886
- wasm.wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9(
885
+ function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
886
+ wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
887
+ }
888
+
889
+ function wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(arg0, arg1, arg2) {
890
+ wasm.wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(
887
891
  arg0,
888
892
  arg1,
889
893
  addHeapObject(arg2),
890
894
  );
891
895
  }
892
896
 
893
- function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
894
- wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
895
- }
896
-
897
- function wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(arg0, arg1, arg2) {
897
+ function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg1, arg2) {
898
898
  try {
899
899
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
900
- wasm.wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531(
900
+ wasm.wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(
901
901
  retptr,
902
902
  arg0,
903
903
  arg1,
@@ -4681,7 +4681,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4681
4681
  }, arguments);
4682
4682
  }
4683
4683
 
4684
- export function __wbg_cipher_4720c11002fc96fd(arg0) {
4684
+ export function __wbg_cipher_dca8572b1d6cb130(arg0) {
4685
4685
  const ret = getObject(arg0).cipher;
4686
4686
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4687
4687
  }
@@ -4774,7 +4774,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4774
4774
  return addHeapObject(ret);
4775
4775
  }
4776
4776
 
4777
- export function __wbg_folder_d21d8f5a125d055f(arg0) {
4777
+ export function __wbg_folder_8c6c22f085c648d5(arg0) {
4778
4778
  const ret = getObject(arg0).folder;
4779
4779
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4780
4780
  }
@@ -4807,17 +4807,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4807
4807
  return ret;
4808
4808
  }
4809
4809
 
4810
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4811
- const ret = getObject(arg0)[arg1 >>> 0];
4812
- return addHeapObject(ret);
4813
- }
4814
-
4815
- export function __wbg_get_access_token_e2133519f41a6ac7(arg0) {
4816
- const ret = getObject(arg0).get_access_token();
4817
- return addHeapObject(ret);
4818
- }
4819
-
4820
- export function __wbg_get_cd62268d8c087001() {
4810
+ export function __wbg_get_1747ea6e550a3680() {
4821
4811
  return handleError(function (arg0, arg1, arg2) {
4822
4812
  let deferred0_0;
4823
4813
  let deferred0_1;
@@ -4832,7 +4822,17 @@ export function __wbg_get_cd62268d8c087001() {
4832
4822
  }, arguments);
4833
4823
  }
4834
4824
 
4835
- export function __wbg_get_d1114999a8ab47d9() {
4825
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4826
+ const ret = getObject(arg0)[arg1 >>> 0];
4827
+ return addHeapObject(ret);
4828
+ }
4829
+
4830
+ export function __wbg_get_access_token_37b176ffb3668729(arg0) {
4831
+ const ret = getObject(arg0).get_access_token();
4832
+ return addHeapObject(ret);
4833
+ }
4834
+
4835
+ export function __wbg_get_c0f7e010f25b83b7() {
4836
4836
  return handleError(function (arg0, arg1, arg2) {
4837
4837
  let deferred0_0;
4838
4838
  let deferred0_1;
@@ -5038,14 +5038,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5038
5038
  return ret;
5039
5039
  }
5040
5040
 
5041
- export function __wbg_list_7b4bcbc83976604d() {
5041
+ export function __wbg_list_7cbae88b8c1f2846() {
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
- export function __wbg_list_a7aca25d8822da99() {
5048
+ export function __wbg_list_cbd6655ebbf2aaaf() {
5049
5049
  return handleError(function (arg0) {
5050
5050
  const ret = getObject(arg0).list();
5051
5051
  return addHeapObject(ret);
@@ -5289,7 +5289,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5289
5289
  }, arguments);
5290
5290
  }
5291
5291
 
5292
- export function __wbg_remove_486de06f6037d12d() {
5292
+ export function __wbg_remove_97eba017d94cfbe1() {
5293
5293
  return handleError(function (arg0, arg1, arg2) {
5294
5294
  let deferred0_0;
5295
5295
  let deferred0_1;
@@ -5304,7 +5304,7 @@ export function __wbg_remove_486de06f6037d12d() {
5304
5304
  }, arguments);
5305
5305
  }
5306
5306
 
5307
- export function __wbg_remove_839a2bc7e9bfd311() {
5307
+ export function __wbg_remove_e963b2cd3de803fb() {
5308
5308
  return handleError(function (arg0, arg1, arg2) {
5309
5309
  let deferred0_0;
5310
5310
  let deferred0_1;
@@ -5378,7 +5378,7 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5378
5378
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5379
5379
  }
5380
5380
 
5381
- export function __wbg_set_d16463df2409068d() {
5381
+ export function __wbg_set_d9516e26a6ff5fe9() {
5382
5382
  return handleError(function (arg0, arg1, arg2, arg3) {
5383
5383
  let deferred0_0;
5384
5384
  let deferred0_1;
@@ -5393,7 +5393,7 @@ export function __wbg_set_d16463df2409068d() {
5393
5393
  }, arguments);
5394
5394
  }
5395
5395
 
5396
- export function __wbg_set_e9bc328257c76201() {
5396
+ export function __wbg_set_f1e6b0194d67f6ad() {
5397
5397
  return handleError(function (arg0, arg1, arg2, arg3) {
5398
5398
  let deferred0_0;
5399
5399
  let deferred0_1;
@@ -5572,13 +5572,13 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5572
5572
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5573
5573
  }
5574
5574
 
5575
- export function __wbindgen_cast_0f3a80f9c6c81c16(arg0, arg1) {
5576
- // 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`.
5575
+ export function __wbindgen_cast_18e7d5b03ebc0b46(arg0, arg1) {
5576
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5577
5577
  const ret = makeMutClosure(
5578
5578
  arg0,
5579
5579
  arg1,
5580
- wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
5581
- wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5580
+ wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5581
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5582
5582
  );
5583
5583
  return addHeapObject(ret);
5584
5584
  }
@@ -5589,6 +5589,28 @@ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5589
5589
  return addHeapObject(ret);
5590
5590
  }
5591
5591
 
5592
+ export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
5593
+ // 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`.
5594
+ const ret = makeMutClosure(
5595
+ arg0,
5596
+ arg1,
5597
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5598
+ wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
5599
+ );
5600
+ return addHeapObject(ret);
5601
+ }
5602
+
5603
+ export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
5604
+ // 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`.
5605
+ const ret = makeMutClosure(
5606
+ arg0,
5607
+ arg1,
5608
+ wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
5609
+ wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
5610
+ );
5611
+ return addHeapObject(ret);
5612
+ }
5613
+
5592
5614
  export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
5593
5615
  // Cast intrinsic for `U64 -> Externref`.
5594
5616
  const ret = BigInt.asUintN(64, arg0);
@@ -5603,24 +5625,13 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5603
5625
  return addHeapObject(ret);
5604
5626
  }
5605
5627
 
5606
- export function __wbindgen_cast_630a55545c54fc2a(arg0, arg1) {
5607
- // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5608
- const ret = makeMutClosure(
5609
- arg0,
5610
- arg1,
5611
- wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5612
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5613
- );
5614
- return addHeapObject(ret);
5615
- }
5616
-
5617
- export function __wbindgen_cast_67d165bf11ca912a(arg0, arg1) {
5618
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5628
+ export function __wbindgen_cast_6e095a3d144cfbd7(arg0, arg1) {
5629
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5619
5630
  const ret = makeMutClosure(
5620
5631
  arg0,
5621
5632
  arg1,
5622
- wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5623
- wasm_bindgen__convert__closures_____invoke__h3185ceccb6523ad9,
5633
+ wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
5634
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5624
5635
  );
5625
5636
  return addHeapObject(ret);
5626
5637
  }
@@ -5633,23 +5644,23 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5633
5644
  return addHeapObject(ret);
5634
5645
  }
5635
5646
 
5636
- export function __wbindgen_cast_9ae0607507abb057(arg0) {
5637
- // Cast intrinsic for `I64 -> Externref`.
5638
- const ret = arg0;
5639
- return addHeapObject(ret);
5640
- }
5641
-
5642
- export function __wbindgen_cast_bfa5a190b0f2e981(arg0, arg1) {
5643
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5647
+ export function __wbindgen_cast_8340b5b160d85933(arg0, arg1) {
5648
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5644
5649
  const ret = makeMutClosure(
5645
5650
  arg0,
5646
5651
  arg1,
5647
5652
  wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5648
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5653
+ wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
5649
5654
  );
5650
5655
  return addHeapObject(ret);
5651
5656
  }
5652
5657
 
5658
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
5659
+ // Cast intrinsic for `I64 -> Externref`.
5660
+ const ret = arg0;
5661
+ return addHeapObject(ret);
5662
+ }
5663
+
5653
5664
  export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5654
5665
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5655
5666
  const ret = getArrayU8FromWasm0(arg0, arg1);
@@ -5662,17 +5673,6 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
5662
5673
  return addHeapObject(ret);
5663
5674
  }
5664
5675
 
5665
- export function __wbindgen_cast_e12aaa4ecde9c999(arg0, arg1) {
5666
- // 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`.
5667
- const ret = makeMutClosure(
5668
- arg0,
5669
- arg1,
5670
- wasm.wasm_bindgen__closure__destroy__h405eed9c319f41ea,
5671
- wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531,
5672
- );
5673
- return addHeapObject(ret);
5674
- }
5675
-
5676
5676
  export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
5677
5677
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5678
5678
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
Binary file
@@ -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__h3185ceccb6523ad9: (
457
+ export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
458
458
  a: number,
459
459
  b: number,
460
- c: number,
461
460
  ) => void;
462
- export const wasm_bindgen__closure__destroy__h405eed9c319f41ea: (a: number, b: number) => void;
463
- export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
461
+ export const wasm_bindgen__closure__destroy__h602c026e8307a31b: (a: number, b: number) => void;
462
+ export const wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109: (
464
463
  a: number,
465
464
  b: number,
465
+ c: number,
466
466
  ) => void;
467
467
  export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
468
- export const wasm_bindgen__convert__closures_____invoke__h2b7fa2bee4bd4531: (
468
+ export const wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c: (a: number, b: number) => void;
469
+ export const wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd: (
469
470
  a: number,
470
471
  b: number,
471
472
  c: number,
472
473
  d: number,
473
474
  ) => void;
474
- export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
475
475
  export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
476
476
  a: number,
477
477
  b: number,