@bitwarden/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.
@@ -3985,7 +3985,7 @@ class PureCrypto {
3985
3985
  const len0 = WASM_VECTOR_LEN;
3986
3986
  const ptr1 = passArray8ToWasm0(wrapping_key, wasm.__wbindgen_malloc);
3987
3987
  const len1 = WASM_VECTOR_LEN;
3988
- wasm.purecrypto_unwrap_decapsulation_key(retptr, ptr0, len0, ptr1, len1);
3988
+ wasm.purecrypto_unwrap_encapsulation_key(retptr, ptr0, len0, ptr1, len1);
3989
3989
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3990
3990
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3991
3991
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4752,7 +4752,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4752
4752
  return addHeapObject(ret);
4753
4753
  }, arguments) };
4754
4754
 
4755
- exports.__wbg_cipher_5c9e39c1432064f7 = function(arg0) {
4755
+ exports.__wbg_cipher_465a4c5e9163aaac = function(arg0) {
4756
4756
  const ret = getObject(arg0).cipher;
4757
4757
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4758
4758
  };
@@ -4844,7 +4844,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4844
4844
  return addHeapObject(ret);
4845
4845
  };
4846
4846
 
4847
- exports.__wbg_folder_4ebc645236a1002f = function(arg0) {
4847
+ exports.__wbg_folder_78bb023df0fdc701 = function(arg0) {
4848
4848
  const ret = getObject(arg0).folder;
4849
4849
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4850
4850
  };
@@ -4876,7 +4876,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4876
4876
  return ret;
4877
4877
  };
4878
4878
 
4879
- exports.__wbg_get_350e2792874c2b01 = function() { return handleError(function (arg0, arg1, arg2) {
4879
+ exports.__wbg_get_0073b0d9dbf73a1f = function() { return handleError(function (arg0, arg1, arg2) {
4880
4880
  let deferred0_0;
4881
4881
  let deferred0_1;
4882
4882
  try {
@@ -4889,12 +4889,7 @@ exports.__wbg_get_350e2792874c2b01 = function() { return handleError(function (a
4889
4889
  }
4890
4890
  }, arguments) };
4891
4891
 
4892
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4893
- const ret = getObject(arg0)[arg1 >>> 0];
4894
- return addHeapObject(ret);
4895
- };
4896
-
4897
- exports.__wbg_get_8dd113a93566cae8 = function() { return handleError(function (arg0, arg1, arg2) {
4892
+ exports.__wbg_get_15c6dcca7951981a = function() { return handleError(function (arg0, arg1, arg2) {
4898
4893
  let deferred0_0;
4899
4894
  let deferred0_1;
4900
4895
  try {
@@ -4907,7 +4902,12 @@ exports.__wbg_get_8dd113a93566cae8 = function() { return handleError(function (a
4907
4902
  }
4908
4903
  }, arguments) };
4909
4904
 
4910
- exports.__wbg_get_access_token_d0f2776f07a9d525 = function(arg0) {
4905
+ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4906
+ const ret = getObject(arg0)[arg1 >>> 0];
4907
+ return addHeapObject(ret);
4908
+ };
4909
+
4910
+ exports.__wbg_get_access_token_f74208803f66d567 = function(arg0) {
4911
4911
  const ret = getObject(arg0).get_access_token();
4912
4912
  return addHeapObject(ret);
4913
4913
  };
@@ -5100,12 +5100,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5100
5100
  return ret;
5101
5101
  };
5102
5102
 
5103
- exports.__wbg_list_50efee149f7de26c = function() { return handleError(function (arg0) {
5103
+ exports.__wbg_list_c5e7d548377f982c = function() { return handleError(function (arg0) {
5104
5104
  const ret = getObject(arg0).list();
5105
5105
  return addHeapObject(ret);
5106
5106
  }, arguments) };
5107
5107
 
5108
- exports.__wbg_list_61ba38bb7fe60a1a = function() { return handleError(function (arg0) {
5108
+ exports.__wbg_list_e8b480f3e72a3825 = function() { return handleError(function (arg0) {
5109
5109
  const ret = getObject(arg0).list();
5110
5110
  return addHeapObject(ret);
5111
5111
  }, arguments) };
@@ -5327,7 +5327,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5327
5327
  getObject(arg0).randomFillSync(takeObject(arg1));
5328
5328
  }, arguments) };
5329
5329
 
5330
- exports.__wbg_remove_82c3dba8a1612f3c = function() { return handleError(function (arg0, arg1, arg2) {
5330
+ exports.__wbg_remove_35659984f9ccdee5 = function() { return handleError(function (arg0, arg1, arg2) {
5331
5331
  let deferred0_0;
5332
5332
  let deferred0_1;
5333
5333
  try {
@@ -5340,7 +5340,7 @@ exports.__wbg_remove_82c3dba8a1612f3c = function() { return handleError(function
5340
5340
  }
5341
5341
  }, arguments) };
5342
5342
 
5343
- exports.__wbg_remove_927c17e7c01dbb2f = function() { return handleError(function (arg0, arg1, arg2) {
5343
+ exports.__wbg_remove_aa4b6da4e4723670 = function() { return handleError(function (arg0, arg1, arg2) {
5344
5344
  let deferred0_0;
5345
5345
  let deferred0_1;
5346
5346
  try {
@@ -5382,25 +5382,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5382
5382
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5383
5383
  };
5384
5384
 
5385
- exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5386
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5387
- return addHeapObject(ret);
5388
- };
5389
-
5390
- exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5391
- getObject(arg0).body = getObject(arg1);
5392
- };
5393
-
5394
- exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
5395
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5396
- };
5397
-
5398
- exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
5399
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
5400
- return ret;
5401
- }, arguments) };
5402
-
5403
- exports.__wbg_set_cebdb9f8a1e66108 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5385
+ exports.__wbg_set_8c696a92c5ab9170 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5404
5386
  let deferred0_0;
5405
5387
  let deferred0_1;
5406
5388
  try {
@@ -5413,11 +5395,12 @@ exports.__wbg_set_cebdb9f8a1e66108 = function() { return handleError(function (a
5413
5395
  }
5414
5396
  }, arguments) };
5415
5397
 
5416
- exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5417
- getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5398
+ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5399
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5400
+ return addHeapObject(ret);
5418
5401
  };
5419
5402
 
5420
- exports.__wbg_set_fab346b938dc92c1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5403
+ exports.__wbg_set_930cbfcc46606440 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5421
5404
  let deferred0_0;
5422
5405
  let deferred0_1;
5423
5406
  try {
@@ -5430,6 +5413,23 @@ exports.__wbg_set_fab346b938dc92c1 = function() { return handleError(function (a
5430
5413
  }
5431
5414
  }, arguments) };
5432
5415
 
5416
+ exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5417
+ getObject(arg0).body = getObject(arg1);
5418
+ };
5419
+
5420
+ exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
5421
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5422
+ };
5423
+
5424
+ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
5425
+ const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
5426
+ return ret;
5427
+ }, arguments) };
5428
+
5429
+ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5430
+ getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5431
+ };
5432
+
5433
5433
  exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
5434
5434
  getObject(arg0).headers = getObject(arg1);
5435
5435
  };
@@ -5595,12 +5595,6 @@ exports.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
5595
5595
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5596
5596
  };
5597
5597
 
5598
- exports.__wbindgen_cast_175ebd987b2efee0 = function(arg0, arg1) {
5599
- // Cast intrinsic for `Closure(Closure { dtor_idx: 576, function: Function { arguments: [], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5600
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5601
- return addHeapObject(ret);
5602
- };
5603
-
5604
5598
  exports.__wbindgen_cast_1e9dc1058b799ead = function(arg0, arg1) {
5605
5599
  // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5606
5600
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0d4ec2bbb1b6536b, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
@@ -5613,12 +5607,24 @@ exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
5613
5607
  return addHeapObject(ret);
5614
5608
  };
5615
5609
 
5610
+ exports.__wbindgen_cast_407d254e2e38b0ff = function(arg0, arg1) {
5611
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5612
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5613
+ return addHeapObject(ret);
5614
+ };
5615
+
5616
5616
  exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
5617
5617
  // Cast intrinsic for `U64 -> Externref`.
5618
5618
  const ret = BigInt.asUintN(64, arg0);
5619
5619
  return addHeapObject(ret);
5620
5620
  };
5621
5621
 
5622
+ exports.__wbindgen_cast_55a08bee8bbbdd86 = function(arg0, arg1) {
5623
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 578, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5624
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5625
+ return addHeapObject(ret);
5626
+ };
5627
+
5622
5628
  exports.__wbindgen_cast_5fea77eff9dd275c = function(arg0, arg1) {
5623
5629
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5624
5630
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5635,15 +5641,21 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function(arg0, arg1) {
5635
5641
  return addHeapObject(ret);
5636
5642
  };
5637
5643
 
5644
+ exports.__wbindgen_cast_925ce08a137834bc = function(arg0, arg1) {
5645
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 327, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5646
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5647
+ return addHeapObject(ret);
5648
+ };
5649
+
5638
5650
  exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
5639
5651
  // Cast intrinsic for `I64 -> Externref`.
5640
5652
  const ret = arg0;
5641
5653
  return addHeapObject(ret);
5642
5654
  };
5643
5655
 
5644
- exports.__wbindgen_cast_9cada46b845c5f2e = function(arg0, arg1) {
5645
- // Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5646
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
5656
+ exports.__wbindgen_cast_b31c2e4bd3d58878 = function(arg0, arg1) {
5657
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 327, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5658
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5647
5659
  return addHeapObject(ret);
5648
5660
  };
5649
5661
 
@@ -5653,12 +5665,6 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
5653
5665
  return addHeapObject(ret);
5654
5666
  };
5655
5667
 
5656
- exports.__wbindgen_cast_d5386afd0d996719 = function(arg0, arg1) {
5657
- // Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5658
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5659
- return addHeapObject(ret);
5660
- };
5661
-
5662
5668
  exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
5663
5669
  // Cast intrinsic for `F64 -> Externref`.
5664
5670
  const ret = arg0;
@@ -5671,12 +5677,6 @@ exports.__wbindgen_cast_daac1d8e48fc3ba0 = function(arg0, arg1) {
5671
5677
  return addHeapObject(ret);
5672
5678
  };
5673
5679
 
5674
- exports.__wbindgen_cast_db50f1fbd5125d2e = function(arg0, arg1) {
5675
- // Cast intrinsic for `Closure(Closure { dtor_idx: 331, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5676
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
5677
- return addHeapObject(ret);
5678
- };
5679
-
5680
5680
  exports.__wbindgen_cast_ef90a087adb7475d = function(arg0, arg1) {
5681
5681
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5682
5682
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -150,6 +150,13 @@ export const purecrypto_unwrap_decapsulation_key: (
150
150
  d: number,
151
151
  e: number,
152
152
  ) => void;
153
+ export const purecrypto_unwrap_encapsulation_key: (
154
+ a: number,
155
+ b: number,
156
+ c: number,
157
+ d: number,
158
+ e: number,
159
+ ) => void;
153
160
  export const purecrypto_unwrap_symmetric_key: (
154
161
  a: number,
155
162
  b: number,
@@ -479,13 +486,6 @@ export const totpclient_generate_totp: (
479
486
  e: number,
480
487
  f: number,
481
488
  ) => void;
482
- export const purecrypto_unwrap_encapsulation_key: (
483
- a: number,
484
- b: number,
485
- c: number,
486
- d: number,
487
- e: number,
488
- ) => void;
489
489
  export const __wbg_stateclient_free: (a: number, b: number) => void;
490
490
  export const __wbg_platformclient_free: (a: number, b: number) => void;
491
491
  export const platformclient_state: (a: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.471",
3
+ "version": "0.2.0-main.473",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",