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.
- package/.github/dependabot.yml +4 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/out/gen/main.d.ts +6 -2
- package/out/gen/mapping.d.ts +1 -1
- package/out/gen/web-bluetooth.d.ts +1 -2
- package/package.json +1 -1
- package/src/gen/main.ts +6 -2
- package/src/gen/mapping.ts +1 -1
- package/src/gen/web-bluetooth.ts +1 -2
package/.github/dependabot.yml
CHANGED
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
|
|
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';
|
package/out/gen/mapping.d.ts
CHANGED
|
@@ -228,7 +228,7 @@ export interface CommandMapping {
|
|
|
228
228
|
};
|
|
229
229
|
'script.callFunction': {
|
|
230
230
|
params: Bidi.Script.CallFunctionParameters;
|
|
231
|
-
returnType: Bidi.
|
|
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
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
|
|
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';
|
package/src/gen/mapping.ts
CHANGED
|
@@ -229,7 +229,7 @@ export interface CommandMapping {
|
|
|
229
229
|
};
|
|
230
230
|
'script.callFunction': {
|
|
231
231
|
params: Bidi.Script.CallFunctionParameters;
|
|
232
|
-
returnType: Bidi.
|
|
232
|
+
returnType: Bidi.Script.CallFunctionResult;
|
|
233
233
|
};
|
|
234
234
|
'script.disown': {
|
|
235
235
|
params: Bidi.Script.DisownParameters;
|
package/src/gen/web-bluetooth.ts
CHANGED
|
@@ -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';
|