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

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
- 9ac1d3eaa60e719368d4758c025e55208ce639f8
1
+ 31b18f02ec8f5713133ea67d42993c12c5923782
@@ -483,7 +483,7 @@ export function isCryptoClientError(error: any): error is CryptoClientError;
483
483
 
484
484
  export interface StatefulCryptoError extends Error {
485
485
  name: "StatefulCryptoError";
486
- variant: "MissingSecurityState" | "WrongAccountCryptoVersion" | "CryptoError";
486
+ variant: "MissingSecurityState" | "WrongAccountCryptoVersion" | "Crypto";
487
487
  }
488
488
 
489
489
  export function isStatefulCryptoError(error: any): error is StatefulCryptoError;
@@ -496,7 +496,7 @@ export interface EncryptionSettingsError extends Error {
496
496
  | "InvalidSigningKey"
497
497
  | "InvalidSecurityState"
498
498
  | "MissingPrivateKey"
499
- | "UserIdAlreadySetError"
499
+ | "UserIdAlreadySet"
500
500
  | "WrongPin";
501
501
  }
502
502
 
@@ -602,8 +602,8 @@ export interface CryptoError extends Error {
602
602
  | "ReadOnlyKeyStore"
603
603
  | "InsufficientKdfParameters"
604
604
  | "EncString"
605
- | "RsaError"
606
- | "FingerprintError"
605
+ | "Rsa"
606
+ | "Fingerprint"
607
607
  | "ArgonError"
608
608
  | "ZeroNumber"
609
609
  | "OperationNotSupported"
@@ -611,8 +611,8 @@ export interface CryptoError extends Error {
611
611
  | "WrongCoseKeyId"
612
612
  | "InvalidNonceLength"
613
613
  | "InvalidPadding"
614
- | "SignatureError"
615
- | "EncodingError";
614
+ | "Signature"
615
+ | "Encoding";
616
616
  }
617
617
 
618
618
  export function isCryptoError(error: any): error is CryptoError;
@@ -643,11 +643,11 @@ export interface ExportError extends Error {
643
643
  | "MissingField"
644
644
  | "NotAuthenticated"
645
645
  | "Csv"
646
- | "CxfError"
646
+ | "Cxf"
647
647
  | "Json"
648
- | "EncryptedJsonError"
649
- | "BitwardenCryptoError"
650
- | "CipherError";
648
+ | "EncryptedJson"
649
+ | "BitwardenCrypto"
650
+ | "Cipher";
651
651
  }
652
652
 
653
653
  export function isExportError(error: any): error is ExportError;
@@ -799,7 +799,7 @@ export function isDeserializeError(error: any): error is DeserializeError;
799
799
 
800
800
  export interface RequestError extends Error {
801
801
  name: "RequestError";
802
- variant: "Subscribe" | "Receive" | "Timeout" | "Send" | "RpcError";
802
+ variant: "Subscribe" | "Receive" | "Timeout" | "Send" | "Rpc";
803
803
  }
804
804
 
805
805
  export function isRequestError(error: any): error is RequestError;
@@ -829,21 +829,21 @@ export type KeyAlgorithm = "Ed25519" | "Rsa3072" | "Rsa4096";
829
829
 
830
830
  export interface SshKeyExportError extends Error {
831
831
  name: "SshKeyExportError";
832
- variant: "KeyConversionError";
832
+ variant: "KeyConversion";
833
833
  }
834
834
 
835
835
  export function isSshKeyExportError(error: any): error is SshKeyExportError;
836
836
 
837
837
  export interface SshKeyImportError extends Error {
838
838
  name: "SshKeyImportError";
839
- variant: "ParsingError" | "PasswordRequired" | "WrongPassword" | "UnsupportedKeyType";
839
+ variant: "Parsing" | "PasswordRequired" | "WrongPassword" | "UnsupportedKeyType";
840
840
  }
841
841
 
842
842
  export function isSshKeyImportError(error: any): error is SshKeyImportError;
843
843
 
844
844
  export interface KeyGenerationError extends Error {
845
845
  name: "KeyGenerationError";
846
- variant: "KeyGenerationError" | "KeyConversionError";
846
+ variant: "KeyGeneration" | "KeyConversion";
847
847
  }
848
848
 
849
849
  export function isKeyGenerationError(error: any): error is KeyGenerationError;
@@ -1224,7 +1224,7 @@ export interface TotpResponse {
1224
1224
 
1225
1225
  export interface TotpError extends Error {
1226
1226
  name: "TotpError";
1227
- variant: "InvalidOtpauth" | "MissingSecret" | "CryptoError";
1227
+ variant: "InvalidOtpauth" | "MissingSecret" | "Crypto";
1228
1228
  }
1229
1229
 
1230
1230
  export function isTotpError(error: any): error is TotpError;
@@ -1356,7 +1356,7 @@ export interface CipherPermissions {
1356
1356
 
1357
1357
  export interface CipherError extends Error {
1358
1358
  name: "CipherError";
1359
- variant: "MissingFieldError" | "CryptoError" | "EncryptError" | "AttachmentsWithoutKeys";
1359
+ variant: "MissingField" | "Crypto" | "Encrypt" | "AttachmentsWithoutKeys";
1360
1360
  }
1361
1361
 
1362
1362
  export function isCipherError(error: any): error is CipherError;
@@ -4060,7 +4060,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
4060
4060
  return ret;
4061
4061
  }
4062
4062
 
4063
- export function __wbg_get_5fa4ede81d7776e8() {
4063
+ export function __wbg_get_484769665c8b04d7() {
4064
4064
  return handleError(function (arg0, arg1, arg2) {
4065
4065
  let deferred0_0;
4066
4066
  let deferred0_1;
@@ -4082,7 +4082,12 @@ export function __wbg_get_67b2ba62fc30de12() {
4082
4082
  }, arguments);
4083
4083
  }
4084
4084
 
4085
- export function __wbg_get_a1b35b65570b6bdc() {
4085
+ export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4086
+ const ret = getObject(arg0)[arg1 >>> 0];
4087
+ return addHeapObject(ret);
4088
+ }
4089
+
4090
+ export function __wbg_get_de8d5678adfaf755() {
4086
4091
  return handleError(function (arg0, arg1, arg2) {
4087
4092
  let deferred0_0;
4088
4093
  let deferred0_1;
@@ -4097,12 +4102,7 @@ export function __wbg_get_a1b35b65570b6bdc() {
4097
4102
  }, arguments);
4098
4103
  }
4099
4104
 
4100
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4101
- const ret = getObject(arg0)[arg1 >>> 0];
4102
- return addHeapObject(ret);
4103
- }
4104
-
4105
- export function __wbg_getaccesstoken_1f8e838d1d6f1b7a(arg0) {
4105
+ export function __wbg_getaccesstoken_96168db7f6c5341e(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_250c5241956a9ab1() {
4290
+ export function __wbg_list_8f027b1e8d6eeabd() {
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_8668d159d21f9c4e() {
4297
+ export function __wbg_list_dc4b0ecf24e8c2e6() {
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_567c919685c309cc() {
4498
+ export function __wbg_remove_6a18bbab25f54853() {
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_567c919685c309cc() {
4510
4510
  }, arguments);
4511
4511
  }
4512
4512
 
4513
- export function __wbg_remove_aefa0d0833eac3a1() {
4513
+ export function __wbg_remove_a2c151845405193a() {
4514
4514
  return handleError(function (arg0, arg1, arg2) {
4515
4515
  let deferred0_0;
4516
4516
  let deferred0_1;
@@ -4564,7 +4564,11 @@ 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_5154dc89823ea3f4() {
4567
+ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4568
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4569
+ }
4570
+
4571
+ export function __wbg_set_8136ddb4c6a06792() {
4568
4572
  return handleError(function (arg0, arg1, arg2, arg3) {
4569
4573
  let deferred0_0;
4570
4574
  let deferred0_1;
@@ -4579,16 +4583,12 @@ export function __wbg_set_5154dc89823ea3f4() {
4579
4583
  }, arguments);
4580
4584
  }
4581
4585
 
4582
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4583
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4584
- }
4585
-
4586
4586
  export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4587
4587
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4588
4588
  return addHeapObject(ret);
4589
4589
  }
4590
4590
 
4591
- export function __wbg_set_9c4e9b1b55de3d7d() {
4591
+ export function __wbg_set_951bbfd8bc802f55() {
4592
4592
  return handleError(function (arg0, arg1, arg2, arg3) {
4593
4593
  let deferred0_0;
4594
4594
  let deferred0_1;
Binary file