@bitwarden/sdk-internal 0.2.0-main.305 → 0.2.0-main.306

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.
@@ -786,7 +786,7 @@ export interface CryptoError extends Error {
786
786
  | "EncString"
787
787
  | "Rsa"
788
788
  | "Fingerprint"
789
- | "ArgonError"
789
+ | "Argon"
790
790
  | "ZeroNumber"
791
791
  | "OperationNotSupported"
792
792
  | "WrongKeyType"
@@ -1032,12 +1032,7 @@ export function isKeyGenerationError(error: any): error is KeyGenerationError;
1032
1032
 
1033
1033
  export interface DatabaseError extends Error {
1034
1034
  name: "DatabaseError";
1035
- variant:
1036
- | "UnsupportedConfiguration"
1037
- | "ThreadBoundRunner"
1038
- | "Serialization"
1039
- | "JSError"
1040
- | "Internal";
1035
+ variant: "UnsupportedConfiguration" | "ThreadBoundRunner" | "Serialization" | "JS" | "Internal";
1041
1036
  }
1042
1037
 
1043
1038
  export function isDatabaseError(error: any): error is DatabaseError;
@@ -1423,7 +1418,7 @@ export interface PasswordHistory {
1423
1418
 
1424
1419
  export interface GetFolderError extends Error {
1425
1420
  name: "GetFolderError";
1426
- variant: "ItemNotFound" | "Crypto" | "RepositoryError";
1421
+ variant: "ItemNotFound" | "Crypto" | "Repository";
1427
1422
  }
1428
1423
 
1429
1424
  export function isGetFolderError(error: any): error is GetFolderError;
@@ -1436,7 +1431,7 @@ export interface EditFolderError extends Error {
1436
1431
  | "Api"
1437
1432
  | "VaultParse"
1438
1433
  | "MissingField"
1439
- | "RepositoryError"
1434
+ | "Repository"
1440
1435
  | "Uuid";
1441
1436
  }
1442
1437
 
@@ -1444,7 +1439,7 @@ export function isEditFolderError(error: any): error is EditFolderError;
1444
1439
 
1445
1440
  export interface CreateFolderError extends Error {
1446
1441
  name: "CreateFolderError";
1447
- variant: "Crypto" | "Api" | "VaultParse" | "MissingField" | "RepositoryError";
1442
+ variant: "Crypto" | "Api" | "VaultParse" | "MissingField" | "Repository";
1448
1443
  }
1449
1444
 
1450
1445
  export function isCreateFolderError(error: any): error is CreateFolderError;
@@ -4118,7 +4118,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
4118
4118
  return ret;
4119
4119
  };
4120
4120
 
4121
- module.exports.__wbg_get_2b018464256cd7d5 = function () {
4121
+ module.exports.__wbg_get_244e969dde4f5be1 = function () {
4122
4122
  return handleError(function (arg0, arg1, arg2) {
4123
4123
  let deferred0_0;
4124
4124
  let deferred0_1;
@@ -4133,14 +4133,7 @@ module.exports.__wbg_get_2b018464256cd7d5 = function () {
4133
4133
  }, arguments);
4134
4134
  };
4135
4135
 
4136
- module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4137
- return handleError(function (arg0, arg1) {
4138
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4139
- return addHeapObject(ret);
4140
- }, arguments);
4141
- };
4142
-
4143
- module.exports.__wbg_get_ae2cb965654839ea = function () {
4136
+ module.exports.__wbg_get_62e62c7bce1de978 = function () {
4144
4137
  return handleError(function (arg0, arg1, arg2) {
4145
4138
  let deferred0_0;
4146
4139
  let deferred0_1;
@@ -4155,12 +4148,19 @@ module.exports.__wbg_get_ae2cb965654839ea = function () {
4155
4148
  }, arguments);
4156
4149
  };
4157
4150
 
4151
+ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4152
+ return handleError(function (arg0, arg1) {
4153
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4154
+ return addHeapObject(ret);
4155
+ }, arguments);
4156
+ };
4157
+
4158
4158
  module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
4159
4159
  const ret = getObject(arg0)[arg1 >>> 0];
4160
4160
  return addHeapObject(ret);
4161
4161
  };
4162
4162
 
4163
- module.exports.__wbg_getaccesstoken_d4dcf182b3b58e08 = function (arg0) {
4163
+ module.exports.__wbg_getaccesstoken_1ecf9954b74979bd = function (arg0) {
4164
4164
  const ret = getObject(arg0).get_access_token();
4165
4165
  return addHeapObject(ret);
4166
4166
  };
@@ -4345,14 +4345,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
4345
4345
  return ret;
4346
4346
  };
4347
4347
 
4348
- module.exports.__wbg_list_9de7cb90d9c7068b = function () {
4348
+ module.exports.__wbg_list_37ca32136ef99690 = function () {
4349
4349
  return handleError(function (arg0) {
4350
4350
  const ret = getObject(arg0).list();
4351
4351
  return addHeapObject(ret);
4352
4352
  }, arguments);
4353
4353
  };
4354
4354
 
4355
- module.exports.__wbg_list_ac43ab644719cf44 = function () {
4355
+ module.exports.__wbg_list_ddc7f9eab58d8468 = function () {
4356
4356
  return handleError(function (arg0) {
4357
4357
  const ret = getObject(arg0).list();
4358
4358
  return addHeapObject(ret);
@@ -4553,7 +4553,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
4553
4553
  }, arguments);
4554
4554
  };
4555
4555
 
4556
- module.exports.__wbg_remove_1fc1be8bb5d0bfb0 = function () {
4556
+ module.exports.__wbg_remove_99b320bcc978c0d9 = function () {
4557
4557
  return handleError(function (arg0, arg1, arg2) {
4558
4558
  let deferred0_0;
4559
4559
  let deferred0_1;
@@ -4568,7 +4568,7 @@ module.exports.__wbg_remove_1fc1be8bb5d0bfb0 = function () {
4568
4568
  }, arguments);
4569
4569
  };
4570
4570
 
4571
- module.exports.__wbg_remove_c25e52cfa594f899 = function () {
4571
+ module.exports.__wbg_remove_b56add8a7767c7bb = function () {
4572
4572
  return handleError(function (arg0, arg1, arg2) {
4573
4573
  let deferred0_0;
4574
4574
  let deferred0_1;
@@ -4614,7 +4614,7 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
4614
4614
  return addHeapObject(ret);
4615
4615
  };
4616
4616
 
4617
- module.exports.__wbg_set_1fa890ed08247955 = function () {
4617
+ module.exports.__wbg_set_1b3f0312806732b5 = function () {
4618
4618
  return handleError(function (arg0, arg1, arg2, arg3) {
4619
4619
  let deferred0_0;
4620
4620
  let deferred0_1;
@@ -4646,7 +4646,7 @@ module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
4646
4646
  return addHeapObject(ret);
4647
4647
  };
4648
4648
 
4649
- module.exports.__wbg_set_aa15c91ba98227b1 = function () {
4649
+ module.exports.__wbg_set_a786ef80829f502d = function () {
4650
4650
  return handleError(function (arg0, arg1, arg2, arg3) {
4651
4651
  let deferred0_0;
4652
4652
  let deferred0_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.305",
3
+ "version": "0.2.0-main.306",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",