@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 +1 -1
- package/bitwarden_wasm_internal.d.ts +16 -16
- package/bitwarden_wasm_internal_bg.js +18 -18
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +16 -16
- package/node/bitwarden_wasm_internal.js +18 -18
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -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" | "
|
|
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
|
-
| "
|
|
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
|
-
| "
|
|
606
|
-
| "
|
|
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
|
-
| "
|
|
615
|
-
| "
|
|
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
|
-
| "
|
|
646
|
+
| "Cxf"
|
|
647
647
|
| "Json"
|
|
648
|
-
| "
|
|
649
|
-
| "
|
|
650
|
-
| "
|
|
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" | "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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" | "
|
|
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: "
|
|
1359
|
+
variant: "MissingField" | "Crypto" | "Encrypt" | "AttachmentsWithoutKeys";
|
|
1360
1360
|
}
|
|
1361
1361
|
|
|
1362
1362
|
export function isCipherError(error: any): error is CipherError;
|
|
@@ -4076,7 +4076,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
|
|
|
4076
4076
|
return ret;
|
|
4077
4077
|
};
|
|
4078
4078
|
|
|
4079
|
-
module.exports.
|
|
4079
|
+
module.exports.__wbg_get_484769665c8b04d7 = function () {
|
|
4080
4080
|
return handleError(function (arg0, arg1, arg2) {
|
|
4081
4081
|
let deferred0_0;
|
|
4082
4082
|
let deferred0_1;
|
|
@@ -4098,7 +4098,12 @@ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
|
4098
4098
|
}, arguments);
|
|
4099
4099
|
};
|
|
4100
4100
|
|
|
4101
|
-
module.exports.
|
|
4101
|
+
module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
4102
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4103
|
+
return addHeapObject(ret);
|
|
4104
|
+
};
|
|
4105
|
+
|
|
4106
|
+
module.exports.__wbg_get_de8d5678adfaf755 = function () {
|
|
4102
4107
|
return handleError(function (arg0, arg1, arg2) {
|
|
4103
4108
|
let deferred0_0;
|
|
4104
4109
|
let deferred0_1;
|
|
@@ -4113,12 +4118,7 @@ module.exports.__wbg_get_a1b35b65570b6bdc = function () {
|
|
|
4113
4118
|
}, arguments);
|
|
4114
4119
|
};
|
|
4115
4120
|
|
|
4116
|
-
module.exports.
|
|
4117
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4118
|
-
return addHeapObject(ret);
|
|
4119
|
-
};
|
|
4120
|
-
|
|
4121
|
-
module.exports.__wbg_getaccesstoken_1f8e838d1d6f1b7a = function (arg0) {
|
|
4121
|
+
module.exports.__wbg_getaccesstoken_96168db7f6c5341e = function (arg0) {
|
|
4122
4122
|
const ret = getObject(arg0).get_access_token();
|
|
4123
4123
|
return addHeapObject(ret);
|
|
4124
4124
|
};
|
|
@@ -4303,14 +4303,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
|
|
|
4303
4303
|
return ret;
|
|
4304
4304
|
};
|
|
4305
4305
|
|
|
4306
|
-
module.exports.
|
|
4306
|
+
module.exports.__wbg_list_8f027b1e8d6eeabd = function () {
|
|
4307
4307
|
return handleError(function (arg0) {
|
|
4308
4308
|
const ret = getObject(arg0).list();
|
|
4309
4309
|
return addHeapObject(ret);
|
|
4310
4310
|
}, arguments);
|
|
4311
4311
|
};
|
|
4312
4312
|
|
|
4313
|
-
module.exports.
|
|
4313
|
+
module.exports.__wbg_list_dc4b0ecf24e8c2e6 = function () {
|
|
4314
4314
|
return handleError(function (arg0) {
|
|
4315
4315
|
const ret = getObject(arg0).list();
|
|
4316
4316
|
return addHeapObject(ret);
|
|
@@ -4511,7 +4511,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
4511
4511
|
}, arguments);
|
|
4512
4512
|
};
|
|
4513
4513
|
|
|
4514
|
-
module.exports.
|
|
4514
|
+
module.exports.__wbg_remove_6a18bbab25f54853 = function () {
|
|
4515
4515
|
return handleError(function (arg0, arg1, arg2) {
|
|
4516
4516
|
let deferred0_0;
|
|
4517
4517
|
let deferred0_1;
|
|
@@ -4526,7 +4526,7 @@ module.exports.__wbg_remove_567c919685c309cc = function () {
|
|
|
4526
4526
|
}, arguments);
|
|
4527
4527
|
};
|
|
4528
4528
|
|
|
4529
|
-
module.exports.
|
|
4529
|
+
module.exports.__wbg_remove_a2c151845405193a = function () {
|
|
4530
4530
|
return handleError(function (arg0, arg1, arg2) {
|
|
4531
4531
|
let deferred0_0;
|
|
4532
4532
|
let deferred0_1;
|
|
@@ -4580,7 +4580,11 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
4580
4580
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4581
4581
|
};
|
|
4582
4582
|
|
|
4583
|
-
module.exports.
|
|
4583
|
+
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4584
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
module.exports.__wbg_set_8136ddb4c6a06792 = function () {
|
|
4584
4588
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4585
4589
|
let deferred0_0;
|
|
4586
4590
|
let deferred0_1;
|
|
@@ -4595,16 +4599,12 @@ module.exports.__wbg_set_5154dc89823ea3f4 = function () {
|
|
|
4595
4599
|
}, arguments);
|
|
4596
4600
|
};
|
|
4597
4601
|
|
|
4598
|
-
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4599
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4600
|
-
};
|
|
4601
|
-
|
|
4602
4602
|
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4603
4603
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4604
4604
|
return addHeapObject(ret);
|
|
4605
4605
|
};
|
|
4606
4606
|
|
|
4607
|
-
module.exports.
|
|
4607
|
+
module.exports.__wbg_set_951bbfd8bc802f55 = function () {
|
|
4608
4608
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4609
4609
|
let deferred0_0;
|
|
4610
4610
|
let deferred0_1;
|
|
Binary file
|