@bitwarden/commercial-sdk-internal 0.2.0-main.491 → 0.2.0-main.493
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/bitwarden_wasm_internal.d.ts +10 -1
- package/bitwarden_wasm_internal_bg.js +19 -19
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +10 -1
- package/node/bitwarden_wasm_internal.js +11 -11
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
|
@@ -674,7 +674,12 @@ export type InitUserCryptoMethod =
|
|
|
674
674
|
|
|
675
675
|
export interface CryptoClientError extends Error {
|
|
676
676
|
name: "CryptoClientError";
|
|
677
|
-
variant:
|
|
677
|
+
variant:
|
|
678
|
+
| "NotAuthenticated"
|
|
679
|
+
| "Crypto"
|
|
680
|
+
| "InvalidKdfSettings"
|
|
681
|
+
| "PasswordProtectedKeyEnvelope"
|
|
682
|
+
| "InvalidPrfInput";
|
|
678
683
|
}
|
|
679
684
|
|
|
680
685
|
export function isCryptoClientError(error: any): error is CryptoClientError;
|
|
@@ -1876,6 +1881,10 @@ export interface CipherView {
|
|
|
1876
1881
|
viewPassword: boolean;
|
|
1877
1882
|
localData: LocalDataView | undefined;
|
|
1878
1883
|
attachments: AttachmentView[] | undefined;
|
|
1884
|
+
/**
|
|
1885
|
+
* Attachments that failed to decrypt. Only present when there are decryption failures.
|
|
1886
|
+
*/
|
|
1887
|
+
attachmentDecryptionFailures?: AttachmentView[];
|
|
1879
1888
|
fields: FieldView[] | undefined;
|
|
1880
1889
|
passwordHistory: PasswordHistoryView[] | undefined;
|
|
1881
1890
|
creationDate: DateTime<Utc>;
|
|
@@ -999,6 +999,14 @@ export function isGetFolderError(error) {
|
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1003
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1007
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1002
1010
|
function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg1, arg2) {
|
|
1003
1011
|
try {
|
|
1004
1012
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -1013,14 +1021,6 @@ function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg
|
|
|
1013
1021
|
}
|
|
1014
1022
|
}
|
|
1015
1023
|
|
|
1016
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1017
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1021
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
1024
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1025
1025
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1026
1026
|
}
|
|
@@ -4797,7 +4797,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4797
4797
|
return addHeapObject(ret);
|
|
4798
4798
|
}, arguments) };
|
|
4799
4799
|
|
|
4800
|
-
export function
|
|
4800
|
+
export function __wbg_cipher_1fdd8ab39596be00(arg0) {
|
|
4801
4801
|
const ret = getObject(arg0).cipher;
|
|
4802
4802
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4803
4803
|
};
|
|
@@ -4889,7 +4889,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4889
4889
|
return addHeapObject(ret);
|
|
4890
4890
|
};
|
|
4891
4891
|
|
|
4892
|
-
export function
|
|
4892
|
+
export function __wbg_folder_6830222ac7627b88(arg0) {
|
|
4893
4893
|
const ret = getObject(arg0).folder;
|
|
4894
4894
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4895
4895
|
};
|
|
@@ -4921,7 +4921,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4921
4921
|
return ret;
|
|
4922
4922
|
};
|
|
4923
4923
|
|
|
4924
|
-
export function
|
|
4924
|
+
export function __wbg_get_48963211297a621e() { return handleError(function (arg0, arg1, arg2) {
|
|
4925
4925
|
let deferred0_0;
|
|
4926
4926
|
let deferred0_1;
|
|
4927
4927
|
try {
|
|
@@ -4939,7 +4939,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4939
4939
|
return addHeapObject(ret);
|
|
4940
4940
|
};
|
|
4941
4941
|
|
|
4942
|
-
export function
|
|
4942
|
+
export function __wbg_get_a92c3deae1964973() { return handleError(function (arg0, arg1, arg2) {
|
|
4943
4943
|
let deferred0_0;
|
|
4944
4944
|
let deferred0_1;
|
|
4945
4945
|
try {
|
|
@@ -4952,7 +4952,7 @@ export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0
|
|
|
4952
4952
|
}
|
|
4953
4953
|
}, arguments) };
|
|
4954
4954
|
|
|
4955
|
-
export function
|
|
4955
|
+
export function __wbg_get_access_token_000c87dad704aa98(arg0) {
|
|
4956
4956
|
const ret = getObject(arg0).get_access_token();
|
|
4957
4957
|
return addHeapObject(ret);
|
|
4958
4958
|
};
|
|
@@ -5145,12 +5145,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5145
5145
|
return ret;
|
|
5146
5146
|
};
|
|
5147
5147
|
|
|
5148
|
-
export function
|
|
5148
|
+
export function __wbg_list_47a6ca2c87683226() { return handleError(function (arg0) {
|
|
5149
5149
|
const ret = getObject(arg0).list();
|
|
5150
5150
|
return addHeapObject(ret);
|
|
5151
5151
|
}, arguments) };
|
|
5152
5152
|
|
|
5153
|
-
export function
|
|
5153
|
+
export function __wbg_list_570c27e97d357b55() { return handleError(function (arg0) {
|
|
5154
5154
|
const ret = getObject(arg0).list();
|
|
5155
5155
|
return addHeapObject(ret);
|
|
5156
5156
|
}, arguments) };
|
|
@@ -5372,7 +5372,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5372
5372
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_5e280e527e85a804() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5385,7 +5385,7 @@ export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (a
|
|
|
5385
5385
|
}
|
|
5386
5386
|
}, arguments) };
|
|
5387
5387
|
|
|
5388
|
-
export function
|
|
5388
|
+
export function __wbg_remove_bac6db33db35a182() { return handleError(function (arg0, arg1, arg2) {
|
|
5389
5389
|
let deferred0_0;
|
|
5390
5390
|
let deferred0_1;
|
|
5391
5391
|
try {
|
|
@@ -5427,7 +5427,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5427
5427
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5428
5428
|
};
|
|
5429
5429
|
|
|
5430
|
-
export function
|
|
5430
|
+
export function __wbg_set_8f306648943d1ded() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
5431
|
let deferred0_0;
|
|
5432
5432
|
let deferred0_1;
|
|
5433
5433
|
try {
|
|
@@ -5458,7 +5458,7 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
|
|
|
5458
5458
|
return ret;
|
|
5459
5459
|
}, arguments) };
|
|
5460
5460
|
|
|
5461
|
-
export function
|
|
5461
|
+
export function __wbg_set_cefa8814cc3188ab() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5462
5462
|
let deferred0_0;
|
|
5463
5463
|
let deferred0_1;
|
|
5464
5464
|
try {
|
|
Binary file
|
|
@@ -514,13 +514,6 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
514
514
|
export const vaultclient_attachments: (a: number) => number;
|
|
515
515
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
516
516
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
517
|
-
export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
|
|
518
|
-
a: number,
|
|
519
|
-
b: number,
|
|
520
|
-
c: number,
|
|
521
|
-
d: number,
|
|
522
|
-
) => void;
|
|
523
|
-
export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
|
|
524
517
|
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
525
518
|
a: number,
|
|
526
519
|
b: number,
|
|
@@ -533,6 +526,13 @@ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
|
533
526
|
) => void;
|
|
534
527
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
535
528
|
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
529
|
+
export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
|
|
530
|
+
a: number,
|
|
531
|
+
b: number,
|
|
532
|
+
c: number,
|
|
533
|
+
d: number,
|
|
534
|
+
) => void;
|
|
535
|
+
export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
|
|
536
536
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
537
537
|
a: number,
|
|
538
538
|
b: number,
|