webdriver-bidi-protocol 0.2.1 → 0.2.2

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.1"
2
+ ".": "0.2.2"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.2](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.2.1...webdriver-bidi-protocol-v0.2.2) (2025-07-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-generate types based on specifciation updates ([#190](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/190)) ([7387ba3](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/7387ba3287a187cc3a48d5ca4f735c650f8a2d1a))
9
+
3
10
  ## [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
11
 
5
12
 
package/out/gen/main.d.ts CHANGED
@@ -319,6 +319,7 @@ export declare namespace Browser {
319
319
  type CreateUserContextParameters = {
320
320
  acceptInsecureCerts?: boolean;
321
321
  proxy?: Session.ProxyConfiguration;
322
+ unhandledPromptBehavior?: Session.UserPromptHandler;
322
323
  };
323
324
  }
324
325
  export declare namespace Browser {
@@ -1076,6 +1077,7 @@ export type NetworkCommand =
1076
1077
  | Network.ContinueRequest
1077
1078
  | Network.ContinueResponse
1078
1079
  | Network.ContinueWithAuth
1080
+ | Network.DisownData
1079
1081
  | Network.FailRequest
1080
1082
  | Network.GetData
1081
1083
  | Network.ProvideResponse
@@ -1425,7 +1427,7 @@ export declare namespace Network {
1425
1427
  request: Network.Request;
1426
1428
  };
1427
1429
  }
1428
- export declare namespace Script {
1430
+ export declare namespace Network {
1429
1431
  type GetDataResult = {
1430
1432
  bytes: Network.BytesValue;
1431
1433
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "devDependencies": {
23
23
  "@types/node": "^24.0.4",
24
24
  "gts": "^6.0.2",
25
- "parse5": "^7.1.2",
25
+ "parse5": "^8.0.0",
26
26
  "prettier": "3.6.2",
27
27
  "tsd": "0.32.0",
28
28
  "typescript": "5.8.3"
package/src/gen/main.ts CHANGED
@@ -321,6 +321,7 @@ export namespace Browser {
321
321
  export type CreateUserContextParameters = {
322
322
  acceptInsecureCerts?: boolean;
323
323
  proxy?: Session.ProxyConfiguration;
324
+ unhandledPromptBehavior?: Session.UserPromptHandler;
324
325
  };
325
326
  }
326
327
  export namespace Browser {
@@ -1078,6 +1079,7 @@ export type NetworkCommand =
1078
1079
  | Network.ContinueRequest
1079
1080
  | Network.ContinueResponse
1080
1081
  | Network.ContinueWithAuth
1082
+ | Network.DisownData
1081
1083
  | Network.FailRequest
1082
1084
  | Network.GetData
1083
1085
  | Network.ProvideResponse
@@ -1427,7 +1429,7 @@ export namespace Network {
1427
1429
  request: Network.Request;
1428
1430
  };
1429
1431
  }
1430
- export namespace Script {
1432
+ export namespace Network {
1431
1433
  export type GetDataResult = {
1432
1434
  bytes: Network.BytesValue;
1433
1435
  };