@bitwarden/sdk-internal 0.2.0-main.295 → 0.2.0-main.296

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
- fa0e024c85eb4535e4eeb3ed58a523f8a063dfaa
1
+ 9ac1d3eaa60e719368d4758c025e55208ce639f8
@@ -469,14 +469,14 @@ export function isDeriveKeyConnectorError(error: any): error is DeriveKeyConnect
469
469
 
470
470
  export interface EnrollAdminPasswordResetError extends Error {
471
471
  name: "EnrollAdminPasswordResetError";
472
- variant: "VaultLocked" | "Crypto";
472
+ variant: "Crypto";
473
473
  }
474
474
 
475
475
  export function isEnrollAdminPasswordResetError(error: any): error is EnrollAdminPasswordResetError;
476
476
 
477
477
  export interface CryptoClientError extends Error {
478
478
  name: "CryptoClientError";
479
- variant: "NotAuthenticated" | "VaultLocked" | "Crypto" | "PasswordProtectedKeyEnvelope";
479
+ variant: "NotAuthenticated" | "Crypto" | "PasswordProtectedKeyEnvelope";
480
480
  }
481
481
 
482
482
  export function isCryptoClientError(error: any): error is CryptoClientError;
@@ -492,7 +492,6 @@ export interface EncryptionSettingsError extends Error {
492
492
  name: "EncryptionSettingsError";
493
493
  variant:
494
494
  | "Crypto"
495
- | "VaultLocked"
496
495
  | "InvalidPrivateKey"
497
496
  | "InvalidSigningKey"
498
497
  | "InvalidSecurityState"
@@ -643,7 +642,6 @@ export interface ExportError extends Error {
643
642
  variant:
644
643
  | "MissingField"
645
644
  | "NotAuthenticated"
646
- | "VaultLocked"
647
645
  | "Csv"
648
646
  | "CxfError"
649
647
  | "Json"
@@ -1201,14 +1199,14 @@ export interface FolderView {
1201
1199
 
1202
1200
  export interface DecryptError extends Error {
1203
1201
  name: "DecryptError";
1204
- variant: "Crypto" | "VaultLocked";
1202
+ variant: "Crypto";
1205
1203
  }
1206
1204
 
1207
1205
  export function isDecryptError(error: any): error is DecryptError;
1208
1206
 
1209
1207
  export interface EncryptError extends Error {
1210
1208
  name: "EncryptError";
1211
- variant: "Crypto" | "VaultLocked" | "MissingUserId";
1209
+ variant: "Crypto" | "MissingUserId";
1212
1210
  }
1213
1211
 
1214
1212
  export function isEncryptError(error: any): error is EncryptError;
@@ -1226,7 +1224,7 @@ export interface TotpResponse {
1226
1224
 
1227
1225
  export interface TotpError extends Error {
1228
1226
  name: "TotpError";
1229
- variant: "InvalidOtpauth" | "MissingSecret" | "CryptoError" | "VaultLocked";
1227
+ variant: "InvalidOtpauth" | "MissingSecret" | "CryptoError";
1230
1228
  }
1231
1229
 
1232
1230
  export function isTotpError(error: any): error is TotpError;
@@ -1358,12 +1356,7 @@ export interface CipherPermissions {
1358
1356
 
1359
1357
  export interface CipherError extends Error {
1360
1358
  name: "CipherError";
1361
- variant:
1362
- | "MissingFieldError"
1363
- | "VaultLocked"
1364
- | "CryptoError"
1365
- | "EncryptError"
1366
- | "AttachmentsWithoutKeys";
1359
+ variant: "MissingFieldError" | "CryptoError" | "EncryptError" | "AttachmentsWithoutKeys";
1367
1360
  }
1368
1361
 
1369
1362
  export function isCipherError(error: any): error is CipherError;
@@ -4060,14 +4060,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
4060
4060
  return ret;
4061
4061
  }
4062
4062
 
4063
- export function __wbg_get_67b2ba62fc30de12() {
4064
- return handleError(function (arg0, arg1) {
4065
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4066
- return addHeapObject(ret);
4067
- }, arguments);
4068
- }
4069
-
4070
- export function __wbg_get_85a4a639023a3720() {
4063
+ export function __wbg_get_5fa4ede81d7776e8() {
4071
4064
  return handleError(function (arg0, arg1, arg2) {
4072
4065
  let deferred0_0;
4073
4066
  let deferred0_1;
@@ -4082,7 +4075,14 @@ export function __wbg_get_85a4a639023a3720() {
4082
4075
  }, arguments);
4083
4076
  }
4084
4077
 
4085
- export function __wbg_get_8f76a18346df8dc8() {
4078
+ export function __wbg_get_67b2ba62fc30de12() {
4079
+ return handleError(function (arg0, arg1) {
4080
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4081
+ return addHeapObject(ret);
4082
+ }, arguments);
4083
+ }
4084
+
4085
+ export function __wbg_get_a1b35b65570b6bdc() {
4086
4086
  return handleError(function (arg0, arg1, arg2) {
4087
4087
  let deferred0_0;
4088
4088
  let deferred0_1;
@@ -4102,7 +4102,7 @@ export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4102
4102
  return addHeapObject(ret);
4103
4103
  }
4104
4104
 
4105
- export function __wbg_getaccesstoken_f21f7d04dc08ee10(arg0) {
4105
+ export function __wbg_getaccesstoken_1f8e838d1d6f1b7a(arg0) {
4106
4106
  const ret = getObject(arg0).get_access_token();
4107
4107
  return addHeapObject(ret);
4108
4108
  }
@@ -4287,14 +4287,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
4287
4287
  return ret;
4288
4288
  }
4289
4289
 
4290
- export function __wbg_list_5dcca5b9d3210e65() {
4290
+ export function __wbg_list_250c5241956a9ab1() {
4291
4291
  return handleError(function (arg0) {
4292
4292
  const ret = getObject(arg0).list();
4293
4293
  return addHeapObject(ret);
4294
4294
  }, arguments);
4295
4295
  }
4296
4296
 
4297
- export function __wbg_list_dcedcaae0e50bd01() {
4297
+ export function __wbg_list_8668d159d21f9c4e() {
4298
4298
  return handleError(function (arg0) {
4299
4299
  const ret = getObject(arg0).list();
4300
4300
  return addHeapObject(ret);
@@ -4495,7 +4495,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
4495
4495
  }, arguments);
4496
4496
  }
4497
4497
 
4498
- export function __wbg_remove_8505fd3c39475309() {
4498
+ export function __wbg_remove_567c919685c309cc() {
4499
4499
  return handleError(function (arg0, arg1, arg2) {
4500
4500
  let deferred0_0;
4501
4501
  let deferred0_1;
@@ -4510,7 +4510,7 @@ export function __wbg_remove_8505fd3c39475309() {
4510
4510
  }, arguments);
4511
4511
  }
4512
4512
 
4513
- export function __wbg_remove_9f99889dd1632d35() {
4513
+ export function __wbg_remove_aefa0d0833eac3a1() {
4514
4514
  return handleError(function (arg0, arg1, arg2) {
4515
4515
  let deferred0_0;
4516
4516
  let deferred0_1;
@@ -4564,16 +4564,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
4564
4564
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4565
4565
  }
4566
4566
 
4567
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4568
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4569
- }
4570
-
4571
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4572
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4573
- return addHeapObject(ret);
4574
- }
4575
-
4576
- export function __wbg_set_a6ed0666d14f7374() {
4567
+ export function __wbg_set_5154dc89823ea3f4() {
4577
4568
  return handleError(function (arg0, arg1, arg2, arg3) {
4578
4569
  let deferred0_0;
4579
4570
  let deferred0_1;
@@ -4588,7 +4579,16 @@ export function __wbg_set_a6ed0666d14f7374() {
4588
4579
  }, arguments);
4589
4580
  }
4590
4581
 
4591
- export function __wbg_set_fd19828cc66d7544() {
4582
+ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4583
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4584
+ }
4585
+
4586
+ export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4587
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4588
+ return addHeapObject(ret);
4589
+ }
4590
+
4591
+ export function __wbg_set_9c4e9b1b55de3d7d() {
4592
4592
  return handleError(function (arg0, arg1, arg2, arg3) {
4593
4593
  let deferred0_0;
4594
4594
  let deferred0_1;
@@ -4828,12 +4828,12 @@ export function __wbindgen_closure_wrapper3594(arg0, arg1, arg2) {
4828
4828
  return addHeapObject(ret);
4829
4829
  }
4830
4830
 
4831
- export function __wbindgen_closure_wrapper5957(arg0, arg1, arg2) {
4831
+ export function __wbindgen_closure_wrapper5956(arg0, arg1, arg2) {
4832
4832
  const ret = makeMutClosure(arg0, arg1, 315, __wbg_adapter_60);
4833
4833
  return addHeapObject(ret);
4834
4834
  }
4835
4835
 
4836
- export function __wbindgen_closure_wrapper6338(arg0, arg1, arg2) {
4836
+ export function __wbindgen_closure_wrapper6337(arg0, arg1, arg2) {
4837
4837
  const ret = makeMutClosure(arg0, arg1, 339, __wbg_adapter_54);
4838
4838
  return addHeapObject(ret);
4839
4839
  }
Binary file