@bitwarden/commercial-sdk-internal 0.2.0-main.486 → 0.2.0-main.488
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.d.ts +472 -470
- package/bitwarden_wasm_internal_bg.js +62 -62
- 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.d.ts +472 -470
- package/node/bitwarden_wasm_internal.js +64 -64
- 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
|
@@ -418,9 +418,9 @@ export function isRotateCryptographyStateError(error) {
|
|
|
418
418
|
* @param {any} error
|
|
419
419
|
* @returns {boolean}
|
|
420
420
|
*/
|
|
421
|
-
export function
|
|
421
|
+
export function isCryptoClientError(error) {
|
|
422
422
|
try {
|
|
423
|
-
const ret = wasm.
|
|
423
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
424
424
|
return ret !== 0;
|
|
425
425
|
} finally {
|
|
426
426
|
heap[stack_pointer++] = undefined;
|
|
@@ -457,9 +457,9 @@ export function isDeriveKeyConnectorError(error) {
|
|
|
457
457
|
* @param {any} error
|
|
458
458
|
* @returns {boolean}
|
|
459
459
|
*/
|
|
460
|
-
export function
|
|
460
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
461
461
|
try {
|
|
462
|
-
const ret = wasm.
|
|
462
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
463
463
|
return ret !== 0;
|
|
464
464
|
} finally {
|
|
465
465
|
heap[stack_pointer++] = undefined;
|
|
@@ -678,9 +678,9 @@ export function isSshKeyExportError(error) {
|
|
|
678
678
|
* @param {any} error
|
|
679
679
|
* @returns {boolean}
|
|
680
680
|
*/
|
|
681
|
-
export function
|
|
681
|
+
export function isSshKeyImportError(error) {
|
|
682
682
|
try {
|
|
683
|
-
const ret = wasm.
|
|
683
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
684
684
|
return ret !== 0;
|
|
685
685
|
} finally {
|
|
686
686
|
heap[stack_pointer++] = undefined;
|
|
@@ -691,9 +691,9 @@ export function isKeyGenerationError(error) {
|
|
|
691
691
|
* @param {any} error
|
|
692
692
|
* @returns {boolean}
|
|
693
693
|
*/
|
|
694
|
-
export function
|
|
694
|
+
export function isKeyGenerationError(error) {
|
|
695
695
|
try {
|
|
696
|
-
const ret = wasm.
|
|
696
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
697
697
|
return ret !== 0;
|
|
698
698
|
} finally {
|
|
699
699
|
heap[stack_pointer++] = undefined;
|
|
@@ -1003,14 +1003,14 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
|
|
|
1003
1003
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
-
function
|
|
1007
|
-
wasm.
|
|
1006
|
+
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1007
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
function
|
|
1010
|
+
function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg1, arg2) {
|
|
1011
1011
|
try {
|
|
1012
1012
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1013
|
-
wasm.
|
|
1013
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1014
1014
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1015
1015
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1016
1016
|
if (r1) {
|
|
@@ -4797,7 +4797,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4797
4797
|
return addHeapObject(ret);
|
|
4798
4798
|
}, arguments) };
|
|
4799
4799
|
|
|
4800
|
-
export function
|
|
4800
|
+
export function __wbg_cipher_a778c2459216b9db(arg0) {
|
|
4801
4801
|
const ret = getObject(arg0).cipher;
|
|
4802
4802
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4803
4803
|
};
|
|
@@ -4889,7 +4889,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4889
4889
|
return addHeapObject(ret);
|
|
4890
4890
|
};
|
|
4891
4891
|
|
|
4892
|
-
export function
|
|
4892
|
+
export function __wbg_folder_e21e0f2a3a482ccc(arg0) {
|
|
4893
4893
|
const ret = getObject(arg0).folder;
|
|
4894
4894
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4895
4895
|
};
|
|
@@ -4921,7 +4921,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4921
4921
|
return ret;
|
|
4922
4922
|
};
|
|
4923
4923
|
|
|
4924
|
-
export function
|
|
4924
|
+
export function __wbg_get_32604598f2147359() { return handleError(function (arg0, arg1, arg2) {
|
|
4925
4925
|
let deferred0_0;
|
|
4926
4926
|
let deferred0_1;
|
|
4927
4927
|
try {
|
|
@@ -4934,17 +4934,7 @@ export function __wbg_get_5e6e196b7e315352() { return handleError(function (arg0
|
|
|
4934
4934
|
}
|
|
4935
4935
|
}, arguments) };
|
|
4936
4936
|
|
|
4937
|
-
export function
|
|
4938
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4939
|
-
return addHeapObject(ret);
|
|
4940
|
-
};
|
|
4941
|
-
|
|
4942
|
-
export function __wbg_get_access_token_e2760ab93692a550(arg0) {
|
|
4943
|
-
const ret = getObject(arg0).get_access_token();
|
|
4944
|
-
return addHeapObject(ret);
|
|
4945
|
-
};
|
|
4946
|
-
|
|
4947
|
-
export function __wbg_get_e6ec424f9032b35c() { return handleError(function (arg0, arg1, arg2) {
|
|
4937
|
+
export function __wbg_get_3cd96273418d8d8a() { return handleError(function (arg0, arg1, arg2) {
|
|
4948
4938
|
let deferred0_0;
|
|
4949
4939
|
let deferred0_1;
|
|
4950
4940
|
try {
|
|
@@ -4957,6 +4947,16 @@ export function __wbg_get_e6ec424f9032b35c() { return handleError(function (arg0
|
|
|
4957
4947
|
}
|
|
4958
4948
|
}, arguments) };
|
|
4959
4949
|
|
|
4950
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4951
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4952
|
+
return addHeapObject(ret);
|
|
4953
|
+
};
|
|
4954
|
+
|
|
4955
|
+
export function __wbg_get_access_token_2d5d2943ced83bbd(arg0) {
|
|
4956
|
+
const ret = getObject(arg0).get_access_token();
|
|
4957
|
+
return addHeapObject(ret);
|
|
4958
|
+
};
|
|
4959
|
+
|
|
4960
4960
|
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4961
4961
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4962
4962
|
return addHeapObject(ret);
|
|
@@ -5145,12 +5145,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5145
5145
|
return ret;
|
|
5146
5146
|
};
|
|
5147
5147
|
|
|
5148
|
-
export function
|
|
5148
|
+
export function __wbg_list_318a4b53135cefa0() { return handleError(function (arg0) {
|
|
5149
5149
|
const ret = getObject(arg0).list();
|
|
5150
5150
|
return addHeapObject(ret);
|
|
5151
5151
|
}, arguments) };
|
|
5152
5152
|
|
|
5153
|
-
export function
|
|
5153
|
+
export function __wbg_list_be99098b5588dfc8() { return handleError(function (arg0) {
|
|
5154
5154
|
const ret = getObject(arg0).list();
|
|
5155
5155
|
return addHeapObject(ret);
|
|
5156
5156
|
}, arguments) };
|
|
@@ -5372,7 +5372,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5372
5372
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_721b80c3fbbd3447() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5385,7 +5385,7 @@ export function __wbg_remove_9ed247eaa9631247() { return handleError(function (a
|
|
|
5385
5385
|
}
|
|
5386
5386
|
}, arguments) };
|
|
5387
5387
|
|
|
5388
|
-
export function
|
|
5388
|
+
export function __wbg_remove_b5b6ce893f9baf3d() { return handleError(function (arg0, arg1, arg2) {
|
|
5389
5389
|
let deferred0_0;
|
|
5390
5390
|
let deferred0_1;
|
|
5391
5391
|
try {
|
|
@@ -5427,7 +5427,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5427
5427
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5428
5428
|
};
|
|
5429
5429
|
|
|
5430
|
-
export function
|
|
5430
|
+
export function __wbg_set_4f3e83ad395f2da3() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
5431
|
let deferred0_0;
|
|
5432
5432
|
let deferred0_1;
|
|
5433
5433
|
try {
|
|
@@ -5445,7 +5445,7 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
|
5445
5445
|
return addHeapObject(ret);
|
|
5446
5446
|
};
|
|
5447
5447
|
|
|
5448
|
-
export function
|
|
5448
|
+
export function __wbg_set_b6f093a4fa6ed050() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5449
5449
|
let deferred0_0;
|
|
5450
5450
|
let deferred0_1;
|
|
5451
5451
|
try {
|
|
@@ -5640,21 +5640,21 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5640
5640
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5641
5641
|
};
|
|
5642
5642
|
|
|
5643
|
-
export function
|
|
5644
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [
|
|
5645
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5643
|
+
export function __wbindgen_cast_040237b82ce31ec9(arg0, arg1) {
|
|
5644
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5645
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5646
5646
|
return addHeapObject(ret);
|
|
5647
5647
|
};
|
|
5648
5648
|
|
|
5649
|
-
export function
|
|
5650
|
-
// Cast intrinsic for `
|
|
5651
|
-
const ret =
|
|
5649
|
+
export function __wbindgen_cast_1e9dc1058b799ead(arg0, arg1) {
|
|
5650
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5651
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5652
5652
|
return addHeapObject(ret);
|
|
5653
5653
|
};
|
|
5654
5654
|
|
|
5655
|
-
export function
|
|
5656
|
-
// Cast intrinsic for `
|
|
5657
|
-
const ret =
|
|
5655
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5656
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5657
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5658
5658
|
return addHeapObject(ret);
|
|
5659
5659
|
};
|
|
5660
5660
|
|
|
@@ -5664,12 +5664,6 @@ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
|
5664
5664
|
return addHeapObject(ret);
|
|
5665
5665
|
};
|
|
5666
5666
|
|
|
5667
|
-
export function __wbindgen_cast_55a08bee8bbbdd86(arg0, arg1) {
|
|
5668
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 578, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5669
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5670
|
-
return addHeapObject(ret);
|
|
5671
|
-
};
|
|
5672
|
-
|
|
5673
5667
|
export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
5674
5668
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5675
5669
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5678,9 +5672,9 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5678
5672
|
return addHeapObject(ret);
|
|
5679
5673
|
};
|
|
5680
5674
|
|
|
5681
|
-
export function
|
|
5682
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5683
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5675
|
+
export function __wbindgen_cast_73a0930a4562bf7d(arg0, arg1) {
|
|
5676
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 583, function: Function { arguments: [], shim_idx: 334, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5677
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5684
5678
|
return addHeapObject(ret);
|
|
5685
5679
|
};
|
|
5686
5680
|
|
|
@@ -5692,27 +5686,21 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5692
5686
|
return addHeapObject(ret);
|
|
5693
5687
|
};
|
|
5694
5688
|
|
|
5695
|
-
export function __wbindgen_cast_925ce08a137834bc(arg0, arg1) {
|
|
5696
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 327, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5697
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5698
|
-
return addHeapObject(ret);
|
|
5699
|
-
};
|
|
5700
|
-
|
|
5701
5689
|
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5702
5690
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5703
5691
|
const ret = arg0;
|
|
5704
5692
|
return addHeapObject(ret);
|
|
5705
5693
|
};
|
|
5706
5694
|
|
|
5707
|
-
export function
|
|
5708
|
-
// Cast intrinsic for `
|
|
5709
|
-
const ret =
|
|
5695
|
+
export function __wbindgen_cast_c425055212da0068(arg0, arg1) {
|
|
5696
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [], shim_idx: 334, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5697
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5710
5698
|
return addHeapObject(ret);
|
|
5711
5699
|
};
|
|
5712
5700
|
|
|
5713
|
-
export function
|
|
5714
|
-
// Cast intrinsic for `
|
|
5715
|
-
const ret =
|
|
5701
|
+
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
5702
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5703
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5716
5704
|
return addHeapObject(ret);
|
|
5717
5705
|
};
|
|
5718
5706
|
|
|
@@ -5722,6 +5710,12 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
|
5722
5710
|
return addHeapObject(ret);
|
|
5723
5711
|
};
|
|
5724
5712
|
|
|
5713
|
+
export function __wbindgen_cast_daac1d8e48fc3ba0(arg0, arg1) {
|
|
5714
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5715
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9, wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3);
|
|
5716
|
+
return addHeapObject(ret);
|
|
5717
|
+
};
|
|
5718
|
+
|
|
5725
5719
|
export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
5726
5720
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5727
5721
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5730,6 +5724,12 @@ export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
|
5730
5724
|
return addHeapObject(ret);
|
|
5731
5725
|
};
|
|
5732
5726
|
|
|
5727
|
+
export function __wbindgen_cast_faabdb593332903b(arg0, arg1) {
|
|
5728
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 339, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5729
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5730
|
+
return addHeapObject(ret);
|
|
5731
|
+
};
|
|
5732
|
+
|
|
5733
5733
|
export function __wbindgen_object_clone_ref(arg0) {
|
|
5734
5734
|
const ret = getObject(arg0);
|
|
5735
5735
|
return addHeapObject(ret);
|
|
Binary file
|
|
@@ -518,21 +518,21 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
|
518
518
|
a: number,
|
|
519
519
|
b: number,
|
|
520
520
|
) => void;
|
|
521
|
-
export const
|
|
522
|
-
export const
|
|
521
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
522
|
+
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
523
523
|
a: number,
|
|
524
524
|
b: number,
|
|
525
525
|
c: number,
|
|
526
526
|
) => void;
|
|
527
|
-
export const
|
|
528
|
-
export const
|
|
529
|
-
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
530
|
-
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
527
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
|
|
531
529
|
a: number,
|
|
532
530
|
b: number,
|
|
533
531
|
c: number,
|
|
534
532
|
d: number,
|
|
535
533
|
) => void;
|
|
534
|
+
export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
|
|
535
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
536
536
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
537
537
|
a: number,
|
|
538
538
|
b: number,
|