@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
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
29c09d4d101bb16c955e6b74ae0f1663beb86986
|
|
@@ -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">;
|
|
@@ -4045,7 +4045,7 @@ export function __wbg_call_7cccdd69e0791ae2() {
|
|
|
4045
4045
|
}, arguments);
|
|
4046
4046
|
}
|
|
4047
4047
|
|
|
4048
|
-
export function
|
|
4048
|
+
export function __wbg_cipher_f5c54e62df3607df(arg0) {
|
|
4049
4049
|
const ret = getObject(arg0).cipher;
|
|
4050
4050
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4051
4051
|
}
|
|
@@ -4125,7 +4125,7 @@ export function __wbg_fetch_509096533071c657(arg0, arg1) {
|
|
|
4125
4125
|
return addHeapObject(ret);
|
|
4126
4126
|
}
|
|
4127
4127
|
|
|
4128
|
-
export function
|
|
4128
|
+
export function __wbg_folder_d84cb3984b067e4c(arg0) {
|
|
4129
4129
|
const ret = getObject(arg0).folder;
|
|
4130
4130
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4131
4131
|
}
|
|
@@ -4147,7 +4147,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
|
|
|
4147
4147
|
return ret;
|
|
4148
4148
|
}
|
|
4149
4149
|
|
|
4150
|
-
export function
|
|
4150
|
+
export function __wbg_get_3c28aecfc1d6f178() {
|
|
4151
4151
|
return handleError(function (arg0, arg1, arg2) {
|
|
4152
4152
|
let deferred0_0;
|
|
4153
4153
|
let deferred0_1;
|
|
@@ -4162,7 +4162,14 @@ export function __wbg_get_0b14c6149bcb998d() {
|
|
|
4162
4162
|
}, arguments);
|
|
4163
4163
|
}
|
|
4164
4164
|
|
|
4165
|
-
export function
|
|
4165
|
+
export function __wbg_get_67b2ba62fc30de12() {
|
|
4166
|
+
return handleError(function (arg0, arg1) {
|
|
4167
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4168
|
+
return addHeapObject(ret);
|
|
4169
|
+
}, arguments);
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
export function __wbg_get_a1af30b8cea488e5() {
|
|
4166
4173
|
return handleError(function (arg0, arg1, arg2) {
|
|
4167
4174
|
let deferred0_0;
|
|
4168
4175
|
let deferred0_1;
|
|
@@ -4177,19 +4184,12 @@ export function __wbg_get_3ec875d2bc17ab98() {
|
|
|
4177
4184
|
}, arguments);
|
|
4178
4185
|
}
|
|
4179
4186
|
|
|
4180
|
-
export function __wbg_get_67b2ba62fc30de12() {
|
|
4181
|
-
return handleError(function (arg0, arg1) {
|
|
4182
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4183
|
-
return addHeapObject(ret);
|
|
4184
|
-
}, arguments);
|
|
4185
|
-
}
|
|
4186
|
-
|
|
4187
4187
|
export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
|
|
4188
4188
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4189
4189
|
return addHeapObject(ret);
|
|
4190
4190
|
}
|
|
4191
4191
|
|
|
4192
|
-
export function
|
|
4192
|
+
export function __wbg_getaccesstoken_edd1e9099b97b214(arg0) {
|
|
4193
4193
|
const ret = getObject(arg0).get_access_token();
|
|
4194
4194
|
return addHeapObject(ret);
|
|
4195
4195
|
}
|
|
@@ -4374,14 +4374,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
|
|
|
4374
4374
|
return ret;
|
|
4375
4375
|
}
|
|
4376
4376
|
|
|
4377
|
-
export function
|
|
4377
|
+
export function __wbg_list_321650497e6f3ac4() {
|
|
4378
4378
|
return handleError(function (arg0) {
|
|
4379
4379
|
const ret = getObject(arg0).list();
|
|
4380
4380
|
return addHeapObject(ret);
|
|
4381
4381
|
}, arguments);
|
|
4382
4382
|
}
|
|
4383
4383
|
|
|
4384
|
-
export function
|
|
4384
|
+
export function __wbg_list_96a4e44300ac8e85() {
|
|
4385
4385
|
return handleError(function (arg0) {
|
|
4386
4386
|
const ret = getObject(arg0).list();
|
|
4387
4387
|
return addHeapObject(ret);
|
|
@@ -4582,7 +4582,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
4582
4582
|
}, arguments);
|
|
4583
4583
|
}
|
|
4584
4584
|
|
|
4585
|
-
export function
|
|
4585
|
+
export function __wbg_remove_33ad5f6731f425e3() {
|
|
4586
4586
|
return handleError(function (arg0, arg1, arg2) {
|
|
4587
4587
|
let deferred0_0;
|
|
4588
4588
|
let deferred0_1;
|
|
@@ -4597,7 +4597,7 @@ export function __wbg_remove_5f35e09bda32ff81() {
|
|
|
4597
4597
|
}, arguments);
|
|
4598
4598
|
}
|
|
4599
4599
|
|
|
4600
|
-
export function
|
|
4600
|
+
export function __wbg_remove_53bbf5803d384d0f() {
|
|
4601
4601
|
return handleError(function (arg0, arg1, arg2) {
|
|
4602
4602
|
let deferred0_0;
|
|
4603
4603
|
let deferred0_1;
|
|
@@ -4643,7 +4643,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
4643
4643
|
return addHeapObject(ret);
|
|
4644
4644
|
}
|
|
4645
4645
|
|
|
4646
|
-
export function
|
|
4646
|
+
export function __wbg_set_056dde6de7d0d58a() {
|
|
4647
4647
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4648
4648
|
let deferred0_0;
|
|
4649
4649
|
let deferred0_1;
|
|
@@ -4670,7 +4670,12 @@ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
|
|
|
4670
4670
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
4671
4671
|
}
|
|
4672
4672
|
|
|
4673
|
-
export function
|
|
4673
|
+
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
4674
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4675
|
+
return addHeapObject(ret);
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
export function __wbg_set_ba35213970ae6762() {
|
|
4674
4679
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4675
4680
|
let deferred0_0;
|
|
4676
4681
|
let deferred0_1;
|
|
@@ -4685,11 +4690,6 @@ export function __wbg_set_7689f42b128c8143() {
|
|
|
4685
4690
|
}, arguments);
|
|
4686
4691
|
}
|
|
4687
4692
|
|
|
4688
|
-
export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
|
|
4689
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4690
|
-
return addHeapObject(ret);
|
|
4691
|
-
}
|
|
4692
|
-
|
|
4693
4693
|
export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
|
|
4694
4694
|
getObject(arg0).body = getObject(arg1);
|
|
4695
4695
|
}
|
|
@@ -4910,17 +4910,17 @@ export function __wbindgen_closure_wrapper195(arg0, arg1, arg2) {
|
|
|
4910
4910
|
return addHeapObject(ret);
|
|
4911
4911
|
}
|
|
4912
4912
|
|
|
4913
|
-
export function
|
|
4913
|
+
export function __wbindgen_closure_wrapper3849(arg0, arg1, arg2) {
|
|
4914
4914
|
const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_60);
|
|
4915
4915
|
return addHeapObject(ret);
|
|
4916
4916
|
}
|
|
4917
4917
|
|
|
4918
|
-
export function
|
|
4918
|
+
export function __wbindgen_closure_wrapper6181(arg0, arg1, arg2) {
|
|
4919
4919
|
const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_60);
|
|
4920
4920
|
return addHeapObject(ret);
|
|
4921
4921
|
}
|
|
4922
4922
|
|
|
4923
|
-
export function
|
|
4923
|
+
export function __wbindgen_closure_wrapper6561(arg0, arg1, arg2) {
|
|
4924
4924
|
const ret = makeMutClosure(arg0, arg1, 342, __wbg_adapter_54);
|
|
4925
4925
|
return addHeapObject(ret);
|
|
4926
4926
|
}
|
|
Binary file
|