@types/chrome 0.0.242 → 0.0.244

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 +13 -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: Tue, 25 Jul 2023 14:02:51 GMT
11
+ * Last updated: Fri, 25 Aug 2023 17:33:39 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
@@ -1987,7 +1987,7 @@ declare namespace chrome.cookies {
1987
1987
  * Availability: Since Chrome 18.
1988
1988
  * Permissions: "debugger"
1989
1989
  */
1990
- declare module chrome {
1990
+ declare namespace chrome {
1991
1991
  namespace _debugger {
1992
1992
  /** Debuggee identifier. Either tabId or extensionId must be specified */
1993
1993
  export interface Debuggee {
@@ -7308,6 +7308,18 @@ declare namespace chrome.runtime {
7308
7308
  type?: 'module'; // If the service worker uses ES modules
7309
7309
  }
7310
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;
7311
7323
  content_security_policy?: {
7312
7324
  extension_pages?: string;
7313
7325
  sandbox?: string;
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.242",
3
+ "version": "0.0.244",
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": "e52de98a71476aec0ccd56349c6fd1e77213b52814fd2c34d3925a061daf134c",
96
+ "typesPublisherContentHash": "24a17d9bf6b6a3a5411bdd370595d570c6c4618af59011837dc6ab0409a71df3",
97
97
  "typeScriptVersion": "4.3"
98
98
  }