devtools-protocol 0.0.924041 → 0.0.924232

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.
@@ -15782,12 +15782,18 @@
15782
15782
  },
15783
15783
  {
15784
15784
  "name": "getAppId",
15785
- "description": "Returns the unique (PWA) app id.",
15785
+ "description": "Returns the unique (PWA) app id.\nOnly returns values if the feature flag 'WebAppEnableManifestId' is enabled",
15786
15786
  "experimental": true,
15787
15787
  "returns": [
15788
15788
  {
15789
15789
  "name": "appId",
15790
- "description": "Only returns a value if the feature flag 'WebAppEnableManifestId' is enabled",
15790
+ "description": "App id, either from manifest's id attribute or computed from start_url",
15791
+ "optional": true,
15792
+ "type": "string"
15793
+ },
15794
+ {
15795
+ "name": "recommendedId",
15796
+ "description": "Recommendation for manifest's id attribute to match current id computed from start_url",
15791
15797
  "optional": true,
15792
15798
  "type": "string"
15793
15799
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.924041",
3
+ "version": "0.0.924232",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7241,10 +7241,13 @@ domain Page
7241
7241
  optional binary primaryIcon
7242
7242
 
7243
7243
  # Returns the unique (PWA) app id.
7244
+ # Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
7244
7245
  experimental command getAppId
7245
7246
  returns
7246
- # Only returns a value if the feature flag 'WebAppEnableManifestId' is enabled
7247
+ # App id, either from manifest's id attribute or computed from start_url
7247
7248
  optional string appId
7249
+ # Recommendation for manifest's id attribute to match current id computed from start_url
7250
+ optional string recommendedId
7248
7251
 
7249
7252
  # Returns all browser cookies. Depending on the backend support, will return detailed cookie
7250
7253
  # information in the `cookies` field.
@@ -3461,6 +3461,7 @@ export namespace ProtocolMapping {
3461
3461
  };
3462
3462
  /**
3463
3463
  * Returns the unique (PWA) app id.
3464
+ * Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
3464
3465
  */
3465
3466
  'Page.getAppId': {
3466
3467
  paramsType: [];
@@ -2676,6 +2676,7 @@ export namespace ProtocolProxyApi {
2676
2676
 
2677
2677
  /**
2678
2678
  * Returns the unique (PWA) app id.
2679
+ * Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
2679
2680
  */
2680
2681
  getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
2681
2682
 
@@ -12454,9 +12454,13 @@ export namespace Protocol {
12454
12454
 
12455
12455
  export interface GetAppIdResponse {
12456
12456
  /**
12457
- * Only returns a value if the feature flag 'WebAppEnableManifestId' is enabled
12457
+ * App id, either from manifest's id attribute or computed from start_url
12458
12458
  */
12459
12459
  appId?: string;
12460
+ /**
12461
+ * Recommendation for manifest's id attribute to match current id computed from start_url
12462
+ */
12463
+ recommendedId?: string;
12460
12464
  }
12461
12465
 
12462
12466
  export interface GetCookiesResponse {