@bitwarden/commercial-sdk-internal 0.2.0-main.395 → 0.2.0-main.396
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 +68 -68
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +5 -5
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.js +68 -68
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +4 -4
- package/package.json +1 -1
|
@@ -858,8 +858,8 @@ exports.isEncryptFileError = function (error) {
|
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
|
|
861
|
-
function
|
|
862
|
-
wasm.
|
|
861
|
+
function wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(arg0, arg1, arg2) {
|
|
862
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(
|
|
863
863
|
arg0,
|
|
864
864
|
arg1,
|
|
865
865
|
addHeapObject(arg2),
|
|
@@ -870,10 +870,10 @@ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg
|
|
|
870
870
|
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
function
|
|
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_063587a007184a5b = 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_95171ac6b8c27a8c = 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_1838d0ffbb0df13f = 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_67b9a6854891236e = 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_f97d1609fe1ef27f = 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_61f135d00ba1fd36 = 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_a02566fdc340b1ad = 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_3594f15e8fca4743 = 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_9c4c3e3b67e6b3a1 = function () {
|
|
5170
5170
|
return handleError(function (arg0, arg1, arg2) {
|
|
5171
5171
|
let deferred0_0;
|
|
5172
5172
|
let deferred0_1;
|
|
@@ -5212,11 +5212,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5212
5212
|
return addHeapObject(ret);
|
|
5213
5213
|
};
|
|
5214
5214
|
|
|
5215
|
-
exports.
|
|
5216
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5217
|
-
};
|
|
5218
|
-
|
|
5219
|
-
exports.__wbg_set_8574bc378894487e = function () {
|
|
5215
|
+
exports.__wbg_set_0159738cb1dd7a1d = function () {
|
|
5220
5216
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5221
5217
|
let deferred0_0;
|
|
5222
5218
|
let deferred0_1;
|
|
@@ -5231,12 +5227,11 @@ exports.__wbg_set_8574bc378894487e = function () {
|
|
|
5231
5227
|
}, arguments);
|
|
5232
5228
|
};
|
|
5233
5229
|
|
|
5234
|
-
exports.
|
|
5235
|
-
|
|
5236
|
-
return addHeapObject(ret);
|
|
5230
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5231
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5237
5232
|
};
|
|
5238
5233
|
|
|
5239
|
-
exports.
|
|
5234
|
+
exports.__wbg_set_834a40164c1f126c = 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
|
|
438
|
+
export const wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb: (
|
|
439
439
|
a: number,
|
|
440
440
|
b: number,
|
|
441
441
|
c: number,
|
|
442
442
|
) => void;
|
|
443
|
-
export const
|
|
443
|
+
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
444
|
+
export const wasm_bindgen__closure__destroy__hd2baf0154e030ab9: (a: number, b: number) => void;
|
|
444
445
|
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
445
446
|
a: number,
|
|
446
447
|
b: number,
|
|
447
448
|
) => void;
|
|
448
449
|
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
449
|
-
export const
|
|
450
|
-
export const wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b: (
|
|
450
|
+
export const wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06: (
|
|
451
451
|
a: number,
|
|
452
452
|
b: number,
|
|
453
453
|
c: number,
|