devtools-protocol 0.0.1697629 → 0.0.1698617

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.
@@ -1030,8 +1030,18 @@
1030
1030
  },
1031
1031
  {
1032
1032
  "name": "currentTime",
1033
- "description": "Set the current time of each animation.",
1033
+ "description": "Set each animation to the same time.",
1034
+ "optional": true,
1034
1035
  "type": "number"
1036
+ },
1037
+ {
1038
+ "name": "currentTimes",
1039
+ "description": "Set each animation to a different time. If set, should have the same\nlength as animations. Exactly one of currentTime or currentTimes should\nbe set.",
1040
+ "optional": true,
1041
+ "type": "array",
1042
+ "items": {
1043
+ "type": "number"
1044
+ }
1035
1045
  }
1036
1046
  ]
1037
1047
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1697629",
3
+ "version": "0.0.1698617",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -143,8 +143,12 @@ experimental domain Animation
143
143
  parameters
144
144
  # List of animation ids to seek.
145
145
  array of string animations
146
- # Set the current time of each animation.
147
- number currentTime
146
+ # Set each animation to the same time.
147
+ optional number currentTime
148
+ # Set each animation to a different time. If set, should have the same
149
+ # length as animations. Exactly one of currentTime or currentTimes should
150
+ # be set.
151
+ optional array of number currentTimes
148
152
 
149
153
  # Sets the paused state of a set of animations.
150
154
  command setPaused
@@ -3453,9 +3453,15 @@ export namespace Protocol {
3453
3453
  */
3454
3454
  animations: string[];
3455
3455
  /**
3456
- * Set the current time of each animation.
3456
+ * Set each animation to the same time.
3457
3457
  */
3458
- currentTime: number;
3458
+ currentTime?: number;
3459
+ /**
3460
+ * Set each animation to a different time. If set, should have the same
3461
+ * length as animations. Exactly one of currentTime or currentTimes should
3462
+ * be set.
3463
+ */
3464
+ currentTimes?: number[];
3459
3465
  }
3460
3466
 
3461
3467
  export interface SetPausedRequest {