@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 +1 -1
- package/bitwarden_wasm_internal.d.ts +6 -13
- package/bitwarden_wasm_internal_bg.js +27 -27
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +6 -13
- package/node/bitwarden_wasm_internal.js +27 -27
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -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: "
|
|
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" | "
|
|
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"
|
|
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" | "
|
|
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"
|
|
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;
|
|
@@ -4076,14 +4076,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
|
|
|
4076
4076
|
return ret;
|
|
4077
4077
|
};
|
|
4078
4078
|
|
|
4079
|
-
module.exports.
|
|
4080
|
-
return handleError(function (arg0, arg1) {
|
|
4081
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4082
|
-
return addHeapObject(ret);
|
|
4083
|
-
}, arguments);
|
|
4084
|
-
};
|
|
4085
|
-
|
|
4086
|
-
module.exports.__wbg_get_85a4a639023a3720 = function () {
|
|
4079
|
+
module.exports.__wbg_get_5fa4ede81d7776e8 = function () {
|
|
4087
4080
|
return handleError(function (arg0, arg1, arg2) {
|
|
4088
4081
|
let deferred0_0;
|
|
4089
4082
|
let deferred0_1;
|
|
@@ -4098,7 +4091,14 @@ module.exports.__wbg_get_85a4a639023a3720 = function () {
|
|
|
4098
4091
|
}, arguments);
|
|
4099
4092
|
};
|
|
4100
4093
|
|
|
4101
|
-
module.exports.
|
|
4094
|
+
module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
4095
|
+
return handleError(function (arg0, arg1) {
|
|
4096
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4097
|
+
return addHeapObject(ret);
|
|
4098
|
+
}, arguments);
|
|
4099
|
+
};
|
|
4100
|
+
|
|
4101
|
+
module.exports.__wbg_get_a1b35b65570b6bdc = function () {
|
|
4102
4102
|
return handleError(function (arg0, arg1, arg2) {
|
|
4103
4103
|
let deferred0_0;
|
|
4104
4104
|
let deferred0_1;
|
|
@@ -4118,7 +4118,7 @@ module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
|
4118
4118
|
return addHeapObject(ret);
|
|
4119
4119
|
};
|
|
4120
4120
|
|
|
4121
|
-
module.exports.
|
|
4121
|
+
module.exports.__wbg_getaccesstoken_1f8e838d1d6f1b7a = 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_250c5241956a9ab1 = 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_8668d159d21f9c4e = 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_567c919685c309cc = 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_8505fd3c39475309 = function () {
|
|
|
4526
4526
|
}, arguments);
|
|
4527
4527
|
};
|
|
4528
4528
|
|
|
4529
|
-
module.exports.
|
|
4529
|
+
module.exports.__wbg_remove_aefa0d0833eac3a1 = function () {
|
|
4530
4530
|
return handleError(function (arg0, arg1, arg2) {
|
|
4531
4531
|
let deferred0_0;
|
|
4532
4532
|
let deferred0_1;
|
|
@@ -4580,16 +4580,7 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
4580
4580
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4581
4581
|
};
|
|
4582
4582
|
|
|
4583
|
-
module.exports.
|
|
4584
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4585
|
-
};
|
|
4586
|
-
|
|
4587
|
-
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4588
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4589
|
-
return addHeapObject(ret);
|
|
4590
|
-
};
|
|
4591
|
-
|
|
4592
|
-
module.exports.__wbg_set_a6ed0666d14f7374 = function () {
|
|
4583
|
+
module.exports.__wbg_set_5154dc89823ea3f4 = function () {
|
|
4593
4584
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4594
4585
|
let deferred0_0;
|
|
4595
4586
|
let deferred0_1;
|
|
@@ -4604,7 +4595,16 @@ module.exports.__wbg_set_a6ed0666d14f7374 = function () {
|
|
|
4604
4595
|
}, arguments);
|
|
4605
4596
|
};
|
|
4606
4597
|
|
|
4607
|
-
module.exports.
|
|
4598
|
+
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4599
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4600
|
+
};
|
|
4601
|
+
|
|
4602
|
+
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4603
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4604
|
+
return addHeapObject(ret);
|
|
4605
|
+
};
|
|
4606
|
+
|
|
4607
|
+
module.exports.__wbg_set_9c4e9b1b55de3d7d = function () {
|
|
4608
4608
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4609
4609
|
let deferred0_0;
|
|
4610
4610
|
let deferred0_1;
|
|
@@ -4844,12 +4844,12 @@ module.exports.__wbindgen_closure_wrapper3594 = function (arg0, arg1, arg2) {
|
|
|
4844
4844
|
return addHeapObject(ret);
|
|
4845
4845
|
};
|
|
4846
4846
|
|
|
4847
|
-
module.exports.
|
|
4847
|
+
module.exports.__wbindgen_closure_wrapper5956 = function (arg0, arg1, arg2) {
|
|
4848
4848
|
const ret = makeMutClosure(arg0, arg1, 315, __wbg_adapter_60);
|
|
4849
4849
|
return addHeapObject(ret);
|
|
4850
4850
|
};
|
|
4851
4851
|
|
|
4852
|
-
module.exports.
|
|
4852
|
+
module.exports.__wbindgen_closure_wrapper6337 = function (arg0, arg1, arg2) {
|
|
4853
4853
|
const ret = makeMutClosure(arg0, arg1, 339, __wbg_adapter_54);
|
|
4854
4854
|
return addHeapObject(ret);
|
|
4855
4855
|
};
|
|
Binary file
|