webdriver-bidi-protocol 0.1.3 → 0.1.4

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.
@@ -29,7 +29,7 @@ jobs:
29
29
  - name: Build and test
30
30
  run: npm test
31
31
  - name: Create Pull Request
32
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
32
+ uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
33
33
  with:
34
34
  token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
35
35
  branch: regenerate
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.3"
2
+ ".": "0.1.4"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.3...webdriver-bidi-protocol-v0.1.4) (2025-01-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-generate types based on specifciation updates ([#95](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/95)) ([64abd1d](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/64abd1d65d99e75d7ec1e885fe22c0f093323843))
9
+
3
10
  ## [0.1.3](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.2...webdriver-bidi-protocol-v0.1.3) (2024-12-20)
4
11
 
5
12
 
package/out/gen/main.d.ts CHANGED
@@ -97,7 +97,10 @@ export declare namespace Session {
97
97
  | Session.SystemProxyConfiguration
98
98
  | Record<string, never>;
99
99
  }
100
- export type SessionResult = Session.NewResult | Session.StatusResult;
100
+ export type SessionResult =
101
+ | Session.NewResult
102
+ | Session.StatusResult
103
+ | Session.SubscribeResult;
101
104
  export declare namespace Session {
102
105
  type CapabilitiesRequest = {
103
106
  alwaysMatch?: Session.CapabilityRequest;
@@ -248,7 +251,7 @@ export declare namespace Session {
248
251
  };
249
252
  }
250
253
  export declare namespace Session {
251
- type SubscriptionRequestResult = {
254
+ type SubscribeResult = {
252
255
  subscription: Session.Subscription;
253
256
  };
254
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
package/src/gen/main.ts CHANGED
@@ -99,7 +99,10 @@ export namespace Session {
99
99
  | Session.SystemProxyConfiguration
100
100
  | Record<string, never>;
101
101
  }
102
- export type SessionResult = Session.NewResult | Session.StatusResult;
102
+ export type SessionResult =
103
+ | Session.NewResult
104
+ | Session.StatusResult
105
+ | Session.SubscribeResult;
103
106
  export namespace Session {
104
107
  export type CapabilitiesRequest = {
105
108
  alwaysMatch?: Session.CapabilityRequest;
@@ -250,7 +253,7 @@ export namespace Session {
250
253
  };
251
254
  }
252
255
  export namespace Session {
253
- export type SubscriptionRequestResult = {
256
+ export type SubscribeResult = {
254
257
  subscription: Session.Subscription;
255
258
  };
256
259
  }