webdriver-bidi-protocol 0.3.1 → 0.3.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.
@@ -32,6 +32,9 @@ updates:
32
32
  directory: /
33
33
  schedule:
34
34
  interval: daily
35
- open-pull-requests-limit: 5
36
35
  labels:
37
36
  - commit-updates
37
+ groups:
38
+ all:
39
+ patterns:
40
+ - '*'
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.3.1"
2
+ ".": "0.3.2"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.2](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.1...webdriver-bidi-protocol-v0.3.2) (2025-09-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-generate types based on specifciation updates ([#257](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/257)) ([d5a2c22](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/d5a2c22c5623f914ad309fc78f58bf90e610e816))
9
+
3
10
  ## [0.3.1](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.0...webdriver-bidi-protocol-v0.3.1) (2025-09-23)
4
11
 
5
12
 
package/out/gen/main.d.ts CHANGED
@@ -400,7 +400,7 @@ export declare namespace Browser {
400
400
  export declare namespace Browser {
401
401
  type DownloadBehaviorAllowed = {
402
402
  type: 'allowed';
403
- destinationFolder?: string;
403
+ destinationFolder: string;
404
404
  };
405
405
  }
406
406
  export declare namespace Browser {
@@ -1666,7 +1666,8 @@ export type ScriptCommand =
1666
1666
  export type ScriptResult =
1667
1667
  | Script.AddPreloadScriptResult
1668
1668
  | Script.EvaluateResult
1669
- | Script.GetRealmsResult;
1669
+ | Script.GetRealmsResult
1670
+ | Script.CallFunctionResult;
1670
1671
  export type ScriptEvent =
1671
1672
  | Script.Message
1672
1673
  | Script.RealmCreated
@@ -2234,6 +2235,9 @@ export declare namespace Script {
2234
2235
  userActivation?: boolean;
2235
2236
  };
2236
2237
  }
2238
+ export declare namespace Script {
2239
+ type CallFunctionResult = Script.EvaluateResult;
2240
+ }
2237
2241
  export declare namespace Script {
2238
2242
  type Evaluate = {
2239
2243
  method: 'script.evaluate';
@@ -228,7 +228,7 @@ export interface CommandMapping {
228
228
  };
229
229
  'script.callFunction': {
230
230
  params: Bidi.Script.CallFunctionParameters;
231
- returnType: Bidi.EmptyResult;
231
+ returnType: Bidi.Script.CallFunctionResult;
232
232
  };
233
233
  'script.disown': {
234
234
  params: Bidi.Script.DisownParameters;
@@ -51,8 +51,7 @@ export type BluetoothCommand =
51
51
  | Bluetooth.SimulateCharacteristic
52
52
  | Bluetooth.SimulateCharacteristicResponse
53
53
  | Bluetooth.SimulateDescriptor
54
- | Bluetooth.SimulateDescriptorResponse
55
- | Record<string, never>;
54
+ | Bluetooth.SimulateDescriptorResponse;
56
55
  export declare namespace Bluetooth {
57
56
  type HandleRequestDevicePrompt = {
58
57
  method: 'bluetooth.handleRequestDevicePrompt';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
package/src/gen/main.ts CHANGED
@@ -402,7 +402,7 @@ export namespace Browser {
402
402
  export namespace Browser {
403
403
  export type DownloadBehaviorAllowed = {
404
404
  type: 'allowed';
405
- destinationFolder?: string;
405
+ destinationFolder: string;
406
406
  };
407
407
  }
408
408
  export namespace Browser {
@@ -1668,7 +1668,8 @@ export type ScriptCommand =
1668
1668
  export type ScriptResult =
1669
1669
  | Script.AddPreloadScriptResult
1670
1670
  | Script.EvaluateResult
1671
- | Script.GetRealmsResult;
1671
+ | Script.GetRealmsResult
1672
+ | Script.CallFunctionResult;
1672
1673
  export type ScriptEvent =
1673
1674
  | Script.Message
1674
1675
  | Script.RealmCreated
@@ -2238,6 +2239,9 @@ export namespace Script {
2238
2239
  userActivation?: boolean;
2239
2240
  };
2240
2241
  }
2242
+ export namespace Script {
2243
+ export type CallFunctionResult = Script.EvaluateResult;
2244
+ }
2241
2245
  export namespace Script {
2242
2246
  export type Evaluate = {
2243
2247
  method: 'script.evaluate';
@@ -229,7 +229,7 @@ export interface CommandMapping {
229
229
  };
230
230
  'script.callFunction': {
231
231
  params: Bidi.Script.CallFunctionParameters;
232
- returnType: Bidi.EmptyResult;
232
+ returnType: Bidi.Script.CallFunctionResult;
233
233
  };
234
234
  'script.disown': {
235
235
  params: Bidi.Script.DisownParameters;
@@ -51,8 +51,7 @@ export type BluetoothCommand =
51
51
  | Bluetooth.SimulateCharacteristic
52
52
  | Bluetooth.SimulateCharacteristicResponse
53
53
  | Bluetooth.SimulateDescriptor
54
- | Bluetooth.SimulateDescriptorResponse
55
- | Record<string, never>;
54
+ | Bluetooth.SimulateDescriptorResponse;
56
55
  export namespace Bluetooth {
57
56
  export type HandleRequestDevicePrompt = {
58
57
  method: 'bluetooth.handleRequestDevicePrompt';