@bitwarden/sdk-internal 0.2.0-main.395 → 0.2.0-main.396

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,10 @@ exports.isEncryptFileError = function (error) {
858
858
  }
859
859
  };
860
860
 
861
- function wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(arg0, arg1, arg2) {
862
- wasm.wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(
863
- arg0,
864
- arg1,
865
- addHeapObject(arg2),
866
- );
867
- }
868
-
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__hd11035e31e1056de(arg0, arg1, arg2) {
861
+ function wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5(arg0, arg1, arg2) {
874
862
  try {
875
863
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
876
- wasm.wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de(
864
+ wasm.wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5(
877
865
  retptr,
878
866
  arg0,
879
867
  arg1,
@@ -889,6 +877,18 @@ function wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de(arg0, arg
889
877
  }
890
878
  }
891
879
 
880
+ function wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5(arg0, arg1, arg2) {
881
+ wasm.wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5(
882
+ arg0,
883
+ arg1,
884
+ addHeapObject(arg2),
885
+ );
886
+ }
887
+
888
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
889
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
890
+ }
891
+
892
892
  function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
893
893
  wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
894
894
  arg0,
@@ -4466,7 +4466,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4466
4466
  }, arguments);
4467
4467
  };
4468
4468
 
4469
- exports.__wbg_cipher_834d4613cdda1244 = function (arg0) {
4469
+ exports.__wbg_cipher_063587a007184a5b = function (arg0) {
4470
4470
  const ret = getObject(arg0).cipher;
4471
4471
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4472
4472
  };
@@ -4559,7 +4559,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4559
4559
  return addHeapObject(ret);
4560
4560
  };
4561
4561
 
4562
- exports.__wbg_folder_23552597752ca903 = function (arg0) {
4562
+ exports.__wbg_folder_95171ac6b8c27a8c = function (arg0) {
4563
4563
  const ret = getObject(arg0).folder;
4564
4564
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4565
4565
  };
@@ -4586,7 +4586,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4586
4586
  return ret;
4587
4587
  };
4588
4588
 
4589
- exports.__wbg_get_43e4ac53ac36428e = function () {
4589
+ exports.__wbg_get_1838d0ffbb0df13f = function () {
4590
4590
  return handleError(function (arg0, arg1, arg2) {
4591
4591
  let deferred0_0;
4592
4592
  let deferred0_1;
@@ -4606,7 +4606,19 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4606
4606
  return addHeapObject(ret);
4607
4607
  };
4608
4608
 
4609
- exports.__wbg_get_8e79bf8b6bd9390e = function () {
4609
+ exports.__wbg_get_access_token_67b9a6854891236e = function (arg0) {
4610
+ const ret = getObject(arg0).get_access_token();
4611
+ return addHeapObject(ret);
4612
+ };
4613
+
4614
+ exports.__wbg_get_efcb449f58ec27c2 = function () {
4615
+ return handleError(function (arg0, arg1) {
4616
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4617
+ return addHeapObject(ret);
4618
+ }, arguments);
4619
+ };
4620
+
4621
+ exports.__wbg_get_f97d1609fe1ef27f = function () {
4610
4622
  return handleError(function (arg0, arg1, arg2) {
4611
4623
  let deferred0_0;
4612
4624
  let deferred0_1;
@@ -4621,18 +4633,6 @@ exports.__wbg_get_8e79bf8b6bd9390e = function () {
4621
4633
  }, arguments);
4622
4634
  };
4623
4635
 
4624
- exports.__wbg_get_access_token_ea0e045156900f0d = function (arg0) {
4625
- const ret = getObject(arg0).get_access_token();
4626
- return addHeapObject(ret);
4627
- };
4628
-
4629
- exports.__wbg_get_efcb449f58ec27c2 = function () {
4630
- return handleError(function (arg0, arg1) {
4631
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4632
- return addHeapObject(ret);
4633
- }, arguments);
4634
- };
4635
-
4636
4636
  exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
4637
4637
  const ret = getObject(arg0)[getObject(arg1)];
4638
4638
  return addHeapObject(ret);
@@ -4817,14 +4817,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
4817
4817
  return ret;
4818
4818
  };
4819
4819
 
4820
- exports.__wbg_list_baea5261a20d24cc = function () {
4820
+ exports.__wbg_list_61f135d00ba1fd36 = function () {
4821
4821
  return handleError(function (arg0) {
4822
4822
  const ret = getObject(arg0).list();
4823
4823
  return addHeapObject(ret);
4824
4824
  }, arguments);
4825
4825
  };
4826
4826
 
4827
- exports.__wbg_list_c9ca45f34538dc57 = function () {
4827
+ exports.__wbg_list_a02566fdc340b1ad = function () {
4828
4828
  return handleError(function (arg0) {
4829
4829
  const ret = getObject(arg0).list();
4830
4830
  return addHeapObject(ret);
@@ -5068,7 +5068,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5068
5068
  }, arguments);
5069
5069
  };
5070
5070
 
5071
- exports.__wbg_remove_2757c99997349f4f = function () {
5071
+ exports.__wbg_remove_3594f15e8fca4743 = function () {
5072
5072
  return handleError(function (arg0, arg1, arg2) {
5073
5073
  let deferred0_0;
5074
5074
  let deferred0_1;
@@ -5083,7 +5083,7 @@ exports.__wbg_remove_2757c99997349f4f = function () {
5083
5083
  }, arguments);
5084
5084
  };
5085
5085
 
5086
- exports.__wbg_remove_62dc5d88c7d98213 = function () {
5086
+ exports.__wbg_remove_9c4c3e3b67e6b3a1 = function () {
5087
5087
  return handleError(function (arg0, arg1, arg2) {
5088
5088
  let deferred0_0;
5089
5089
  let deferred0_1;
@@ -5129,11 +5129,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5129
5129
  return addHeapObject(ret);
5130
5130
  };
5131
5131
 
5132
- exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5133
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5134
- };
5135
-
5136
- exports.__wbg_set_8574bc378894487e = function () {
5132
+ exports.__wbg_set_0159738cb1dd7a1d = function () {
5137
5133
  return handleError(function (arg0, arg1, arg2, arg3) {
5138
5134
  let deferred0_0;
5139
5135
  let deferred0_1;
@@ -5148,12 +5144,11 @@ exports.__wbg_set_8574bc378894487e = function () {
5148
5144
  }, arguments);
5149
5145
  };
5150
5146
 
5151
- exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5152
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5153
- return addHeapObject(ret);
5147
+ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5148
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5154
5149
  };
5155
5150
 
5156
- exports.__wbg_set_a27e21e310ea67b0 = function () {
5151
+ exports.__wbg_set_834a40164c1f126c = function () {
5157
5152
  return handleError(function (arg0, arg1, arg2, arg3) {
5158
5153
  let deferred0_0;
5159
5154
  let deferred0_1;
@@ -5168,6 +5163,11 @@ exports.__wbg_set_a27e21e310ea67b0 = function () {
5168
5163
  }, arguments);
5169
5164
  };
5170
5165
 
5166
+ exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5167
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5168
+ return addHeapObject(ret);
5169
+ };
5170
+
5171
5171
  exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
5172
5172
  getObject(arg0).body = getObject(arg1);
5173
5173
  };
@@ -5351,23 +5351,23 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
5351
5351
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5352
5352
  };
5353
5353
 
5354
- exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5355
- // Cast intrinsic for `Ref(String) -> Externref`.
5356
- const ret = getStringFromWasm0(arg0, arg1);
5357
- return addHeapObject(ret);
5358
- };
5359
-
5360
- exports.__wbindgen_cast_3bdbc0e1dbbca79e = function (arg0, arg1) {
5361
- // Cast intrinsic for `Closure(Closure { dtor_idx: 548, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5354
+ exports.__wbindgen_cast_1e9dc1058b799ead = function (arg0, arg1) {
5355
+ // 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`.
5362
5356
  const ret = makeMutClosure(
5363
5357
  arg0,
5364
5358
  arg1,
5365
- wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5366
- wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5359
+ wasm.wasm_bindgen__closure__destroy__h1470697583ce3ba3,
5360
+ wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5,
5367
5361
  );
5368
5362
  return addHeapObject(ret);
5369
5363
  };
5370
5364
 
5365
+ exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5366
+ // Cast intrinsic for `Ref(String) -> Externref`.
5367
+ const ret = getStringFromWasm0(arg0, arg1);
5368
+ return addHeapObject(ret);
5369
+ };
5370
+
5371
5371
  exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
5372
5372
  // Cast intrinsic for `U64 -> Externref`.
5373
5373
  const ret = BigInt.asUintN(64, arg0);
@@ -5382,6 +5382,17 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5382
5382
  return addHeapObject(ret);
5383
5383
  };
5384
5384
 
5385
+ exports.__wbindgen_cast_6b441f2e42512d6e = function (arg0, arg1) {
5386
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5387
+ const ret = makeMutClosure(
5388
+ arg0,
5389
+ arg1,
5390
+ wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5391
+ wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5392
+ );
5393
+ return addHeapObject(ret);
5394
+ };
5395
+
5385
5396
  exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5386
5397
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5387
5398
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5396,35 +5407,13 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5396
5407
  return addHeapObject(ret);
5397
5408
  };
5398
5409
 
5399
- exports.__wbindgen_cast_a99d902873e45bb1 = function (arg0, arg1) {
5400
- // Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [Externref], shim_idx: 40, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5410
+ exports.__wbindgen_cast_c5e8bf91c85dc4ef = function (arg0, arg1) {
5411
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5401
5412
  const ret = makeMutClosure(
5402
5413
  arg0,
5403
5414
  arg1,
5404
5415
  wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5405
- wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31,
5406
- );
5407
- return addHeapObject(ret);
5408
- };
5409
-
5410
- exports.__wbindgen_cast_c56a9a44151353f2 = function (arg0, arg1) {
5411
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5412
- const ret = makeMutClosure(
5413
- arg0,
5414
- arg1,
5415
- wasm.wasm_bindgen__closure__destroy__hc8374e511fe7ebd1,
5416
- wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de,
5417
- );
5418
- return addHeapObject(ret);
5419
- };
5420
-
5421
- exports.__wbindgen_cast_c6953dec10624911 = function (arg0, arg1) {
5422
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 40, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5423
- const ret = makeMutClosure(
5424
- arg0,
5425
- arg1,
5426
- wasm.wasm_bindgen__closure__destroy__hc8374e511fe7ebd1,
5427
- wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31,
5416
+ wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5,
5428
5417
  );
5429
5418
  return addHeapObject(ret);
5430
5419
  };
@@ -5441,8 +5430,8 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
5441
5430
  return addHeapObject(ret);
5442
5431
  };
5443
5432
 
5444
- exports.__wbindgen_cast_e1b8613407289e9c = function (arg0, arg1) {
5445
- // Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5433
+ exports.__wbindgen_cast_d87bfd09ab1288e4 = function (arg0, arg1) {
5434
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5446
5435
  const ret = makeMutClosure(
5447
5436
  arg0,
5448
5437
  arg1,
@@ -5452,6 +5441,17 @@ exports.__wbindgen_cast_e1b8613407289e9c = function (arg0, arg1) {
5452
5441
  return addHeapObject(ret);
5453
5442
  };
5454
5443
 
5444
+ exports.__wbindgen_cast_daac1d8e48fc3ba0 = function (arg0, arg1) {
5445
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5446
+ const ret = makeMutClosure(
5447
+ arg0,
5448
+ arg1,
5449
+ wasm.wasm_bindgen__closure__destroy__h1470697583ce3ba3,
5450
+ wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5,
5451
+ );
5452
+ return addHeapObject(ret);
5453
+ };
5454
+
5455
5455
  exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
5456
5456
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5457
5457
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -431,24 +431,24 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
431
431
  export const __wbg_get_outgoingmessage_destination: (a: number) => number;
432
432
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
433
433
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
434
- export const wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31: (
434
+ export const wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5: (
435
435
  a: number,
436
436
  b: number,
437
437
  c: number,
438
+ d: number,
438
439
  ) => void;
439
- export const wasm_bindgen__closure__destroy__hc8374e511fe7ebd1: (a: number, b: number) => void;
440
- export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
440
+ export const wasm_bindgen__closure__destroy__h1470697583ce3ba3: (a: number, b: number) => void;
441
+ export const wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5: (
441
442
  a: number,
442
443
  b: number,
444
+ c: number,
443
445
  ) => void;
444
- export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
445
- export const wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de: (
446
+ export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
447
+ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
446
448
  a: number,
447
449
  b: number,
448
- c: number,
449
- d: number,
450
450
  ) => void;
451
- export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
451
+ export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
452
452
  export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
453
453
  a: number,
454
454
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.395",
3
+ "version": "0.2.0-main.396",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",