@bitwarden/commercial-sdk-internal 0.2.0-main.403 → 0.2.0-main.404
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 +73 -67
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.js +69 -63
- 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
|
@@ -862,18 +862,18 @@ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg
|
|
|
862
862
|
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
863
863
|
}
|
|
864
864
|
|
|
865
|
-
function
|
|
866
|
-
wasm.
|
|
865
|
+
function wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(arg0, arg1, arg2) {
|
|
866
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(
|
|
867
867
|
arg0,
|
|
868
868
|
arg1,
|
|
869
869
|
addHeapObject(arg2),
|
|
870
870
|
);
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
function
|
|
873
|
+
function wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe(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__h35a8188fc7e541fe(
|
|
877
877
|
retptr,
|
|
878
878
|
arg0,
|
|
879
879
|
arg1,
|
|
@@ -4666,7 +4666,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4666
4666
|
}, arguments);
|
|
4667
4667
|
};
|
|
4668
4668
|
|
|
4669
|
-
exports.
|
|
4669
|
+
exports.__wbg_cipher_a69755738b4a95e4 = function (arg0) {
|
|
4670
4670
|
const ret = getObject(arg0).cipher;
|
|
4671
4671
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4672
4672
|
};
|
|
@@ -4759,7 +4759,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4759
4759
|
return addHeapObject(ret);
|
|
4760
4760
|
};
|
|
4761
4761
|
|
|
4762
|
-
exports.
|
|
4762
|
+
exports.__wbg_folder_6ddccfa2359908cd = function (arg0) {
|
|
4763
4763
|
const ret = getObject(arg0).folder;
|
|
4764
4764
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4765
4765
|
};
|
|
@@ -4775,6 +4775,12 @@ exports.__wbg_getRandomValues_38097e921c2494c3 = function () {
|
|
|
4775
4775
|
}, arguments);
|
|
4776
4776
|
};
|
|
4777
4777
|
|
|
4778
|
+
exports.__wbg_getRandomValues_3c9c0d586e575a16 = function () {
|
|
4779
|
+
return handleError(function (arg0, arg1) {
|
|
4780
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4781
|
+
}, arguments);
|
|
4782
|
+
};
|
|
4783
|
+
|
|
4778
4784
|
exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function () {
|
|
4779
4785
|
return handleError(function (arg0, arg1) {
|
|
4780
4786
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
@@ -4786,7 +4792,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4786
4792
|
return ret;
|
|
4787
4793
|
};
|
|
4788
4794
|
|
|
4789
|
-
exports.
|
|
4795
|
+
exports.__wbg_get_63fc1a87cfa05664 = function () {
|
|
4790
4796
|
return handleError(function (arg0, arg1, arg2) {
|
|
4791
4797
|
let deferred0_0;
|
|
4792
4798
|
let deferred0_1;
|
|
@@ -4806,7 +4812,7 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
|
4806
4812
|
return addHeapObject(ret);
|
|
4807
4813
|
};
|
|
4808
4814
|
|
|
4809
|
-
exports.
|
|
4815
|
+
exports.__wbg_get_7f59e4189b579885 = function () {
|
|
4810
4816
|
return handleError(function (arg0, arg1, arg2) {
|
|
4811
4817
|
let deferred0_0;
|
|
4812
4818
|
let deferred0_1;
|
|
@@ -4821,7 +4827,7 @@ exports.__wbg_get_ab3c82eecdf4bc91 = function () {
|
|
|
4821
4827
|
}, arguments);
|
|
4822
4828
|
};
|
|
4823
4829
|
|
|
4824
|
-
exports.
|
|
4830
|
+
exports.__wbg_get_access_token_5d1676f62fd8cd77 = function (arg0) {
|
|
4825
4831
|
const ret = getObject(arg0).get_access_token();
|
|
4826
4832
|
return addHeapObject(ret);
|
|
4827
4833
|
};
|
|
@@ -5017,14 +5023,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
5017
5023
|
return ret;
|
|
5018
5024
|
};
|
|
5019
5025
|
|
|
5020
|
-
exports.
|
|
5026
|
+
exports.__wbg_list_2aa62e3f6d399917 = function () {
|
|
5021
5027
|
return handleError(function (arg0) {
|
|
5022
5028
|
const ret = getObject(arg0).list();
|
|
5023
5029
|
return addHeapObject(ret);
|
|
5024
5030
|
}, arguments);
|
|
5025
5031
|
};
|
|
5026
5032
|
|
|
5027
|
-
exports.
|
|
5033
|
+
exports.__wbg_list_3b311a5af885ff76 = function () {
|
|
5028
5034
|
return handleError(function (arg0) {
|
|
5029
5035
|
const ret = getObject(arg0).list();
|
|
5030
5036
|
return addHeapObject(ret);
|
|
@@ -5268,7 +5274,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5268
5274
|
}, arguments);
|
|
5269
5275
|
};
|
|
5270
5276
|
|
|
5271
|
-
exports.
|
|
5277
|
+
exports.__wbg_remove_47756c4838416808 = function () {
|
|
5272
5278
|
return handleError(function (arg0, arg1, arg2) {
|
|
5273
5279
|
let deferred0_0;
|
|
5274
5280
|
let deferred0_1;
|
|
@@ -5283,7 +5289,7 @@ exports.__wbg_remove_2d6d9bd3eaac392b = function () {
|
|
|
5283
5289
|
}, arguments);
|
|
5284
5290
|
};
|
|
5285
5291
|
|
|
5286
|
-
exports.
|
|
5292
|
+
exports.__wbg_remove_e8858f2fbc02dbd1 = function () {
|
|
5287
5293
|
return handleError(function (arg0, arg1, arg2) {
|
|
5288
5294
|
let deferred0_0;
|
|
5289
5295
|
let deferred0_1;
|
|
@@ -5329,11 +5335,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5329
5335
|
return addHeapObject(ret);
|
|
5330
5336
|
};
|
|
5331
5337
|
|
|
5332
|
-
exports.
|
|
5333
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5334
|
-
};
|
|
5335
|
-
|
|
5336
|
-
exports.__wbg_set_5235cc0f26ed539b = function () {
|
|
5338
|
+
exports.__wbg_set_268d54f279c675e3 = function () {
|
|
5337
5339
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5338
5340
|
let deferred0_0;
|
|
5339
5341
|
let deferred0_1;
|
|
@@ -5348,7 +5350,11 @@ exports.__wbg_set_5235cc0f26ed539b = function () {
|
|
|
5348
5350
|
}, arguments);
|
|
5349
5351
|
};
|
|
5350
5352
|
|
|
5351
|
-
exports.
|
|
5353
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5354
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5355
|
+
};
|
|
5356
|
+
|
|
5357
|
+
exports.__wbg_set_6e08863f9db5b0dc = function () {
|
|
5352
5358
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5353
5359
|
let deferred0_0;
|
|
5354
5360
|
let deferred0_1;
|
|
@@ -5551,39 +5557,31 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5551
5557
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5552
5558
|
};
|
|
5553
5559
|
|
|
5554
|
-
exports.
|
|
5555
|
-
// Cast intrinsic for `
|
|
5560
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5561
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5562
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5563
|
+
return addHeapObject(ret);
|
|
5564
|
+
};
|
|
5565
|
+
|
|
5566
|
+
exports.__wbindgen_cast_4042b341512ce63a = function (arg0, arg1) {
|
|
5567
|
+
// 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`.
|
|
5556
5568
|
const ret = makeMutClosure(
|
|
5557
5569
|
arg0,
|
|
5558
5570
|
arg1,
|
|
5559
|
-
wasm.
|
|
5560
|
-
|
|
5571
|
+
wasm.wasm_bindgen__closure__destroy__hba496874d56e8206,
|
|
5572
|
+
wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff,
|
|
5561
5573
|
);
|
|
5562
5574
|
return addHeapObject(ret);
|
|
5563
5575
|
};
|
|
5564
5576
|
|
|
5565
|
-
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5566
|
-
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5567
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5568
|
-
return addHeapObject(ret);
|
|
5569
|
-
};
|
|
5570
|
-
|
|
5571
5577
|
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5572
5578
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5573
5579
|
const ret = BigInt.asUintN(64, arg0);
|
|
5574
5580
|
return addHeapObject(ret);
|
|
5575
5581
|
};
|
|
5576
5582
|
|
|
5577
|
-
exports.
|
|
5578
|
-
|
|
5579
|
-
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5580
|
-
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5581
|
-
const ret = v0;
|
|
5582
|
-
return addHeapObject(ret);
|
|
5583
|
-
};
|
|
5584
|
-
|
|
5585
|
-
exports.__wbindgen_cast_6b441f2e42512d6e = function (arg0, arg1) {
|
|
5586
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5583
|
+
exports.__wbindgen_cast_567ce6425eb96825 = function (arg0, arg1) {
|
|
5584
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 551, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5587
5585
|
const ret = makeMutClosure(
|
|
5588
5586
|
arg0,
|
|
5589
5587
|
arg1,
|
|
@@ -5593,6 +5591,14 @@ exports.__wbindgen_cast_6b441f2e42512d6e = function (arg0, arg1) {
|
|
|
5593
5591
|
return addHeapObject(ret);
|
|
5594
5592
|
};
|
|
5595
5593
|
|
|
5594
|
+
exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
5595
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5596
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
5597
|
+
// Cast intrinsic for `Vector(NamedExternref("CipherRiskResult")) -> Externref`.
|
|
5598
|
+
const ret = v0;
|
|
5599
|
+
return addHeapObject(ret);
|
|
5600
|
+
};
|
|
5601
|
+
|
|
5596
5602
|
exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
5597
5603
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5598
5604
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5601,54 +5607,54 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
|
5601
5607
|
return addHeapObject(ret);
|
|
5602
5608
|
};
|
|
5603
5609
|
|
|
5604
|
-
exports.
|
|
5605
|
-
// Cast intrinsic for `
|
|
5606
|
-
const ret =
|
|
5610
|
+
exports.__wbindgen_cast_8340b5b160d85933 = function (arg0, arg1) {
|
|
5611
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5612
|
+
const ret = makeMutClosure(
|
|
5613
|
+
arg0,
|
|
5614
|
+
arg1,
|
|
5615
|
+
wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
|
|
5616
|
+
wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
|
|
5617
|
+
);
|
|
5607
5618
|
return addHeapObject(ret);
|
|
5608
5619
|
};
|
|
5609
5620
|
|
|
5610
|
-
exports.
|
|
5611
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5621
|
+
exports.__wbindgen_cast_9654b59eb60e619d = function (arg0, arg1) {
|
|
5622
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5612
5623
|
const ret = makeMutClosure(
|
|
5613
5624
|
arg0,
|
|
5614
5625
|
arg1,
|
|
5615
5626
|
wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
|
|
5616
|
-
|
|
5627
|
+
wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff,
|
|
5617
5628
|
);
|
|
5618
5629
|
return addHeapObject(ret);
|
|
5619
5630
|
};
|
|
5620
5631
|
|
|
5621
|
-
exports.
|
|
5622
|
-
// Cast intrinsic for `
|
|
5623
|
-
const ret =
|
|
5632
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5633
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5634
|
+
const ret = arg0;
|
|
5624
5635
|
return addHeapObject(ret);
|
|
5625
5636
|
};
|
|
5626
5637
|
|
|
5627
|
-
exports.
|
|
5628
|
-
// Cast intrinsic for `
|
|
5629
|
-
const ret = arg0;
|
|
5638
|
+
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5639
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5640
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5630
5641
|
return addHeapObject(ret);
|
|
5631
5642
|
};
|
|
5632
5643
|
|
|
5633
|
-
exports.
|
|
5634
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5644
|
+
exports.__wbindgen_cast_d49c305f67640cb1 = function (arg0, arg1) {
|
|
5645
|
+
// 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`.
|
|
5635
5646
|
const ret = makeMutClosure(
|
|
5636
5647
|
arg0,
|
|
5637
5648
|
arg1,
|
|
5638
|
-
wasm.
|
|
5639
|
-
|
|
5649
|
+
wasm.wasm_bindgen__closure__destroy__hba496874d56e8206,
|
|
5650
|
+
wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe,
|
|
5640
5651
|
);
|
|
5641
5652
|
return addHeapObject(ret);
|
|
5642
5653
|
};
|
|
5643
5654
|
|
|
5644
|
-
exports.
|
|
5645
|
-
// Cast intrinsic for `
|
|
5646
|
-
const ret =
|
|
5647
|
-
arg0,
|
|
5648
|
-
arg1,
|
|
5649
|
-
wasm.wasm_bindgen__closure__destroy__h6cdc1ac3a8dcb5bd,
|
|
5650
|
-
wasm_bindgen__convert__closures_____invoke__hbc1220c6b5cbd1c8,
|
|
5651
|
-
);
|
|
5655
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5656
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
5657
|
+
const ret = arg0;
|
|
5652
5658
|
return addHeapObject(ret);
|
|
5653
5659
|
};
|
|
5654
5660
|
|
|
Binary file
|
|
@@ -455,20 +455,20 @@ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
|
455
455
|
a: number,
|
|
456
456
|
b: number,
|
|
457
457
|
) => void;
|
|
458
|
-
export const
|
|
459
|
-
export const
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff: (
|
|
460
460
|
a: number,
|
|
461
461
|
b: number,
|
|
462
462
|
c: number,
|
|
463
463
|
) => void;
|
|
464
|
-
export const
|
|
465
|
-
export const
|
|
464
|
+
export const wasm_bindgen__closure__destroy__hba496874d56e8206: (a: number, b: number) => void;
|
|
465
|
+
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
466
|
+
export const wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe: (
|
|
466
467
|
a: number,
|
|
467
468
|
b: number,
|
|
468
469
|
c: number,
|
|
469
470
|
d: number,
|
|
470
471
|
) => void;
|
|
471
|
-
export const wasm_bindgen__closure__destroy__h6cdc1ac3a8dcb5bd: (a: number, b: number) => void;
|
|
472
472
|
export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
|
|
473
473
|
a: number,
|
|
474
474
|
b: number,
|