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

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;
@@ -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_96923fc2dc579d48 = 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_c5eb50a0ebf7fa65 = 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_2056fd6b02d0f357 = 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_5c6c4bb616b5c6a4 = 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_b35e089b44c5f7a8 = 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_4a3c2a6612b6cbca = 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_820be49c69bdcbdb = 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_090e82630c550385 = 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_7904915df18a115f = function () {
4791
4791
  return handleError(function (arg0, arg1, arg2) {
4792
4792
  let deferred0_0;
4793
4793
  let deferred0_1;
@@ -4841,7 +4841,7 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
4841
4841
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4842
4842
  };
4843
4843
 
4844
- module.exports.__wbg_set_4909636594ca7c7a = function () {
4844
+ module.exports.__wbg_set_54d3a17a54145928 = function () {
4845
4845
  return handleError(function (arg0, arg1, arg2, arg3) {
4846
4846
  let deferred0_0;
4847
4847
  let deferred0_1;
@@ -4865,7 +4865,7 @@ module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
4865
4865
  return addHeapObject(ret);
4866
4866
  };
4867
4867
 
4868
- module.exports.__wbg_set_b63bcc0eff25f894 = function () {
4868
+ module.exports.__wbg_set_9207b95f2fb1d778 = function () {
4869
4869
  return handleError(function (arg0, arg1, arg2, arg3) {
4870
4870
  let deferred0_0;
4871
4871
  let deferred0_1;
@@ -5105,17 +5105,17 @@ 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_wrapper4244 = 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_wrapper8218 = 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) {
5118
+ module.exports.__wbindgen_closure_wrapper8601 = function (arg0, arg1, arg2) {
5119
5119
  const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_57);
5120
5120
  return addHeapObject(ret);
5121
5121
  };
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.366",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",