webdriver-bidi-protocol 0.1.2 → 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.
- package/.github/dependabot.yml +1 -0
- package/.github/workflows/regenerate.yml +1 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/out/gen/main.d.ts +29 -2
- package/package.json +1 -1
- package/src/gen/main.ts +29 -2
package/.github/dependabot.yml
CHANGED
|
@@ -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@
|
|
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
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* re-generate types based on specifciation updates ([#88](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/88)) ([d3c2c6f](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/d3c2c6fcf973551d4bef5cbee5291e3581ae257c))
|
|
16
|
+
|
|
3
17
|
## [0.1.2](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.1...webdriver-bidi-protocol-v0.1.2) (2024-12-08)
|
|
4
18
|
|
|
5
19
|
|
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 =
|
|
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;
|
|
@@ -170,6 +173,9 @@ export declare namespace Session {
|
|
|
170
173
|
Ignore = 'ignore',
|
|
171
174
|
}
|
|
172
175
|
}
|
|
176
|
+
export declare namespace Session {
|
|
177
|
+
type Subscription = string;
|
|
178
|
+
}
|
|
173
179
|
export declare namespace Session {
|
|
174
180
|
type SubscriptionRequest = {
|
|
175
181
|
events: [string, ...string[]];
|
|
@@ -179,6 +185,20 @@ export declare namespace Session {
|
|
|
179
185
|
];
|
|
180
186
|
};
|
|
181
187
|
}
|
|
188
|
+
export declare namespace Session {
|
|
189
|
+
type UnsubscribeByIdRequest = {
|
|
190
|
+
subscriptions: [Session.Subscription, ...Session.Subscription[]];
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
export declare namespace Session {
|
|
194
|
+
type UnsubscribeByAttributesRequest = {
|
|
195
|
+
events: [string, ...string[]];
|
|
196
|
+
contexts?: [
|
|
197
|
+
BrowsingContext.BrowsingContext,
|
|
198
|
+
...BrowsingContext.BrowsingContext[],
|
|
199
|
+
];
|
|
200
|
+
};
|
|
201
|
+
}
|
|
182
202
|
export declare namespace Session {
|
|
183
203
|
type Status = {
|
|
184
204
|
method: 'session.status';
|
|
@@ -230,10 +250,17 @@ export declare namespace Session {
|
|
|
230
250
|
params: Session.SubscriptionRequest;
|
|
231
251
|
};
|
|
232
252
|
}
|
|
253
|
+
export declare namespace Session {
|
|
254
|
+
type SubscribeResult = {
|
|
255
|
+
subscription: Session.Subscription;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
233
258
|
export declare namespace Session {
|
|
234
259
|
type Unsubscribe = {
|
|
235
260
|
method: 'session.unsubscribe';
|
|
236
|
-
params:
|
|
261
|
+
params:
|
|
262
|
+
| Session.UnsubscribeByAttributesRequest
|
|
263
|
+
| Session.UnsubscribeByIdRequest;
|
|
237
264
|
};
|
|
238
265
|
}
|
|
239
266
|
export type BrowserCommand =
|
package/package.json
CHANGED
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 =
|
|
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;
|
|
@@ -172,6 +175,9 @@ export namespace Session {
|
|
|
172
175
|
Ignore = 'ignore',
|
|
173
176
|
}
|
|
174
177
|
}
|
|
178
|
+
export namespace Session {
|
|
179
|
+
export type Subscription = string;
|
|
180
|
+
}
|
|
175
181
|
export namespace Session {
|
|
176
182
|
export type SubscriptionRequest = {
|
|
177
183
|
events: [string, ...string[]];
|
|
@@ -181,6 +187,20 @@ export namespace Session {
|
|
|
181
187
|
];
|
|
182
188
|
};
|
|
183
189
|
}
|
|
190
|
+
export namespace Session {
|
|
191
|
+
export type UnsubscribeByIdRequest = {
|
|
192
|
+
subscriptions: [Session.Subscription, ...Session.Subscription[]];
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
export namespace Session {
|
|
196
|
+
export type UnsubscribeByAttributesRequest = {
|
|
197
|
+
events: [string, ...string[]];
|
|
198
|
+
contexts?: [
|
|
199
|
+
BrowsingContext.BrowsingContext,
|
|
200
|
+
...BrowsingContext.BrowsingContext[],
|
|
201
|
+
];
|
|
202
|
+
};
|
|
203
|
+
}
|
|
184
204
|
export namespace Session {
|
|
185
205
|
export type Status = {
|
|
186
206
|
method: 'session.status';
|
|
@@ -232,10 +252,17 @@ export namespace Session {
|
|
|
232
252
|
params: Session.SubscriptionRequest;
|
|
233
253
|
};
|
|
234
254
|
}
|
|
255
|
+
export namespace Session {
|
|
256
|
+
export type SubscribeResult = {
|
|
257
|
+
subscription: Session.Subscription;
|
|
258
|
+
};
|
|
259
|
+
}
|
|
235
260
|
export namespace Session {
|
|
236
261
|
export type Unsubscribe = {
|
|
237
262
|
method: 'session.unsubscribe';
|
|
238
|
-
params:
|
|
263
|
+
params:
|
|
264
|
+
| Session.UnsubscribeByAttributesRequest
|
|
265
|
+
| Session.UnsubscribeByIdRequest;
|
|
239
266
|
};
|
|
240
267
|
}
|
|
241
268
|
export type BrowserCommand =
|