@bitwarden/commercial-sdk-internal 0.2.0-main.521 → 0.2.0-main.522
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 +55 -86
- 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 +55 -86
- 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
|
@@ -1012,14 +1012,14 @@ export function isGetFolderError(error) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1016
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
1015
|
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1020
1016
|
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1021
1017
|
}
|
|
1022
1018
|
|
|
1019
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1020
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
1023
|
function wasm_bindgen__convert__closures_____invoke__hb2105a9ef1aa8c55(arg0, arg1, arg2) {
|
|
1024
1024
|
try {
|
|
1025
1025
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -4960,7 +4960,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4960
4960
|
return addHeapObject(ret);
|
|
4961
4961
|
}, arguments) };
|
|
4962
4962
|
|
|
4963
|
-
export function
|
|
4963
|
+
export function __wbg_cipher_5d94194bd7178b86(arg0) {
|
|
4964
4964
|
const ret = getObject(arg0).cipher;
|
|
4965
4965
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4966
4966
|
};
|
|
@@ -4980,11 +4980,6 @@ export function __wbg_createObjectStore_283a43a822bf49ca() { return handleError(
|
|
|
4980
4980
|
return addHeapObject(ret);
|
|
4981
4981
|
}, arguments) };
|
|
4982
4982
|
|
|
4983
|
-
export function __wbg_create_f2b6bfa66a83e88e(arg0) {
|
|
4984
|
-
const ret = Object.create(getObject(arg0));
|
|
4985
|
-
return addHeapObject(ret);
|
|
4986
|
-
};
|
|
4987
|
-
|
|
4988
4983
|
export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
4989
4984
|
const ret = getObject(arg0).crypto;
|
|
4990
4985
|
return addHeapObject(ret);
|
|
@@ -5052,7 +5047,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
5052
5047
|
return addHeapObject(ret);
|
|
5053
5048
|
};
|
|
5054
5049
|
|
|
5055
|
-
export function
|
|
5050
|
+
export function __wbg_folder_af52b3bf66eaa463(arg0) {
|
|
5056
5051
|
const ret = getObject(arg0).folder;
|
|
5057
5052
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5058
5053
|
};
|
|
@@ -5084,7 +5079,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
5084
5079
|
return ret;
|
|
5085
5080
|
};
|
|
5086
5081
|
|
|
5087
|
-
export function
|
|
5082
|
+
export function __wbg_get_3351f2ca77ce57e5() { return handleError(function (arg0, arg1, arg2) {
|
|
5088
5083
|
let deferred0_0;
|
|
5089
5084
|
let deferred0_1;
|
|
5090
5085
|
try {
|
|
@@ -5102,7 +5097,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
5102
5097
|
return addHeapObject(ret);
|
|
5103
5098
|
};
|
|
5104
5099
|
|
|
5105
|
-
export function
|
|
5100
|
+
export function __wbg_get_access_token_c3171529971cceb9(arg0) {
|
|
5101
|
+
const ret = getObject(arg0).get_access_token();
|
|
5102
|
+
return addHeapObject(ret);
|
|
5103
|
+
};
|
|
5104
|
+
|
|
5105
|
+
export function __wbg_get_c03a59ff46a549dd() { return handleError(function (arg0, arg1, arg2) {
|
|
5106
5106
|
let deferred0_0;
|
|
5107
5107
|
let deferred0_1;
|
|
5108
5108
|
try {
|
|
@@ -5115,12 +5115,7 @@ export function __wbg_get_8f34fba1115621ef() { return handleError(function (arg0
|
|
|
5115
5115
|
}
|
|
5116
5116
|
}, arguments) };
|
|
5117
5117
|
|
|
5118
|
-
export function
|
|
5119
|
-
const ret = getObject(arg0).get_access_token();
|
|
5120
|
-
return addHeapObject(ret);
|
|
5121
|
-
};
|
|
5122
|
-
|
|
5123
|
-
export function __wbg_get_c03a59ff46a549dd() { return handleError(function (arg0, arg1, arg2) {
|
|
5118
|
+
export function __wbg_get_cea152dc39ccf824() { return handleError(function (arg0, arg1, arg2) {
|
|
5124
5119
|
let deferred0_0;
|
|
5125
5120
|
let deferred0_1;
|
|
5126
5121
|
try {
|
|
@@ -5321,32 +5316,16 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5321
5316
|
return ret;
|
|
5322
5317
|
};
|
|
5323
5318
|
|
|
5324
|
-
export function
|
|
5319
|
+
export function __wbg_list_213c09a1a2dcc345() { return handleError(function (arg0) {
|
|
5325
5320
|
const ret = getObject(arg0).list();
|
|
5326
5321
|
return addHeapObject(ret);
|
|
5327
5322
|
}, arguments) };
|
|
5328
5323
|
|
|
5329
|
-
export function
|
|
5324
|
+
export function __wbg_list_35cbb4a03e644235() { return handleError(function (arg0) {
|
|
5330
5325
|
const ret = getObject(arg0).list();
|
|
5331
5326
|
return addHeapObject(ret);
|
|
5332
5327
|
}, arguments) };
|
|
5333
5328
|
|
|
5334
|
-
export function __wbg_mark_05056c522bddc362() { return handleError(function (arg0, arg1, arg2) {
|
|
5335
|
-
getObject(arg0).mark(getStringFromWasm0(arg1, arg2));
|
|
5336
|
-
}, arguments) };
|
|
5337
|
-
|
|
5338
|
-
export function __wbg_mark_24a1a597f4f00679() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5339
|
-
getObject(arg0).mark(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
5340
|
-
}, arguments) };
|
|
5341
|
-
|
|
5342
|
-
export function __wbg_measure_0b7379f5cfacac6d() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
5343
|
-
getObject(arg0).measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
5344
|
-
}, arguments) };
|
|
5345
|
-
|
|
5346
|
-
export function __wbg_measure_7728846525e2cced() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5347
|
-
getObject(arg0).measure(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
5348
|
-
}, arguments) };
|
|
5349
|
-
|
|
5350
5329
|
export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
5351
5330
|
const ret = getObject(arg0).msCrypto;
|
|
5352
5331
|
return addHeapObject(ret);
|
|
@@ -5507,11 +5486,6 @@ export function __wbg_parse_2a704d6b78abb2b8() { return handleError(function (ar
|
|
|
5507
5486
|
return addHeapObject(ret);
|
|
5508
5487
|
}, arguments) };
|
|
5509
5488
|
|
|
5510
|
-
export function __wbg_performance_121b9855d716e029() {
|
|
5511
|
-
const ret = globalThis.performance;
|
|
5512
|
-
return addHeapObject(ret);
|
|
5513
|
-
};
|
|
5514
|
-
|
|
5515
5489
|
export function __wbg_preventDefault_1f362670ce7ef430(arg0) {
|
|
5516
5490
|
getObject(arg0).preventDefault();
|
|
5517
5491
|
};
|
|
@@ -5548,7 +5522,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5548
5522
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5549
5523
|
}, arguments) };
|
|
5550
5524
|
|
|
5551
|
-
export function
|
|
5525
|
+
export function __wbg_remove_6901e1e53b62ae92() { return handleError(function (arg0, arg1, arg2) {
|
|
5552
5526
|
let deferred0_0;
|
|
5553
5527
|
let deferred0_1;
|
|
5554
5528
|
try {
|
|
@@ -5561,7 +5535,7 @@ export function __wbg_remove_84f75d9c0f4cbafb() { return handleError(function (a
|
|
|
5561
5535
|
}
|
|
5562
5536
|
}, arguments) };
|
|
5563
5537
|
|
|
5564
|
-
export function
|
|
5538
|
+
export function __wbg_remove_d7481941c65fb24a() { return handleError(function (arg0, arg1, arg2) {
|
|
5565
5539
|
let deferred0_0;
|
|
5566
5540
|
let deferred0_1;
|
|
5567
5541
|
try {
|
|
@@ -5599,16 +5573,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5599
5573
|
return addHeapObject(ret);
|
|
5600
5574
|
};
|
|
5601
5575
|
|
|
5602
|
-
export function
|
|
5603
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5604
|
-
};
|
|
5605
|
-
|
|
5606
|
-
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5607
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5608
|
-
return addHeapObject(ret);
|
|
5609
|
-
};
|
|
5610
|
-
|
|
5611
|
-
export function __wbg_set_b485bb03fc10d40c() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5576
|
+
export function __wbg_set_09808ee9bfdfaec0() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5612
5577
|
let deferred0_0;
|
|
5613
5578
|
let deferred0_1;
|
|
5614
5579
|
try {
|
|
@@ -5621,15 +5586,11 @@ export function __wbg_set_b485bb03fc10d40c() { return handleError(function (arg0
|
|
|
5621
5586
|
}
|
|
5622
5587
|
}, arguments) };
|
|
5623
5588
|
|
|
5624
|
-
export function
|
|
5625
|
-
getObject(arg0)
|
|
5626
|
-
};
|
|
5627
|
-
|
|
5628
|
-
export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
|
|
5629
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5589
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5590
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5630
5591
|
};
|
|
5631
5592
|
|
|
5632
|
-
export function
|
|
5593
|
+
export function __wbg_set_7c5f09ad1c7e223d() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5633
5594
|
let deferred0_0;
|
|
5634
5595
|
let deferred0_1;
|
|
5635
5596
|
try {
|
|
@@ -5642,10 +5603,18 @@ export function __wbg_set_c2582725996f48dd() { return handleError(function (arg0
|
|
|
5642
5603
|
}
|
|
5643
5604
|
}, arguments) };
|
|
5644
5605
|
|
|
5645
|
-
export function
|
|
5646
|
-
const ret =
|
|
5647
|
-
return ret;
|
|
5648
|
-
}
|
|
5606
|
+
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5607
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5608
|
+
return addHeapObject(ret);
|
|
5609
|
+
};
|
|
5610
|
+
|
|
5611
|
+
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5612
|
+
getObject(arg0).body = getObject(arg1);
|
|
5613
|
+
};
|
|
5614
|
+
|
|
5615
|
+
export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
|
|
5616
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
5617
|
+
};
|
|
5649
5618
|
|
|
5650
5619
|
export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
5651
5620
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
@@ -5816,15 +5785,15 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5816
5785
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5817
5786
|
};
|
|
5818
5787
|
|
|
5819
|
-
export function
|
|
5820
|
-
// Cast intrinsic for `
|
|
5821
|
-
const ret =
|
|
5788
|
+
export function __wbindgen_cast_0f3a80f9c6c81c16(arg0, arg1) {
|
|
5789
|
+
// 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`.
|
|
5790
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1589aa2eb828e5a4, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5822
5791
|
return addHeapObject(ret);
|
|
5823
5792
|
};
|
|
5824
5793
|
|
|
5825
|
-
export function
|
|
5826
|
-
// Cast intrinsic for `
|
|
5827
|
-
const ret =
|
|
5794
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5795
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5796
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5828
5797
|
return addHeapObject(ret);
|
|
5829
5798
|
};
|
|
5830
5799
|
|
|
@@ -5834,6 +5803,12 @@ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
|
5834
5803
|
return addHeapObject(ret);
|
|
5835
5804
|
};
|
|
5836
5805
|
|
|
5806
|
+
export function __wbindgen_cast_5750452b86ec572d(arg0, arg1) {
|
|
5807
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5808
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5809
|
+
return addHeapObject(ret);
|
|
5810
|
+
};
|
|
5811
|
+
|
|
5837
5812
|
export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
5838
5813
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5839
5814
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5842,12 +5817,6 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5842
5817
|
return addHeapObject(ret);
|
|
5843
5818
|
};
|
|
5844
5819
|
|
|
5845
|
-
export function __wbindgen_cast_74e55181dcd20690(arg0, arg1) {
|
|
5846
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 339, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5847
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5848
|
-
return addHeapObject(ret);
|
|
5849
|
-
};
|
|
5850
|
-
|
|
5851
5820
|
export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
5852
5821
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5853
5822
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5874,21 +5843,21 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
5874
5843
|
return addHeapObject(ret);
|
|
5875
5844
|
};
|
|
5876
5845
|
|
|
5877
|
-
export function __wbindgen_cast_d49c305f67640cb1(arg0, arg1) {
|
|
5878
|
-
// 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`.
|
|
5879
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1589aa2eb828e5a4, wasm_bindgen__convert__closures_____invoke__hb2105a9ef1aa8c55);
|
|
5880
|
-
return addHeapObject(ret);
|
|
5881
|
-
};
|
|
5882
|
-
|
|
5883
5846
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
5884
5847
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5885
5848
|
const ret = arg0;
|
|
5886
5849
|
return addHeapObject(ret);
|
|
5887
5850
|
};
|
|
5888
5851
|
|
|
5889
|
-
export function
|
|
5890
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5891
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5852
|
+
export function __wbindgen_cast_e1085c040d7c5239(arg0, arg1) {
|
|
5853
|
+
// 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`.
|
|
5854
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5855
|
+
return addHeapObject(ret);
|
|
5856
|
+
};
|
|
5857
|
+
|
|
5858
|
+
export function __wbindgen_cast_e12aaa4ecde9c999(arg0, arg1) {
|
|
5859
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 41, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5860
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1589aa2eb828e5a4, wasm_bindgen__convert__closures_____invoke__hb2105a9ef1aa8c55);
|
|
5892
5861
|
return addHeapObject(ret);
|
|
5893
5862
|
};
|
|
5894
5863
|
|
|
Binary file
|
|
@@ -531,17 +531,17 @@ export const vaultclient_attachments: (a: number) => number;
|
|
|
531
531
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
532
532
|
export const __wbg_usercryptomanagementclient_free: (a: number, b: number) => void;
|
|
533
533
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
534
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
535
|
-
a: number,
|
|
536
|
-
b: number,
|
|
537
|
-
) => void;
|
|
538
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
539
534
|
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
540
535
|
a: number,
|
|
541
536
|
b: number,
|
|
542
537
|
c: number,
|
|
543
538
|
) => void;
|
|
544
539
|
export const wasm_bindgen__closure__destroy__h1589aa2eb828e5a4: (a: number, b: number) => void;
|
|
540
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
541
|
+
a: number,
|
|
542
|
+
b: number,
|
|
543
|
+
) => void;
|
|
544
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
545
545
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
546
546
|
export const wasm_bindgen__convert__closures_____invoke__hb2105a9ef1aa8c55: (
|
|
547
547
|
a: number,
|