chrome-types 0.1.269 → 0.1.271

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 +5 -5
  2. package/index.d.ts +5 -5
  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 Thu Feb 22 2024 22:29:20 GMT+0000 (Coordinated Universal Time)
18
- // Built at 032135abbffdf0cfcfc343804eb30c286f964674
17
+ // Generated on Fri Mar 08 2024 22:29:36 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3c828ed9409f4242affd7006e86770e7737776f4
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -10494,7 +10494,7 @@ declare namespace chrome {
10494
10494
  *
10495
10495
  * The user has accepted the dangerous download.
10496
10496
  */
10497
- export type DangerType = "file" | "url" | "content" | "uncommon" | "host" | "unwanted" | "safe" | "accepted" | "allowlistedByPolicy" | "asyncScanning" | "asyncLocalPasswordScanning" | "passwordProtected" | "blockedTooLarge" | "sensitiveContentWarning" | "sensitiveContentBlock" | "unsupportedFileType" | "deepScannedFailed" | "deepScannedSafe" | "deepScannedOpenedDangerous" | "promptForScanning" | "promptForLocalPasswordScanning" | "accountCompromise";
10497
+ export type DangerType = "file" | "url" | "content" | "uncommon" | "host" | "unwanted" | "safe" | "accepted" | "allowlistedByPolicy" | "asyncScanning" | "asyncLocalPasswordScanning" | "passwordProtected" | "blockedTooLarge" | "sensitiveContentWarning" | "sensitiveContentBlock" | "unsupportedFileType" | "deepScannedFailed" | "deepScannedSafe" | "deepScannedOpenedDangerous" | "promptForScanning" | "promptForLocalPasswordScanning" | "accountCompromise" | "blockedScanFailed";
10498
10498
 
10499
10499
  /**
10500
10500
  * in\_progress
@@ -12399,7 +12399,7 @@ declare namespace chrome {
12399
12399
  *
12400
12400
  * @chrome-enum "document\_start" Script is injected after any files from css, but before any other DOM is constructed or any other script is run.
12401
12401
  * @chrome-enum "document\_end" Script is injected immediately after the DOM is complete, but before subresources like images and frames have loaded.
12402
- * @chrome-enum "document\_idle" The browser chooses a time to inject the script between "document\_end" and immediately after the window.onload event fires. The exact moment of injection depends on how complex the document is and how long it is taking to load, and is optimized for page load speed. Content scripts running at "document\_idle" do not need to listen for the window.onload event; they are guaranteed to run after the DOM is complete. If a script definitely needs to run after window.onload, the extension can check if onload has already fired by using the document.readyState property.
12402
+ * @chrome-enum "document\_idle" The browser chooses a time to inject the script between "document\_end" and immediately after the `window.onload` event fires. The exact moment of injection depends on how complex the document is and how long it is taking to load, and is optimized for page load speed. Content scripts running at "document\_idle" don't need to listen for the `window.onload` event; they are guaranteed to run after the DOM completes. If a script definitely needs to run after `window.onload`, the extension can check if `onload` has already fired by using the `document.readyState` property.
12403
12403
  * @since Chrome 44
12404
12404
  */
12405
12405
  export type RunAt = "document_start" | "document_end" | "document_idle";
@@ -27533,7 +27533,7 @@ declare namespace chrome {
27533
27533
  };
27534
27534
 
27535
27535
  /**
27536
- * Items in the `managed` storage area are set by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error.
27536
+ * Items in the `managed` storage area are set by an enterprise policy configured by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error. For information on configuring a policy, see [Manifest for storage areas](https://developer.chrome.com/docs/extensions/reference/manifest/storage).
27537
27537
  */
27538
27538
  export const managed: StorageArea;
27539
27539
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Feb 22 2024 22:29:16 GMT+0000 (Coordinated Universal Time)
18
- // Built at 032135abbffdf0cfcfc343804eb30c286f964674
17
+ // Generated on Fri Mar 08 2024 22:29:31 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3c828ed9409f4242affd7006e86770e7737776f4
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -6624,7 +6624,7 @@ declare namespace chrome {
6624
6624
  *
6625
6625
  * The user has accepted the dangerous download.
6626
6626
  */
6627
- export type DangerType = "file" | "url" | "content" | "uncommon" | "host" | "unwanted" | "safe" | "accepted" | "allowlistedByPolicy" | "asyncScanning" | "asyncLocalPasswordScanning" | "passwordProtected" | "blockedTooLarge" | "sensitiveContentWarning" | "sensitiveContentBlock" | "unsupportedFileType" | "deepScannedFailed" | "deepScannedSafe" | "deepScannedOpenedDangerous" | "promptForScanning" | "promptForLocalPasswordScanning" | "accountCompromise";
6627
+ export type DangerType = "file" | "url" | "content" | "uncommon" | "host" | "unwanted" | "safe" | "accepted" | "allowlistedByPolicy" | "asyncScanning" | "asyncLocalPasswordScanning" | "passwordProtected" | "blockedTooLarge" | "sensitiveContentWarning" | "sensitiveContentBlock" | "unsupportedFileType" | "deepScannedFailed" | "deepScannedSafe" | "deepScannedOpenedDangerous" | "promptForScanning" | "promptForLocalPasswordScanning" | "accountCompromise" | "blockedScanFailed";
6628
6628
 
6629
6629
  /**
6630
6630
  * in\_progress
@@ -8395,7 +8395,7 @@ declare namespace chrome {
8395
8395
  *
8396
8396
  * @chrome-enum "document\_start" Script is injected after any files from css, but before any other DOM is constructed or any other script is run.
8397
8397
  * @chrome-enum "document\_end" Script is injected immediately after the DOM is complete, but before subresources like images and frames have loaded.
8398
- * @chrome-enum "document\_idle" The browser chooses a time to inject the script between "document\_end" and immediately after the window.onload event fires. The exact moment of injection depends on how complex the document is and how long it is taking to load, and is optimized for page load speed. Content scripts running at "document\_idle" do not need to listen for the window.onload event; they are guaranteed to run after the DOM is complete. If a script definitely needs to run after window.onload, the extension can check if onload has already fired by using the document.readyState property.
8398
+ * @chrome-enum "document\_idle" The browser chooses a time to inject the script between "document\_end" and immediately after the `window.onload` event fires. The exact moment of injection depends on how complex the document is and how long it is taking to load, and is optimized for page load speed. Content scripts running at "document\_idle" don't need to listen for the `window.onload` event; they are guaranteed to run after the DOM completes. If a script definitely needs to run after `window.onload`, the extension can check if `onload` has already fired by using the `document.readyState` property.
8399
8399
  * @since Chrome 44
8400
8400
  */
8401
8401
  export type RunAt = "document_start" | "document_end" | "document_idle";
@@ -21023,7 +21023,7 @@ declare namespace chrome {
21023
21023
  };
21024
21024
 
21025
21025
  /**
21026
- * Items in the `managed` storage area are set by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error.
21026
+ * Items in the `managed` storage area are set by an enterprise policy configured by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error. For information on configuring a policy, see [Manifest for storage areas](https://developer.chrome.com/docs/extensions/reference/manifest/storage).
21027
21027
  */
21028
21028
  export const managed: StorageArea;
21029
21029
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "101e6e8cb1e933ff"
8
+ "build-hash": "8067b65e7a646a3e"
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.269"
19
+ "version": "0.1.271"
20
20
  }