@bitwarden/commercial-sdk-internal 0.2.0-main.483 → 0.2.0-main.484
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 +2 -1
- package/bitwarden_wasm_internal_bg.js +40 -40
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +4 -4
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +2 -1
- package/node/bitwarden_wasm_internal.js +36 -36
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
|
@@ -533,7 +533,8 @@ export interface MasterPasswordError extends Error {
|
|
|
533
533
|
| "KdfMalformed"
|
|
534
534
|
| "InvalidKdfConfiguration"
|
|
535
535
|
| "MissingField"
|
|
536
|
-
| "Crypto"
|
|
536
|
+
| "Crypto"
|
|
537
|
+
| "WrongPassword";
|
|
537
538
|
}
|
|
538
539
|
|
|
539
540
|
export function isMasterPasswordError(error: any): error is MasterPasswordError;
|
|
@@ -986,6 +986,14 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
990
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
995
|
+
}
|
|
996
|
+
|
|
989
997
|
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
990
998
|
try {
|
|
991
999
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -1000,14 +1008,6 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
|
|
|
1000
1008
|
}
|
|
1001
1009
|
}
|
|
1002
1010
|
|
|
1003
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1004
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
1008
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
1011
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1012
1012
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1013
1013
|
}
|
|
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4784
4784
|
return addHeapObject(ret);
|
|
4785
4785
|
}, arguments) };
|
|
4786
4786
|
|
|
4787
|
-
export function
|
|
4787
|
+
export function __wbg_cipher_8e8bd9af75e3c414(arg0) {
|
|
4788
4788
|
const ret = getObject(arg0).cipher;
|
|
4789
4789
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4790
4790
|
};
|
|
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4876
4876
|
return addHeapObject(ret);
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
export function
|
|
4879
|
+
export function __wbg_folder_e39ef16bda24d499(arg0) {
|
|
4880
4880
|
const ret = getObject(arg0).folder;
|
|
4881
4881
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4882
4882
|
};
|
|
@@ -4908,7 +4908,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4908
4908
|
return ret;
|
|
4909
4909
|
};
|
|
4910
4910
|
|
|
4911
|
-
export function
|
|
4911
|
+
export function __wbg_get_662432aedd1d5d54() { return handleError(function (arg0, arg1, arg2) {
|
|
4912
4912
|
let deferred0_0;
|
|
4913
4913
|
let deferred0_1;
|
|
4914
4914
|
try {
|
|
@@ -4921,17 +4921,7 @@ export function __wbg_get_3e47828a159062e6() { return handleError(function (arg0
|
|
|
4921
4921
|
}
|
|
4922
4922
|
}, arguments) };
|
|
4923
4923
|
|
|
4924
|
-
export function
|
|
4925
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4926
|
-
return addHeapObject(ret);
|
|
4927
|
-
};
|
|
4928
|
-
|
|
4929
|
-
export function __wbg_get_access_token_ffeb4af72e08ee66(arg0) {
|
|
4930
|
-
const ret = getObject(arg0).get_access_token();
|
|
4931
|
-
return addHeapObject(ret);
|
|
4932
|
-
};
|
|
4933
|
-
|
|
4934
|
-
export function __wbg_get_b479bc1449c6b0db() { return handleError(function (arg0, arg1, arg2) {
|
|
4924
|
+
export function __wbg_get_773fe44c83c042f4() { return handleError(function (arg0, arg1, arg2) {
|
|
4935
4925
|
let deferred0_0;
|
|
4936
4926
|
let deferred0_1;
|
|
4937
4927
|
try {
|
|
@@ -4944,6 +4934,16 @@ export function __wbg_get_b479bc1449c6b0db() { return handleError(function (arg0
|
|
|
4944
4934
|
}
|
|
4945
4935
|
}, arguments) };
|
|
4946
4936
|
|
|
4937
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4938
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4939
|
+
return addHeapObject(ret);
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
export function __wbg_get_access_token_f609d123ab7233f5(arg0) {
|
|
4943
|
+
const ret = getObject(arg0).get_access_token();
|
|
4944
|
+
return addHeapObject(ret);
|
|
4945
|
+
};
|
|
4946
|
+
|
|
4947
4947
|
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4948
4948
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4949
4949
|
return addHeapObject(ret);
|
|
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5132
5132
|
return ret;
|
|
5133
5133
|
};
|
|
5134
5134
|
|
|
5135
|
-
export function
|
|
5135
|
+
export function __wbg_list_9d81db3d777d4e7b() { return handleError(function (arg0) {
|
|
5136
5136
|
const ret = getObject(arg0).list();
|
|
5137
5137
|
return addHeapObject(ret);
|
|
5138
5138
|
}, arguments) };
|
|
5139
5139
|
|
|
5140
|
-
export function
|
|
5140
|
+
export function __wbg_list_ae84358d3e9a5f19() { return handleError(function (arg0) {
|
|
5141
5141
|
const ret = getObject(arg0).list();
|
|
5142
5142
|
return addHeapObject(ret);
|
|
5143
5143
|
}, arguments) };
|
|
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5359
5359
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5360
5360
|
}, arguments) };
|
|
5361
5361
|
|
|
5362
|
-
export function
|
|
5362
|
+
export function __wbg_remove_03c2af5864a34328() { return handleError(function (arg0, arg1, arg2) {
|
|
5363
5363
|
let deferred0_0;
|
|
5364
5364
|
let deferred0_1;
|
|
5365
5365
|
try {
|
|
@@ -5372,7 +5372,7 @@ export function __wbg_remove_8c103adc47e3025d() { return handleError(function (a
|
|
|
5372
5372
|
}
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_a543b236d5a8007a() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5410,7 +5410,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5410
5410
|
return addHeapObject(ret);
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
export function
|
|
5413
|
+
export function __wbg_set_12b1596d4539a662() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5414
5414
|
let deferred0_0;
|
|
5415
5415
|
let deferred0_1;
|
|
5416
5416
|
try {
|
|
@@ -5427,19 +5427,6 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5427
5427
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5428
5428
|
};
|
|
5429
5429
|
|
|
5430
|
-
export function __wbg_set_8f7a751de4437e9f() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
|
-
let deferred0_0;
|
|
5432
|
-
let deferred0_1;
|
|
5433
|
-
try {
|
|
5434
|
-
deferred0_0 = arg1;
|
|
5435
|
-
deferred0_1 = arg2;
|
|
5436
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5437
|
-
return addHeapObject(ret);
|
|
5438
|
-
} finally {
|
|
5439
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5440
|
-
}
|
|
5441
|
-
}, arguments) };
|
|
5442
|
-
|
|
5443
5430
|
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5444
5431
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5445
5432
|
return addHeapObject(ret);
|
|
@@ -5458,6 +5445,19 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
|
|
|
5458
5445
|
return ret;
|
|
5459
5446
|
}, arguments) };
|
|
5460
5447
|
|
|
5448
|
+
export function __wbg_set_c9990085080df8fc() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5449
|
+
let deferred0_0;
|
|
5450
|
+
let deferred0_1;
|
|
5451
|
+
try {
|
|
5452
|
+
deferred0_0 = arg1;
|
|
5453
|
+
deferred0_1 = arg2;
|
|
5454
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5455
|
+
return addHeapObject(ret);
|
|
5456
|
+
} finally {
|
|
5457
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5458
|
+
}
|
|
5459
|
+
}, arguments) };
|
|
5460
|
+
|
|
5461
5461
|
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5462
5462
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5463
5463
|
};
|
|
Binary file
|
|
@@ -513,23 +513,23 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
513
513
|
export const vaultclient_attachments: (a: number) => number;
|
|
514
514
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
515
515
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
516
|
-
export const
|
|
516
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
517
517
|
a: number,
|
|
518
518
|
b: number,
|
|
519
519
|
c: number,
|
|
520
|
-
d: number,
|
|
521
520
|
) => void;
|
|
522
521
|
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
523
522
|
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
524
523
|
a: number,
|
|
525
524
|
b: number,
|
|
526
525
|
) => void;
|
|
527
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
528
526
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
529
|
-
export const
|
|
527
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
530
529
|
a: number,
|
|
531
530
|
b: number,
|
|
532
531
|
c: number,
|
|
532
|
+
d: number,
|
|
533
533
|
) => void;
|
|
534
534
|
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|