@bitwarden/sdk-internal 0.2.0-main.294 → 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 +26 -26
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +6 -13
- package/node/bitwarden_wasm_internal.js +26 -26
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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: "
|
|
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;
|
|
@@ -834,7 +834,7 @@ export function isEncryptFileError(error) {
|
|
|
834
834
|
}
|
|
835
835
|
|
|
836
836
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
837
|
-
wasm.
|
|
837
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6a23de37c0a4c025(
|
|
838
838
|
arg0,
|
|
839
839
|
arg1,
|
|
840
840
|
addHeapObject(arg2),
|
|
@@ -844,7 +844,7 @@ function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
|
844
844
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
845
845
|
try {
|
|
846
846
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
847
|
-
wasm.
|
|
847
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3dbaf14f9a6d0ccb(
|
|
848
848
|
retptr,
|
|
849
849
|
arg0,
|
|
850
850
|
arg1,
|
|
@@ -4060,7 +4060,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
|
|
|
4060
4060
|
return ret;
|
|
4061
4061
|
}
|
|
4062
4062
|
|
|
4063
|
-
export function
|
|
4063
|
+
export function __wbg_get_5fa4ede81d7776e8() {
|
|
4064
4064
|
return handleError(function (arg0, arg1, arg2) {
|
|
4065
4065
|
let deferred0_0;
|
|
4066
4066
|
let deferred0_1;
|
|
@@ -4082,7 +4082,7 @@ export function __wbg_get_67b2ba62fc30de12() {
|
|
|
4082
4082
|
}, arguments);
|
|
4083
4083
|
}
|
|
4084
4084
|
|
|
4085
|
-
export function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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_5fff8d8bc81b929a() {
|
|
|
4510
4510
|
}, arguments);
|
|
4511
4511
|
}
|
|
4512
4512
|
|
|
4513
|
-
export function
|
|
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
|
|
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_9fa56222a2bac91f() {
|
|
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_9fa56222a2bac91f() {
|
|
|
4588
4579
|
}, arguments);
|
|
4589
4580
|
}
|
|
4590
4581
|
|
|
4591
|
-
export function
|
|
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;
|
|
@@ -4823,18 +4823,18 @@ export function __wbindgen_closure_wrapper189(arg0, arg1, arg2) {
|
|
|
4823
4823
|
return addHeapObject(ret);
|
|
4824
4824
|
}
|
|
4825
4825
|
|
|
4826
|
-
export function
|
|
4827
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4826
|
+
export function __wbindgen_closure_wrapper3594(arg0, arg1, arg2) {
|
|
4827
|
+
const ret = makeMutClosure(arg0, arg1, 290, __wbg_adapter_60);
|
|
4828
4828
|
return addHeapObject(ret);
|
|
4829
4829
|
}
|
|
4830
4830
|
|
|
4831
|
-
export function
|
|
4832
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4831
|
+
export function __wbindgen_closure_wrapper5956(arg0, arg1, arg2) {
|
|
4832
|
+
const ret = makeMutClosure(arg0, arg1, 315, __wbg_adapter_60);
|
|
4833
4833
|
return addHeapObject(ret);
|
|
4834
4834
|
}
|
|
4835
4835
|
|
|
4836
|
-
export function
|
|
4837
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4836
|
+
export function __wbindgen_closure_wrapper6337(arg0, arg1, arg2) {
|
|
4837
|
+
const ret = makeMutClosure(arg0, arg1, 339, __wbg_adapter_54);
|
|
4838
4838
|
return addHeapObject(ret);
|
|
4839
4839
|
}
|
|
4840
4840
|
|
|
Binary file
|
|
@@ -398,12 +398,12 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
398
398
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
399
399
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
400
400
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
401
|
-
export const
|
|
401
|
+
export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6a23de37c0a4c025: (
|
|
402
402
|
a: number,
|
|
403
403
|
b: number,
|
|
404
404
|
c: number,
|
|
405
405
|
) => void;
|
|
406
|
-
export const
|
|
406
|
+
export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3dbaf14f9a6d0ccb: (
|
|
407
407
|
a: number,
|
|
408
408
|
b: number,
|
|
409
409
|
c: number,
|