@bitwarden/commercial-sdk-internal 0.2.0-main.471 → 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,10 +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
989
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
994
990
  try {
995
991
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1004,6 +1000,10 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
1004
1000
  }
1005
1001
  }
1006
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
1007
  function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1008
1008
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1009
1009
  }
@@ -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_5c9e39c1432064f7(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_4ebc645236a1002f(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,7 +4908,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4908
4908
  return ret;
4909
4909
  };
4910
4910
 
4911
- export function __wbg_get_350e2792874c2b01() { return handleError(function (arg0, arg1, arg2) {
4911
+ export function __wbg_get_0073b0d9dbf73a1f() { return handleError(function (arg0, arg1, arg2) {
4912
4912
  let deferred0_0;
4913
4913
  let deferred0_1;
4914
4914
  try {
@@ -4921,12 +4921,7 @@ export function __wbg_get_350e2792874c2b01() { return handleError(function (arg0
4921
4921
  }
4922
4922
  }, arguments) };
4923
4923
 
4924
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4925
- const ret = getObject(arg0)[arg1 >>> 0];
4926
- return addHeapObject(ret);
4927
- };
4928
-
4929
- export function __wbg_get_8dd113a93566cae8() { return handleError(function (arg0, arg1, arg2) {
4924
+ export function __wbg_get_15c6dcca7951981a() { return handleError(function (arg0, arg1, arg2) {
4930
4925
  let deferred0_0;
4931
4926
  let deferred0_1;
4932
4927
  try {
@@ -4939,7 +4934,12 @@ export function __wbg_get_8dd113a93566cae8() { return handleError(function (arg0
4939
4934
  }
4940
4935
  }, arguments) };
4941
4936
 
4942
- export function __wbg_get_access_token_d0f2776f07a9d525(arg0) {
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
4943
  const ret = getObject(arg0).get_access_token();
4944
4944
  return addHeapObject(ret);
4945
4945
  };
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5132
5132
  return ret;
5133
5133
  };
5134
5134
 
5135
- export function __wbg_list_50efee149f7de26c() { 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_61ba38bb7fe60a1a() { 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_82c3dba8a1612f3c() { 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_82c3dba8a1612f3c() { return handleError(function (a
5372
5372
  }
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_927c17e7c01dbb2f() { 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,25 +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_907fb406c34a251d(arg0, arg1, arg2) {
5418
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5419
- return addHeapObject(ret);
5420
- };
5421
-
5422
- export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5423
- getObject(arg0).body = getObject(arg1);
5424
- };
5425
-
5426
- export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
5427
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5428
- };
5429
-
5430
- export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0, arg1, arg2) {
5431
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
5432
- return ret;
5433
- }, arguments) };
5434
-
5435
- export function __wbg_set_cebdb9f8a1e66108() { return handleError(function (arg0, arg1, arg2, arg3) {
5417
+ export function __wbg_set_8c696a92c5ab9170() { return handleError(function (arg0, arg1, arg2, arg3) {
5436
5418
  let deferred0_0;
5437
5419
  let deferred0_1;
5438
5420
  try {
@@ -5445,11 +5427,12 @@ export function __wbg_set_cebdb9f8a1e66108() { return handleError(function (arg0
5445
5427
  }
5446
5428
  }, arguments) };
5447
5429
 
5448
- export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5449
- getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5430
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5431
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5432
+ return addHeapObject(ret);
5450
5433
  };
5451
5434
 
5452
- export function __wbg_set_fab346b938dc92c1() { return handleError(function (arg0, arg1, arg2, arg3) {
5435
+ export function __wbg_set_930cbfcc46606440() { return handleError(function (arg0, arg1, arg2, arg3) {
5453
5436
  let deferred0_0;
5454
5437
  let deferred0_1;
5455
5438
  try {
@@ -5462,6 +5445,23 @@ export function __wbg_set_fab346b938dc92c1() { return handleError(function (arg0
5462
5445
  }
5463
5446
  }, arguments) };
5464
5447
 
5448
+ export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5449
+ getObject(arg0).body = getObject(arg1);
5450
+ };
5451
+
5452
+ export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
5453
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5454
+ };
5455
+
5456
+ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0, arg1, arg2) {
5457
+ const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
5458
+ return ret;
5459
+ }, arguments) };
5460
+
5461
+ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5462
+ getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5463
+ };
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,20 +513,20 @@ 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
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
522
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
523
- export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
522
+ export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
523
+ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
524
524
  a: number,
525
525
  b: number,
526
526
  c: number,
527
- d: number,
528
527
  ) => void;
529
- export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
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
530
  export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
531
531
  a: number,
532
532
  b: number,