@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.
@@ -858,22 +858,22 @@ exports.isEncryptFileError = function (error) {
858
858
  }
859
859
  };
860
860
 
861
- function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
862
- wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
863
- }
864
-
865
- function wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559(arg0, arg1, arg2) {
866
- wasm.wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559(
861
+ function wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(arg0, arg1, arg2) {
862
+ wasm.wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(
867
863
  arg0,
868
864
  arg1,
869
865
  addHeapObject(arg2),
870
866
  );
871
867
  }
872
868
 
873
- function wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1(arg0, arg1, arg2) {
869
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
870
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
871
+ }
872
+
873
+ function wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(arg0, arg1, arg2) {
874
874
  try {
875
875
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
876
- wasm.wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1(
876
+ wasm.wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(
877
877
  retptr,
878
878
  arg0,
879
879
  arg1,
@@ -4583,7 +4583,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4583
4583
  }, arguments);
4584
4584
  };
4585
4585
 
4586
- exports.__wbg_cipher_1cdb0d79866a6837 = function (arg0) {
4586
+ exports.__wbg_cipher_a69755738b4a95e4 = function (arg0) {
4587
4587
  const ret = getObject(arg0).cipher;
4588
4588
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4589
4589
  };
@@ -4676,7 +4676,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4676
4676
  return addHeapObject(ret);
4677
4677
  };
4678
4678
 
4679
- exports.__wbg_folder_bf0beccb0458352a = function (arg0) {
4679
+ exports.__wbg_folder_6ddccfa2359908cd = function (arg0) {
4680
4680
  const ret = getObject(arg0).folder;
4681
4681
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4682
4682
  };
@@ -4692,6 +4692,12 @@ exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
4692
4692
  }, arguments);
4693
4693
  };
4694
4694
 
4695
+ exports.__wbg_getRandomValues_3c9c0d586e575a16 = function () {
4696
+ return handleError(function (arg0, arg1) {
4697
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
4698
+ }, arguments);
4699
+ };
4700
+
4695
4701
  exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
4696
4702
  return handleError(function (arg0, arg1) {
4697
4703
  getObject(arg0).getRandomValues(getObject(arg1));
@@ -4703,7 +4709,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4703
4709
  return ret;
4704
4710
  };
4705
4711
 
4706
- exports.__wbg_get_1b7efe6c2c00e86d = function () {
4712
+ exports.__wbg_get_63fc1a87cfa05664 = function () {
4707
4713
  return handleError(function (arg0, arg1, arg2) {
4708
4714
  let deferred0_0;
4709
4715
  let deferred0_1;
@@ -4723,7 +4729,7 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4723
4729
  return addHeapObject(ret);
4724
4730
  };
4725
4731
 
4726
- exports.__wbg_get_ab3c82eecdf4bc91 = function () {
4732
+ exports.__wbg_get_7f59e4189b579885 = function () {
4727
4733
  return handleError(function (arg0, arg1, arg2) {
4728
4734
  let deferred0_0;
4729
4735
  let deferred0_1;
@@ -4738,7 +4744,7 @@ exports.__wbg_get_ab3c82eecdf4bc91 = function () {
4738
4744
  }, arguments);
4739
4745
  };
4740
4746
 
4741
- exports.__wbg_get_access_token_418fcb38cdc8413d = function (arg0) {
4747
+ exports.__wbg_get_access_token_5d1676f62fd8cd77 = function (arg0) {
4742
4748
  const ret = getObject(arg0).get_access_token();
4743
4749
  return addHeapObject(ret);
4744
4750
  };
@@ -4934,14 +4940,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
4934
4940
  return ret;
4935
4941
  };
4936
4942
 
4937
- exports.__wbg_list_056c98609a1fb3ef = function () {
4943
+ exports.__wbg_list_2aa62e3f6d399917 = function () {
4938
4944
  return handleError(function (arg0) {
4939
4945
  const ret = getObject(arg0).list();
4940
4946
  return addHeapObject(ret);
4941
4947
  }, arguments);
4942
4948
  };
4943
4949
 
4944
- exports.__wbg_list_78accfdd0a91ad5f = function () {
4950
+ exports.__wbg_list_3b311a5af885ff76 = function () {
4945
4951
  return handleError(function (arg0) {
4946
4952
  const ret = getObject(arg0).list();
4947
4953
  return addHeapObject(ret);
@@ -5185,7 +5191,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5185
5191
  }, arguments);
5186
5192
  };
5187
5193
 
5188
- exports.__wbg_remove_2d6d9bd3eaac392b = function () {
5194
+ exports.__wbg_remove_47756c4838416808 = function () {
5189
5195
  return handleError(function (arg0, arg1, arg2) {
5190
5196
  let deferred0_0;
5191
5197
  let deferred0_1;
@@ -5200,7 +5206,7 @@ exports.__wbg_remove_2d6d9bd3eaac392b = function () {
5200
5206
  }, arguments);
5201
5207
  };
5202
5208
 
5203
- exports.__wbg_remove_7648970db543e157 = function () {
5209
+ exports.__wbg_remove_e8858f2fbc02dbd1 = function () {
5204
5210
  return handleError(function (arg0, arg1, arg2) {
5205
5211
  let deferred0_0;
5206
5212
  let deferred0_1;
@@ -5246,11 +5252,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5246
5252
  return addHeapObject(ret);
5247
5253
  };
5248
5254
 
5249
- exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5250
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5251
- };
5252
-
5253
- exports.__wbg_set_5235cc0f26ed539b = function () {
5255
+ exports.__wbg_set_268d54f279c675e3 = function () {
5254
5256
  return handleError(function (arg0, arg1, arg2, arg3) {
5255
5257
  let deferred0_0;
5256
5258
  let deferred0_1;
@@ -5265,7 +5267,11 @@ exports.__wbg_set_5235cc0f26ed539b = function () {
5265
5267
  }, arguments);
5266
5268
  };
5267
5269
 
5268
- exports.__wbg_set_7f395f02ecd2904e = function () {
5270
+ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5271
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5272
+ };
5273
+
5274
+ exports.__wbg_set_6e08863f9db5b0dc = function () {
5269
5275
  return handleError(function (arg0, arg1, arg2, arg3) {
5270
5276
  let deferred0_0;
5271
5277
  let deferred0_1;
@@ -5468,17 +5474,6 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
5468
5474
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5469
5475
  };
5470
5476
 
5471
- exports.__wbindgen_cast_1dc3b0d4f0abedd3 = function (arg0, arg1) {
5472
- // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5473
- const ret = makeMutClosure(
5474
- arg0,
5475
- arg1,
5476
- wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5477
- wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559,
5478
- );
5479
- return addHeapObject(ret);
5480
- };
5481
-
5482
5477
  exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5483
5478
  // Cast intrinsic for `Ref(String) -> Externref`.
5484
5479
  const ret = getStringFromWasm0(arg0, arg1);
@@ -5490,8 +5485,8 @@ exports.__wbindgen_cast_4042b341512ce63a = function (arg0, arg1) {
5490
5485
  const ret = makeMutClosure(
5491
5486
  arg0,
5492
5487
  arg1,
5493
- wasm.wasm_bindgen__closure__destroy__h03de969722544a39,
5494
- wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559,
5488
+ wasm.wasm_bindgen__closure__destroy__h09d4e676b918dc23,
5489
+ wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa,
5495
5490
  );
5496
5491
  return addHeapObject(ret);
5497
5492
  };
@@ -5502,6 +5497,17 @@ exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
5502
5497
  return addHeapObject(ret);
5503
5498
  };
5504
5499
 
5500
+ exports.__wbindgen_cast_567ce6425eb96825 = function (arg0, arg1) {
5501
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 551, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5502
+ const ret = makeMutClosure(
5503
+ arg0,
5504
+ arg1,
5505
+ wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5506
+ wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5507
+ );
5508
+ return addHeapObject(ret);
5509
+ };
5510
+
5505
5511
  exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5506
5512
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5507
5513
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5510,22 +5516,33 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5510
5516
  return addHeapObject(ret);
5511
5517
  };
5512
5518
 
5513
- exports.__wbindgen_cast_6b441f2e42512d6e = function (arg0, arg1) {
5514
- // Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5519
+ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5520
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5521
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5522
+ // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5523
+ const ret = v0;
5524
+ return addHeapObject(ret);
5525
+ };
5526
+
5527
+ exports.__wbindgen_cast_8340b5b160d85933 = function (arg0, arg1) {
5528
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5515
5529
  const ret = makeMutClosure(
5516
5530
  arg0,
5517
5531
  arg1,
5518
- wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5532
+ wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5519
5533
  wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5520
5534
  );
5521
5535
  return addHeapObject(ret);
5522
5536
  };
5523
5537
 
5524
- exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5525
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5526
- wasm.__wbindgen_free(arg0, arg1 * 4, 4);
5527
- // Cast intrinsic for `Vector(NamedExternref("Cipher")) -> Externref`.
5528
- const ret = v0;
5538
+ exports.__wbindgen_cast_9654b59eb60e619d = function (arg0, arg1) {
5539
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5540
+ const ret = makeMutClosure(
5541
+ arg0,
5542
+ arg1,
5543
+ wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5544
+ wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa,
5545
+ );
5529
5546
  return addHeapObject(ret);
5530
5547
  };
5531
5548
 
@@ -5546,8 +5563,8 @@ exports.__wbindgen_cast_d49c305f67640cb1 = function (arg0, arg1) {
5546
5563
  const ret = makeMutClosure(
5547
5564
  arg0,
5548
5565
  arg1,
5549
- wasm.wasm_bindgen__closure__destroy__h03de969722544a39,
5550
- wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1,
5566
+ wasm.wasm_bindgen__closure__destroy__h09d4e676b918dc23,
5567
+ wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf,
5551
5568
  );
5552
5569
  return addHeapObject(ret);
5553
5570
  };
@@ -5558,17 +5575,6 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
5558
5575
  return addHeapObject(ret);
5559
5576
  };
5560
5577
 
5561
- exports.__wbindgen_cast_d87bfd09ab1288e4 = function (arg0, arg1) {
5562
- // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5563
- const ret = makeMutClosure(
5564
- arg0,
5565
- arg1,
5566
- wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5567
- wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5568
- );
5569
- return addHeapObject(ret);
5570
- };
5571
-
5572
5578
  exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
5573
5579
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5574
5580
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -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__h5c75b123e343f7aa: (
451
451
  a: number,
452
452
  b: number,
453
+ c: number,
453
454
  ) => void;
454
- export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
455
- export const wasm_bindgen__convert__closures_____invoke__h3bed1aa0e3f56559: (
455
+ export const wasm_bindgen__closure__destroy__h09d4e676b918dc23: (a: number, b: number) => void;
456
+ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
456
457
  a: number,
457
458
  b: number,
458
- c: number,
459
459
  ) => void;
460
+ export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
460
461
  export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
461
- export const wasm_bindgen__closure__destroy__h03de969722544a39: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__hf2aaabd14a684be1: (
462
+ export const wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf: (
463
463
  a: number,
464
464
  b: number,
465
465
  c: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.403",
3
+ "version": "0.2.0-main.404",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",