@bitwarden/sdk-internal 0.2.0-main.403 → 0.2.0-main.404

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0107af75bc923b125b7c04a0f14b7c2403bb78b5
1
+ 59f40d406211ea591c2ef0e27aed2360f3f47d12
@@ -868,14 +868,10 @@ export function isEncryptFileError(error) {
868
868
  }
869
869
  }
870
870
 
871
- function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
872
- wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
873
- }
874
-
875
- function wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1(arg0, arg1, arg2) {
871
+ function wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(arg0, arg1, arg2) {
876
872
  try {
877
873
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
878
- wasm.wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1(
874
+ wasm.wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(
879
875
  retptr,
880
876
  arg0,
881
877
  arg1,
@@ -891,8 +887,12 @@ function wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1(arg0, arg
891
887
  }
892
888
  }
893
889
 
894
- function wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559(arg0, arg1, arg2) {
895
- wasm.wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559(
890
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
891
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
892
+ }
893
+
894
+ function wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(arg0, arg1, arg2) {
895
+ wasm.wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(
896
896
  arg0,
897
897
  arg1,
898
898
  addHeapObject(arg2),
@@ -4545,7 +4545,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4545
4545
  }, arguments);
4546
4546
  }
4547
4547
 
4548
- export function __wbg_cipher_1cdb0d79866a6837(arg0) {
4548
+ export function __wbg_cipher_a69755738b4a95e4(arg0) {
4549
4549
  const ret = getObject(arg0).cipher;
4550
4550
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4551
4551
  }
@@ -4638,7 +4638,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4638
4638
  return addHeapObject(ret);
4639
4639
  }
4640
4640
 
4641
- export function __wbg_folder_bf0beccb0458352a(arg0) {
4641
+ export function __wbg_folder_6ddccfa2359908cd(arg0) {
4642
4642
  const ret = getObject(arg0).folder;
4643
4643
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4644
4644
  }
@@ -4654,6 +4654,12 @@ export function __wbg_getRandomValues_38097e921c2494c3() {
4654
4654
  }, arguments);
4655
4655
  }
4656
4656
 
4657
+ export function __wbg_getRandomValues_3c9c0d586e575a16() {
4658
+ return handleError(function (arg0, arg1) {
4659
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
4660
+ }, arguments);
4661
+ }
4662
+
4657
4663
  export function __wbg_getRandomValues_b8f5dbd5f3995a9e() {
4658
4664
  return handleError(function (arg0, arg1) {
4659
4665
  getObject(arg0).getRandomValues(getObject(arg1));
@@ -4665,7 +4671,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4665
4671
  return ret;
4666
4672
  }
4667
4673
 
4668
- export function __wbg_get_1b7efe6c2c00e86d() {
4674
+ export function __wbg_get_63fc1a87cfa05664() {
4669
4675
  return handleError(function (arg0, arg1, arg2) {
4670
4676
  let deferred0_0;
4671
4677
  let deferred0_1;
@@ -4685,7 +4691,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4685
4691
  return addHeapObject(ret);
4686
4692
  }
4687
4693
 
4688
- export function __wbg_get_ab3c82eecdf4bc91() {
4694
+ export function __wbg_get_7f59e4189b579885() {
4689
4695
  return handleError(function (arg0, arg1, arg2) {
4690
4696
  let deferred0_0;
4691
4697
  let deferred0_1;
@@ -4700,7 +4706,7 @@ export function __wbg_get_ab3c82eecdf4bc91() {
4700
4706
  }, arguments);
4701
4707
  }
4702
4708
 
4703
- export function __wbg_get_access_token_418fcb38cdc8413d(arg0) {
4709
+ export function __wbg_get_access_token_5d1676f62fd8cd77(arg0) {
4704
4710
  const ret = getObject(arg0).get_access_token();
4705
4711
  return addHeapObject(ret);
4706
4712
  }
@@ -4896,14 +4902,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
4896
4902
  return ret;
4897
4903
  }
4898
4904
 
4899
- export function __wbg_list_056c98609a1fb3ef() {
4905
+ export function __wbg_list_2aa62e3f6d399917() {
4900
4906
  return handleError(function (arg0) {
4901
4907
  const ret = getObject(arg0).list();
4902
4908
  return addHeapObject(ret);
4903
4909
  }, arguments);
4904
4910
  }
4905
4911
 
4906
- export function __wbg_list_78accfdd0a91ad5f() {
4912
+ export function __wbg_list_3b311a5af885ff76() {
4907
4913
  return handleError(function (arg0) {
4908
4914
  const ret = getObject(arg0).list();
4909
4915
  return addHeapObject(ret);
@@ -5147,7 +5153,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5147
5153
  }, arguments);
5148
5154
  }
5149
5155
 
5150
- export function __wbg_remove_2d6d9bd3eaac392b() {
5156
+ export function __wbg_remove_47756c4838416808() {
5151
5157
  return handleError(function (arg0, arg1, arg2) {
5152
5158
  let deferred0_0;
5153
5159
  let deferred0_1;
@@ -5162,7 +5168,7 @@ export function __wbg_remove_2d6d9bd3eaac392b() {
5162
5168
  }, arguments);
5163
5169
  }
5164
5170
 
5165
- export function __wbg_remove_7648970db543e157() {
5171
+ export function __wbg_remove_e8858f2fbc02dbd1() {
5166
5172
  return handleError(function (arg0, arg1, arg2) {
5167
5173
  let deferred0_0;
5168
5174
  let deferred0_1;
@@ -5208,11 +5214,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5208
5214
  return addHeapObject(ret);
5209
5215
  }
5210
5216
 
5211
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5212
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5213
- }
5214
-
5215
- export function __wbg_set_5235cc0f26ed539b() {
5217
+ export function __wbg_set_268d54f279c675e3() {
5216
5218
  return handleError(function (arg0, arg1, arg2, arg3) {
5217
5219
  let deferred0_0;
5218
5220
  let deferred0_1;
@@ -5227,7 +5229,11 @@ export function __wbg_set_5235cc0f26ed539b() {
5227
5229
  }, arguments);
5228
5230
  }
5229
5231
 
5230
- export function __wbg_set_7f395f02ecd2904e() {
5232
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5233
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5234
+ }
5235
+
5236
+ export function __wbg_set_6e08863f9db5b0dc() {
5231
5237
  return handleError(function (arg0, arg1, arg2, arg3) {
5232
5238
  let deferred0_0;
5233
5239
  let deferred0_1;
@@ -5430,17 +5436,6 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5430
5436
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5431
5437
  }
5432
5438
 
5433
- export function __wbindgen_cast_1dc3b0d4f0abedd3(arg0, arg1) {
5434
- // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5435
- const ret = makeMutClosure(
5436
- arg0,
5437
- arg1,
5438
- wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5439
- wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559,
5440
- );
5441
- return addHeapObject(ret);
5442
- }
5443
-
5444
5439
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5445
5440
  // Cast intrinsic for `Ref(String) -> Externref`.
5446
5441
  const ret = getStringFromWasm0(arg0, arg1);
@@ -5452,8 +5447,8 @@ export function __wbindgen_cast_4042b341512ce63a(arg0, arg1) {
5452
5447
  const ret = makeMutClosure(
5453
5448
  arg0,
5454
5449
  arg1,
5455
- wasm.wasm_bindgen__closure__destroy__h03de969722544a39,
5456
- wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559,
5450
+ wasm.wasm_bindgen__closure__destroy__h09d4e676b918dc23,
5451
+ wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa,
5457
5452
  );
5458
5453
  return addHeapObject(ret);
5459
5454
  }
@@ -5464,6 +5459,17 @@ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
5464
5459
  return addHeapObject(ret);
5465
5460
  }
5466
5461
 
5462
+ export function __wbindgen_cast_567ce6425eb96825(arg0, arg1) {
5463
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 551, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5464
+ const ret = makeMutClosure(
5465
+ arg0,
5466
+ arg1,
5467
+ wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5468
+ wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5469
+ );
5470
+ return addHeapObject(ret);
5471
+ }
5472
+
5467
5473
  export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5468
5474
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5469
5475
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5472,22 +5478,33 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5472
5478
  return addHeapObject(ret);
5473
5479
  }
5474
5480
 
5475
- export function __wbindgen_cast_6b441f2e42512d6e(arg0, arg1) {
5476
- // Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5481
+ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5482
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5483
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5484
+ // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5485
+ const ret = v0;
5486
+ return addHeapObject(ret);
5487
+ }
5488
+
5489
+ export function __wbindgen_cast_8340b5b160d85933(arg0, arg1) {
5490
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5477
5491
  const ret = makeMutClosure(
5478
5492
  arg0,
5479
5493
  arg1,
5480
- wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5494
+ wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5481
5495
  wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5482
5496
  );
5483
5497
  return addHeapObject(ret);
5484
5498
  }
5485
5499
 
5486
- export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5487
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5488
- wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5489
- // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5490
- const ret = v0;
5500
+ export function __wbindgen_cast_9654b59eb60e619d(arg0, arg1) {
5501
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5502
+ const ret = makeMutClosure(
5503
+ arg0,
5504
+ arg1,
5505
+ wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5506
+ wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa,
5507
+ );
5491
5508
  return addHeapObject(ret);
5492
5509
  }
5493
5510
 
@@ -5508,8 +5525,8 @@ export function __wbindgen_cast_d49c305f67640cb1(arg0, arg1) {
5508
5525
  const ret = makeMutClosure(
5509
5526
  arg0,
5510
5527
  arg1,
5511
- wasm.wasm_bindgen__closure__destroy__h03de969722544a39,
5512
- wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1,
5528
+ wasm.wasm_bindgen__closure__destroy__h09d4e676b918dc23,
5529
+ wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf,
5513
5530
  );
5514
5531
  return addHeapObject(ret);
5515
5532
  }
@@ -5520,17 +5537,6 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
5520
5537
  return addHeapObject(ret);
5521
5538
  }
5522
5539
 
5523
- export function __wbindgen_cast_d87bfd09ab1288e4(arg0, arg1) {
5524
- // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5525
- const ret = makeMutClosure(
5526
- arg0,
5527
- arg1,
5528
- wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5529
- wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5530
- );
5531
- return addHeapObject(ret);
5532
- }
5533
-
5534
5540
  export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
5535
5541
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5536
5542
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
Binary file
@@ -447,19 +447,19 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
447
447
  export const __wbg_get_outgoingmessage_destination: (a: number) => number;
448
448
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
449
449
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
450
- export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
450
+ export const wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf: (
451
451
  a: number,
452
452
  b: number,
453
+ c: number,
454
+ d: number,
453
455
  ) => void;
454
- export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
455
- export const wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1: (
456
+ export const wasm_bindgen__closure__destroy__h09d4e676b918dc23: (a: number, b: number) => void;
457
+ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
456
458
  a: number,
457
459
  b: number,
458
- c: number,
459
- d: number,
460
460
  ) => void;
461
- export const wasm_bindgen__closure__destroy__h03de969722544a39: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559: (
461
+ export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
462
+ export const wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa: (
463
463
  a: number,
464
464
  b: number,
465
465
  c: number,