@bitwarden/commercial-sdk-internal 0.2.0-main.365 → 0.2.0-main.367
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 +8 -1
- package/bitwarden_wasm_internal_bg.js +53 -53
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +3 -3
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +8 -1
- package/node/bitwarden_wasm_internal.js +53 -53
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1103,6 +1103,7 @@ export interface Cipher {
|
|
|
1103
1103
|
deletedDate: DateTime<Utc> | undefined;
|
|
1104
1104
|
revisionDate: DateTime<Utc>;
|
|
1105
1105
|
archivedDate: DateTime<Utc> | undefined;
|
|
1106
|
+
data: string | undefined;
|
|
1106
1107
|
}
|
|
1107
1108
|
|
|
1108
1109
|
export interface CipherView {
|
|
@@ -1702,7 +1703,13 @@ export function isCreateCipherError(error: any): error is CreateCipherError;
|
|
|
1702
1703
|
|
|
1703
1704
|
export interface CipherError extends Error {
|
|
1704
1705
|
name: "CipherError";
|
|
1705
|
-
variant:
|
|
1706
|
+
variant:
|
|
1707
|
+
| "MissingField"
|
|
1708
|
+
| "Crypto"
|
|
1709
|
+
| "Encrypt"
|
|
1710
|
+
| "AttachmentsWithoutKeys"
|
|
1711
|
+
| "Chrono"
|
|
1712
|
+
| "SerdeJson";
|
|
1706
1713
|
}
|
|
1707
1714
|
|
|
1708
1715
|
export function isCipherError(error: any): error is CipherError;
|
|
@@ -867,17 +867,9 @@ module.exports.isEncryptFileError = function (error) {
|
|
|
867
867
|
};
|
|
868
868
|
|
|
869
869
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
870
|
-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8322b6841f4e63be(
|
|
871
|
-
arg0,
|
|
872
|
-
arg1,
|
|
873
|
-
addHeapObject(arg2),
|
|
874
|
-
);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
878
870
|
try {
|
|
879
871
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
880
|
-
wasm.
|
|
872
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3daa5b4d8aa47cd(
|
|
881
873
|
retptr,
|
|
882
874
|
arg0,
|
|
883
875
|
arg1,
|
|
@@ -893,6 +885,14 @@ function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
|
893
885
|
}
|
|
894
886
|
}
|
|
895
887
|
|
|
888
|
+
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
889
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h65ba38d36075af32(
|
|
890
|
+
arg0,
|
|
891
|
+
arg1,
|
|
892
|
+
addHeapObject(arg2),
|
|
893
|
+
);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
896
|
function __wbg_adapter_60(arg0, arg1) {
|
|
897
897
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6(
|
|
898
898
|
arg0,
|
|
@@ -4301,7 +4301,7 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
|
|
|
4301
4301
|
}, arguments);
|
|
4302
4302
|
};
|
|
4303
4303
|
|
|
4304
|
-
module.exports.
|
|
4304
|
+
module.exports.__wbg_cipher_6701cb4271b759b1 = function (arg0) {
|
|
4305
4305
|
const ret = getObject(arg0).cipher;
|
|
4306
4306
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4307
4307
|
};
|
|
@@ -4381,7 +4381,7 @@ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
|
|
|
4381
4381
|
return addHeapObject(ret);
|
|
4382
4382
|
};
|
|
4383
4383
|
|
|
4384
|
-
module.exports.
|
|
4384
|
+
module.exports.__wbg_folder_80206a21d45c51d3 = function (arg0) {
|
|
4385
4385
|
const ret = getObject(arg0).folder;
|
|
4386
4386
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4387
4387
|
};
|
|
@@ -4408,7 +4408,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
|
|
|
4408
4408
|
return ret;
|
|
4409
4409
|
};
|
|
4410
4410
|
|
|
4411
|
-
module.exports.
|
|
4411
|
+
module.exports.__wbg_get_197d7427cfd8ddbc = function () {
|
|
4412
4412
|
return handleError(function (arg0, arg1, arg2) {
|
|
4413
4413
|
let deferred0_0;
|
|
4414
4414
|
let deferred0_1;
|
|
@@ -4423,19 +4423,7 @@ module.exports.__wbg_get_0c000b31aafb62a6 = function () {
|
|
|
4423
4423
|
}, arguments);
|
|
4424
4424
|
};
|
|
4425
4425
|
|
|
4426
|
-
module.exports.
|
|
4427
|
-
return handleError(function (arg0, arg1) {
|
|
4428
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4429
|
-
return addHeapObject(ret);
|
|
4430
|
-
}, arguments);
|
|
4431
|
-
};
|
|
4432
|
-
|
|
4433
|
-
module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
4434
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4435
|
-
return addHeapObject(ret);
|
|
4436
|
-
};
|
|
4437
|
-
|
|
4438
|
-
module.exports.__wbg_get_c3b0fae9ed2d916c = function () {
|
|
4426
|
+
module.exports.__wbg_get_3a9cc40b1622edc2 = function () {
|
|
4439
4427
|
return handleError(function (arg0, arg1, arg2) {
|
|
4440
4428
|
let deferred0_0;
|
|
4441
4429
|
let deferred0_1;
|
|
@@ -4450,7 +4438,19 @@ module.exports.__wbg_get_c3b0fae9ed2d916c = function () {
|
|
|
4450
4438
|
}, arguments);
|
|
4451
4439
|
};
|
|
4452
4440
|
|
|
4453
|
-
module.exports.
|
|
4441
|
+
module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
4442
|
+
return handleError(function (arg0, arg1) {
|
|
4443
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4444
|
+
return addHeapObject(ret);
|
|
4445
|
+
}, arguments);
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
4449
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4450
|
+
return addHeapObject(ret);
|
|
4451
|
+
};
|
|
4452
|
+
|
|
4453
|
+
module.exports.__wbg_getaccesstoken_52ef00ec9af829c3 = function (arg0) {
|
|
4454
4454
|
const ret = getObject(arg0).get_access_token();
|
|
4455
4455
|
return addHeapObject(ret);
|
|
4456
4456
|
};
|
|
@@ -4635,14 +4635,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
|
|
|
4635
4635
|
return ret;
|
|
4636
4636
|
};
|
|
4637
4637
|
|
|
4638
|
-
module.exports.
|
|
4638
|
+
module.exports.__wbg_list_4e234fcb4de06a2f = function () {
|
|
4639
4639
|
return handleError(function (arg0) {
|
|
4640
4640
|
const ret = getObject(arg0).list();
|
|
4641
4641
|
return addHeapObject(ret);
|
|
4642
4642
|
}, arguments);
|
|
4643
4643
|
};
|
|
4644
4644
|
|
|
4645
|
-
module.exports.
|
|
4645
|
+
module.exports.__wbg_list_f8ebf58ebfc74278 = function () {
|
|
4646
4646
|
return handleError(function (arg0) {
|
|
4647
4647
|
const ret = getObject(arg0).list();
|
|
4648
4648
|
return addHeapObject(ret);
|
|
@@ -4848,7 +4848,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
4848
4848
|
}, arguments);
|
|
4849
4849
|
};
|
|
4850
4850
|
|
|
4851
|
-
module.exports.
|
|
4851
|
+
module.exports.__wbg_remove_899ee87f064417fc = function () {
|
|
4852
4852
|
return handleError(function (arg0, arg1, arg2) {
|
|
4853
4853
|
let deferred0_0;
|
|
4854
4854
|
let deferred0_1;
|
|
@@ -4863,7 +4863,7 @@ module.exports.__wbg_remove_0e9beb59d125be57 = function () {
|
|
|
4863
4863
|
}, arguments);
|
|
4864
4864
|
};
|
|
4865
4865
|
|
|
4866
|
-
module.exports.
|
|
4866
|
+
module.exports.__wbg_remove_ebc34f343c79afa1 = function () {
|
|
4867
4867
|
return handleError(function (arg0, arg1, arg2) {
|
|
4868
4868
|
let deferred0_0;
|
|
4869
4869
|
let deferred0_1;
|
|
@@ -4909,15 +4909,7 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
4909
4909
|
return addHeapObject(ret);
|
|
4910
4910
|
};
|
|
4911
4911
|
|
|
4912
|
-
module.exports.
|
|
4913
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4914
|
-
};
|
|
4915
|
-
|
|
4916
|
-
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4917
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4918
|
-
};
|
|
4919
|
-
|
|
4920
|
-
module.exports.__wbg_set_4909636594ca7c7a = function () {
|
|
4912
|
+
module.exports.__wbg_set_15d236a9c31627b0 = function () {
|
|
4921
4913
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4922
4914
|
let deferred0_0;
|
|
4923
4915
|
let deferred0_1;
|
|
@@ -4932,16 +4924,11 @@ module.exports.__wbg_set_4909636594ca7c7a = function () {
|
|
|
4932
4924
|
}, arguments);
|
|
4933
4925
|
};
|
|
4934
4926
|
|
|
4935
|
-
module.exports.
|
|
4936
|
-
getObject(arg0)
|
|
4937
|
-
};
|
|
4938
|
-
|
|
4939
|
-
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4940
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4941
|
-
return addHeapObject(ret);
|
|
4927
|
+
module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
|
|
4928
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
4942
4929
|
};
|
|
4943
4930
|
|
|
4944
|
-
module.exports.
|
|
4931
|
+
module.exports.__wbg_set_3ef66edb49865567 = function () {
|
|
4945
4932
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4946
4933
|
let deferred0_0;
|
|
4947
4934
|
let deferred0_1;
|
|
@@ -4956,6 +4943,19 @@ module.exports.__wbg_set_b63bcc0eff25f894 = function () {
|
|
|
4956
4943
|
}, arguments);
|
|
4957
4944
|
};
|
|
4958
4945
|
|
|
4946
|
+
module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
4947
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4948
|
+
};
|
|
4949
|
+
|
|
4950
|
+
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4951
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4955
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4956
|
+
return addHeapObject(ret);
|
|
4957
|
+
};
|
|
4958
|
+
|
|
4959
4959
|
module.exports.__wbg_setbody_5923b78a95eedf29 = function (arg0, arg1) {
|
|
4960
4960
|
getObject(arg0).body = getObject(arg1);
|
|
4961
4961
|
};
|
|
@@ -5171,28 +5171,28 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
|
5171
5171
|
return ret;
|
|
5172
5172
|
};
|
|
5173
5173
|
|
|
5174
|
-
module.exports.
|
|
5174
|
+
module.exports.__wbindgen_closure_wrapper196 = function (arg0, arg1, arg2) {
|
|
5175
5175
|
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_54);
|
|
5176
5176
|
return addHeapObject(ret);
|
|
5177
5177
|
};
|
|
5178
5178
|
|
|
5179
|
-
module.exports.
|
|
5179
|
+
module.exports.__wbindgen_closure_wrapper198 = function (arg0, arg1, arg2) {
|
|
5180
5180
|
const ret = makeMutClosure(arg0, arg1, 7, __wbg_adapter_57);
|
|
5181
5181
|
return addHeapObject(ret);
|
|
5182
5182
|
};
|
|
5183
5183
|
|
|
5184
|
-
module.exports.
|
|
5184
|
+
module.exports.__wbindgen_closure_wrapper4270 = function (arg0, arg1, arg2) {
|
|
5185
5185
|
const ret = makeMutClosure(arg0, arg1, 349, __wbg_adapter_60);
|
|
5186
5186
|
return addHeapObject(ret);
|
|
5187
5187
|
};
|
|
5188
5188
|
|
|
5189
|
-
module.exports.
|
|
5189
|
+
module.exports.__wbindgen_closure_wrapper8246 = function (arg0, arg1, arg2) {
|
|
5190
5190
|
const ret = makeMutClosure(arg0, arg1, 516, __wbg_adapter_60);
|
|
5191
5191
|
return addHeapObject(ret);
|
|
5192
5192
|
};
|
|
5193
5193
|
|
|
5194
|
-
module.exports.
|
|
5195
|
-
const ret = makeMutClosure(arg0, arg1, 538,
|
|
5194
|
+
module.exports.__wbindgen_closure_wrapper8629 = function (arg0, arg1, arg2) {
|
|
5195
|
+
const ret = makeMutClosure(arg0, arg1, 538, __wbg_adapter_57);
|
|
5196
5196
|
return addHeapObject(ret);
|
|
5197
5197
|
};
|
|
5198
5198
|
|
|
Binary file
|
|
@@ -423,16 +423,16 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
423
423
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
424
424
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
425
425
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
426
|
-
export const
|
|
426
|
+
export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3daa5b4d8aa47cd: (
|
|
427
427
|
a: number,
|
|
428
428
|
b: number,
|
|
429
429
|
c: number,
|
|
430
|
+
d: number,
|
|
430
431
|
) => void;
|
|
431
|
-
export const
|
|
432
|
+
export const _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h65ba38d36075af32: (
|
|
432
433
|
a: number,
|
|
433
434
|
b: number,
|
|
434
435
|
c: number,
|
|
435
|
-
d: number,
|
|
436
436
|
) => void;
|
|
437
437
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d088d25aee734e6: (
|
|
438
438
|
a: number,
|