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

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,6 @@ 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
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
994
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
995
- }
996
-
997
989
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
998
990
  try {
999
991
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1008,6 +1000,14 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
1008
1000
  }
1009
1001
  }
1010
1002
 
1003
+ function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
1004
+ wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
1005
+ }
1006
+
1007
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1008
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1009
+ }
1010
+
1011
1011
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1012
1012
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1013
1013
  }
@@ -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_465a4c5e9163aaac(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_78bb023df0fdc701(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_0073b0d9dbf73a1f() { 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_15c6dcca7951981a() { 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_f74208803f66d567(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_c5e7d548377f982c() { 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_e8b480f3e72a3825() { 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_35659984f9ccdee5() { 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_aa4b6da4e4723670() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5414,7 +5414,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5414
5414
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5415
5415
  };
5416
5416
 
5417
- export function __wbg_set_4ede14f4aa8b9381() { return handleError(function (arg0, arg1, arg2, arg3) {
5417
+ export function __wbg_set_8c696a92c5ab9170() { return handleError(function (arg0, arg1, arg2, arg3) {
5418
5418
  let deferred0_0;
5419
5419
  let deferred0_1;
5420
5420
  try {
@@ -5432,6 +5432,19 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5432
5432
  return addHeapObject(ret);
5433
5433
  };
5434
5434
 
5435
+ export function __wbg_set_930cbfcc46606440() { return handleError(function (arg0, arg1, arg2, arg3) {
5436
+ let deferred0_0;
5437
+ let deferred0_1;
5438
+ try {
5439
+ deferred0_0 = arg1;
5440
+ deferred0_1 = arg2;
5441
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5442
+ return addHeapObject(ret);
5443
+ } finally {
5444
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5445
+ }
5446
+ }, arguments) };
5447
+
5435
5448
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5436
5449
  getObject(arg0).body = getObject(arg1);
5437
5450
  };
@@ -5449,19 +5462,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5449
5462
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5450
5463
  };
5451
5464
 
5452
- export function __wbg_set_e297ac876da10548() { return handleError(function (arg0, arg1, arg2, arg3) {
5453
- let deferred0_0;
5454
- let deferred0_1;
5455
- try {
5456
- deferred0_0 = arg1;
5457
- deferred0_1 = arg2;
5458
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5459
- return addHeapObject(ret);
5460
- } finally {
5461
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5462
- }
5463
- }, arguments) };
5464
-
5465
5465
  export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5466
5466
  getObject(arg0).headers = getObject(arg1);
5467
5467
  };
@@ -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,25 +513,25 @@ 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__hb102ba9d71e761f6: (
517
517
  a: number,
518
518
  b: number,
519
519
  c: number,
520
+ d: number,
520
521
  ) => void;
521
522
  export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
522
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
523
+ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
523
524
  a: number,
524
525
  b: number,
526
+ c: number,
525
527
  ) => void;
526
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
527
- export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
528
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
529
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
530
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
528
531
  a: number,
529
532
  b: number,
530
- c: number,
531
- d: number,
532
533
  ) => void;
533
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
534
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
534
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
535
535
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
536
536
  a: number,
537
537
  b: number,