chrome-types 0.1.254 → 0.1.256

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 +17 -17
  2. package/index.d.ts +9 -9
  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 27 2024 22:28:10 GMT+0000 (Coordinated Universal Time)
18
- // Built at 142765b4411c578c7d30f0ec4eac6870415f0c29
17
+ // Generated on Thu Feb 01 2024 22:29:17 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a27c7be7df1fbc81787d15cc27b80384c0269d1a
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12329,8 +12329,8 @@ declare namespace chrome {
12329
12329
  /**
12330
12330
  * JavaScript or CSS code to inject.
12331
12331
  *
12332
- * **Warning:**
12333
- * Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks.
12332
+ *
12333
+ * **Warning:** Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
12334
12334
  */
12335
12335
  code?: string;
12336
12336
 
@@ -20695,11 +20695,11 @@ declare namespace chrome {
20695
20695
  * @chrome-enum "IFRAME\_SCRIPTING" Specifies that the offscreen document needs to embed and script an iframe in order to modify the iframe's content.
20696
20696
  * @chrome-enum "DOM\_SCRAPING" Specifies that the offscreen document needs to embed an iframe and scrape its DOM to extract information.
20697
20697
  * @chrome-enum "BLOBS" Specifies that the offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
20698
- * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the
20698
+ * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the [DOMParser API](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser).
20699
20699
  * @chrome-enum "USER\_MEDIA" Specifies that the offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
20700
20700
  * @chrome-enum "DISPLAY\_MEDIA" Specifies that the offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
20701
- * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use
20702
- * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
20701
+ * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use [WebRTC APIs](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API).
20702
+ * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API).
20703
20703
  * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
20704
20704
  * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
20705
20705
  * @chrome-enum "BATTERY\_STATUS" Specifies that the offscreen document needs to use [navigator.getBattery](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API).
@@ -23347,7 +23347,7 @@ declare namespace chrome {
23347
23347
  /**
23348
23348
  * Open your Extension's options page, if possible.
23349
23349
  *
23350
- * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/optionsV2)` or `[options_page](https://developer.chrome.com/docs/extensions/options)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
23350
+ * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/develop/ui/options-page#embedded_options)` or `[options_page](https://developer.chrome.com/docs/extensions/develop/ui/options-page#full_page)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
23351
23351
  *
23352
23352
  * If your Extension does not declare an options page, or Chrome failed to create one for some other reason, the callback will set {@link lastError}.
23353
23353
  *
@@ -23358,7 +23358,7 @@ declare namespace chrome {
23358
23358
  /**
23359
23359
  * Open your Extension's options page, if possible.
23360
23360
  *
23361
- * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/optionsV2)` or `[options_page](https://developer.chrome.com/docs/extensions/options)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
23361
+ * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/develop/ui/options-page#embedded_options)` or `[options_page](https://developer.chrome.com/docs/extensions/develop/ui/options-page#full_page)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
23362
23362
  *
23363
23363
  * If your Extension does not declare an options page, or Chrome failed to create one for some other reason, the callback will set {@link lastError}.
23364
23364
  */
@@ -30769,7 +30769,7 @@ declare namespace chrome {
30769
30769
  ): void;
30770
30770
 
30771
30771
  /**
30772
- * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30772
+ * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30773
30773
  *
30774
30774
  * @chrome-returns-extra since Chrome 88
30775
30775
  * @param tabId The ID of the tab in which to run the script; defaults to the active tab of the current window.
@@ -30786,7 +30786,7 @@ declare namespace chrome {
30786
30786
  ): Promise<any[] | undefined>;
30787
30787
 
30788
30788
  /**
30789
- * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30789
+ * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30790
30790
  *
30791
30791
  * @chrome-returns-extra since Chrome 88
30792
30792
  * @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
@@ -30800,7 +30800,7 @@ declare namespace chrome {
30800
30800
  ): Promise<any[] | undefined>;
30801
30801
 
30802
30802
  /**
30803
- * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30803
+ * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30804
30804
  *
30805
30805
  * @param tabId The ID of the tab in which to run the script; defaults to the active tab of the current window.
30806
30806
  * @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
@@ -30824,7 +30824,7 @@ declare namespace chrome {
30824
30824
  ): void;
30825
30825
 
30826
30826
  /**
30827
- * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30827
+ * Injects JavaScript code into a page. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30828
30828
  *
30829
30829
  * @param details Details of the script to run. Either the code or the file property must be set, but both may not be set at the same time.
30830
30830
  * @param callback Called after all the JavaScript has been executed.
@@ -30845,7 +30845,7 @@ declare namespace chrome {
30845
30845
  ): void;
30846
30846
 
30847
30847
  /**
30848
- * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30848
+ * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30849
30849
  *
30850
30850
  * @chrome-returns-extra since Chrome 88
30851
30851
  * @param tabId The ID of the tab in which to insert the CSS; defaults to the active tab of the current window.
@@ -30862,7 +30862,7 @@ declare namespace chrome {
30862
30862
  ): Promise<void>;
30863
30863
 
30864
30864
  /**
30865
- * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30865
+ * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30866
30866
  *
30867
30867
  * @chrome-returns-extra since Chrome 88
30868
30868
  * @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
@@ -30876,7 +30876,7 @@ declare namespace chrome {
30876
30876
  ): Promise<void>;
30877
30877
 
30878
30878
  /**
30879
- * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30879
+ * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30880
30880
  *
30881
30881
  * @param tabId The ID of the tab in which to insert the CSS; defaults to the active tab of the current window.
30882
30882
  * @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
@@ -30895,7 +30895,7 @@ declare namespace chrome {
30895
30895
  ): void;
30896
30896
 
30897
30897
  /**
30898
- * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30898
+ * Injects CSS into a page. Styles inserted with this method can be removed with {@link scripting.removeCSS}. For details, see the [programmatic injection](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#programmatic) section of the content scripts doc.
30899
30899
  *
30900
30900
  * @param details Details of the CSS text to insert. Either the code or the file property must be set, but both may not be set at the same time.
30901
30901
  * @param callback Called when all the CSS has been inserted.
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat Jan 27 2024 22:28:06 GMT+0000 (Coordinated Universal Time)
18
- // Built at 142765b4411c578c7d30f0ec4eac6870415f0c29
17
+ // Generated on Thu Feb 01 2024 22:29:12 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a27c7be7df1fbc81787d15cc27b80384c0269d1a
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8325,8 +8325,8 @@ declare namespace chrome {
8325
8325
  /**
8326
8326
  * JavaScript or CSS code to inject.
8327
8327
  *
8328
- * **Warning:**
8329
- * Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks.
8328
+ *
8329
+ * **Warning:** Be careful using the `code` parameter. Incorrect use of it may open your extension to [cross site scripting](https://en.wikipedia.org/wiki/Cross-site_scripting) attacks
8330
8330
  */
8331
8331
  code?: string;
8332
8332
 
@@ -15749,11 +15749,11 @@ declare namespace chrome {
15749
15749
  * @chrome-enum "IFRAME\_SCRIPTING" Specifies that the offscreen document needs to embed and script an iframe in order to modify the iframe's content.
15750
15750
  * @chrome-enum "DOM\_SCRAPING" Specifies that the offscreen document needs to embed an iframe and scrape its DOM to extract information.
15751
15751
  * @chrome-enum "BLOBS" Specifies that the offscreen document needs to interact with Blob objects (including `URL.createObjectURL()`).
15752
- * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the
15752
+ * @chrome-enum "DOM\_PARSER" Specifies that the offscreen document needs to use the [DOMParser API](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser).
15753
15753
  * @chrome-enum "USER\_MEDIA" Specifies that the offscreen document needs to interact with media streams from user media (e.g. `getUserMedia()`).
15754
15754
  * @chrome-enum "DISPLAY\_MEDIA" Specifies that the offscreen document needs to interact with media streams from display media (e.g. `getDisplayMedia()`).
15755
- * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use
15756
- * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
15755
+ * @chrome-enum "WEB\_RTC" Specifies that the offscreen document needs to use [WebRTC APIs](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API).
15756
+ * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API).
15757
15757
  * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
15758
15758
  * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
15759
15759
  * @chrome-enum "BATTERY\_STATUS" Specifies that the offscreen document needs to use [navigator.getBattery](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API).
@@ -18110,7 +18110,7 @@ declare namespace chrome {
18110
18110
  /**
18111
18111
  * Open your Extension's options page, if possible.
18112
18112
  *
18113
- * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/optionsV2)` or `[options_page](https://developer.chrome.com/docs/extensions/options)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
18113
+ * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/develop/ui/options-page#embedded_options)` or `[options_page](https://developer.chrome.com/docs/extensions/develop/ui/options-page#full_page)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
18114
18114
  *
18115
18115
  * If your Extension does not declare an options page, or Chrome failed to create one for some other reason, the callback will set {@link lastError}.
18116
18116
  *
@@ -18121,7 +18121,7 @@ declare namespace chrome {
18121
18121
  /**
18122
18122
  * Open your Extension's options page, if possible.
18123
18123
  *
18124
- * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/optionsV2)` or `[options_page](https://developer.chrome.com/docs/extensions/options)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
18124
+ * The precise behavior may depend on your manifest's `[options_ui](https://developer.chrome.com/docs/extensions/develop/ui/options-page#embedded_options)` or `[options_page](https://developer.chrome.com/docs/extensions/develop/ui/options-page#full_page)` key, or what Chrome happens to support at the time. For example, the page may be opened in a new tab, within chrome://extensions, within an App, or it may just focus an open options page. It will never cause the caller page to reload.
18125
18125
  *
18126
18126
  * If your Extension does not declare an options page, or Chrome failed to create one for some other reason, the callback will set {@link lastError}.
18127
18127
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "37b31e9a6cfb076b"
8
+ "build-hash": "8625657bd982ec1a"
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.254"
19
+ "version": "0.1.256"
20
20
  }