@bitwarden/sdk-internal 0.2.0-main.365 → 0.2.0-main.367

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.
@@ -1103,6 +1103,7 @@ export interface Cipher {
1103
1103
  deletedDate: DateTime<Utc> | undefined;
1104
1104
  revisionDate: DateTime<Utc>;
1105
1105
  archivedDate: DateTime<Utc> | undefined;
1106
+ data: string | undefined;
1106
1107
  }
1107
1108
 
1108
1109
  export interface CipherView {
@@ -1702,7 +1703,13 @@ export function isCreateCipherError(error: any): error is CreateCipherError;
1702
1703
 
1703
1704
  export interface CipherError extends Error {
1704
1705
  name: "CipherError";
1705
- variant: "MissingField" | "Crypto" | "Encrypt" | "AttachmentsWithoutKeys";
1706
+ variant:
1707
+ | "MissingField"
1708
+ | "Crypto"
1709
+ | "Encrypt"
1710
+ | "AttachmentsWithoutKeys"
1711
+ | "Chrono"
1712
+ | "SerdeJson";
1706
1713
  }
1707
1714
 
1708
1715
  export function isCipherError(error: any): error is CipherError;
@@ -867,9 +867,17 @@ module.exports.isEncryptFileError = function (error) {
867
867
  };
868
868
 
869
869
  function __wbg_adapter_54(arg0, arg1, arg2) {
870
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h49eea50fd723d292(
871
+ arg0,
872
+ arg1,
873
+ addHeapObject(arg2),
874
+ );
875
+ }
876
+
877
+ function __wbg_adapter_57(arg0, arg1, arg2) {
870
878
  try {
871
879
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
872
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0bf1e388b6a2a546(
880
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e53e05ec7a13572(
873
881
  retptr,
874
882
  arg0,
875
883
  arg1,
@@ -885,14 +893,6 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
885
893
  }
886
894
  }
887
895
 
888
- function __wbg_adapter_57(arg0, arg1, arg2) {
889
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10e0c24f5f2fd803(
890
- arg0,
891
- arg1,
892
- addHeapObject(arg2),
893
- );
894
- }
895
-
896
896
  function __wbg_adapter_60(arg0, arg1) {
897
897
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6(
898
898
  arg0,
@@ -4225,7 +4225,7 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
4225
4225
  }, arguments);
4226
4226
  };
4227
4227
 
4228
- module.exports.__wbg_cipher_0354ea4980a45865 = function (arg0) {
4228
+ module.exports.__wbg_cipher_6701cb4271b759b1 = function (arg0) {
4229
4229
  const ret = getObject(arg0).cipher;
4230
4230
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4231
4231
  };
@@ -4305,7 +4305,7 @@ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
4305
4305
  return addHeapObject(ret);
4306
4306
  };
4307
4307
 
4308
- module.exports.__wbg_folder_065654789aaca86c = function (arg0) {
4308
+ module.exports.__wbg_folder_80206a21d45c51d3 = function (arg0) {
4309
4309
  const ret = getObject(arg0).folder;
4310
4310
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4311
4311
  };
@@ -4332,7 +4332,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
4332
4332
  return ret;
4333
4333
  };
4334
4334
 
4335
- module.exports.__wbg_get_0c000b31aafb62a6 = function () {
4335
+ module.exports.__wbg_get_197d7427cfd8ddbc = function () {
4336
4336
  return handleError(function (arg0, arg1, arg2) {
4337
4337
  let deferred0_0;
4338
4338
  let deferred0_1;
@@ -4347,19 +4347,7 @@ module.exports.__wbg_get_0c000b31aafb62a6 = function () {
4347
4347
  }, arguments);
4348
4348
  };
4349
4349
 
4350
- module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4351
- return handleError(function (arg0, arg1) {
4352
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4353
- return addHeapObject(ret);
4354
- }, arguments);
4355
- };
4356
-
4357
- module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
4358
- const ret = getObject(arg0)[arg1 >>> 0];
4359
- return addHeapObject(ret);
4360
- };
4361
-
4362
- module.exports.__wbg_get_c3b0fae9ed2d916c = function () {
4350
+ module.exports.__wbg_get_3a9cc40b1622edc2 = function () {
4363
4351
  return handleError(function (arg0, arg1, arg2) {
4364
4352
  let deferred0_0;
4365
4353
  let deferred0_1;
@@ -4374,7 +4362,19 @@ module.exports.__wbg_get_c3b0fae9ed2d916c = function () {
4374
4362
  }, arguments);
4375
4363
  };
4376
4364
 
4377
- module.exports.__wbg_getaccesstoken_d29c96563f3c4f7f = function (arg0) {
4365
+ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4366
+ return handleError(function (arg0, arg1) {
4367
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4368
+ return addHeapObject(ret);
4369
+ }, arguments);
4370
+ };
4371
+
4372
+ module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
4373
+ const ret = getObject(arg0)[arg1 >>> 0];
4374
+ return addHeapObject(ret);
4375
+ };
4376
+
4377
+ module.exports.__wbg_getaccesstoken_52ef00ec9af829c3 = function (arg0) {
4378
4378
  const ret = getObject(arg0).get_access_token();
4379
4379
  return addHeapObject(ret);
4380
4380
  };
@@ -4559,14 +4559,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
4559
4559
  return ret;
4560
4560
  };
4561
4561
 
4562
- module.exports.__wbg_list_5218cdfdd9081474 = function () {
4562
+ module.exports.__wbg_list_4e234fcb4de06a2f = function () {
4563
4563
  return handleError(function (arg0) {
4564
4564
  const ret = getObject(arg0).list();
4565
4565
  return addHeapObject(ret);
4566
4566
  }, arguments);
4567
4567
  };
4568
4568
 
4569
- module.exports.__wbg_list_83c655ffacf926b7 = function () {
4569
+ module.exports.__wbg_list_f8ebf58ebfc74278 = function () {
4570
4570
  return handleError(function (arg0) {
4571
4571
  const ret = getObject(arg0).list();
4572
4572
  return addHeapObject(ret);
@@ -4772,7 +4772,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
4772
4772
  }, arguments);
4773
4773
  };
4774
4774
 
4775
- module.exports.__wbg_remove_0e9beb59d125be57 = function () {
4775
+ module.exports.__wbg_remove_899ee87f064417fc = function () {
4776
4776
  return handleError(function (arg0, arg1, arg2) {
4777
4777
  let deferred0_0;
4778
4778
  let deferred0_1;
@@ -4787,7 +4787,7 @@ module.exports.__wbg_remove_0e9beb59d125be57 = function () {
4787
4787
  }, arguments);
4788
4788
  };
4789
4789
 
4790
- module.exports.__wbg_remove_6387a99bd1c07f3b = function () {
4790
+ module.exports.__wbg_remove_ebc34f343c79afa1 = function () {
4791
4791
  return handleError(function (arg0, arg1, arg2) {
4792
4792
  let deferred0_0;
4793
4793
  let deferred0_1;
@@ -4833,15 +4833,7 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
4833
4833
  return addHeapObject(ret);
4834
4834
  };
4835
4835
 
4836
- module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
4837
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4838
- };
4839
-
4840
- module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
4841
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4842
- };
4843
-
4844
- module.exports.__wbg_set_4909636594ca7c7a = function () {
4836
+ module.exports.__wbg_set_15d236a9c31627b0 = function () {
4845
4837
  return handleError(function (arg0, arg1, arg2, arg3) {
4846
4838
  let deferred0_0;
4847
4839
  let deferred0_1;
@@ -4856,16 +4848,11 @@ module.exports.__wbg_set_4909636594ca7c7a = function () {
4856
4848
  }, arguments);
4857
4849
  };
4858
4850
 
4859
- module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
4860
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4861
- };
4862
-
4863
- module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
4864
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4865
- return addHeapObject(ret);
4851
+ module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
4852
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4866
4853
  };
4867
4854
 
4868
- module.exports.__wbg_set_b63bcc0eff25f894 = function () {
4855
+ module.exports.__wbg_set_3ef66edb49865567 = function () {
4869
4856
  return handleError(function (arg0, arg1, arg2, arg3) {
4870
4857
  let deferred0_0;
4871
4858
  let deferred0_1;
@@ -4880,6 +4867,19 @@ module.exports.__wbg_set_b63bcc0eff25f894 = function () {
4880
4867
  }, arguments);
4881
4868
  };
4882
4869
 
4870
+ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
4871
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4872
+ };
4873
+
4874
+ module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
4875
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4876
+ };
4877
+
4878
+ module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
4879
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4880
+ return addHeapObject(ret);
4881
+ };
4882
+
4883
4883
  module.exports.__wbg_setbody_5923b78a95eedf29 = function (arg0, arg1) {
4884
4884
  getObject(arg0).body = getObject(arg1);
4885
4885
  };
@@ -5105,18 +5105,18 @@ module.exports.__wbindgen_closure_wrapper200 = function (arg0, arg1, arg2) {
5105
5105
  return addHeapObject(ret);
5106
5106
  };
5107
5107
 
5108
- module.exports.__wbindgen_closure_wrapper4243 = function (arg0, arg1, arg2) {
5108
+ module.exports.__wbindgen_closure_wrapper4259 = function (arg0, arg1, arg2) {
5109
5109
  const ret = makeMutClosure(arg0, arg1, 349, __wbg_adapter_60);
5110
5110
  return addHeapObject(ret);
5111
5111
  };
5112
5112
 
5113
- module.exports.__wbindgen_closure_wrapper8217 = function (arg0, arg1, arg2) {
5113
+ module.exports.__wbindgen_closure_wrapper8234 = function (arg0, arg1, arg2) {
5114
5114
  const ret = makeMutClosure(arg0, arg1, 516, __wbg_adapter_60);
5115
5115
  return addHeapObject(ret);
5116
5116
  };
5117
5117
 
5118
- module.exports.__wbindgen_closure_wrapper8600 = function (arg0, arg1, arg2) {
5119
- const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_57);
5118
+ module.exports.__wbindgen_closure_wrapper8617 = function (arg0, arg1, arg2) {
5119
+ const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_54);
5120
5120
  return addHeapObject(ret);
5121
5121
  };
5122
5122
 
@@ -419,16 +419,16 @@ export const __wbindgen_exn_store: (a: number) => void;
419
419
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
420
420
  export const __wbindgen_export_4: WebAssembly.Table;
421
421
  export const __wbindgen_add_to_stack_pointer: (a: number) => number;
422
- export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0bf1e388b6a2a546: (
422
+ export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h49eea50fd723d292: (
423
423
  a: number,
424
424
  b: number,
425
425
  c: number,
426
- d: number,
427
426
  ) => void;
428
- export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10e0c24f5f2fd803: (
427
+ export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e53e05ec7a13572: (
429
428
  a: number,
430
429
  b: number,
431
430
  c: number,
431
+ d: number,
432
432
  ) => void;
433
433
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6: (
434
434
  a: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.365",
3
+ "version": "0.2.0-main.367",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",