webdriver-bidi-protocol 0.2.0 → 0.2.1

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.2.0"
2
+ ".": "0.2.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.2.0...webdriver-bidi-protocol-v0.2.1) (2025-07-01)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-generate types based on specifciation updates ([#183](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/183)) ([daf944c](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/daf944c89cda0387cc0eac163c858515b60ea480))
9
+ * re-generate types based on specifciation updates ([#187](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/187)) ([d847f6a](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/d847f6afbd310e9587c79a942e33e09afe654729))
10
+
3
11
  ## [0.2.0](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.10...webdriver-bidi-protocol-v0.2.0) (2025-06-26)
4
12
 
5
13
 
package/out/gen/main.d.ts CHANGED
@@ -950,6 +950,7 @@ export declare namespace BrowsingContext {
950
950
  }
951
951
  export type EmulationCommand =
952
952
  | Emulation.SetGeolocationOverride
953
+ | Emulation.SetLocaleOverride
953
954
  | Emulation.SetScreenOrientationOverride;
954
955
  export declare namespace Emulation {
955
956
  type SetGeolocationOverride = {
@@ -1018,6 +1019,22 @@ export declare namespace Emulation {
1018
1019
  type: 'positionUnavailable';
1019
1020
  };
1020
1021
  }
1022
+ export declare namespace Emulation {
1023
+ type SetLocaleOverride = {
1024
+ method: 'emulation.setLocaleOverride';
1025
+ params: Emulation.SetLocaleOverrideParameters;
1026
+ };
1027
+ }
1028
+ export declare namespace Emulation {
1029
+ type SetLocaleOverrideParameters = {
1030
+ locale: string | null;
1031
+ contexts?: [
1032
+ BrowsingContext.BrowsingContext,
1033
+ ...BrowsingContext.BrowsingContext[],
1034
+ ];
1035
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1036
+ };
1037
+ }
1021
1038
  export declare namespace Emulation {
1022
1039
  type SetScreenOrientationOverride = {
1023
1040
  method: 'emulation.setScreenOrientationOverride';
@@ -1129,6 +1146,7 @@ export declare namespace Network {
1129
1146
  Strict = 'strict',
1130
1147
  Lax = 'lax',
1131
1148
  None = 'none',
1149
+ Default = 'default',
1132
1150
  }
1133
1151
  }
1134
1152
  export declare namespace Network {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "@types/node": "^24.0.4",
24
24
  "gts": "^6.0.2",
25
25
  "parse5": "^7.1.2",
26
- "prettier": "3.6.1",
26
+ "prettier": "3.6.2",
27
27
  "tsd": "0.32.0",
28
28
  "typescript": "5.8.3"
29
29
  }
package/src/gen/main.ts CHANGED
@@ -952,6 +952,7 @@ export namespace BrowsingContext {
952
952
  }
953
953
  export type EmulationCommand =
954
954
  | Emulation.SetGeolocationOverride
955
+ | Emulation.SetLocaleOverride
955
956
  | Emulation.SetScreenOrientationOverride;
956
957
  export namespace Emulation {
957
958
  export type SetGeolocationOverride = {
@@ -1020,6 +1021,22 @@ export namespace Emulation {
1020
1021
  type: 'positionUnavailable';
1021
1022
  };
1022
1023
  }
1024
+ export namespace Emulation {
1025
+ export type SetLocaleOverride = {
1026
+ method: 'emulation.setLocaleOverride';
1027
+ params: Emulation.SetLocaleOverrideParameters;
1028
+ };
1029
+ }
1030
+ export namespace Emulation {
1031
+ export type SetLocaleOverrideParameters = {
1032
+ locale: string | null;
1033
+ contexts?: [
1034
+ BrowsingContext.BrowsingContext,
1035
+ ...BrowsingContext.BrowsingContext[],
1036
+ ];
1037
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1038
+ };
1039
+ }
1023
1040
  export namespace Emulation {
1024
1041
  export type SetScreenOrientationOverride = {
1025
1042
  method: 'emulation.setScreenOrientationOverride';
@@ -1131,6 +1148,7 @@ export namespace Network {
1131
1148
  Strict = 'strict',
1132
1149
  Lax = 'lax',
1133
1150
  None = 'none',
1151
+ Default = 'default',
1134
1152
  }
1135
1153
  }
1136
1154
  export namespace Network {