webdriver-bidi-protocol 0.1.0 → 0.1.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.1.0"
2
+ ".": "0.1.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.1](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.0...webdriver-bidi-protocol-v0.1.1) (2024-12-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-gen types based on the spec changes ([#75](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/75)) ([e95b00e](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/e95b00e96333781b8843325d928e75f49768f06f))
9
+
3
10
  ## [0.1.0](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.0.9...webdriver-bidi-protocol-v0.1.0) (2024-12-02)
4
11
 
5
12
 
package/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # webdriver-bidi-protocol
2
2
 
3
3
  This repository contains TypeScript types conforming to the [WebDriver
4
- BiDi](https://w3c.github.io/webdriver-bidi/) specification.
4
+ BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also
5
+ supports WebDriver BiDi extension modules defined in other
6
+ specifications:
7
+
8
+ - [Permissions](https://w3c.github.io/permissions/#automation-webdriver-bidi)
9
+ - [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/#automated-testing)
5
10
 
6
11
  ## Installation
7
12
 
@@ -31,4 +36,4 @@ await sendCommand('browsingContext.print', {context: 'xxx'});
31
36
  ## Versioning
32
37
 
33
38
  This package patch version will be incremented whenever there are
34
- specification updates.
39
+ specification updates.
package/out/gen/main.d.ts CHANGED
@@ -23,14 +23,16 @@ export type CommandData =
23
23
  | NetworkCommand
24
24
  | ScriptCommand
25
25
  | SessionCommand
26
- | StorageCommand;
26
+ | StorageCommand
27
+ | WebExtensionsCommand;
27
28
  export type ResultData =
28
29
  | BrowsingContextResult
29
30
  | EmptyResult
30
31
  | NetworkResult
31
32
  | ScriptResult
32
33
  | SessionResult
33
- | StorageResult;
34
+ | StorageResult
35
+ | WebExtensionsResult;
34
36
  export type EmptyParams = Extensible;
35
37
  export type Message = CommandResponse | ErrorResponse | Event;
36
38
  export type ErrorResponse = {
@@ -2258,8 +2260,9 @@ export declare namespace Input {
2258
2260
  files: [...string[]];
2259
2261
  };
2260
2262
  }
2261
- export type WebExtensionsCommand = WebExtension.Install &
2262
- WebExtension.Uninstall;
2263
+ export type WebExtensionsCommand =
2264
+ | WebExtension.Install
2265
+ | WebExtension.Uninstall;
2263
2266
  export type WebExtensionsResult = WebExtension.InstallResult;
2264
2267
  export declare namespace WebExtension {
2265
2268
  type Extension = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
package/src/gen/main.ts CHANGED
@@ -23,14 +23,16 @@ export type CommandData =
23
23
  | NetworkCommand
24
24
  | ScriptCommand
25
25
  | SessionCommand
26
- | StorageCommand;
26
+ | StorageCommand
27
+ | WebExtensionsCommand;
27
28
  export type ResultData =
28
29
  | BrowsingContextResult
29
30
  | EmptyResult
30
31
  | NetworkResult
31
32
  | ScriptResult
32
33
  | SessionResult
33
- | StorageResult;
34
+ | StorageResult
35
+ | WebExtensionsResult;
34
36
  export type EmptyParams = Extensible;
35
37
  export type Message = CommandResponse | ErrorResponse | Event;
36
38
  export type ErrorResponse = {
@@ -2262,8 +2264,9 @@ export namespace Input {
2262
2264
  files: [...string[]];
2263
2265
  };
2264
2266
  }
2265
- export type WebExtensionsCommand = WebExtension.Install &
2266
- WebExtension.Uninstall;
2267
+ export type WebExtensionsCommand =
2268
+ | WebExtension.Install
2269
+ | WebExtension.Uninstall;
2267
2270
  export type WebExtensionsResult = WebExtension.InstallResult;
2268
2271
  export namespace WebExtension {
2269
2272
  export type Extension = string;