@bitwarden/sdk-internal 0.2.0-main.523 → 0.2.0-main.524
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 +5 -5
- package/bitwarden_wasm_internal_bg.js +57 -57
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +5 -5
- package/node/bitwarden_wasm_internal.js +53 -53
- 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
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f5a5433e6e9fb750d5d9f9f7486be75a55ad577f
|
|
@@ -180,11 +180,6 @@ export interface TokenProvider {
|
|
|
180
180
|
get_access_token(): Promise<string | undefined>;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export interface Repositories {
|
|
184
|
-
cipher: Repository<Cipher> | null;
|
|
185
|
-
folder: Repository<Folder> | null;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
183
|
/**
|
|
189
184
|
* Active feature flags for the SDK.
|
|
190
185
|
*/
|
|
@@ -194,6 +189,11 @@ export interface IndexedDbConfiguration {
|
|
|
194
189
|
db_name: string;
|
|
195
190
|
}
|
|
196
191
|
|
|
192
|
+
export interface Repositories {
|
|
193
|
+
cipher: Repository<Cipher> | null;
|
|
194
|
+
folder: Repository<Folder> | null;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
197
|
/**
|
|
198
198
|
* A request structure for requesting a send access token from the API.
|
|
199
199
|
*/
|
|
@@ -1012,18 +1012,14 @@ export function isGetFolderError(error) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
function
|
|
1016
|
-
wasm.
|
|
1015
|
+
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1016
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
function
|
|
1020
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
function wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746(arg0, arg1, arg2) {
|
|
1019
|
+
function wasm_bindgen__convert__closures_____invoke__hcf61203bdba0e0f4(arg0, arg1, arg2) {
|
|
1024
1020
|
try {
|
|
1025
1021
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1026
|
-
wasm.
|
|
1022
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcf61203bdba0e0f4(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1027
1023
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1028
1024
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1029
1025
|
if (r1) {
|
|
@@ -1034,6 +1030,10 @@ function wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746(arg0, arg
|
|
|
1034
1030
|
}
|
|
1035
1031
|
}
|
|
1036
1032
|
|
|
1033
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1034
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
1037
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1038
1038
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1039
1039
|
}
|
|
@@ -4886,7 +4886,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4886
4886
|
return addHeapObject(ret);
|
|
4887
4887
|
}, arguments) };
|
|
4888
4888
|
|
|
4889
|
-
export function
|
|
4889
|
+
export function __wbg_cipher_ff9e132fd98c62f5(arg0) {
|
|
4890
4890
|
const ret = getObject(arg0).cipher;
|
|
4891
4891
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4892
4892
|
};
|
|
@@ -4973,7 +4973,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4973
4973
|
return addHeapObject(ret);
|
|
4974
4974
|
};
|
|
4975
4975
|
|
|
4976
|
-
export function
|
|
4976
|
+
export function __wbg_folder_4ce510559d1b0f02(arg0) {
|
|
4977
4977
|
const ret = getObject(arg0).folder;
|
|
4978
4978
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4979
4979
|
};
|
|
@@ -5005,7 +5005,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
5005
5005
|
return ret;
|
|
5006
5006
|
};
|
|
5007
5007
|
|
|
5008
|
-
export function
|
|
5008
|
+
export function __wbg_get_6122fc01bfa28474() { return handleError(function (arg0, arg1, arg2) {
|
|
5009
5009
|
let deferred0_0;
|
|
5010
5010
|
let deferred0_1;
|
|
5011
5011
|
try {
|
|
@@ -5018,7 +5018,17 @@ export function __wbg_get_33ed8a53bee3f99a() { return handleError(function (arg0
|
|
|
5018
5018
|
}
|
|
5019
5019
|
}, arguments) };
|
|
5020
5020
|
|
|
5021
|
-
export function
|
|
5021
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
5022
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
5023
|
+
return addHeapObject(ret);
|
|
5024
|
+
};
|
|
5025
|
+
|
|
5026
|
+
export function __wbg_get_access_token_99179cfa2a874ff0(arg0) {
|
|
5027
|
+
const ret = getObject(arg0).get_access_token();
|
|
5028
|
+
return addHeapObject(ret);
|
|
5029
|
+
};
|
|
5030
|
+
|
|
5031
|
+
export function __wbg_get_aef941e5a3956502() { return handleError(function (arg0, arg1, arg2) {
|
|
5022
5032
|
let deferred0_0;
|
|
5023
5033
|
let deferred0_1;
|
|
5024
5034
|
try {
|
|
@@ -5031,16 +5041,6 @@ export function __wbg_get_42ffd8821b63fce5() { return handleError(function (arg0
|
|
|
5031
5041
|
}
|
|
5032
5042
|
}, arguments) };
|
|
5033
5043
|
|
|
5034
|
-
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
5035
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
5036
|
-
return addHeapObject(ret);
|
|
5037
|
-
};
|
|
5038
|
-
|
|
5039
|
-
export function __wbg_get_access_token_4931c53dd80f15f1(arg0) {
|
|
5040
|
-
const ret = getObject(arg0).get_access_token();
|
|
5041
|
-
return addHeapObject(ret);
|
|
5042
|
-
};
|
|
5043
|
-
|
|
5044
5044
|
export function __wbg_get_c03a59ff46a549dd() { return handleError(function (arg0, arg1, arg2) {
|
|
5045
5045
|
let deferred0_0;
|
|
5046
5046
|
let deferred0_1;
|
|
@@ -5242,12 +5242,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5242
5242
|
return ret;
|
|
5243
5243
|
};
|
|
5244
5244
|
|
|
5245
|
-
export function
|
|
5245
|
+
export function __wbg_list_cec120f78e4b19e2() { return handleError(function (arg0) {
|
|
5246
5246
|
const ret = getObject(arg0).list();
|
|
5247
5247
|
return addHeapObject(ret);
|
|
5248
5248
|
}, arguments) };
|
|
5249
5249
|
|
|
5250
|
-
export function
|
|
5250
|
+
export function __wbg_list_d75d0e6cf56f282d() { return handleError(function (arg0) {
|
|
5251
5251
|
const ret = getObject(arg0).list();
|
|
5252
5252
|
return addHeapObject(ret);
|
|
5253
5253
|
}, arguments) };
|
|
@@ -5448,7 +5448,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5448
5448
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5449
5449
|
}, arguments) };
|
|
5450
5450
|
|
|
5451
|
-
export function
|
|
5451
|
+
export function __wbg_remove_3f9c3497c164068a() { return handleError(function (arg0, arg1, arg2) {
|
|
5452
5452
|
let deferred0_0;
|
|
5453
5453
|
let deferred0_1;
|
|
5454
5454
|
try {
|
|
@@ -5461,7 +5461,7 @@ export function __wbg_remove_a982db8fa89beb94() { return handleError(function (a
|
|
|
5461
5461
|
}
|
|
5462
5462
|
}, arguments) };
|
|
5463
5463
|
|
|
5464
|
-
export function
|
|
5464
|
+
export function __wbg_remove_e7d7e8fbe1d65ce2() { return handleError(function (arg0, arg1, arg2) {
|
|
5465
5465
|
let deferred0_0;
|
|
5466
5466
|
let deferred0_1;
|
|
5467
5467
|
try {
|
|
@@ -5499,7 +5499,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5499
5499
|
return addHeapObject(ret);
|
|
5500
5500
|
};
|
|
5501
5501
|
|
|
5502
|
-
export function
|
|
5502
|
+
export function __wbg_set_0c52fc95b4de4b2d() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5503
5503
|
let deferred0_0;
|
|
5504
5504
|
let deferred0_1;
|
|
5505
5505
|
try {
|
|
@@ -5516,7 +5516,12 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5516
5516
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5517
5517
|
};
|
|
5518
5518
|
|
|
5519
|
-
export function
|
|
5519
|
+
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5520
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5521
|
+
return addHeapObject(ret);
|
|
5522
|
+
};
|
|
5523
|
+
|
|
5524
|
+
export function __wbg_set_9d1a4c50052938f4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5520
5525
|
let deferred0_0;
|
|
5521
5526
|
let deferred0_1;
|
|
5522
5527
|
try {
|
|
@@ -5529,11 +5534,6 @@ export function __wbg_set_7dc1aaa2e7fa9024() { return handleError(function (arg0
|
|
|
5529
5534
|
}
|
|
5530
5535
|
}, arguments) };
|
|
5531
5536
|
|
|
5532
|
-
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5533
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5534
|
-
return addHeapObject(ret);
|
|
5535
|
-
};
|
|
5536
|
-
|
|
5537
5537
|
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5538
5538
|
getObject(arg0).body = getObject(arg1);
|
|
5539
5539
|
};
|
|
@@ -5711,27 +5711,33 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5711
5711
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5712
5712
|
};
|
|
5713
5713
|
|
|
5714
|
-
export function __wbindgen_cast_0f3a80f9c6c81c16(arg0, arg1) {
|
|
5715
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5716
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3238f077fb5ae8c5, wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130);
|
|
5717
|
-
return addHeapObject(ret);
|
|
5718
|
-
};
|
|
5719
|
-
|
|
5720
5714
|
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5721
5715
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5722
5716
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5723
5717
|
return addHeapObject(ret);
|
|
5724
5718
|
};
|
|
5725
5719
|
|
|
5726
|
-
export function
|
|
5727
|
-
// Cast intrinsic for `
|
|
5728
|
-
const ret =
|
|
5720
|
+
export function __wbindgen_cast_298dd3322eda9063(arg0, arg1) {
|
|
5721
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5722
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5723
|
+
return addHeapObject(ret);
|
|
5724
|
+
};
|
|
5725
|
+
|
|
5726
|
+
export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
5727
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5728
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6008707e16612dc8, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5729
5729
|
return addHeapObject(ret);
|
|
5730
5730
|
};
|
|
5731
5731
|
|
|
5732
|
-
export function
|
|
5733
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5734
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5732
|
+
export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
5733
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5734
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6008707e16612dc8, wasm_bindgen__convert__closures_____invoke__hcf61203bdba0e0f4);
|
|
5735
|
+
return addHeapObject(ret);
|
|
5736
|
+
};
|
|
5737
|
+
|
|
5738
|
+
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
5739
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
5740
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
5735
5741
|
return addHeapObject(ret);
|
|
5736
5742
|
};
|
|
5737
5743
|
|
|
@@ -5769,21 +5775,15 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
5769
5775
|
return addHeapObject(ret);
|
|
5770
5776
|
};
|
|
5771
5777
|
|
|
5772
|
-
export function
|
|
5773
|
-
// Cast intrinsic for `
|
|
5774
|
-
const ret = arg0;
|
|
5775
|
-
return addHeapObject(ret);
|
|
5776
|
-
};
|
|
5777
|
-
|
|
5778
|
-
export function __wbindgen_cast_e1085c040d7c5239(arg0, arg1) {
|
|
5779
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 339, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5780
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130);
|
|
5778
|
+
export function __wbindgen_cast_cc64d9c4c77c46f7(arg0, arg1) {
|
|
5779
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 339, function: Function { arguments: [NamedExternref("Event")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5780
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5781
5781
|
return addHeapObject(ret);
|
|
5782
5782
|
};
|
|
5783
5783
|
|
|
5784
|
-
export function
|
|
5785
|
-
// Cast intrinsic for `
|
|
5786
|
-
const ret =
|
|
5784
|
+
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
5785
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5786
|
+
const ret = arg0;
|
|
5787
5787
|
return addHeapObject(ret);
|
|
5788
5788
|
};
|
|
5789
5789
|
|
|
Binary file
|
|
@@ -527,25 +527,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
527
527
|
export const vaultclient_attachments: (a: number) => number;
|
|
528
528
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
529
529
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
530
|
-
export const
|
|
530
|
+
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
531
531
|
a: number,
|
|
532
532
|
b: number,
|
|
533
533
|
c: number,
|
|
534
534
|
) => void;
|
|
535
|
-
export const wasm_bindgen__closure__destroy__h3238f077fb5ae8c5: (a: number, b: number) => void;
|
|
536
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
537
|
-
a: number,
|
|
538
|
-
b: number,
|
|
539
|
-
) => void;
|
|
540
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
541
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
542
535
|
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
543
|
-
export const
|
|
536
|
+
export const wasm_bindgen__convert__closures_____invoke__hcf61203bdba0e0f4: (
|
|
544
537
|
a: number,
|
|
545
538
|
b: number,
|
|
546
539
|
c: number,
|
|
547
540
|
d: number,
|
|
548
541
|
) => void;
|
|
542
|
+
export const wasm_bindgen__closure__destroy__h6008707e16612dc8: (a: number, b: number) => void;
|
|
543
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
544
|
+
a: number,
|
|
545
|
+
b: number,
|
|
546
|
+
) => void;
|
|
547
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
548
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
549
549
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
550
550
|
a: number,
|
|
551
551
|
b: number,
|