@bitwarden/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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +2 -1
- package/bitwarden_wasm_internal_bg.js +36 -36
- 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 +7 -7
- 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;
|
|
@@ -976,14 +976,14 @@ exports.isGetFolderError = function(error) {
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
980
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
981
|
-
}
|
|
982
|
-
|
|
983
979
|
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
984
980
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
985
981
|
}
|
|
986
982
|
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
984
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
985
|
+
}
|
|
986
|
+
|
|
987
987
|
function wasm_bindgen__convert__closures_____invoke__h693de69d229f304a(arg0, arg1, arg2) {
|
|
988
988
|
try {
|
|
989
989
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -4752,7 +4752,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
|
|
|
4752
4752
|
return addHeapObject(ret);
|
|
4753
4753
|
}, arguments) };
|
|
4754
4754
|
|
|
4755
|
-
exports.
|
|
4755
|
+
exports.__wbg_cipher_8e8bd9af75e3c414 = function(arg0) {
|
|
4756
4756
|
const ret = getObject(arg0).cipher;
|
|
4757
4757
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4758
4758
|
};
|
|
@@ -4844,7 +4844,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
|
4844
4844
|
return addHeapObject(ret);
|
|
4845
4845
|
};
|
|
4846
4846
|
|
|
4847
|
-
exports.
|
|
4847
|
+
exports.__wbg_folder_e39ef16bda24d499 = function(arg0) {
|
|
4848
4848
|
const ret = getObject(arg0).folder;
|
|
4849
4849
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4850
4850
|
};
|
|
@@ -4876,7 +4876,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
|
4876
4876
|
return ret;
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
exports.
|
|
4879
|
+
exports.__wbg_get_662432aedd1d5d54 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4880
4880
|
let deferred0_0;
|
|
4881
4881
|
let deferred0_1;
|
|
4882
4882
|
try {
|
|
@@ -4889,17 +4889,7 @@ exports.__wbg_get_3e47828a159062e6 = function() { return handleError(function (a
|
|
|
4889
4889
|
}
|
|
4890
4890
|
}, arguments) };
|
|
4891
4891
|
|
|
4892
|
-
exports.
|
|
4893
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4894
|
-
return addHeapObject(ret);
|
|
4895
|
-
};
|
|
4896
|
-
|
|
4897
|
-
exports.__wbg_get_access_token_ffeb4af72e08ee66 = function(arg0) {
|
|
4898
|
-
const ret = getObject(arg0).get_access_token();
|
|
4899
|
-
return addHeapObject(ret);
|
|
4900
|
-
};
|
|
4901
|
-
|
|
4902
|
-
exports.__wbg_get_b479bc1449c6b0db = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4892
|
+
exports.__wbg_get_773fe44c83c042f4 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4903
4893
|
let deferred0_0;
|
|
4904
4894
|
let deferred0_1;
|
|
4905
4895
|
try {
|
|
@@ -4912,6 +4902,16 @@ exports.__wbg_get_b479bc1449c6b0db = function() { return handleError(function (a
|
|
|
4912
4902
|
}
|
|
4913
4903
|
}, arguments) };
|
|
4914
4904
|
|
|
4905
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
4906
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4907
|
+
return addHeapObject(ret);
|
|
4908
|
+
};
|
|
4909
|
+
|
|
4910
|
+
exports.__wbg_get_access_token_f609d123ab7233f5 = function(arg0) {
|
|
4911
|
+
const ret = getObject(arg0).get_access_token();
|
|
4912
|
+
return addHeapObject(ret);
|
|
4913
|
+
};
|
|
4914
|
+
|
|
4915
4915
|
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
4916
4916
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4917
4917
|
return addHeapObject(ret);
|
|
@@ -5100,12 +5100,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
|
5100
5100
|
return ret;
|
|
5101
5101
|
};
|
|
5102
5102
|
|
|
5103
|
-
exports.
|
|
5103
|
+
exports.__wbg_list_9d81db3d777d4e7b = function() { return handleError(function (arg0) {
|
|
5104
5104
|
const ret = getObject(arg0).list();
|
|
5105
5105
|
return addHeapObject(ret);
|
|
5106
5106
|
}, arguments) };
|
|
5107
5107
|
|
|
5108
|
-
exports.
|
|
5108
|
+
exports.__wbg_list_ae84358d3e9a5f19 = function() { return handleError(function (arg0) {
|
|
5109
5109
|
const ret = getObject(arg0).list();
|
|
5110
5110
|
return addHeapObject(ret);
|
|
5111
5111
|
}, arguments) };
|
|
@@ -5327,7 +5327,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
|
|
|
5327
5327
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5328
5328
|
}, arguments) };
|
|
5329
5329
|
|
|
5330
|
-
exports.
|
|
5330
|
+
exports.__wbg_remove_03c2af5864a34328 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5331
5331
|
let deferred0_0;
|
|
5332
5332
|
let deferred0_1;
|
|
5333
5333
|
try {
|
|
@@ -5340,7 +5340,7 @@ exports.__wbg_remove_8c103adc47e3025d = function() { return handleError(function
|
|
|
5340
5340
|
}
|
|
5341
5341
|
}, arguments) };
|
|
5342
5342
|
|
|
5343
|
-
exports.
|
|
5343
|
+
exports.__wbg_remove_a543b236d5a8007a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5344
5344
|
let deferred0_0;
|
|
5345
5345
|
let deferred0_1;
|
|
5346
5346
|
try {
|
|
@@ -5378,7 +5378,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
|
|
|
5378
5378
|
return addHeapObject(ret);
|
|
5379
5379
|
};
|
|
5380
5380
|
|
|
5381
|
-
exports.
|
|
5381
|
+
exports.__wbg_set_12b1596d4539a662 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5382
5382
|
let deferred0_0;
|
|
5383
5383
|
let deferred0_1;
|
|
5384
5384
|
try {
|
|
@@ -5395,19 +5395,6 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
|
5395
5395
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5396
5396
|
};
|
|
5397
5397
|
|
|
5398
|
-
exports.__wbg_set_8f7a751de4437e9f = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5399
|
-
let deferred0_0;
|
|
5400
|
-
let deferred0_1;
|
|
5401
|
-
try {
|
|
5402
|
-
deferred0_0 = arg1;
|
|
5403
|
-
deferred0_1 = arg2;
|
|
5404
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5405
|
-
return addHeapObject(ret);
|
|
5406
|
-
} finally {
|
|
5407
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5408
|
-
}
|
|
5409
|
-
}, arguments) };
|
|
5410
|
-
|
|
5411
5398
|
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5412
5399
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5413
5400
|
return addHeapObject(ret);
|
|
@@ -5426,6 +5413,19 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (a
|
|
|
5426
5413
|
return ret;
|
|
5427
5414
|
}, arguments) };
|
|
5428
5415
|
|
|
5416
|
+
exports.__wbg_set_c9990085080df8fc = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5417
|
+
let deferred0_0;
|
|
5418
|
+
let deferred0_1;
|
|
5419
|
+
try {
|
|
5420
|
+
deferred0_0 = arg1;
|
|
5421
|
+
deferred0_1 = arg2;
|
|
5422
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5423
|
+
return addHeapObject(ret);
|
|
5424
|
+
} finally {
|
|
5425
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5426
|
+
}
|
|
5427
|
+
}, arguments) };
|
|
5428
|
+
|
|
5429
5429
|
exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
5430
5430
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5431
5431
|
};
|
|
Binary file
|
|
@@ -509,25 +509,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
509
509
|
export const vaultclient_attachments: (a: number) => number;
|
|
510
510
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
511
511
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
512
|
-
export const
|
|
512
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
513
513
|
a: number,
|
|
514
514
|
b: number,
|
|
515
|
-
c: number,
|
|
516
515
|
) => void;
|
|
517
|
-
export const
|
|
518
|
-
export const
|
|
516
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
517
|
+
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
519
518
|
a: number,
|
|
520
519
|
b: number,
|
|
520
|
+
c: number,
|
|
521
521
|
) => void;
|
|
522
|
-
export const
|
|
523
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
522
|
+
export const wasm_bindgen__closure__destroy__h0d4ec2bbb1b6536b: (a: number, b: number) => void;
|
|
524
523
|
export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
|
|
525
524
|
a: number,
|
|
526
525
|
b: number,
|
|
527
526
|
c: number,
|
|
528
527
|
d: number,
|
|
529
528
|
) => void;
|
|
530
|
-
export const
|
|
529
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
530
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
531
531
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
532
532
|
a: number,
|
|
533
533
|
b: number,
|