@bitwarden/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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +10 -1
- package/bitwarden_wasm_internal_bg.js +15 -15
- 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 +15 -15
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cf97241fc2cda0f33f24b7d08bf7ce38ce537402
|
|
@@ -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,10 +999,6 @@ 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
1002
|
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1007
1003
|
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1008
1004
|
}
|
|
@@ -1021,6 +1017,10 @@ function wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5(arg0, arg
|
|
|
1021
1017
|
}
|
|
1022
1018
|
}
|
|
1023
1019
|
|
|
1020
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1021
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
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
|
}
|
|
@@ -4723,7 +4723,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4723
4723
|
return addHeapObject(ret);
|
|
4724
4724
|
}, arguments) };
|
|
4725
4725
|
|
|
4726
|
-
export function
|
|
4726
|
+
export function __wbg_cipher_1fdd8ab39596be00(arg0) {
|
|
4727
4727
|
const ret = getObject(arg0).cipher;
|
|
4728
4728
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4729
4729
|
};
|
|
@@ -4815,7 +4815,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4815
4815
|
return addHeapObject(ret);
|
|
4816
4816
|
};
|
|
4817
4817
|
|
|
4818
|
-
export function
|
|
4818
|
+
export function __wbg_folder_6830222ac7627b88(arg0) {
|
|
4819
4819
|
const ret = getObject(arg0).folder;
|
|
4820
4820
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4821
4821
|
};
|
|
@@ -4847,7 +4847,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4847
4847
|
return ret;
|
|
4848
4848
|
};
|
|
4849
4849
|
|
|
4850
|
-
export function
|
|
4850
|
+
export function __wbg_get_48963211297a621e() { return handleError(function (arg0, arg1, arg2) {
|
|
4851
4851
|
let deferred0_0;
|
|
4852
4852
|
let deferred0_1;
|
|
4853
4853
|
try {
|
|
@@ -4865,7 +4865,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4865
4865
|
return addHeapObject(ret);
|
|
4866
4866
|
};
|
|
4867
4867
|
|
|
4868
|
-
export function
|
|
4868
|
+
export function __wbg_get_a92c3deae1964973() { return handleError(function (arg0, arg1, arg2) {
|
|
4869
4869
|
let deferred0_0;
|
|
4870
4870
|
let deferred0_1;
|
|
4871
4871
|
try {
|
|
@@ -4878,7 +4878,7 @@ export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0
|
|
|
4878
4878
|
}
|
|
4879
4879
|
}, arguments) };
|
|
4880
4880
|
|
|
4881
|
-
export function
|
|
4881
|
+
export function __wbg_get_access_token_000c87dad704aa98(arg0) {
|
|
4882
4882
|
const ret = getObject(arg0).get_access_token();
|
|
4883
4883
|
return addHeapObject(ret);
|
|
4884
4884
|
};
|
|
@@ -5071,12 +5071,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5071
5071
|
return ret;
|
|
5072
5072
|
};
|
|
5073
5073
|
|
|
5074
|
-
export function
|
|
5074
|
+
export function __wbg_list_47a6ca2c87683226() { return handleError(function (arg0) {
|
|
5075
5075
|
const ret = getObject(arg0).list();
|
|
5076
5076
|
return addHeapObject(ret);
|
|
5077
5077
|
}, arguments) };
|
|
5078
5078
|
|
|
5079
|
-
export function
|
|
5079
|
+
export function __wbg_list_570c27e97d357b55() { return handleError(function (arg0) {
|
|
5080
5080
|
const ret = getObject(arg0).list();
|
|
5081
5081
|
return addHeapObject(ret);
|
|
5082
5082
|
}, arguments) };
|
|
@@ -5298,7 +5298,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5298
5298
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5299
5299
|
}, arguments) };
|
|
5300
5300
|
|
|
5301
|
-
export function
|
|
5301
|
+
export function __wbg_remove_5e280e527e85a804() { return handleError(function (arg0, arg1, arg2) {
|
|
5302
5302
|
let deferred0_0;
|
|
5303
5303
|
let deferred0_1;
|
|
5304
5304
|
try {
|
|
@@ -5311,7 +5311,7 @@ export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (a
|
|
|
5311
5311
|
}
|
|
5312
5312
|
}, arguments) };
|
|
5313
5313
|
|
|
5314
|
-
export function
|
|
5314
|
+
export function __wbg_remove_bac6db33db35a182() { return handleError(function (arg0, arg1, arg2) {
|
|
5315
5315
|
let deferred0_0;
|
|
5316
5316
|
let deferred0_1;
|
|
5317
5317
|
try {
|
|
@@ -5353,7 +5353,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5353
5353
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5354
5354
|
};
|
|
5355
5355
|
|
|
5356
|
-
export function
|
|
5356
|
+
export function __wbg_set_8f306648943d1ded() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5357
5357
|
let deferred0_0;
|
|
5358
5358
|
let deferred0_1;
|
|
5359
5359
|
try {
|
|
@@ -5384,7 +5384,7 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
|
|
|
5384
5384
|
return ret;
|
|
5385
5385
|
}, arguments) };
|
|
5386
5386
|
|
|
5387
|
-
export function
|
|
5387
|
+
export function __wbg_set_cefa8814cc3188ab() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5388
5388
|
let deferred0_0;
|
|
5389
5389
|
let deferred0_1;
|
|
5390
5390
|
try {
|
|
Binary file
|
|
@@ -510,25 +510,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
510
510
|
export const vaultclient_attachments: (a: number) => number;
|
|
511
511
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
512
512
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
513
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
514
|
-
a: number,
|
|
515
|
-
b: number,
|
|
516
|
-
) => void;
|
|
517
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
518
513
|
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
519
514
|
a: number,
|
|
520
515
|
b: number,
|
|
521
516
|
c: number,
|
|
522
517
|
) => void;
|
|
523
|
-
export const
|
|
518
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
524
519
|
export const wasm_bindgen__closure__destroy__h8316b5ffc9c02e99: (a: number, b: number) => void;
|
|
525
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
526
520
|
export const wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5: (
|
|
527
521
|
a: number,
|
|
528
522
|
b: number,
|
|
529
523
|
c: number,
|
|
530
524
|
d: number,
|
|
531
525
|
) => void;
|
|
526
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
527
|
+
a: number,
|
|
528
|
+
b: number,
|
|
529
|
+
) => void;
|
|
530
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
531
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
532
532
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
533
533
|
a: number,
|
|
534
534
|
b: number,
|