@bitwarden/sdk-internal 0.2.0-main.350 → 0.2.0-main.352

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.
@@ -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.__wbg_cipher_f2ae2deae031a97c = function (arg0) {
4064
+ module.exports.__wbg_cipher_65bc8e553ddb6281 = 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.__wbg_folder_d2c5b0ed0bacff45 = function (arg0) {
4144
+ module.exports.__wbg_folder_ca3050ad4455cac3 = 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.__wbg_get_0b14c6149bcb998d = function () {
4166
+ module.exports.__wbg_get_24bad413c9075716 = function () {
4167
4167
  return handleError(function (arg0, arg1, arg2) {
4168
4168
  let deferred0_0;
4169
4169
  let deferred0_1;
@@ -4178,7 +4178,19 @@ module.exports.__wbg_get_0b14c6149bcb998d = function () {
4178
4178
  }, arguments);
4179
4179
  };
4180
4180
 
4181
- module.exports.__wbg_get_3ec875d2bc17ab98 = function () {
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_b9b93047fe3cf45b = function (arg0, arg1) {
4189
+ const ret = getObject(arg0)[arg1 >>> 0];
4190
+ return addHeapObject(ret);
4191
+ };
4192
+
4193
+ module.exports.__wbg_get_ca3dc1b4ace61541 = function () {
4182
4194
  return handleError(function (arg0, arg1, arg2) {
4183
4195
  let deferred0_0;
4184
4196
  let deferred0_1;
@@ -4193,19 +4205,7 @@ module.exports.__wbg_get_3ec875d2bc17ab98 = function () {
4193
4205
  }, arguments);
4194
4206
  };
4195
4207
 
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
- module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
4204
- const ret = getObject(arg0)[arg1 >>> 0];
4205
- return addHeapObject(ret);
4206
- };
4207
-
4208
- module.exports.__wbg_getaccesstoken_814604c55e72e6cc = function (arg0) {
4208
+ module.exports.__wbg_getaccesstoken_357b5aeac36f1fa8 = 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.__wbg_list_05aa17b00de5f694 = function () {
4393
+ module.exports.__wbg_list_912f5a9a5dd7f591 = 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.__wbg_list_94aa90c25ebd0008 = function () {
4400
+ module.exports.__wbg_list_cac01e024a717ed0 = 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.__wbg_remove_5f35e09bda32ff81 = function () {
4601
+ module.exports.__wbg_remove_263f723adedfcf68 = 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.__wbg_remove_cb22e6ab607ea1c0 = function () {
4616
+ module.exports.__wbg_remove_44f431aaf84f7be0 = function () {
4617
4617
  return handleError(function (arg0, arg1, arg2) {
4618
4618
  let deferred0_0;
4619
4619
  let deferred0_1;
@@ -4659,7 +4659,11 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
4659
4659
  return addHeapObject(ret);
4660
4660
  };
4661
4661
 
4662
- module.exports.__wbg_set_27969cfb77f65a16 = function () {
4662
+ module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
4663
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4664
+ };
4665
+
4666
+ module.exports.__wbg_set_3d3062a8e8b956f7 = function () {
4663
4667
  return handleError(function (arg0, arg1, arg2, arg3) {
4664
4668
  let deferred0_0;
4665
4669
  let deferred0_1;
@@ -4674,10 +4678,6 @@ module.exports.__wbg_set_27969cfb77f65a16 = function () {
4674
4678
  }, arguments);
4675
4679
  };
4676
4680
 
4677
- module.exports.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
4678
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
4679
- };
4680
-
4681
4681
  module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
4682
4682
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4683
4683
  };
@@ -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.__wbg_set_7689f42b128c8143 = function () {
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_b6768a913e6057ed = 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.__wbindgen_closure_wrapper3847 = function (arg0, arg1, arg2) {
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.__wbindgen_closure_wrapper6179 = function (arg0, arg1, arg2) {
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.__wbindgen_closure_wrapper6559 = function (arg0, arg1, arg2) {
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.350",
3
+ "version": "0.2.0-main.352",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",