webdriver-bidi-protocol 0.0.6 → 0.0.8

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.
@@ -27,7 +27,10 @@ jobs:
27
27
  ref: ${{ github.head_ref }}
28
28
  token: ${{ secrets.BROWSER_AUTOMATION_BOT_TOKEN }}
29
29
  - name: Install cddlconv
30
- run: cargo install cddlconv@0.1.5
30
+ uses: baptiste0928/cargo-install@904927dbe77864e0f2281519fe9d5bd097a220b3 # v3.1.1
31
+ with:
32
+ crate: cddlconv
33
+ version: 0.1.5
31
34
  - name: Install dependencies
32
35
  run: npm ci
33
36
  - name: Build and test
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.0.6"
2
+ ".": "0.0.8"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.8](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.0.7...webdriver-bidi-protocol-v0.0.8) (2024-07-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * bump specs/webdriver-bidi from `a46d71b` to `0fa2d99` ([#33](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/33)) ([596a0ab](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/596a0ab776e061bccbc67a4fc38db4d5cce84643))
9
+
10
+ ## [0.0.7](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.0.6...webdriver-bidi-protocol-v0.0.7) (2024-07-04)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * bump specs/webdriver-bidi from `0c366b0` to `a46d71b` ([#30](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/30)) ([c926381](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/c92638156ca8cbe36e2485fde2c3eca4b6d14cd7))
16
+
3
17
  ## [0.0.6](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.0.5...webdriver-bidi-protocol-v0.0.6) (2024-07-02)
4
18
 
5
19
 
package/out/gen/main.d.ts CHANGED
@@ -795,7 +795,8 @@ export type NetworkCommand =
795
795
  | Network.ContinueWithAuth
796
796
  | Network.FailRequest
797
797
  | Network.ProvideResponse
798
- | Network.RemoveIntercept;
798
+ | Network.RemoveIntercept
799
+ | Network.SetCacheBehavior;
799
800
  export type NetworkEvent =
800
801
  | Network.AuthRequired
801
802
  | Network.BeforeRequestSent
@@ -1094,6 +1095,21 @@ export declare namespace Network {
1094
1095
  intercept: Network.Intercept;
1095
1096
  };
1096
1097
  }
1098
+ export declare namespace Network {
1099
+ type SetCacheBehavior = {
1100
+ method: 'network.setCacheBehavior';
1101
+ params: Network.SetCacheBehaviorParameters;
1102
+ };
1103
+ }
1104
+ export declare namespace Network {
1105
+ type SetCacheBehaviorParameters = {
1106
+ cacheBehavior: 'default' | 'bypass';
1107
+ contexts?: [
1108
+ BrowsingContext.BrowsingContext,
1109
+ ...BrowsingContext.BrowsingContext[],
1110
+ ];
1111
+ };
1112
+ }
1097
1113
  export type ScriptEvent =
1098
1114
  | Script.Message
1099
1115
  | Script.RealmCreated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -25,6 +25,6 @@
25
25
  "parse5": "^7.1.2",
26
26
  "prettier": "3.3.2",
27
27
  "tsd": "0.31.1",
28
- "typescript": "5.5.2"
28
+ "typescript": "5.5.3"
29
29
  }
30
30
  }
package/src/gen/main.ts CHANGED
@@ -797,7 +797,8 @@ export type NetworkCommand =
797
797
  | Network.ContinueWithAuth
798
798
  | Network.FailRequest
799
799
  | Network.ProvideResponse
800
- | Network.RemoveIntercept;
800
+ | Network.RemoveIntercept
801
+ | Network.SetCacheBehavior;
801
802
  export type NetworkEvent =
802
803
  | Network.AuthRequired
803
804
  | Network.BeforeRequestSent
@@ -1096,6 +1097,21 @@ export namespace Network {
1096
1097
  intercept: Network.Intercept;
1097
1098
  };
1098
1099
  }
1100
+ export namespace Network {
1101
+ export type SetCacheBehavior = {
1102
+ method: 'network.setCacheBehavior';
1103
+ params: Network.SetCacheBehaviorParameters;
1104
+ };
1105
+ }
1106
+ export namespace Network {
1107
+ export type SetCacheBehaviorParameters = {
1108
+ cacheBehavior: 'default' | 'bypass';
1109
+ contexts?: [
1110
+ BrowsingContext.BrowsingContext,
1111
+ ...BrowsingContext.BrowsingContext[],
1112
+ ];
1113
+ };
1114
+ }
1099
1115
  export type ScriptEvent =
1100
1116
  | Script.Message
1101
1117
  | Script.RealmCreated