@bitwarden/commercial-sdk-internal 0.2.0-main.395 → 0.2.0-main.397
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_bg.js +72 -72
- 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.js +70 -70
- 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
|
@@ -858,22 +858,22 @@ exports.isEncryptFileError = function (error) {
|
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
|
|
861
|
-
function
|
|
862
|
-
wasm.
|
|
861
|
+
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
862
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
function wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(arg0, arg1, arg2) {
|
|
866
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(
|
|
863
867
|
arg0,
|
|
864
868
|
arg1,
|
|
865
869
|
addHeapObject(arg2),
|
|
866
870
|
);
|
|
867
871
|
}
|
|
868
872
|
|
|
869
|
-
function
|
|
870
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
function wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b(arg0, arg1, arg2) {
|
|
873
|
+
function wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06(arg0, arg1, arg2) {
|
|
874
874
|
try {
|
|
875
875
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
876
|
-
wasm.
|
|
876
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06(
|
|
877
877
|
retptr,
|
|
878
878
|
arg0,
|
|
879
879
|
arg1,
|
|
@@ -4549,7 +4549,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4549
4549
|
}, arguments);
|
|
4550
4550
|
};
|
|
4551
4551
|
|
|
4552
|
-
exports.
|
|
4552
|
+
exports.__wbg_cipher_0196bd196ae59e2c = function (arg0) {
|
|
4553
4553
|
const ret = getObject(arg0).cipher;
|
|
4554
4554
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4555
4555
|
};
|
|
@@ -4642,7 +4642,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4642
4642
|
return addHeapObject(ret);
|
|
4643
4643
|
};
|
|
4644
4644
|
|
|
4645
|
-
exports.
|
|
4645
|
+
exports.__wbg_folder_7ad956677c62f008 = function (arg0) {
|
|
4646
4646
|
const ret = getObject(arg0).folder;
|
|
4647
4647
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4648
4648
|
};
|
|
@@ -4669,7 +4669,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4669
4669
|
return ret;
|
|
4670
4670
|
};
|
|
4671
4671
|
|
|
4672
|
-
exports.
|
|
4672
|
+
exports.__wbg_get_7775c3e3ae3bcefd = function () {
|
|
4673
4673
|
return handleError(function (arg0, arg1, arg2) {
|
|
4674
4674
|
let deferred0_0;
|
|
4675
4675
|
let deferred0_1;
|
|
@@ -4689,7 +4689,19 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
|
4689
4689
|
return addHeapObject(ret);
|
|
4690
4690
|
};
|
|
4691
4691
|
|
|
4692
|
-
exports.
|
|
4692
|
+
exports.__wbg_get_access_token_1de03e544708805a = function (arg0) {
|
|
4693
|
+
const ret = getObject(arg0).get_access_token();
|
|
4694
|
+
return addHeapObject(ret);
|
|
4695
|
+
};
|
|
4696
|
+
|
|
4697
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4698
|
+
return handleError(function (arg0, arg1) {
|
|
4699
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4700
|
+
return addHeapObject(ret);
|
|
4701
|
+
}, arguments);
|
|
4702
|
+
};
|
|
4703
|
+
|
|
4704
|
+
exports.__wbg_get_f836288e48750d27 = function () {
|
|
4693
4705
|
return handleError(function (arg0, arg1, arg2) {
|
|
4694
4706
|
let deferred0_0;
|
|
4695
4707
|
let deferred0_1;
|
|
@@ -4704,18 +4716,6 @@ exports.__wbg_get_8e79bf8b6bd9390e = function () {
|
|
|
4704
4716
|
}, arguments);
|
|
4705
4717
|
};
|
|
4706
4718
|
|
|
4707
|
-
exports.__wbg_get_access_token_ea0e045156900f0d = function (arg0) {
|
|
4708
|
-
const ret = getObject(arg0).get_access_token();
|
|
4709
|
-
return addHeapObject(ret);
|
|
4710
|
-
};
|
|
4711
|
-
|
|
4712
|
-
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4713
|
-
return handleError(function (arg0, arg1) {
|
|
4714
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4715
|
-
return addHeapObject(ret);
|
|
4716
|
-
}, arguments);
|
|
4717
|
-
};
|
|
4718
|
-
|
|
4719
4719
|
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4720
4720
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4721
4721
|
return addHeapObject(ret);
|
|
@@ -4900,14 +4900,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
4900
4900
|
return ret;
|
|
4901
4901
|
};
|
|
4902
4902
|
|
|
4903
|
-
exports.
|
|
4903
|
+
exports.__wbg_list_a25d56a0eba748af = function () {
|
|
4904
4904
|
return handleError(function (arg0) {
|
|
4905
4905
|
const ret = getObject(arg0).list();
|
|
4906
4906
|
return addHeapObject(ret);
|
|
4907
4907
|
}, arguments);
|
|
4908
4908
|
};
|
|
4909
4909
|
|
|
4910
|
-
exports.
|
|
4910
|
+
exports.__wbg_list_a618bae756003515 = function () {
|
|
4911
4911
|
return handleError(function (arg0) {
|
|
4912
4912
|
const ret = getObject(arg0).list();
|
|
4913
4913
|
return addHeapObject(ret);
|
|
@@ -5151,7 +5151,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5151
5151
|
}, arguments);
|
|
5152
5152
|
};
|
|
5153
5153
|
|
|
5154
|
-
exports.
|
|
5154
|
+
exports.__wbg_remove_6e0b8907d2143b2a = function () {
|
|
5155
5155
|
return handleError(function (arg0, arg1, arg2) {
|
|
5156
5156
|
let deferred0_0;
|
|
5157
5157
|
let deferred0_1;
|
|
@@ -5166,7 +5166,7 @@ exports.__wbg_remove_2757c99997349f4f = function () {
|
|
|
5166
5166
|
}, arguments);
|
|
5167
5167
|
};
|
|
5168
5168
|
|
|
5169
|
-
exports.
|
|
5169
|
+
exports.__wbg_remove_a3355f80824bccaa = function () {
|
|
5170
5170
|
return handleError(function (arg0, arg1, arg2) {
|
|
5171
5171
|
let deferred0_0;
|
|
5172
5172
|
let deferred0_1;
|
|
@@ -5216,7 +5216,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
5216
5216
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5217
5217
|
};
|
|
5218
5218
|
|
|
5219
|
-
exports.
|
|
5219
|
+
exports.__wbg_set_4f10240cec7c0329 = function () {
|
|
5220
5220
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5221
5221
|
let deferred0_0;
|
|
5222
5222
|
let deferred0_1;
|
|
@@ -5231,12 +5231,7 @@ exports.__wbg_set_8574bc378894487e = function () {
|
|
|
5231
5231
|
}, arguments);
|
|
5232
5232
|
};
|
|
5233
5233
|
|
|
5234
|
-
exports.
|
|
5235
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5236
|
-
return addHeapObject(ret);
|
|
5237
|
-
};
|
|
5238
|
-
|
|
5239
|
-
exports.__wbg_set_a27e21e310ea67b0 = function () {
|
|
5234
|
+
exports.__wbg_set_8bf42eeed138232a = function () {
|
|
5240
5235
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5241
5236
|
let deferred0_0;
|
|
5242
5237
|
let deferred0_1;
|
|
@@ -5251,6 +5246,11 @@ exports.__wbg_set_a27e21e310ea67b0 = function () {
|
|
|
5251
5246
|
}, arguments);
|
|
5252
5247
|
};
|
|
5253
5248
|
|
|
5249
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5250
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5251
|
+
return addHeapObject(ret);
|
|
5252
|
+
};
|
|
5253
|
+
|
|
5254
5254
|
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5255
5255
|
getObject(arg0).body = getObject(arg1);
|
|
5256
5256
|
};
|
|
@@ -5434,19 +5434,30 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5434
5434
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5435
5435
|
};
|
|
5436
5436
|
|
|
5437
|
+
exports.__wbindgen_cast_1dc3b0d4f0abedd3 = function (arg0, arg1) {
|
|
5438
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5439
|
+
const ret = makeMutClosure(
|
|
5440
|
+
arg0,
|
|
5441
|
+
arg1,
|
|
5442
|
+
wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
|
|
5443
|
+
wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb,
|
|
5444
|
+
);
|
|
5445
|
+
return addHeapObject(ret);
|
|
5446
|
+
};
|
|
5447
|
+
|
|
5437
5448
|
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5438
5449
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5439
5450
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5440
5451
|
return addHeapObject(ret);
|
|
5441
5452
|
};
|
|
5442
5453
|
|
|
5443
|
-
exports.
|
|
5444
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5454
|
+
exports.__wbindgen_cast_4042b341512ce63a = function (arg0, arg1) {
|
|
5455
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5445
5456
|
const ret = makeMutClosure(
|
|
5446
5457
|
arg0,
|
|
5447
5458
|
arg1,
|
|
5448
|
-
wasm.
|
|
5449
|
-
|
|
5459
|
+
wasm.wasm_bindgen__closure__destroy__hd2baf0154e030ab9,
|
|
5460
|
+
wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb,
|
|
5450
5461
|
);
|
|
5451
5462
|
return addHeapObject(ret);
|
|
5452
5463
|
};
|
|
@@ -5465,6 +5476,17 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
|
5465
5476
|
return addHeapObject(ret);
|
|
5466
5477
|
};
|
|
5467
5478
|
|
|
5479
|
+
exports.__wbindgen_cast_6b441f2e42512d6e = function (arg0, arg1) {
|
|
5480
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5481
|
+
const ret = makeMutClosure(
|
|
5482
|
+
arg0,
|
|
5483
|
+
arg1,
|
|
5484
|
+
wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
|
|
5485
|
+
wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
|
|
5486
|
+
);
|
|
5487
|
+
return addHeapObject(ret);
|
|
5488
|
+
};
|
|
5489
|
+
|
|
5468
5490
|
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5469
5491
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5470
5492
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5479,53 +5501,31 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
|
5479
5501
|
return addHeapObject(ret);
|
|
5480
5502
|
};
|
|
5481
5503
|
|
|
5482
|
-
exports.
|
|
5483
|
-
// Cast intrinsic for `
|
|
5484
|
-
const ret =
|
|
5485
|
-
arg0,
|
|
5486
|
-
arg1,
|
|
5487
|
-
wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
|
|
5488
|
-
wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009,
|
|
5489
|
-
);
|
|
5490
|
-
return addHeapObject(ret);
|
|
5491
|
-
};
|
|
5492
|
-
|
|
5493
|
-
exports.__wbindgen_cast_c56a9a44151353f2 = function (arg0, arg1) {
|
|
5494
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5495
|
-
const ret = makeMutClosure(
|
|
5496
|
-
arg0,
|
|
5497
|
-
arg1,
|
|
5498
|
-
wasm.wasm_bindgen__closure__destroy__h23c4eb650ac78f8a,
|
|
5499
|
-
wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b,
|
|
5500
|
-
);
|
|
5504
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5505
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5506
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5501
5507
|
return addHeapObject(ret);
|
|
5502
5508
|
};
|
|
5503
5509
|
|
|
5504
|
-
exports.
|
|
5505
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5510
|
+
exports.__wbindgen_cast_d49c305f67640cb1 = function (arg0, arg1) {
|
|
5511
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5506
5512
|
const ret = makeMutClosure(
|
|
5507
5513
|
arg0,
|
|
5508
5514
|
arg1,
|
|
5509
|
-
wasm.
|
|
5510
|
-
|
|
5515
|
+
wasm.wasm_bindgen__closure__destroy__hd2baf0154e030ab9,
|
|
5516
|
+
wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06,
|
|
5511
5517
|
);
|
|
5512
5518
|
return addHeapObject(ret);
|
|
5513
5519
|
};
|
|
5514
5520
|
|
|
5515
|
-
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5516
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5517
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5518
|
-
return addHeapObject(ret);
|
|
5519
|
-
};
|
|
5520
|
-
|
|
5521
5521
|
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5522
5522
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5523
5523
|
const ret = arg0;
|
|
5524
5524
|
return addHeapObject(ret);
|
|
5525
5525
|
};
|
|
5526
5526
|
|
|
5527
|
-
exports.
|
|
5528
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5527
|
+
exports.__wbindgen_cast_d87bfd09ab1288e4 = function (arg0, arg1) {
|
|
5528
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5529
5529
|
const ret = makeMutClosure(
|
|
5530
5530
|
arg0,
|
|
5531
5531
|
arg1,
|
|
Binary file
|
|
@@ -435,19 +435,19 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
|
|
|
435
435
|
export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
436
436
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
437
437
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
438
|
-
export const wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009: (
|
|
439
|
-
a: number,
|
|
440
|
-
b: number,
|
|
441
|
-
c: number,
|
|
442
|
-
) => void;
|
|
443
|
-
export const wasm_bindgen__closure__destroy__h23c4eb650ac78f8a: (a: number, b: number) => void;
|
|
444
438
|
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
445
439
|
a: number,
|
|
446
440
|
b: number,
|
|
447
441
|
) => void;
|
|
448
442
|
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
449
443
|
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
450
|
-
export const
|
|
444
|
+
export const wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb: (
|
|
445
|
+
a: number,
|
|
446
|
+
b: number,
|
|
447
|
+
c: number,
|
|
448
|
+
) => void;
|
|
449
|
+
export const wasm_bindgen__closure__destroy__hd2baf0154e030ab9: (a: number, b: number) => void;
|
|
450
|
+
export const wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06: (
|
|
451
451
|
a: number,
|
|
452
452
|
b: number,
|
|
453
453
|
c: number,
|