@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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8ef7951ee6bbce308df2a728885d72aaa20263e0
1
+ 045ced5ea29151640014d2817dc3dca9bd7dc07d
@@ -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;
@@ -873,9 +873,17 @@ export function isEncryptFileError(error) {
873
873
  }
874
874
 
875
875
  function __wbg_adapter_54(arg0, arg1, arg2) {
876
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h49eea50fd723d292(
877
+ arg0,
878
+ arg1,
879
+ addHeapObject(arg2),
880
+ );
881
+ }
882
+
883
+ function __wbg_adapter_57(arg0, arg1, arg2) {
876
884
  try {
877
885
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
878
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0bf1e388b6a2a546(
886
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1e53e05ec7a13572(
879
887
  retptr,
880
888
  arg0,
881
889
  arg1,
@@ -891,14 +899,6 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
891
899
  }
892
900
  }
893
901
 
894
- function __wbg_adapter_57(arg0, arg1, arg2) {
895
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h10e0c24f5f2fd803(
896
- arg0,
897
- arg1,
898
- addHeapObject(arg2),
899
- );
900
- }
901
-
902
902
  function __wbg_adapter_60(arg0, arg1) {
903
903
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6(
904
904
  arg0,
@@ -4208,7 +4208,7 @@ export function __wbg_call_7cccdd69e0791ae2() {
4208
4208
  }, arguments);
4209
4209
  }
4210
4210
 
4211
- export function __wbg_cipher_0354ea4980a45865(arg0) {
4211
+ export function __wbg_cipher_6701cb4271b759b1(arg0) {
4212
4212
  const ret = getObject(arg0).cipher;
4213
4213
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4214
4214
  }
@@ -4288,7 +4288,7 @@ export function __wbg_fetch_509096533071c657(arg0, arg1) {
4288
4288
  return addHeapObject(ret);
4289
4289
  }
4290
4290
 
4291
- export function __wbg_folder_065654789aaca86c(arg0) {
4291
+ export function __wbg_folder_80206a21d45c51d3(arg0) {
4292
4292
  const ret = getObject(arg0).folder;
4293
4293
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4294
4294
  }
@@ -4315,7 +4315,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
4315
4315
  return ret;
4316
4316
  }
4317
4317
 
4318
- export function __wbg_get_0c000b31aafb62a6() {
4318
+ export function __wbg_get_197d7427cfd8ddbc() {
4319
4319
  return handleError(function (arg0, arg1, arg2) {
4320
4320
  let deferred0_0;
4321
4321
  let deferred0_1;
@@ -4330,19 +4330,7 @@ export function __wbg_get_0c000b31aafb62a6() {
4330
4330
  }, arguments);
4331
4331
  }
4332
4332
 
4333
- export function __wbg_get_67b2ba62fc30de12() {
4334
- return handleError(function (arg0, arg1) {
4335
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4336
- return addHeapObject(ret);
4337
- }, arguments);
4338
- }
4339
-
4340
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4341
- const ret = getObject(arg0)[arg1 >>> 0];
4342
- return addHeapObject(ret);
4343
- }
4344
-
4345
- export function __wbg_get_c3b0fae9ed2d916c() {
4333
+ export function __wbg_get_3a9cc40b1622edc2() {
4346
4334
  return handleError(function (arg0, arg1, arg2) {
4347
4335
  let deferred0_0;
4348
4336
  let deferred0_1;
@@ -4357,7 +4345,19 @@ export function __wbg_get_c3b0fae9ed2d916c() {
4357
4345
  }, arguments);
4358
4346
  }
4359
4347
 
4360
- export function __wbg_getaccesstoken_d29c96563f3c4f7f(arg0) {
4348
+ export function __wbg_get_67b2ba62fc30de12() {
4349
+ return handleError(function (arg0, arg1) {
4350
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4351
+ return addHeapObject(ret);
4352
+ }, arguments);
4353
+ }
4354
+
4355
+ export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4356
+ const ret = getObject(arg0)[arg1 >>> 0];
4357
+ return addHeapObject(ret);
4358
+ }
4359
+
4360
+ export function __wbg_getaccesstoken_52ef00ec9af829c3(arg0) {
4361
4361
  const ret = getObject(arg0).get_access_token();
4362
4362
  return addHeapObject(ret);
4363
4363
  }
@@ -4542,14 +4542,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
4542
4542
  return ret;
4543
4543
  }
4544
4544
 
4545
- export function __wbg_list_5218cdfdd9081474() {
4545
+ export function __wbg_list_4e234fcb4de06a2f() {
4546
4546
  return handleError(function (arg0) {
4547
4547
  const ret = getObject(arg0).list();
4548
4548
  return addHeapObject(ret);
4549
4549
  }, arguments);
4550
4550
  }
4551
4551
 
4552
- export function __wbg_list_83c655ffacf926b7() {
4552
+ export function __wbg_list_f8ebf58ebfc74278() {
4553
4553
  return handleError(function (arg0) {
4554
4554
  const ret = getObject(arg0).list();
4555
4555
  return addHeapObject(ret);
@@ -4755,7 +4755,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
4755
4755
  }, arguments);
4756
4756
  }
4757
4757
 
4758
- export function __wbg_remove_0e9beb59d125be57() {
4758
+ export function __wbg_remove_899ee87f064417fc() {
4759
4759
  return handleError(function (arg0, arg1, arg2) {
4760
4760
  let deferred0_0;
4761
4761
  let deferred0_1;
@@ -4770,7 +4770,7 @@ export function __wbg_remove_0e9beb59d125be57() {
4770
4770
  }, arguments);
4771
4771
  }
4772
4772
 
4773
- export function __wbg_remove_6387a99bd1c07f3b() {
4773
+ export function __wbg_remove_ebc34f343c79afa1() {
4774
4774
  return handleError(function (arg0, arg1, arg2) {
4775
4775
  let deferred0_0;
4776
4776
  let deferred0_1;
@@ -4816,15 +4816,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
4816
4816
  return addHeapObject(ret);
4817
4817
  }
4818
4818
 
4819
- export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
4820
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4821
- }
4822
-
4823
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
4824
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4825
- }
4826
-
4827
- export function __wbg_set_4909636594ca7c7a() {
4819
+ export function __wbg_set_15d236a9c31627b0() {
4828
4820
  return handleError(function (arg0, arg1, arg2, arg3) {
4829
4821
  let deferred0_0;
4830
4822
  let deferred0_1;
@@ -4839,16 +4831,11 @@ export function __wbg_set_4909636594ca7c7a() {
4839
4831
  }, arguments);
4840
4832
  }
4841
4833
 
4842
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4843
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4844
- }
4845
-
4846
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4847
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4848
- return addHeapObject(ret);
4834
+ export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
4835
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4849
4836
  }
4850
4837
 
4851
- export function __wbg_set_b63bcc0eff25f894() {
4838
+ export function __wbg_set_3ef66edb49865567() {
4852
4839
  return handleError(function (arg0, arg1, arg2, arg3) {
4853
4840
  let deferred0_0;
4854
4841
  let deferred0_1;
@@ -4863,6 +4850,19 @@ export function __wbg_set_b63bcc0eff25f894() {
4863
4850
  }, arguments);
4864
4851
  }
4865
4852
 
4853
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
4854
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4855
+ }
4856
+
4857
+ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4858
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4859
+ }
4860
+
4861
+ export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4862
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4863
+ return addHeapObject(ret);
4864
+ }
4865
+
4866
4866
  export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
4867
4867
  getObject(arg0).body = getObject(arg1);
4868
4868
  }
@@ -5088,18 +5088,18 @@ export function __wbindgen_closure_wrapper200(arg0, arg1, arg2) {
5088
5088
  return addHeapObject(ret);
5089
5089
  }
5090
5090
 
5091
- export function __wbindgen_closure_wrapper4243(arg0, arg1, arg2) {
5091
+ export function __wbindgen_closure_wrapper4259(arg0, arg1, arg2) {
5092
5092
  const ret = makeMutClosure(arg0, arg1, 349, __wbg_adapter_60);
5093
5093
  return addHeapObject(ret);
5094
5094
  }
5095
5095
 
5096
- export function __wbindgen_closure_wrapper8217(arg0, arg1, arg2) {
5096
+ export function __wbindgen_closure_wrapper8234(arg0, arg1, arg2) {
5097
5097
  const ret = makeMutClosure(arg0, arg1, 516, __wbg_adapter_60);
5098
5098
  return addHeapObject(ret);
5099
5099
  }
5100
5100
 
5101
- export function __wbindgen_closure_wrapper8600(arg0, arg1, arg2) {
5102
- const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_57);
5101
+ export function __wbindgen_closure_wrapper8617(arg0, arg1, arg2) {
5102
+ const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_54);
5103
5103
  return addHeapObject(ret);
5104
5104
  }
5105
5105
 
Binary file
@@ -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,