devtools-protocol 0.0.1074451 → 0.0.1075693

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.
@@ -1997,6 +1997,11 @@
1997
1997
  "items": {
1998
1998
  "$ref": "EventMetadata"
1999
1999
  }
2000
+ },
2001
+ {
2002
+ "name": "storageKey",
2003
+ "description": "Storage key this event belongs to.",
2004
+ "type": "string"
2000
2005
  }
2001
2006
  ]
2002
2007
  }
@@ -4446,7 +4451,14 @@
4446
4451
  "parameters": [
4447
4452
  {
4448
4453
  "name": "securityOrigin",
4449
- "description": "Security origin.",
4454
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
4455
+ "optional": true,
4456
+ "type": "string"
4457
+ },
4458
+ {
4459
+ "name": "storageKey",
4460
+ "description": "Storage key.",
4461
+ "optional": true,
4450
4462
  "type": "string"
4451
4463
  }
4452
4464
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1074451",
3
+ "version": "0.0.1075693",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1031,6 +1031,8 @@ experimental domain BackgroundService
1031
1031
  string instanceId
1032
1032
  # A list of event-specific information.
1033
1033
  array of EventMetadata eventMetadata
1034
+ # Storage key this event belongs to.
1035
+ string storageKey
1034
1036
 
1035
1037
  # Called with all existing backgroundServiceEvents when enabled, and all new
1036
1038
  # events afterwards if enabled and recording.
@@ -2099,8 +2101,11 @@ experimental domain CacheStorage
2099
2101
  # Requests cache names.
2100
2102
  command requestCacheNames
2101
2103
  parameters
2104
+ # At least and at most one of securityOrigin, storageKey must be specified.
2102
2105
  # Security origin.
2103
- string securityOrigin
2106
+ optional string securityOrigin
2107
+ # Storage key.
2108
+ optional string storageKey
2104
2109
  returns
2105
2110
  # Caches for the security origin.
2106
2111
  array of Cache caches
@@ -1804,7 +1804,7 @@ export namespace ProtocolMapping {
1804
1804
  * Requests cache names.
1805
1805
  */
1806
1806
  'CacheStorage.requestCacheNames': {
1807
- paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest];
1807
+ paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest?];
1808
1808
  returnType: Protocol.CacheStorage.RequestCacheNamesResponse;
1809
1809
  };
1810
1810
  /**
@@ -3628,6 +3628,10 @@ export namespace Protocol {
3628
3628
  * A list of event-specific information.
3629
3629
  */
3630
3630
  eventMetadata: EventMetadata[];
3631
+ /**
3632
+ * Storage key this event belongs to.
3633
+ */
3634
+ storageKey: string;
3631
3635
  }
3632
3636
 
3633
3637
  export interface StartObservingRequest {
@@ -5218,9 +5222,14 @@ export namespace Protocol {
5218
5222
 
5219
5223
  export interface RequestCacheNamesRequest {
5220
5224
  /**
5225
+ * At least and at most one of securityOrigin, storageKey must be specified.
5221
5226
  * Security origin.
5222
5227
  */
5223
- securityOrigin: string;
5228
+ securityOrigin?: string;
5229
+ /**
5230
+ * Storage key.
5231
+ */
5232
+ storageKey?: string;
5224
5233
  }
5225
5234
 
5226
5235
  export interface RequestCacheNamesResponse {