chrome-types 0.1.333 → 0.1.335

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 +18 -17
  2. package/index.d.ts +18 -17
  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 Sat Jan 18 2025 22:30:58 GMT+0000 (Coordinated Universal Time)
18
- // Built at a34a3de0d4740a229a200c7339a9ef873414a5fe
17
+ // Generated on Wed Jan 29 2025 22:31:59 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 4b51e0fbd71a66d4c792eb37850c2b68ada0ace3
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -3978,11 +3978,10 @@ declare namespace chrome {
3978
3978
  /**
3979
3979
  * Indicates the type of folder.
3980
3980
  *
3981
- * * bookmarks-bar: The folder whose contents is displayed at the top of the browser window
3982
- * * other: Bookmarks which are displayed in the full list of bookmarks on all platforms
3983
- * * mobile: bookmarks generally available on the user's mobile devices, but modifiable by extension or in the bookmarks manager
3984
- * * managed: a top-level folder that may be present if the system administrator or the custodian of a supervised user has configured bookmarks.
3985
- *
3981
+ * @chrome-enum "bookmarks-bar" The folder whose contents is displayed at the top of the browser window.
3982
+ * @chrome-enum "other" Bookmarks which are displayed in the full list of bookmarks on all platforms.
3983
+ * @chrome-enum "mobile" Bookmarks generally available on the user's mobile devices, but modifiable by extension or in the bookmarks manager.
3984
+ * @chrome-enum "managed" A top-level folder that may be present if the system administrator or the custodian of a supervised user has configured bookmarks.
3986
3985
  * @since Pending
3987
3986
  */
3988
3987
  export type FolderType = "bookmarks-bar" | "other" | "mobile" | "managed";
@@ -22687,7 +22686,7 @@ declare namespace chrome {
22687
22686
  /**
22688
22687
  * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22689
22688
  *
22690
- * @since Pending
22689
+ * @since Chrome 133
22691
22690
  * @chrome-min-manifest MV3
22692
22691
  */
22693
22692
  export function addHostAccessRequest(
@@ -22714,7 +22713,7 @@ declare namespace chrome {
22714
22713
  /**
22715
22714
  * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22716
22715
  *
22717
- * @since Pending
22716
+ * @since Chrome 133
22718
22717
  * @chrome-min-manifest MV3
22719
22718
  */
22720
22719
  export function addHostAccessRequest(
@@ -22743,7 +22742,7 @@ declare namespace chrome {
22743
22742
  /**
22744
22743
  * Removes a host access request, if existent.
22745
22744
  *
22746
- * @since Pending
22745
+ * @since Chrome 133
22747
22746
  * @chrome-min-manifest MV3
22748
22747
  */
22749
22748
  export function removeHostAccessRequest(
@@ -22770,7 +22769,7 @@ declare namespace chrome {
22770
22769
  /**
22771
22770
  * Removes a host access request, if existent.
22772
22771
  *
22773
- * @since Pending
22772
+ * @since Chrome 133
22774
22773
  * @chrome-min-manifest MV3
22775
22774
  */
22776
22775
  export function removeHostAccessRequest(
@@ -24778,6 +24777,7 @@ declare namespace chrome {
24778
24777
  * @chrome-returns-extra since Chrome 99
24779
24778
  * @deprecated Background pages do not exist in MV3 extensions.
24780
24779
  * @chrome-disallow-service-workers
24780
+ * @chrome-deprecated-since Chrome 133
24781
24781
  */
24782
24782
  export function getBackgroundPage(): Promise<Window | undefined>;
24783
24783
 
@@ -24786,6 +24786,7 @@ declare namespace chrome {
24786
24786
  *
24787
24787
  * @deprecated Background pages do not exist in MV3 extensions.
24788
24788
  * @chrome-disallow-service-workers
24789
+ * @chrome-deprecated-since Chrome 133
24789
24790
  */
24790
24791
  export function getBackgroundPage(
24791
24792
 
@@ -34580,7 +34581,7 @@ declare namespace chrome {
34580
34581
  /**
34581
34582
  * 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.
34582
34583
  *
34583
- * @since Pending
34584
+ * @since Chrome 133
34584
34585
  */
34585
34586
  worldId?: string;
34586
34587
  }
@@ -34598,7 +34599,7 @@ declare namespace chrome {
34598
34599
  /**
34599
34600
  * Specifies the ID of the specific user script world to update. If not provided, updates the properties of the default user script world. Values with leading underscores (`_`) are reserved.
34600
34601
  *
34601
- * @since Pending
34602
+ * @since Chrome 133
34602
34603
  */
34603
34604
  worldId?: string;
34604
34605
 
@@ -34733,7 +34734,7 @@ declare namespace chrome {
34733
34734
  /**
34734
34735
  * Retrieves all registered world configurations.
34735
34736
  *
34736
- * @since Pending
34737
+ * @since Chrome 133
34737
34738
  */
34738
34739
  export function getWorldConfigurations(): Promise<WorldProperties[]>;
34739
34740
 
@@ -34741,7 +34742,7 @@ declare namespace chrome {
34741
34742
  * Retrieves all registered world configurations.
34742
34743
  *
34743
34744
  * @param callback Called with the registered world configurations.
34744
- * @since Pending
34745
+ * @since Chrome 133
34745
34746
  */
34746
34747
  export function getWorldConfigurations(
34747
34748
 
@@ -34754,7 +34755,7 @@ declare namespace chrome {
34754
34755
  * Resets the configuration for a user script world. Any scripts that inject into the world with the specified ID will use the default world configuration.
34755
34756
  *
34756
34757
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
34757
- * @since Pending
34758
+ * @since Chrome 133
34758
34759
  */
34759
34760
  export function resetWorldConfiguration(
34760
34761
 
@@ -34766,7 +34767,7 @@ declare namespace chrome {
34766
34767
  *
34767
34768
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
34768
34769
  * @param callback Called when the configuration is reset.
34769
- * @since Pending
34770
+ * @since Chrome 133
34770
34771
  */
34771
34772
  export function resetWorldConfiguration(
34772
34773
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat Jan 18 2025 22:30:53 GMT+0000 (Coordinated Universal Time)
18
- // Built at a34a3de0d4740a229a200c7339a9ef873414a5fe
17
+ // Generated on Wed Jan 29 2025 22:31:54 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 4b51e0fbd71a66d4c792eb37850c2b68ada0ace3
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -1289,11 +1289,10 @@ declare namespace chrome {
1289
1289
  /**
1290
1290
  * Indicates the type of folder.
1291
1291
  *
1292
- * * bookmarks-bar: The folder whose contents is displayed at the top of the browser window
1293
- * * other: Bookmarks which are displayed in the full list of bookmarks on all platforms
1294
- * * mobile: bookmarks generally available on the user's mobile devices, but modifiable by extension or in the bookmarks manager
1295
- * * managed: a top-level folder that may be present if the system administrator or the custodian of a supervised user has configured bookmarks.
1296
- *
1292
+ * @chrome-enum "bookmarks-bar" The folder whose contents is displayed at the top of the browser window.
1293
+ * @chrome-enum "other" Bookmarks which are displayed in the full list of bookmarks on all platforms.
1294
+ * @chrome-enum "mobile" Bookmarks generally available on the user's mobile devices, but modifiable by extension or in the bookmarks manager.
1295
+ * @chrome-enum "managed" A top-level folder that may be present if the system administrator or the custodian of a supervised user has configured bookmarks.
1297
1296
  * @since Pending
1298
1297
  */
1299
1298
  export type FolderType = "bookmarks-bar" | "other" | "mobile" | "managed";
@@ -17432,7 +17431,7 @@ declare namespace chrome {
17432
17431
  /**
17433
17432
  * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17434
17433
  *
17435
- * @since Pending
17434
+ * @since Chrome 133
17436
17435
  * @chrome-min-manifest MV3
17437
17436
  */
17438
17437
  export function addHostAccessRequest(
@@ -17459,7 +17458,7 @@ declare namespace chrome {
17459
17458
  /**
17460
17459
  * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17461
17460
  *
17462
- * @since Pending
17461
+ * @since Chrome 133
17463
17462
  * @chrome-min-manifest MV3
17464
17463
  */
17465
17464
  export function addHostAccessRequest(
@@ -17488,7 +17487,7 @@ declare namespace chrome {
17488
17487
  /**
17489
17488
  * Removes a host access request, if existent.
17490
17489
  *
17491
- * @since Pending
17490
+ * @since Chrome 133
17492
17491
  * @chrome-min-manifest MV3
17493
17492
  */
17494
17493
  export function removeHostAccessRequest(
@@ -17515,7 +17514,7 @@ declare namespace chrome {
17515
17514
  /**
17516
17515
  * Removes a host access request, if existent.
17517
17516
  *
17518
- * @since Pending
17517
+ * @since Chrome 133
17519
17518
  * @chrome-min-manifest MV3
17520
17519
  */
17521
17520
  export function removeHostAccessRequest(
@@ -19512,6 +19511,7 @@ declare namespace chrome {
19512
19511
  * @chrome-returns-extra since Chrome 99
19513
19512
  * @deprecated Background pages do not exist in MV3 extensions.
19514
19513
  * @chrome-disallow-service-workers
19514
+ * @chrome-deprecated-since Chrome 133
19515
19515
  */
19516
19516
  export function getBackgroundPage(): Promise<Window | undefined>;
19517
19517
 
@@ -19520,6 +19520,7 @@ declare namespace chrome {
19520
19520
  *
19521
19521
  * @deprecated Background pages do not exist in MV3 extensions.
19522
19522
  * @chrome-disallow-service-workers
19523
+ * @chrome-deprecated-since Chrome 133
19523
19524
  */
19524
19525
  export function getBackgroundPage(
19525
19526
 
@@ -27386,7 +27387,7 @@ declare namespace chrome {
27386
27387
  /**
27387
27388
  * 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.
27388
27389
  *
27389
- * @since Pending
27390
+ * @since Chrome 133
27390
27391
  */
27391
27392
  worldId?: string;
27392
27393
  }
@@ -27404,7 +27405,7 @@ declare namespace chrome {
27404
27405
  /**
27405
27406
  * Specifies the ID of the specific user script world to update. If not provided, updates the properties of the default user script world. Values with leading underscores (`_`) are reserved.
27406
27407
  *
27407
- * @since Pending
27408
+ * @since Chrome 133
27408
27409
  */
27409
27410
  worldId?: string;
27410
27411
 
@@ -27539,7 +27540,7 @@ declare namespace chrome {
27539
27540
  /**
27540
27541
  * Retrieves all registered world configurations.
27541
27542
  *
27542
- * @since Pending
27543
+ * @since Chrome 133
27543
27544
  */
27544
27545
  export function getWorldConfigurations(): Promise<WorldProperties[]>;
27545
27546
 
@@ -27547,7 +27548,7 @@ declare namespace chrome {
27547
27548
  * Retrieves all registered world configurations.
27548
27549
  *
27549
27550
  * @param callback Called with the registered world configurations.
27550
- * @since Pending
27551
+ * @since Chrome 133
27551
27552
  */
27552
27553
  export function getWorldConfigurations(
27553
27554
 
@@ -27560,7 +27561,7 @@ declare namespace chrome {
27560
27561
  * Resets the configuration for a user script world. Any scripts that inject into the world with the specified ID will use the default world configuration.
27561
27562
  *
27562
27563
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
27563
- * @since Pending
27564
+ * @since Chrome 133
27564
27565
  */
27565
27566
  export function resetWorldConfiguration(
27566
27567
 
@@ -27572,7 +27573,7 @@ declare namespace chrome {
27572
27573
  *
27573
27574
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
27574
27575
  * @param callback Called when the configuration is reset.
27575
- * @since Pending
27576
+ * @since Chrome 133
27576
27577
  */
27577
27578
  export function resetWorldConfiguration(
27578
27579
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "41dbc1f5cf0072fd"
8
+ "build-hash": "37a29e968221ca8c"
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.333"
19
+ "version": "0.1.335"
20
20
  }