chrome-types 0.1.261 → 0.1.263

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 +20 -7
  2. package/index.d.ts +20 -7
  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 Feb 07 2024 22:28:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 82f9e1ef7f830fc2851a20d13922dac58df4e047
17
+ // Generated on Sat Feb 10 2024 22:27:44 GMT+0000 (Coordinated Universal Time)
18
+ // Built at bed6501a3f04072f9522d4f56e76404b6260216b
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -20439,7 +20439,9 @@ declare namespace chrome {
20439
20439
  /**
20440
20440
  * A URL to the sender's avatar, app icon, or a thumbnail for image notifications.
20441
20441
  *
20442
- * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file _Required for {@link notifications.create}_ method.
20442
+ * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file
20443
+ *
20444
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
20443
20445
  */
20444
20446
  iconUrl?: string;
20445
20447
 
@@ -20454,12 +20456,16 @@ declare namespace chrome {
20454
20456
  appIconMaskUrl?: string;
20455
20457
 
20456
20458
  /**
20457
- * Title of the notification (e.g. sender name for email). _Required for {@link notifications.create}_ method.
20459
+ * Title of the notification (e.g. sender name for email).
20460
+ *
20461
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
20458
20462
  */
20459
20463
  title?: string;
20460
20464
 
20461
20465
  /**
20462
- * Main notification content. _Required for {@link notifications.create}_ method.
20466
+ * Main notification content.
20467
+ *
20468
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
20463
20469
  */
20464
20470
  message?: string;
20465
20471
 
@@ -24032,7 +24038,7 @@ declare namespace chrome {
24032
24038
  }
24033
24039
 
24034
24040
  /**
24035
- * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
24041
+ * Injects a script into a target context. By default, the script will be run at `document_idle`, or immediately if the page has already loaded. If the `injectImmediately` property is set, the script will inject without waiting, even if the page has not finished loading. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
24036
24042
  *
24037
24043
  * @chrome-returns-extra since Chrome 90
24038
24044
  * @param injection The details of the script which to inject.
@@ -24043,7 +24049,7 @@ declare namespace chrome {
24043
24049
  ): Promise<InjectionResult[]>;
24044
24050
 
24045
24051
  /**
24046
- * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
24052
+ * Injects a script into a target context. By default, the script will be run at `document_idle`, or immediately if the page has already loaded. If the `injectImmediately` property is set, the script will inject without waiting, even if the page has not finished loading. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
24047
24053
  *
24048
24054
  * @param injection The details of the script which to inject.
24049
24055
  * @param callback Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.
@@ -29473,6 +29479,13 @@ declare namespace chrome {
29473
29479
  */
29474
29480
  export const TAB_ID_NONE: -1;
29475
29481
 
29482
+ /**
29483
+ * An index that represents the absence of a tab index in a tab\_strip.
29484
+ *
29485
+ * @since Pending
29486
+ */
29487
+ export const TAB_INDEX_NONE: -1;
29488
+
29476
29489
  /**
29477
29490
  * Fired when a tab is created. Note that the tab's URL and tab group membership may not be set at the time this event is fired, but you can listen to onUpdated events so as to be notified when a URL is set or the tab is added to a tab group.
29478
29491
  */
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Feb 07 2024 22:28:31 GMT+0000 (Coordinated Universal Time)
18
- // Built at 82f9e1ef7f830fc2851a20d13922dac58df4e047
17
+ // Generated on Sat Feb 10 2024 22:27:39 GMT+0000 (Coordinated Universal Time)
18
+ // Built at bed6501a3f04072f9522d4f56e76404b6260216b
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -15493,7 +15493,9 @@ declare namespace chrome {
15493
15493
  /**
15494
15494
  * A URL to the sender's avatar, app icon, or a thumbnail for image notifications.
15495
15495
  *
15496
- * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file _Required for {@link notifications.create}_ method.
15496
+ * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file
15497
+ *
15498
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
15497
15499
  */
15498
15500
  iconUrl?: string;
15499
15501
 
@@ -15508,12 +15510,16 @@ declare namespace chrome {
15508
15510
  appIconMaskUrl?: string;
15509
15511
 
15510
15512
  /**
15511
- * Title of the notification (e.g. sender name for email). _Required for {@link notifications.create}_ method.
15513
+ * Title of the notification (e.g. sender name for email).
15514
+ *
15515
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
15512
15516
  */
15513
15517
  title?: string;
15514
15518
 
15515
15519
  /**
15516
- * Main notification content. _Required for {@link notifications.create}_ method.
15520
+ * Main notification content.
15521
+ *
15522
+ * **Note:**This value is required for the {@link notifications.create}`()` method.
15517
15523
  */
15518
15524
  message?: string;
15519
15525
 
@@ -18795,7 +18801,7 @@ declare namespace chrome {
18795
18801
  }
18796
18802
 
18797
18803
  /**
18798
- * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
18804
+ * Injects a script into a target context. By default, the script will be run at `document_idle`, or immediately if the page has already loaded. If the `injectImmediately` property is set, the script will inject without waiting, even if the page has not finished loading. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
18799
18805
  *
18800
18806
  * @chrome-returns-extra since Chrome 90
18801
18807
  * @param injection The details of the script which to inject.
@@ -18806,7 +18812,7 @@ declare namespace chrome {
18806
18812
  ): Promise<InjectionResult[]>;
18807
18813
 
18808
18814
  /**
18809
- * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
18815
+ * Injects a script into a target context. By default, the script will be run at `document_idle`, or immediately if the page has already loaded. If the `injectImmediately` property is set, the script will inject without waiting, even if the page has not finished loading. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
18810
18816
  *
18811
18817
  * @param injection The details of the script which to inject.
18812
18818
  * @param callback Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.
@@ -22703,6 +22709,13 @@ declare namespace chrome {
22703
22709
  */
22704
22710
  export const TAB_ID_NONE: -1;
22705
22711
 
22712
+ /**
22713
+ * An index that represents the absence of a tab index in a tab\_strip.
22714
+ *
22715
+ * @since Pending
22716
+ */
22717
+ export const TAB_INDEX_NONE: -1;
22718
+
22706
22719
  /**
22707
22720
  * Fired when a tab is created. Note that the tab's URL and tab group membership may not be set at the time this event is fired, but you can listen to onUpdated events so as to be notified when a URL is set or the tab is added to a tab group.
22708
22721
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "443d647c44654a93"
8
+ "build-hash": "7b9ad915b95393b2"
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.261"
19
+ "version": "0.1.263"
20
20
  }