@types/chrome 0.0.241 → 0.0.243

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +19 -1
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Chrome extension development (http://
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 12 Jul 2023 07:32:45 GMT
11
+ * Last updated: Wed, 02 Aug 2023 20:33:05 GMT
12
12
  * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
13
13
  * Global values: `chrome`
14
14
 
chrome/index.d.ts CHANGED
@@ -5906,7 +5906,13 @@ declare namespace chrome.offscreen {
5906
5906
  /** The offscreen document needs to use WebRTC APIs. */
5907
5907
  WEB_RTC = "WEB_RTC",
5908
5908
  /** The offscreen document needs to interact with the clipboard APIs(e.g. Navigator.clipboard). */
5909
- CLIPBOARD = "CLIPBOARD"
5909
+ CLIPBOARD = "CLIPBOARD",
5910
+ /** Specifies that the offscreen document needs access to localStorage. */
5911
+ LOCAL_STORAGE = "LOCAL_STORAGE",
5912
+ /** Specifies that the offscreen document needs to spawn workers. */
5913
+ WORKERS = "WORKERS",
5914
+ /** Specifies that the offscreen document needs to use navigator.geolocation. */
5915
+ GEOLOCATION = "GEOLOCATION",
5910
5916
  }
5911
5917
 
5912
5918
  /** The parameters describing the offscreen document to create. */
@@ -7302,6 +7308,18 @@ declare namespace chrome.runtime {
7302
7308
  type?: 'module'; // If the service worker uses ES modules
7303
7309
  }
7304
7310
  | undefined;
7311
+ content_scripts?: {
7312
+ matches?: string[] | undefined;
7313
+ exclude_matches?: string[] | undefined;
7314
+ css?: string[] | undefined;
7315
+ js?: string[] | undefined;
7316
+ run_at?: string | undefined;
7317
+ all_frames?: boolean | undefined;
7318
+ match_about_blank?: boolean | undefined;
7319
+ include_globs?: string[] | undefined;
7320
+ exclude_globs?: string[] | undefined;
7321
+ world?: "ISOLATED" | "MAIN" | undefined
7322
+ }[] | undefined;
7305
7323
  content_security_policy?: {
7306
7324
  extension_pages?: string;
7307
7325
  sandbox?: string;
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.241",
3
+ "version": "0.0.243",
4
4
  "description": "TypeScript definitions for Chrome extension development",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
@@ -93,6 +93,6 @@
93
93
  "@types/filesystem": "*",
94
94
  "@types/har-format": "*"
95
95
  },
96
- "typesPublisherContentHash": "e03140d2bd377fedd113d628d9b020580ec8a9930b14eef67d9a7c45e6d4ff96",
96
+ "typesPublisherContentHash": "be4949ab3a860cce9ba9fda4b4b4d0d4d9717fd007a9c46b90d56d49525d07c9",
97
97
  "typeScriptVersion": "4.3"
98
98
  }