@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
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7e4b2cc698a0166046cf0550e8a3893d82db2987
|
|
@@ -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.
|
|
@@ -868,6 +868,18 @@ export function isEncryptFileError(error) {
|
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
+
function wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(arg0, arg1, arg2) {
|
|
872
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(
|
|
873
|
+
arg0,
|
|
874
|
+
arg1,
|
|
875
|
+
addHeapObject(arg2),
|
|
876
|
+
);
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
880
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
881
|
+
}
|
|
882
|
+
|
|
871
883
|
function wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(arg0, arg1, arg2) {
|
|
872
884
|
try {
|
|
873
885
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -887,18 +899,6 @@ function wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf(arg0, arg
|
|
|
887
899
|
}
|
|
888
900
|
}
|
|
889
901
|
|
|
890
|
-
function wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(arg0, arg1, arg2) {
|
|
891
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa(
|
|
892
|
-
arg0,
|
|
893
|
-
arg1,
|
|
894
|
-
addHeapObject(arg2),
|
|
895
|
-
);
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
899
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
900
|
-
}
|
|
901
|
-
|
|
902
902
|
function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
|
|
903
903
|
wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
|
|
904
904
|
arg0,
|
|
@@ -4588,7 +4588,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4588
4588
|
}, arguments);
|
|
4589
4589
|
}
|
|
4590
4590
|
|
|
4591
|
-
export function
|
|
4591
|
+
export function __wbg_cipher_f62bf70f044b3d45(arg0) {
|
|
4592
4592
|
const ret = getObject(arg0).cipher;
|
|
4593
4593
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4594
4594
|
}
|
|
@@ -4681,7 +4681,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4681
4681
|
return addHeapObject(ret);
|
|
4682
4682
|
}
|
|
4683
4683
|
|
|
4684
|
-
export function
|
|
4684
|
+
export function __wbg_folder_b2647abe8ccaa979(arg0) {
|
|
4685
4685
|
const ret = getObject(arg0).folder;
|
|
4686
4686
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4687
4687
|
}
|
|
@@ -4714,12 +4714,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4714
4714
|
return ret;
|
|
4715
4715
|
}
|
|
4716
4716
|
|
|
4717
|
-
export function
|
|
4718
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4719
|
-
return addHeapObject(ret);
|
|
4720
|
-
}
|
|
4721
|
-
|
|
4722
|
-
export function __wbg_get_7d311caa64abba59() {
|
|
4717
|
+
export function __wbg_get_4e3650385d7407c5() {
|
|
4723
4718
|
return handleError(function (arg0, arg1, arg2) {
|
|
4724
4719
|
let deferred0_0;
|
|
4725
4720
|
let deferred0_1;
|
|
@@ -4734,19 +4729,7 @@ export function __wbg_get_7d311caa64abba59() {
|
|
|
4734
4729
|
}, arguments);
|
|
4735
4730
|
}
|
|
4736
4731
|
|
|
4737
|
-
export function
|
|
4738
|
-
const ret = getObject(arg0).get_access_token();
|
|
4739
|
-
return addHeapObject(ret);
|
|
4740
|
-
}
|
|
4741
|
-
|
|
4742
|
-
export function __wbg_get_efcb449f58ec27c2() {
|
|
4743
|
-
return handleError(function (arg0, arg1) {
|
|
4744
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4745
|
-
return addHeapObject(ret);
|
|
4746
|
-
}, arguments);
|
|
4747
|
-
}
|
|
4748
|
-
|
|
4749
|
-
export function __wbg_get_f8b3055a92ab3a2e() {
|
|
4732
|
+
export function __wbg_get_5d348cd2322d9dcb() {
|
|
4750
4733
|
return handleError(function (arg0, arg1, arg2) {
|
|
4751
4734
|
let deferred0_0;
|
|
4752
4735
|
let deferred0_1;
|
|
@@ -4761,6 +4744,23 @@ export function __wbg_get_f8b3055a92ab3a2e() {
|
|
|
4761
4744
|
}, arguments);
|
|
4762
4745
|
}
|
|
4763
4746
|
|
|
4747
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4748
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4749
|
+
return addHeapObject(ret);
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
export function __wbg_get_access_token_e1ae00959dff169c(arg0) {
|
|
4753
|
+
const ret = getObject(arg0).get_access_token();
|
|
4754
|
+
return addHeapObject(ret);
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4757
|
+
export function __wbg_get_efcb449f58ec27c2() {
|
|
4758
|
+
return handleError(function (arg0, arg1) {
|
|
4759
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4760
|
+
return addHeapObject(ret);
|
|
4761
|
+
}, arguments);
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4764
4764
|
export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
|
|
4765
4765
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4766
4766
|
return addHeapObject(ret);
|
|
@@ -4945,14 +4945,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
4945
4945
|
return ret;
|
|
4946
4946
|
}
|
|
4947
4947
|
|
|
4948
|
-
export function
|
|
4948
|
+
export function __wbg_list_aadb272449db21e8() {
|
|
4949
4949
|
return handleError(function (arg0) {
|
|
4950
4950
|
const ret = getObject(arg0).list();
|
|
4951
4951
|
return addHeapObject(ret);
|
|
4952
4952
|
}, arguments);
|
|
4953
4953
|
}
|
|
4954
4954
|
|
|
4955
|
-
export function
|
|
4955
|
+
export function __wbg_list_e4838ffa85142db1() {
|
|
4956
4956
|
return handleError(function (arg0) {
|
|
4957
4957
|
const ret = getObject(arg0).list();
|
|
4958
4958
|
return addHeapObject(ret);
|
|
@@ -5196,7 +5196,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5196
5196
|
}, arguments);
|
|
5197
5197
|
}
|
|
5198
5198
|
|
|
5199
|
-
export function
|
|
5199
|
+
export function __wbg_remove_1dda6b5d117a41ab() {
|
|
5200
5200
|
return handleError(function (arg0, arg1, arg2) {
|
|
5201
5201
|
let deferred0_0;
|
|
5202
5202
|
let deferred0_1;
|
|
@@ -5211,7 +5211,7 @@ export function __wbg_remove_da5583193dd2745c() {
|
|
|
5211
5211
|
}, arguments);
|
|
5212
5212
|
}
|
|
5213
5213
|
|
|
5214
|
-
export function
|
|
5214
|
+
export function __wbg_remove_953de1641e4a5d83() {
|
|
5215
5215
|
return handleError(function (arg0, arg1, arg2) {
|
|
5216
5216
|
let deferred0_0;
|
|
5217
5217
|
let deferred0_1;
|
|
@@ -5261,7 +5261,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5261
5261
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5262
5262
|
}
|
|
5263
5263
|
|
|
5264
|
-
export function
|
|
5264
|
+
export function __wbg_set_8f4bd39d6e8b06c1() {
|
|
5265
5265
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5266
5266
|
let deferred0_0;
|
|
5267
5267
|
let deferred0_1;
|
|
@@ -5296,11 +5296,7 @@ export function __wbg_set_c2abbebe8b9ebee1() {
|
|
|
5296
5296
|
}, arguments);
|
|
5297
5297
|
}
|
|
5298
5298
|
|
|
5299
|
-
export function
|
|
5300
|
-
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5301
|
-
}
|
|
5302
|
-
|
|
5303
|
-
export function __wbg_set_f4c903235623f568() {
|
|
5299
|
+
export function __wbg_set_c9a17952625c1485() {
|
|
5304
5300
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5305
5301
|
let deferred0_0;
|
|
5306
5302
|
let deferred0_1;
|
|
@@ -5315,6 +5311,10 @@ export function __wbg_set_f4c903235623f568() {
|
|
|
5315
5311
|
}, arguments);
|
|
5316
5312
|
}
|
|
5317
5313
|
|
|
5314
|
+
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5315
|
+
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
5318
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5319
5319
|
getObject(arg0).headers = getObject(arg1);
|
|
5320
5320
|
}
|
|
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
|
|
452
|
+
export const wasm_bindgen__convert__closures_____invoke__h5c75b123e343f7aa: (
|
|
453
453
|
a: number,
|
|
454
454
|
b: number,
|
|
455
455
|
c: number,
|
|
456
|
-
d: number,
|
|
457
456
|
) => void;
|
|
457
|
+
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
458
458
|
export const wasm_bindgen__closure__destroy__h09d4e676b918dc23: (a: number, b: number) => void;
|
|
459
|
-
export const
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
460
460
|
a: number,
|
|
461
461
|
b: number,
|
|
462
|
-
c: number,
|
|
463
462
|
) => void;
|
|
464
|
-
export const
|
|
463
|
+
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
464
|
+
export const wasm_bindgen__convert__closures_____invoke__hb20fdca52a2a2cdf: (
|
|
465
465
|
a: number,
|
|
466
466
|
b: number,
|
|
467
|
+
c: number,
|
|
468
|
+
d: number,
|
|
467
469
|
) => void;
|
|
468
|
-
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
469
|
-
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
470
470
|
export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
|
|
471
471
|
a: number,
|
|
472
472
|
b: number,
|