@bitwarden/sdk-internal 0.2.0-main.361 → 0.2.0-main.363
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +3 -0
- package/bitwarden_wasm_internal_bg.js +26 -26
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +3 -0
- package/node/bitwarden_wasm_internal.js +26 -26
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -763,6 +763,8 @@ export type SignedPublicKey = Tagged<string, "SignedPublicKey">;
|
|
|
763
763
|
|
|
764
764
|
export type PasswordProtectedKeyEnvelope = Tagged<string, "PasswordProtectedKeyEnvelope">;
|
|
765
765
|
|
|
766
|
+
export type DataEnvelope = Tagged<string, "DataEnvelope">;
|
|
767
|
+
|
|
766
768
|
/**
|
|
767
769
|
* The type of key / signature scheme used for signing and verifying.
|
|
768
770
|
*/
|
|
@@ -790,6 +792,7 @@ export interface CryptoError extends Error {
|
|
|
790
792
|
| "MissingKey"
|
|
791
793
|
| "MissingField"
|
|
792
794
|
| "MissingKeyId"
|
|
795
|
+
| "KeyOperationNotSupported"
|
|
793
796
|
| "ReadOnlyKeyStore"
|
|
794
797
|
| "InsufficientKdfParameters"
|
|
795
798
|
| "EncString"
|
|
@@ -4121,7 +4121,7 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
|
|
|
4121
4121
|
}, arguments);
|
|
4122
4122
|
};
|
|
4123
4123
|
|
|
4124
|
-
module.exports.
|
|
4124
|
+
module.exports.__wbg_cipher_ca883e6380fad369 = function (arg0) {
|
|
4125
4125
|
const ret = getObject(arg0).cipher;
|
|
4126
4126
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4127
4127
|
};
|
|
@@ -4201,7 +4201,7 @@ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
|
|
|
4201
4201
|
return addHeapObject(ret);
|
|
4202
4202
|
};
|
|
4203
4203
|
|
|
4204
|
-
module.exports.
|
|
4204
|
+
module.exports.__wbg_folder_19d1d56c0ecd965b = function (arg0) {
|
|
4205
4205
|
const ret = getObject(arg0).folder;
|
|
4206
4206
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4207
4207
|
};
|
|
@@ -4223,7 +4223,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
|
|
|
4223
4223
|
return ret;
|
|
4224
4224
|
};
|
|
4225
4225
|
|
|
4226
|
-
module.exports.
|
|
4226
|
+
module.exports.__wbg_get_0624ae11c93ed9ad = function () {
|
|
4227
4227
|
return handleError(function (arg0, arg1, arg2) {
|
|
4228
4228
|
let deferred0_0;
|
|
4229
4229
|
let deferred0_1;
|
|
@@ -4245,7 +4245,12 @@ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
|
4245
4245
|
}, arguments);
|
|
4246
4246
|
};
|
|
4247
4247
|
|
|
4248
|
-
module.exports.
|
|
4248
|
+
module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
4249
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4250
|
+
return addHeapObject(ret);
|
|
4251
|
+
};
|
|
4252
|
+
|
|
4253
|
+
module.exports.__wbg_get_d95b1f8fc222051d = function () {
|
|
4249
4254
|
return handleError(function (arg0, arg1, arg2) {
|
|
4250
4255
|
let deferred0_0;
|
|
4251
4256
|
let deferred0_1;
|
|
@@ -4260,12 +4265,7 @@ module.exports.__wbg_get_68689cff5a27a4e3 = function () {
|
|
|
4260
4265
|
}, arguments);
|
|
4261
4266
|
};
|
|
4262
4267
|
|
|
4263
|
-
module.exports.
|
|
4264
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4265
|
-
return addHeapObject(ret);
|
|
4266
|
-
};
|
|
4267
|
-
|
|
4268
|
-
module.exports.__wbg_getaccesstoken_e19adb10f028d797 = function (arg0) {
|
|
4268
|
+
module.exports.__wbg_getaccesstoken_e0e71336d6e1a169 = function (arg0) {
|
|
4269
4269
|
const ret = getObject(arg0).get_access_token();
|
|
4270
4270
|
return addHeapObject(ret);
|
|
4271
4271
|
};
|
|
@@ -4450,14 +4450,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
|
|
|
4450
4450
|
return ret;
|
|
4451
4451
|
};
|
|
4452
4452
|
|
|
4453
|
-
module.exports.
|
|
4453
|
+
module.exports.__wbg_list_48d8811c54cfb757 = function () {
|
|
4454
4454
|
return handleError(function (arg0) {
|
|
4455
4455
|
const ret = getObject(arg0).list();
|
|
4456
4456
|
return addHeapObject(ret);
|
|
4457
4457
|
}, arguments);
|
|
4458
4458
|
};
|
|
4459
4459
|
|
|
4460
|
-
module.exports.
|
|
4460
|
+
module.exports.__wbg_list_be12328464daeb26 = function () {
|
|
4461
4461
|
return handleError(function (arg0) {
|
|
4462
4462
|
const ret = getObject(arg0).list();
|
|
4463
4463
|
return addHeapObject(ret);
|
|
@@ -4658,7 +4658,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
4658
4658
|
}, arguments);
|
|
4659
4659
|
};
|
|
4660
4660
|
|
|
4661
|
-
module.exports.
|
|
4661
|
+
module.exports.__wbg_remove_9fba740d43c47185 = function () {
|
|
4662
4662
|
return handleError(function (arg0, arg1, arg2) {
|
|
4663
4663
|
let deferred0_0;
|
|
4664
4664
|
let deferred0_1;
|
|
@@ -4673,7 +4673,7 @@ module.exports.__wbg_remove_3537743f8f56af1c = function () {
|
|
|
4673
4673
|
}, arguments);
|
|
4674
4674
|
};
|
|
4675
4675
|
|
|
4676
|
-
module.exports.
|
|
4676
|
+
module.exports.__wbg_remove_a6f457773feb1919 = function () {
|
|
4677
4677
|
return handleError(function (arg0, arg1, arg2) {
|
|
4678
4678
|
let deferred0_0;
|
|
4679
4679
|
let deferred0_1;
|
|
@@ -4727,7 +4727,11 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
4727
4727
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4728
4728
|
};
|
|
4729
4729
|
|
|
4730
|
-
module.exports.
|
|
4730
|
+
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4731
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4732
|
+
};
|
|
4733
|
+
|
|
4734
|
+
module.exports.__wbg_set_7d6f921c2587ab5a = function () {
|
|
4731
4735
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4732
4736
|
let deferred0_0;
|
|
4733
4737
|
let deferred0_1;
|
|
@@ -4742,16 +4746,12 @@ module.exports.__wbg_set_5d5d2f6723f9ec70 = function () {
|
|
|
4742
4746
|
}, arguments);
|
|
4743
4747
|
};
|
|
4744
4748
|
|
|
4745
|
-
module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
4746
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4747
|
-
};
|
|
4748
|
-
|
|
4749
4749
|
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4750
4750
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4751
4751
|
return addHeapObject(ret);
|
|
4752
4752
|
};
|
|
4753
4753
|
|
|
4754
|
-
module.exports.
|
|
4754
|
+
module.exports.__wbg_set_bdbb7d27f1b5f069 = function () {
|
|
4755
4755
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4756
4756
|
let deferred0_0;
|
|
4757
4757
|
let deferred0_1;
|
|
@@ -4986,18 +4986,18 @@ module.exports.__wbindgen_closure_wrapper195 = function (arg0, arg1, arg2) {
|
|
|
4986
4986
|
return addHeapObject(ret);
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
module.exports.
|
|
4990
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4989
|
+
module.exports.__wbindgen_closure_wrapper3923 = function (arg0, arg1, arg2) {
|
|
4990
|
+
const ret = makeMutClosure(arg0, arg1, 301, __wbg_adapter_60);
|
|
4991
4991
|
return addHeapObject(ret);
|
|
4992
4992
|
};
|
|
4993
4993
|
|
|
4994
|
-
module.exports.
|
|
4995
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4994
|
+
module.exports.__wbindgen_closure_wrapper6409 = function (arg0, arg1, arg2) {
|
|
4995
|
+
const ret = makeMutClosure(arg0, arg1, 327, __wbg_adapter_60);
|
|
4996
4996
|
return addHeapObject(ret);
|
|
4997
4997
|
};
|
|
4998
4998
|
|
|
4999
|
-
module.exports.
|
|
5000
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4999
|
+
module.exports.__wbindgen_closure_wrapper6789 = function (arg0, arg1, arg2) {
|
|
5000
|
+
const ret = makeMutClosure(arg0, arg1, 350, __wbg_adapter_54);
|
|
5001
5001
|
return addHeapObject(ret);
|
|
5002
5002
|
};
|
|
5003
5003
|
|
|
Binary file
|