chrome-types 0.1.330 → 0.1.332

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.
Files changed (3) hide show
  1. package/_all.d.ts +14 -14
  2. package/index.d.ts +14 -14
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Jan 08 2025 22:32:32 GMT+0000 (Coordinated Universal Time)
18
- // Built at a76e388fb0093c10cd2bcaa5d2360c4f98f59922
17
+ // Generated on Tue Jan 14 2025 22:30:51 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ed9d1ef33d9e104f92310a1d6f40d165dbd39cda
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -30773,24 +30773,24 @@ declare namespace chrome {
30773
30773
  mutedInfo?: MutedInfo;
30774
30774
 
30775
30775
  /**
30776
- * The last committed URL of the main frame of the tab. This property is only present if the extension's manifest includes the `"tabs"` permission and may be an empty string if the tab has not yet committed. See also {@link Tab.pendingUrl}.
30776
+ * The last committed URL of the main frame of the tab. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page. May be an empty string if the tab has not yet committed. See also {@link Tab.pendingUrl}.
30777
30777
  */
30778
30778
  url?: string;
30779
30779
 
30780
30780
  /**
30781
- * The URL the tab is navigating to, before it has committed. This property is only present if the extension's manifest includes the `"tabs"` permission and there is a pending navigation.
30781
+ * The URL the tab is navigating to, before it has committed. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page and there is a pending navigation.
30782
30782
  *
30783
30783
  * @since Chrome 79
30784
30784
  */
30785
30785
  pendingUrl?: string;
30786
30786
 
30787
30787
  /**
30788
- * The title of the tab. This property is only present if the extension's manifest includes the `"tabs"` permission.
30788
+ * The title of the tab. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page.
30789
30789
  */
30790
30790
  title?: string;
30791
30791
 
30792
30792
  /**
30793
- * The URL of the tab's favicon. This property is only present if the extension's manifest includes the `"tabs"` permission. It may also be an empty string if the tab is loading.
30793
+ * The URL of the tab's favicon. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page. It may also be an empty string if the tab is loading.
30794
30794
  */
30795
30795
  favIconUrl?: string;
30796
30796
 
@@ -31498,7 +31498,7 @@ declare namespace chrome {
31498
31498
  tabId: number,
31499
31499
 
31500
31500
  /**
31501
- * @param tab Details about the duplicated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
31501
+ * @param tab Details about the duplicated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
31502
31502
  */
31503
31503
  callback?: (
31504
31504
  tab?: Tab,
@@ -31580,12 +31580,12 @@ declare namespace chrome {
31580
31580
  status?: TabStatus,
31581
31581
 
31582
31582
  /**
31583
- * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission.
31583
+ * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
31584
31584
  */
31585
31585
  title?: string,
31586
31586
 
31587
31587
  /**
31588
- * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission.
31588
+ * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
31589
31589
  */
31590
31590
  url?: string | string[],
31591
31591
 
@@ -31686,12 +31686,12 @@ declare namespace chrome {
31686
31686
  status?: TabStatus,
31687
31687
 
31688
31688
  /**
31689
- * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission.
31689
+ * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
31690
31690
  */
31691
31691
  title?: string,
31692
31692
 
31693
31693
  /**
31694
- * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission.
31694
+ * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
31695
31695
  */
31696
31696
  url?: string | string[],
31697
31697
 
@@ -31946,7 +31946,7 @@ declare namespace chrome {
31946
31946
  },
31947
31947
 
31948
31948
  /**
31949
- * @param tab Details about the updated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
31949
+ * @param tab Details about the updated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
31950
31950
  */
31951
31951
  callback?: (
31952
31952
  tab?: Tab,
@@ -32008,7 +32008,7 @@ declare namespace chrome {
32008
32008
  },
32009
32009
 
32010
32010
  /**
32011
- * @param tab Details about the updated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
32011
+ * @param tab Details about the updated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
32012
32012
  */
32013
32013
  callback?: (
32014
32014
  tab?: Tab,
@@ -34546,7 +34546,7 @@ declare namespace chrome {
34546
34546
  world?: ExecutionWorld;
34547
34547
 
34548
34548
  /**
34549
- * If specified, specifies a specific user script world ID to execute in. Only valid if `world` is omitted or is `USER_SCRIPT`. If omitted, the script will execute in the default user script world. Values with leading underscores (`_`) are reserved.
34549
+ * Specifies the user script world ID to execute in. If omitted, the script will execute in the default user script world. Only valid if `world` is omitted or is `USER_SCRIPT`. Values with leading underscores (`_`) are reserved.
34550
34550
  *
34551
34551
  * @since Pending
34552
34552
  */
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Jan 08 2025 22:32:27 GMT+0000 (Coordinated Universal Time)
18
- // Built at a76e388fb0093c10cd2bcaa5d2360c4f98f59922
17
+ // Generated on Tue Jan 14 2025 22:30:47 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ed9d1ef33d9e104f92310a1d6f40d165dbd39cda
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -23971,24 +23971,24 @@ declare namespace chrome {
23971
23971
  mutedInfo?: MutedInfo;
23972
23972
 
23973
23973
  /**
23974
- * The last committed URL of the main frame of the tab. This property is only present if the extension's manifest includes the `"tabs"` permission and may be an empty string if the tab has not yet committed. See also {@link Tab.pendingUrl}.
23974
+ * The last committed URL of the main frame of the tab. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page. May be an empty string if the tab has not yet committed. See also {@link Tab.pendingUrl}.
23975
23975
  */
23976
23976
  url?: string;
23977
23977
 
23978
23978
  /**
23979
- * The URL the tab is navigating to, before it has committed. This property is only present if the extension's manifest includes the `"tabs"` permission and there is a pending navigation.
23979
+ * The URL the tab is navigating to, before it has committed. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page and there is a pending navigation.
23980
23980
  *
23981
23981
  * @since Chrome 79
23982
23982
  */
23983
23983
  pendingUrl?: string;
23984
23984
 
23985
23985
  /**
23986
- * The title of the tab. This property is only present if the extension's manifest includes the `"tabs"` permission.
23986
+ * The title of the tab. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page.
23987
23987
  */
23988
23988
  title?: string;
23989
23989
 
23990
23990
  /**
23991
- * The URL of the tab's favicon. This property is only present if the extension's manifest includes the `"tabs"` permission. It may also be an empty string if the tab is loading.
23991
+ * The URL of the tab's favicon. This property is only present if the extension has the `"tabs"` permission or has host permissions for the page. It may also be an empty string if the tab is loading.
23992
23992
  */
23993
23993
  favIconUrl?: string;
23994
23994
 
@@ -24548,7 +24548,7 @@ declare namespace chrome {
24548
24548
  tabId: number,
24549
24549
 
24550
24550
  /**
24551
- * @param tab Details about the duplicated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
24551
+ * @param tab Details about the duplicated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
24552
24552
  */
24553
24553
  callback?: (
24554
24554
  tab?: Tab,
@@ -24630,12 +24630,12 @@ declare namespace chrome {
24630
24630
  status?: TabStatus,
24631
24631
 
24632
24632
  /**
24633
- * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission.
24633
+ * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
24634
24634
  */
24635
24635
  title?: string,
24636
24636
 
24637
24637
  /**
24638
- * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission.
24638
+ * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
24639
24639
  */
24640
24640
  url?: string | string[],
24641
24641
 
@@ -24736,12 +24736,12 @@ declare namespace chrome {
24736
24736
  status?: TabStatus,
24737
24737
 
24738
24738
  /**
24739
- * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission.
24739
+ * Match page titles against a pattern. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
24740
24740
  */
24741
24741
  title?: string,
24742
24742
 
24743
24743
  /**
24744
- * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission.
24744
+ * Match tabs against one or more [URL patterns](https://developer.chrome.com/docs/extensions/match_patterns). Fragment identifiers are not matched. This property is ignored if the extension does not have the `"tabs"` permission or host permissions for the page.
24745
24745
  */
24746
24746
  url?: string | string[],
24747
24747
 
@@ -24996,7 +24996,7 @@ declare namespace chrome {
24996
24996
  },
24997
24997
 
24998
24998
  /**
24999
- * @param tab Details about the updated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
24999
+ * @param tab Details about the updated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
25000
25000
  */
25001
25001
  callback?: (
25002
25002
  tab?: Tab,
@@ -25058,7 +25058,7 @@ declare namespace chrome {
25058
25058
  },
25059
25059
 
25060
25060
  /**
25061
- * @param tab Details about the updated tab. The {@link tabs.Tab} object does not contain `url`, `pendingUrl`, `title`, and `favIconUrl` if the `"tabs"` permission has not been requested.
25061
+ * @param tab Details about the updated tab. The `url`, `pendingUrl`, `title` and `favIconUrl` properties are only included on the {@link tabs.Tab} object if the extension has the `"tabs"` permission or has host permissions for the page.
25062
25062
  */
25063
25063
  callback?: (
25064
25064
  tab?: Tab,
@@ -27352,7 +27352,7 @@ declare namespace chrome {
27352
27352
  world?: ExecutionWorld;
27353
27353
 
27354
27354
  /**
27355
- * If specified, specifies a specific user script world ID to execute in. Only valid if `world` is omitted or is `USER_SCRIPT`. If omitted, the script will execute in the default user script world. Values with leading underscores (`_`) are reserved.
27355
+ * Specifies the user script world ID to execute in. If omitted, the script will execute in the default user script world. Only valid if `world` is omitted or is `USER_SCRIPT`. Values with leading underscores (`_`) are reserved.
27356
27356
  *
27357
27357
  * @since Pending
27358
27358
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "a7067afc1aafa064"
8
+ "build-hash": "3492456e551b8320"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.330"
19
+ "version": "0.1.332"
20
20
  }