@bitwarden/sdk-internal 0.2.0-main.350 → 0.2.0-main.351
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 +7 -1
- 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 +7 -1
- package/node/bitwarden_wasm_internal.js +26 -26
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -716,7 +716,8 @@ export type DeviceType =
|
|
|
716
716
|
| "Server"
|
|
717
717
|
| "WindowsCLI"
|
|
718
718
|
| "MacOsCLI"
|
|
719
|
-
| "LinuxCLI"
|
|
719
|
+
| "LinuxCLI"
|
|
720
|
+
| "DuckDuckGoBrowser";
|
|
720
721
|
|
|
721
722
|
/**
|
|
722
723
|
* Basic client behavior settings. These settings specify the various targets and behavior of the
|
|
@@ -731,6 +732,7 @@ export type DeviceType =
|
|
|
731
732
|
* api_url: \"https://api.bitwarden.com\".to_string(),
|
|
732
733
|
* user_agent: \"Bitwarden Rust-SDK\".to_string(),
|
|
733
734
|
* device_type: DeviceType::SDK,
|
|
735
|
+
* bitwarden_client_version: None,
|
|
734
736
|
* };
|
|
735
737
|
* let default = ClientSettings::default();
|
|
736
738
|
* ```
|
|
@@ -752,6 +754,10 @@ export interface ClientSettings {
|
|
|
752
754
|
* Device type to send to Bitwarden. Defaults to SDK
|
|
753
755
|
*/
|
|
754
756
|
deviceType?: DeviceType;
|
|
757
|
+
/**
|
|
758
|
+
* Bitwarden Client Version to send to Bitwarden.
|
|
759
|
+
*/
|
|
760
|
+
bitwardenClientVersion?: string | undefined;
|
|
755
761
|
}
|
|
756
762
|
|
|
757
763
|
export type UnsignedSharedKey = Tagged<string, "UnsignedSharedKey">;
|
|
@@ -4061,7 +4061,7 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
|
|
|
4061
4061
|
}, arguments);
|
|
4062
4062
|
};
|
|
4063
4063
|
|
|
4064
|
-
module.exports.
|
|
4064
|
+
module.exports.__wbg_cipher_f5c54e62df3607df = function (arg0) {
|
|
4065
4065
|
const ret = getObject(arg0).cipher;
|
|
4066
4066
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4067
4067
|
};
|
|
@@ -4141,7 +4141,7 @@ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
|
|
|
4141
4141
|
return addHeapObject(ret);
|
|
4142
4142
|
};
|
|
4143
4143
|
|
|
4144
|
-
module.exports.
|
|
4144
|
+
module.exports.__wbg_folder_d84cb3984b067e4c = function (arg0) {
|
|
4145
4145
|
const ret = getObject(arg0).folder;
|
|
4146
4146
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4147
4147
|
};
|
|
@@ -4163,7 +4163,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
|
|
|
4163
4163
|
return ret;
|
|
4164
4164
|
};
|
|
4165
4165
|
|
|
4166
|
-
module.exports.
|
|
4166
|
+
module.exports.__wbg_get_3c28aecfc1d6f178 = function () {
|
|
4167
4167
|
return handleError(function (arg0, arg1, arg2) {
|
|
4168
4168
|
let deferred0_0;
|
|
4169
4169
|
let deferred0_1;
|
|
@@ -4178,7 +4178,14 @@ module.exports.__wbg_get_0b14c6149bcb998d = function () {
|
|
|
4178
4178
|
}, arguments);
|
|
4179
4179
|
};
|
|
4180
4180
|
|
|
4181
|
-
module.exports.
|
|
4181
|
+
module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
4182
|
+
return handleError(function (arg0, arg1) {
|
|
4183
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4184
|
+
return addHeapObject(ret);
|
|
4185
|
+
}, arguments);
|
|
4186
|
+
};
|
|
4187
|
+
|
|
4188
|
+
module.exports.__wbg_get_a1af30b8cea488e5 = function () {
|
|
4182
4189
|
return handleError(function (arg0, arg1, arg2) {
|
|
4183
4190
|
let deferred0_0;
|
|
4184
4191
|
let deferred0_1;
|
|
@@ -4193,19 +4200,12 @@ module.exports.__wbg_get_3ec875d2bc17ab98 = function () {
|
|
|
4193
4200
|
}, arguments);
|
|
4194
4201
|
};
|
|
4195
4202
|
|
|
4196
|
-
module.exports.__wbg_get_67b2ba62fc30de12 = function () {
|
|
4197
|
-
return handleError(function (arg0, arg1) {
|
|
4198
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4199
|
-
return addHeapObject(ret);
|
|
4200
|
-
}, arguments);
|
|
4201
|
-
};
|
|
4202
|
-
|
|
4203
4203
|
module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
|
|
4204
4204
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4205
4205
|
return addHeapObject(ret);
|
|
4206
4206
|
};
|
|
4207
4207
|
|
|
4208
|
-
module.exports.
|
|
4208
|
+
module.exports.__wbg_getaccesstoken_edd1e9099b97b214 = function (arg0) {
|
|
4209
4209
|
const ret = getObject(arg0).get_access_token();
|
|
4210
4210
|
return addHeapObject(ret);
|
|
4211
4211
|
};
|
|
@@ -4390,14 +4390,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
|
|
|
4390
4390
|
return ret;
|
|
4391
4391
|
};
|
|
4392
4392
|
|
|
4393
|
-
module.exports.
|
|
4393
|
+
module.exports.__wbg_list_321650497e6f3ac4 = function () {
|
|
4394
4394
|
return handleError(function (arg0) {
|
|
4395
4395
|
const ret = getObject(arg0).list();
|
|
4396
4396
|
return addHeapObject(ret);
|
|
4397
4397
|
}, arguments);
|
|
4398
4398
|
};
|
|
4399
4399
|
|
|
4400
|
-
module.exports.
|
|
4400
|
+
module.exports.__wbg_list_96a4e44300ac8e85 = function () {
|
|
4401
4401
|
return handleError(function (arg0) {
|
|
4402
4402
|
const ret = getObject(arg0).list();
|
|
4403
4403
|
return addHeapObject(ret);
|
|
@@ -4598,7 +4598,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
4598
4598
|
}, arguments);
|
|
4599
4599
|
};
|
|
4600
4600
|
|
|
4601
|
-
module.exports.
|
|
4601
|
+
module.exports.__wbg_remove_33ad5f6731f425e3 = function () {
|
|
4602
4602
|
return handleError(function (arg0, arg1, arg2) {
|
|
4603
4603
|
let deferred0_0;
|
|
4604
4604
|
let deferred0_1;
|
|
@@ -4613,7 +4613,7 @@ module.exports.__wbg_remove_5f35e09bda32ff81 = function () {
|
|
|
4613
4613
|
}, arguments);
|
|
4614
4614
|
};
|
|
4615
4615
|
|
|
4616
|
-
module.exports.
|
|
4616
|
+
module.exports.__wbg_remove_53bbf5803d384d0f = function () {
|
|
4617
4617
|
return handleError(function (arg0, arg1, arg2) {
|
|
4618
4618
|
let deferred0_0;
|
|
4619
4619
|
let deferred0_1;
|
|
@@ -4659,7 +4659,7 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
4659
4659
|
return addHeapObject(ret);
|
|
4660
4660
|
};
|
|
4661
4661
|
|
|
4662
|
-
module.exports.
|
|
4662
|
+
module.exports.__wbg_set_056dde6de7d0d58a = function () {
|
|
4663
4663
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4664
4664
|
let deferred0_0;
|
|
4665
4665
|
let deferred0_1;
|
|
@@ -4686,7 +4686,12 @@ module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
|
|
|
4686
4686
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4687
4687
|
};
|
|
4688
4688
|
|
|
4689
|
-
module.exports.
|
|
4689
|
+
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4690
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4691
|
+
return addHeapObject(ret);
|
|
4692
|
+
};
|
|
4693
|
+
|
|
4694
|
+
module.exports.__wbg_set_ba35213970ae6762 = function () {
|
|
4690
4695
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4691
4696
|
let deferred0_0;
|
|
4692
4697
|
let deferred0_1;
|
|
@@ -4701,11 +4706,6 @@ module.exports.__wbg_set_7689f42b128c8143 = function () {
|
|
|
4701
4706
|
}, arguments);
|
|
4702
4707
|
};
|
|
4703
4708
|
|
|
4704
|
-
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
|
|
4705
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4706
|
-
return addHeapObject(ret);
|
|
4707
|
-
};
|
|
4708
|
-
|
|
4709
4709
|
module.exports.__wbg_setbody_5923b78a95eedf29 = function (arg0, arg1) {
|
|
4710
4710
|
getObject(arg0).body = getObject(arg1);
|
|
4711
4711
|
};
|
|
@@ -4926,17 +4926,17 @@ module.exports.__wbindgen_closure_wrapper195 = function (arg0, arg1, arg2) {
|
|
|
4926
4926
|
return addHeapObject(ret);
|
|
4927
4927
|
};
|
|
4928
4928
|
|
|
4929
|
-
module.exports.
|
|
4929
|
+
module.exports.__wbindgen_closure_wrapper3849 = function (arg0, arg1, arg2) {
|
|
4930
4930
|
const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_60);
|
|
4931
4931
|
return addHeapObject(ret);
|
|
4932
4932
|
};
|
|
4933
4933
|
|
|
4934
|
-
module.exports.
|
|
4934
|
+
module.exports.__wbindgen_closure_wrapper6181 = function (arg0, arg1, arg2) {
|
|
4935
4935
|
const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_60);
|
|
4936
4936
|
return addHeapObject(ret);
|
|
4937
4937
|
};
|
|
4938
4938
|
|
|
4939
|
-
module.exports.
|
|
4939
|
+
module.exports.__wbindgen_closure_wrapper6561 = function (arg0, arg1, arg2) {
|
|
4940
4940
|
const ret = makeMutClosure(arg0, arg1, 342, __wbg_adapter_54);
|
|
4941
4941
|
return addHeapObject(ret);
|
|
4942
4942
|
};
|
|
Binary file
|