@bitwarden/commercial-sdk-internal 0.2.0-main.472 → 0.2.0-main.474

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.
@@ -986,14 +986,14 @@ export function isGetFolderError(error) {
986
986
  }
987
987
  }
988
988
 
989
- function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
990
- wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
991
- }
992
-
993
989
  function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
994
990
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
995
991
  }
996
992
 
993
+ function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
994
+ wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
995
+ }
996
+
997
997
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
998
998
  try {
999
999
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -4029,7 +4029,7 @@ export class PureCrypto {
4029
4029
  const len0 = WASM_VECTOR_LEN;
4030
4030
  const ptr1 = passArray8ToWasm0(wrapping_key, wasm.__wbindgen_malloc);
4031
4031
  const len1 = WASM_VECTOR_LEN;
4032
- wasm.purecrypto_unwrap_decapsulation_key(retptr, ptr0, len0, ptr1, len1);
4032
+ wasm.purecrypto_unwrap_encapsulation_key(retptr, ptr0, len0, ptr1, len1);
4033
4033
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4034
4034
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4035
4035
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4784
4784
  return addHeapObject(ret);
4785
4785
  }, arguments) };
4786
4786
 
4787
- export function __wbg_cipher_c383eff802431e43(arg0) {
4787
+ export function __wbg_cipher_8fa7b2441b237780(arg0) {
4788
4788
  const ret = getObject(arg0).cipher;
4789
4789
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4790
4790
  };
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4876
4876
  return addHeapObject(ret);
4877
4877
  };
4878
4878
 
4879
- export function __wbg_folder_8ed516a639709925(arg0) {
4879
+ export function __wbg_folder_f66d2cac522b78ec(arg0) {
4880
4880
  const ret = getObject(arg0).folder;
4881
4881
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4882
4882
  };
@@ -4908,17 +4908,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4908
4908
  return ret;
4909
4909
  };
4910
4910
 
4911
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4912
- const ret = getObject(arg0)[arg1 >>> 0];
4913
- return addHeapObject(ret);
4914
- };
4915
-
4916
- export function __wbg_get_access_token_7e3e9d42b26cc7fa(arg0) {
4917
- const ret = getObject(arg0).get_access_token();
4918
- return addHeapObject(ret);
4919
- };
4920
-
4921
- export function __wbg_get_e93b67800745ccdf() { return handleError(function (arg0, arg1, arg2) {
4911
+ export function __wbg_get_5b12bd3e18913abb() { return handleError(function (arg0, arg1, arg2) {
4922
4912
  let deferred0_0;
4923
4913
  let deferred0_1;
4924
4914
  try {
@@ -4931,17 +4921,7 @@ export function __wbg_get_e93b67800745ccdf() { return handleError(function (arg0
4931
4921
  }
4932
4922
  }, arguments) };
4933
4923
 
4934
- export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
4935
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4936
- return addHeapObject(ret);
4937
- }, arguments) };
4938
-
4939
- export function __wbg_get_fb1fa70beb44a754() { return handleError(function (arg0, arg1) {
4940
- const ret = getObject(arg0).get(getObject(arg1));
4941
- return addHeapObject(ret);
4942
- }, arguments) };
4943
-
4944
- export function __wbg_get_fb875935883a9282() { return handleError(function (arg0, arg1, arg2) {
4924
+ export function __wbg_get_70b50ae972c249d8() { return handleError(function (arg0, arg1, arg2) {
4945
4925
  let deferred0_0;
4946
4926
  let deferred0_1;
4947
4927
  try {
@@ -4954,6 +4934,26 @@ export function __wbg_get_fb875935883a9282() { return handleError(function (arg0
4954
4934
  }
4955
4935
  }, arguments) };
4956
4936
 
4937
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4938
+ const ret = getObject(arg0)[arg1 >>> 0];
4939
+ return addHeapObject(ret);
4940
+ };
4941
+
4942
+ export function __wbg_get_access_token_be9bfbeac9d44f7f(arg0) {
4943
+ const ret = getObject(arg0).get_access_token();
4944
+ return addHeapObject(ret);
4945
+ };
4946
+
4947
+ export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
4948
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4949
+ return addHeapObject(ret);
4950
+ }, arguments) };
4951
+
4952
+ export function __wbg_get_fb1fa70beb44a754() { return handleError(function (arg0, arg1) {
4953
+ const ret = getObject(arg0).get(getObject(arg1));
4954
+ return addHeapObject(ret);
4955
+ }, arguments) };
4956
+
4957
4957
  export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
4958
4958
  const ret = getObject(arg0)[getObject(arg1)];
4959
4959
  return addHeapObject(ret);
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5132
5132
  return ret;
5133
5133
  };
5134
5134
 
5135
- export function __wbg_list_db17b38fc6789080() { return handleError(function (arg0) {
5135
+ export function __wbg_list_ba4e43e14f5cab2b() { return handleError(function (arg0) {
5136
5136
  const ret = getObject(arg0).list();
5137
5137
  return addHeapObject(ret);
5138
5138
  }, arguments) };
5139
5139
 
5140
- export function __wbg_list_e3cca7c1336aedbc() { return handleError(function (arg0) {
5140
+ export function __wbg_list_f98f092fb1e866e2() { return handleError(function (arg0) {
5141
5141
  const ret = getObject(arg0).list();
5142
5142
  return addHeapObject(ret);
5143
5143
  }, arguments) };
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5359
5359
  getObject(arg0).randomFillSync(takeObject(arg1));
5360
5360
  }, arguments) };
5361
5361
 
5362
- export function __wbg_remove_39b30f89bda47919() { return handleError(function (arg0, arg1, arg2) {
5362
+ export function __wbg_remove_1c5354e937ab98b9() { return handleError(function (arg0, arg1, arg2) {
5363
5363
  let deferred0_0;
5364
5364
  let deferred0_1;
5365
5365
  try {
@@ -5372,7 +5372,7 @@ export function __wbg_remove_39b30f89bda47919() { return handleError(function (a
5372
5372
  }
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_c7c22f4d591c1412() { return handleError(function (arg0, arg1, arg2) {
5375
+ export function __wbg_remove_bfe5de5ecc997521() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5410,11 +5410,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5410
5410
  return addHeapObject(ret);
5411
5411
  };
5412
5412
 
5413
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5414
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5415
- };
5416
-
5417
- export function __wbg_set_4ede14f4aa8b9381() { return handleError(function (arg0, arg1, arg2, arg3) {
5413
+ export function __wbg_set_0851a37845a7856a() { return handleError(function (arg0, arg1, arg2, arg3) {
5418
5414
  let deferred0_0;
5419
5415
  let deferred0_1;
5420
5416
  try {
@@ -5427,6 +5423,10 @@ export function __wbg_set_4ede14f4aa8b9381() { return handleError(function (arg0
5427
5423
  }
5428
5424
  }, arguments) };
5429
5425
 
5426
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5427
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5428
+ };
5429
+
5430
5430
  export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5431
5431
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5432
5432
  return addHeapObject(ret);
@@ -5449,7 +5449,7 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5449
5449
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5450
5450
  };
5451
5451
 
5452
- export function __wbg_set_e297ac876da10548() { return handleError(function (arg0, arg1, arg2, arg3) {
5452
+ export function __wbg_set_fb61aa6209cca15d() { return handleError(function (arg0, arg1, arg2, arg3) {
5453
5453
  let deferred0_0;
5454
5454
  let deferred0_1;
5455
5455
  try {
@@ -5627,18 +5627,12 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5627
5627
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5628
5628
  };
5629
5629
 
5630
- export function __wbindgen_cast_06477b1f0804fc26(arg0, arg1) {
5631
- // Cast intrinsic for `Closure(Closure { dtor_idx: 331, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5630
+ export function __wbindgen_cast_0acd39de5c783c71(arg0, arg1) {
5631
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5632
5632
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
5633
5633
  return addHeapObject(ret);
5634
5634
  };
5635
5635
 
5636
- export function __wbindgen_cast_175ebd987b2efee0(arg0, arg1) {
5637
- // Cast intrinsic for `Closure(Closure { dtor_idx: 576, function: Function { arguments: [], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5638
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5639
- return addHeapObject(ret);
5640
- };
5641
-
5642
5636
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5643
5637
  // Cast intrinsic for `Ref(String) -> Externref`.
5644
5638
  const ret = getStringFromWasm0(arg0, arg1);
@@ -5651,18 +5645,18 @@ export function __wbindgen_cast_4042b341512ce63a(arg0, arg1) {
5651
5645
  return addHeapObject(ret);
5652
5646
  };
5653
5647
 
5654
- export function __wbindgen_cast_452689ba5ee76b4b(arg0, arg1) {
5655
- // Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5656
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
5657
- return addHeapObject(ret);
5658
- };
5659
-
5660
5648
  export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
5661
5649
  // Cast intrinsic for `U64 -> Externref`.
5662
5650
  const ret = BigInt.asUintN(64, arg0);
5663
5651
  return addHeapObject(ret);
5664
5652
  };
5665
5653
 
5654
+ export function __wbindgen_cast_55a08bee8bbbdd86(arg0, arg1) {
5655
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 578, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5656
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5657
+ return addHeapObject(ret);
5658
+ };
5659
+
5666
5660
  export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5667
5661
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5668
5662
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5671,6 +5665,12 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5671
5665
  return addHeapObject(ret);
5672
5666
  };
5673
5667
 
5668
+ export function __wbindgen_cast_60e5410fb9724a20(arg0, arg1) {
5669
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 327, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5670
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
5671
+ return addHeapObject(ret);
5672
+ };
5673
+
5674
5674
  export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5675
5675
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5676
5676
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5679,15 +5679,15 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5679
5679
  return addHeapObject(ret);
5680
5680
  };
5681
5681
 
5682
- export function __wbindgen_cast_9ae0607507abb057(arg0) {
5683
- // Cast intrinsic for `I64 -> Externref`.
5684
- const ret = arg0;
5682
+ export function __wbindgen_cast_925ce08a137834bc(arg0, arg1) {
5683
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 327, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5684
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5685
5685
  return addHeapObject(ret);
5686
5686
  };
5687
5687
 
5688
- export function __wbindgen_cast_9cada46b845c5f2e(arg0, arg1) {
5689
- // Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5690
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5688
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
5689
+ // Cast intrinsic for `I64 -> Externref`.
5690
+ const ret = arg0;
5691
5691
  return addHeapObject(ret);
5692
5692
  };
5693
5693
 
Binary file
@@ -151,6 +151,13 @@ export const purecrypto_unwrap_decapsulation_key: (
151
151
  d: number,
152
152
  e: number,
153
153
  ) => void;
154
+ export const purecrypto_unwrap_encapsulation_key: (
155
+ a: number,
156
+ b: number,
157
+ c: number,
158
+ d: number,
159
+ e: number,
160
+ ) => void;
154
161
  export const purecrypto_unwrap_symmetric_key: (
155
162
  a: number,
156
163
  b: number,
@@ -483,13 +490,6 @@ export const totpclient_generate_totp: (
483
490
  e: number,
484
491
  f: number,
485
492
  ) => void;
486
- export const purecrypto_unwrap_encapsulation_key: (
487
- a: number,
488
- b: number,
489
- c: number,
490
- d: number,
491
- e: number,
492
- ) => void;
493
493
  export const __wbg_stateclient_free: (a: number, b: number) => void;
494
494
  export const __wbg_platformclient_free: (a: number, b: number) => void;
495
495
  export const platformclient_state: (a: number) => number;
@@ -513,24 +513,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
513
513
  export const vaultclient_attachments: (a: number) => number;
514
514
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
515
515
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
516
- export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
516
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
517
517
  a: number,
518
518
  b: number,
519
- c: number,
520
519
  ) => void;
521
- export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
522
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
520
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
521
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
522
+ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
523
523
  a: number,
524
524
  b: number,
525
+ c: number,
525
526
  ) => void;
526
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
527
527
  export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
528
528
  a: number,
529
529
  b: number,
530
530
  c: number,
531
531
  d: number,
532
532
  ) => void;
533
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
533
+ export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
534
534
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
535
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
536
536
  a: number,