@types/chrome 0.0.39 → 0.0.40

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.
chrome/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for Chrome extension development (http://
8
8
  Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/chrome
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 07 Feb 2017 20:01:00 GMT
11
+ * Last updated: Fri, 10 Feb 2017 23:02:30 GMT
12
12
  * Dependencies: filesystem
13
13
  * Global values: chrome
14
14
 
15
15
  # Credits
16
- These definitions were written by Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>.
16
+ These definitions were written by Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>, sreimer15 <https://github.com/sreimer15>.
chrome/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // Type definitions for Chrome extension development
2
2
  // Project: http://developer.chrome.com/extensions/
3
- // Definitions by: Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>
3
+ // Definitions by: Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>, sreimer15 <https://github.com/sreimer15>
4
4
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
5
 
6
6
  /// <reference types="filesystem" />
@@ -7062,13 +7062,12 @@ declare namespace chrome.webNavigation {
7062
7062
  transitionQualifiers: string[];
7063
7063
  }
7064
7064
 
7065
- interface WebNavigationEventFilter {
7066
- /** Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event. */
7067
- url: chrome.events.UrlFilter[];
7065
+ interface WebNavigationRequestFilter extends chrome.webRequest.RequestFilter {
7066
+ /** fulfills the webRequest.RequestFilter interface even though it is under web navigation **/
7068
7067
  }
7069
7068
 
7070
7069
  interface WebNavigationEvent<T extends WebNavigationCallbackDetails> extends chrome.events.Event<(details: T) => void> {
7071
- addListener(callback: (details: T) => void, filters?: WebNavigationEventFilter): void;
7070
+ addListener(callback: (details: T) => void, filters?: WebNavigationRequestFilter): void;
7072
7071
  }
7073
7072
 
7074
7073
  interface WebNavigationFramedEvent extends WebNavigationEvent<WebNavigationFramedCallbackDetails> {}
@@ -7178,7 +7177,8 @@ declare namespace chrome.webRequest {
7178
7177
  */
7179
7178
  types?: string[];
7180
7179
  /** A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out. */
7181
- urls: string[];
7180
+ urls: string[] | RegExp[] | "<all_urls>";
7181
+
7182
7182
  /** Optional. */
7183
7183
  windowId?: number;
7184
7184
  }
chrome/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "TypeScript definitions for Chrome extension development",
5
5
  "license": "MIT",
6
- "author": "Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>",
6
+ "author": "Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>, sreimer15 <https://github.com/sreimer15>",
7
7
  "main": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -14,6 +14,6 @@
14
14
  "@types/filesystem": "*"
15
15
  },
16
16
  "peerDependencies": {},
17
- "typesPublisherContentHash": "97536612a0fb2fc15845c174514b81500cb2cad2901df4491819fc44fe6d1225",
17
+ "typesPublisherContentHash": "164c682e6adfa7f250db87406c540f05e990fac790b080f3f8797e2d75f3fb60",
18
18
  "typeScriptVersion": "2.0"
19
19
  }
@@ -3,7 +3,7 @@
3
3
  "libraryName": "Chrome extension development",
4
4
  "sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
5
5
  "data": {
6
- "authors": "Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>",
6
+ "authors": "Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>, sreimer15 <https://github.com/sreimer15>",
7
7
  "dependencies": {
8
8
  "filesystem": "*"
9
9
  },
@@ -25,7 +25,7 @@
25
25
  "index.d.ts"
26
26
  ],
27
27
  "hasPackageJson": false,
28
- "contentHash": "97536612a0fb2fc15845c174514b81500cb2cad2901df4491819fc44fe6d1225"
28
+ "contentHash": "164c682e6adfa7f250db87406c540f05e990fac790b080f3f8797e2d75f3fb60"
29
29
  },
30
30
  "isLatest": true
31
31
  }