chrome-types 0.1.221 → 0.1.222

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 +12 -3
  2. package/index.d.ts +12 -3
  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 Mon Aug 07 2023 22:29:58 GMT+0000 (Coordinated Universal Time)
18
- // Built at d7c1b3101aa1b91a744399eabc12dd6336629ac9
17
+ // Generated on Fri Aug 11 2023 22:31:25 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 406f2bc9dd3afc1f79a3df4ca7d8cd8c143bd5d9
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -20553,9 +20553,11 @@ declare namespace chrome {
20553
20553
  * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
20554
20554
  * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
20555
20555
  * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
20556
+ * @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).
20557
+ * @chrome-enum "MATCH\_MEDIA" Specifies that the offscreen document needs to use [window.matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia).
20556
20558
  * @chrome-enum "GEOLOCATION" Specifies that the offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation).
20557
20559
  */
20558
- export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "GEOLOCATION";
20560
+ export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "BATTERY_STATUS" | "MATCH_MEDIA" | "GEOLOCATION";
20559
20561
 
20560
20562
  export interface CreateParameters {
20561
20563
 
@@ -22566,6 +22568,13 @@ declare namespace chrome {
22566
22568
  hasBeenRead?: boolean;
22567
22569
  }
22568
22570
 
22571
+ /**
22572
+ * Triggered when a ReadingListEntry was added to the reading list.
22573
+ */
22574
+ export const onEntryAdded: events.Event<(
22575
+ entry: ReadingListEntry,
22576
+ ) => void>;
22577
+
22569
22578
  /**
22570
22579
  * Adds an entry to the reading list if it does not exist.
22571
22580
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Aug 07 2023 22:29:53 GMT+0000 (Coordinated Universal Time)
18
- // Built at d7c1b3101aa1b91a744399eabc12dd6336629ac9
17
+ // Generated on Fri Aug 11 2023 22:31:20 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 406f2bc9dd3afc1f79a3df4ca7d8cd8c143bd5d9
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -15597,9 +15597,11 @@ declare namespace chrome {
15597
15597
  * @chrome-enum "CLIPBOARD" Specifies that the offscreen document needs to interact with the
15598
15598
  * @chrome-enum "LOCAL\_STORAGE" Specifies that the offscreen document needs access to [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).
15599
15599
  * @chrome-enum "WORKERS" Specifies that the offscreen document needs to spawn workers.
15600
+ * @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).
15601
+ * @chrome-enum "MATCH\_MEDIA" Specifies that the offscreen document needs to use [window.matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia).
15600
15602
  * @chrome-enum "GEOLOCATION" Specifies that the offscreen document needs to use [navigator.geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation).
15601
15603
  */
15602
- export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "GEOLOCATION";
15604
+ export type Reason = "TESTING" | "AUDIO_PLAYBACK" | "IFRAME_SCRIPTING" | "DOM_SCRAPING" | "BLOBS" | "DOM_PARSER" | "USER_MEDIA" | "DISPLAY_MEDIA" | "WEB_RTC" | "CLIPBOARD" | "LOCAL_STORAGE" | "WORKERS" | "BATTERY_STATUS" | "MATCH_MEDIA" | "GEOLOCATION";
15603
15605
 
15604
15606
  export interface CreateParameters {
15605
15607
 
@@ -17330,6 +17332,13 @@ declare namespace chrome {
17330
17332
  hasBeenRead?: boolean;
17331
17333
  }
17332
17334
 
17335
+ /**
17336
+ * Triggered when a ReadingListEntry was added to the reading list.
17337
+ */
17338
+ export const onEntryAdded: events.Event<(
17339
+ entry: ReadingListEntry,
17340
+ ) => void>;
17341
+
17333
17342
  /**
17334
17343
  * Adds an entry to the reading list if it does not exist.
17335
17344
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "b7918cf1e5ba71b5"
8
+ "build-hash": "2160f51ad6855e41"
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.221"
19
+ "version": "0.1.222"
20
20
  }