@bitwarden/sdk-internal 0.2.0-main.406 → 0.2.0-main.408
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 -2
- package/bitwarden_wasm_internal_bg.js +43 -43
- 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 +2 -2
- package/node/bitwarden_wasm_internal.js +35 -35
- 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
|
@@ -286,8 +286,8 @@ export interface SendAccessTokenRequest {
|
|
|
286
286
|
*/
|
|
287
287
|
export type SendAccessCredentials =
|
|
288
288
|
| SendPasswordCredentials
|
|
289
|
-
|
|
|
290
|
-
|
|
|
289
|
+
| SendEmailOtpCredentials
|
|
290
|
+
| SendEmailCredentials;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* Credentials for getting a send access token using an email and OTP.
|
|
@@ -858,6 +858,10 @@ exports.isEncryptFileError = function (error) {
|
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
|
|
861
|
+
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
862
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
863
|
+
}
|
|
864
|
+
|
|
861
865
|
function wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(arg0, arg1, arg2) {
|
|
862
866
|
wasm.wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(
|
|
863
867
|
arg0,
|
|
@@ -885,10 +889,6 @@ function wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(arg0, arg
|
|
|
885
889
|
}
|
|
886
890
|
}
|
|
887
891
|
|
|
888
|
-
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
889
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
890
|
-
}
|
|
891
|
-
|
|
892
892
|
function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
|
|
893
893
|
wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
|
|
894
894
|
arg0,
|
|
@@ -4628,7 +4628,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4628
4628
|
}, arguments);
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
|
-
exports.
|
|
4631
|
+
exports.__wbg_cipher_f62bf70f044b3d45 = function (arg0) {
|
|
4632
4632
|
const ret = getObject(arg0).cipher;
|
|
4633
4633
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4634
4634
|
};
|
|
@@ -4721,7 +4721,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4721
4721
|
return addHeapObject(ret);
|
|
4722
4722
|
};
|
|
4723
4723
|
|
|
4724
|
-
exports.
|
|
4724
|
+
exports.__wbg_folder_b2647abe8ccaa979 = function (arg0) {
|
|
4725
4725
|
const ret = getObject(arg0).folder;
|
|
4726
4726
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4727
4727
|
};
|
|
@@ -4754,12 +4754,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4754
4754
|
return ret;
|
|
4755
4755
|
};
|
|
4756
4756
|
|
|
4757
|
-
exports.
|
|
4758
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4759
|
-
return addHeapObject(ret);
|
|
4760
|
-
};
|
|
4761
|
-
|
|
4762
|
-
exports.__wbg_get_7d311caa64abba59 = function () {
|
|
4757
|
+
exports.__wbg_get_4e3650385d7407c5 = function () {
|
|
4763
4758
|
return handleError(function (arg0, arg1, arg2) {
|
|
4764
4759
|
let deferred0_0;
|
|
4765
4760
|
let deferred0_1;
|
|
@@ -4774,19 +4769,7 @@ exports.__wbg_get_7d311caa64abba59 = function () {
|
|
|
4774
4769
|
}, arguments);
|
|
4775
4770
|
};
|
|
4776
4771
|
|
|
4777
|
-
exports.
|
|
4778
|
-
const ret = getObject(arg0).get_access_token();
|
|
4779
|
-
return addHeapObject(ret);
|
|
4780
|
-
};
|
|
4781
|
-
|
|
4782
|
-
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4783
|
-
return handleError(function (arg0, arg1) {
|
|
4784
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4785
|
-
return addHeapObject(ret);
|
|
4786
|
-
}, arguments);
|
|
4787
|
-
};
|
|
4788
|
-
|
|
4789
|
-
exports.__wbg_get_f8b3055a92ab3a2e = function () {
|
|
4772
|
+
exports.__wbg_get_5d348cd2322d9dcb = function () {
|
|
4790
4773
|
return handleError(function (arg0, arg1, arg2) {
|
|
4791
4774
|
let deferred0_0;
|
|
4792
4775
|
let deferred0_1;
|
|
@@ -4801,6 +4784,23 @@ exports.__wbg_get_f8b3055a92ab3a2e = function () {
|
|
|
4801
4784
|
}, arguments);
|
|
4802
4785
|
};
|
|
4803
4786
|
|
|
4787
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4788
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4789
|
+
return addHeapObject(ret);
|
|
4790
|
+
};
|
|
4791
|
+
|
|
4792
|
+
exports.__wbg_get_access_token_e1ae00959dff169c = function (arg0) {
|
|
4793
|
+
const ret = getObject(arg0).get_access_token();
|
|
4794
|
+
return addHeapObject(ret);
|
|
4795
|
+
};
|
|
4796
|
+
|
|
4797
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4798
|
+
return handleError(function (arg0, arg1) {
|
|
4799
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4800
|
+
return addHeapObject(ret);
|
|
4801
|
+
}, arguments);
|
|
4802
|
+
};
|
|
4803
|
+
|
|
4804
4804
|
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4805
4805
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4806
4806
|
return addHeapObject(ret);
|
|
@@ -4985,14 +4985,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
4985
4985
|
return ret;
|
|
4986
4986
|
};
|
|
4987
4987
|
|
|
4988
|
-
exports.
|
|
4988
|
+
exports.__wbg_list_aadb272449db21e8 = function () {
|
|
4989
4989
|
return handleError(function (arg0) {
|
|
4990
4990
|
const ret = getObject(arg0).list();
|
|
4991
4991
|
return addHeapObject(ret);
|
|
4992
4992
|
}, arguments);
|
|
4993
4993
|
};
|
|
4994
4994
|
|
|
4995
|
-
exports.
|
|
4995
|
+
exports.__wbg_list_e4838ffa85142db1 = function () {
|
|
4996
4996
|
return handleError(function (arg0) {
|
|
4997
4997
|
const ret = getObject(arg0).list();
|
|
4998
4998
|
return addHeapObject(ret);
|
|
@@ -5236,7 +5236,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5236
5236
|
}, arguments);
|
|
5237
5237
|
};
|
|
5238
5238
|
|
|
5239
|
-
exports.
|
|
5239
|
+
exports.__wbg_remove_1dda6b5d117a41ab = function () {
|
|
5240
5240
|
return handleError(function (arg0, arg1, arg2) {
|
|
5241
5241
|
let deferred0_0;
|
|
5242
5242
|
let deferred0_1;
|
|
@@ -5251,7 +5251,7 @@ exports.__wbg_remove_da5583193dd2745c = function () {
|
|
|
5251
5251
|
}, arguments);
|
|
5252
5252
|
};
|
|
5253
5253
|
|
|
5254
|
-
exports.
|
|
5254
|
+
exports.__wbg_remove_953de1641e4a5d83 = function () {
|
|
5255
5255
|
return handleError(function (arg0, arg1, arg2) {
|
|
5256
5256
|
let deferred0_0;
|
|
5257
5257
|
let deferred0_1;
|
|
@@ -5301,7 +5301,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
5301
5301
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5302
5302
|
};
|
|
5303
5303
|
|
|
5304
|
-
exports.
|
|
5304
|
+
exports.__wbg_set_8f4bd39d6e8b06c1 = function () {
|
|
5305
5305
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5306
5306
|
let deferred0_0;
|
|
5307
5307
|
let deferred0_1;
|
|
@@ -5336,11 +5336,7 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function () {
|
|
|
5336
5336
|
}, arguments);
|
|
5337
5337
|
};
|
|
5338
5338
|
|
|
5339
|
-
exports.
|
|
5340
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5341
|
-
};
|
|
5342
|
-
|
|
5343
|
-
exports.__wbg_set_f4c903235623f568 = function () {
|
|
5339
|
+
exports.__wbg_set_c9a17952625c1485 = function () {
|
|
5344
5340
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5345
5341
|
let deferred0_0;
|
|
5346
5342
|
let deferred0_1;
|
|
@@ -5355,6 +5351,10 @@ exports.__wbg_set_f4c903235623f568 = function () {
|
|
|
5355
5351
|
}, arguments);
|
|
5356
5352
|
};
|
|
5357
5353
|
|
|
5354
|
+
exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
5355
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5356
|
+
};
|
|
5357
|
+
|
|
5358
5358
|
exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
|
|
5359
5359
|
getObject(arg0).headers = getObject(arg1);
|
|
5360
5360
|
};
|
|
Binary file
|
|
@@ -449,24 +449,24 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
|
|
|
449
449
|
export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
450
450
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
451
451
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
452
|
+
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
453
|
+
a: number,
|
|
454
|
+
b: number,
|
|
455
|
+
) => void;
|
|
456
|
+
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
452
457
|
export const wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa: (
|
|
453
458
|
a: number,
|
|
454
459
|
b: number,
|
|
455
460
|
c: number,
|
|
456
461
|
) => void;
|
|
457
462
|
export const wasm_bindgen__closure__destroy__h09d4e676b918dc23: (a: number, b: number) => void;
|
|
463
|
+
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
458
464
|
export const wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf: (
|
|
459
465
|
a: number,
|
|
460
466
|
b: number,
|
|
461
467
|
c: number,
|
|
462
468
|
d: number,
|
|
463
469
|
) => void;
|
|
464
|
-
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
465
|
-
a: number,
|
|
466
|
-
b: number,
|
|
467
|
-
) => void;
|
|
468
|
-
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
469
|
-
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
470
470
|
export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
|
|
471
471
|
a: number,
|
|
472
472
|
b: number,
|