@types/chrome 0.0.39 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +2 -2
- chrome/index.d.ts +6 -6
- chrome/package.json +3 -3
- chrome/types-metadata.json +2 -2
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:
|
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
|
7066
|
-
/**
|
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?:
|
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.
|
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": "
|
17
|
+
"typesPublisherContentHash": "164c682e6adfa7f250db87406c540f05e990fac790b080f3f8797e2d75f3fb60",
|
18
18
|
"typeScriptVersion": "2.0"
|
19
19
|
}
|
chrome/types-metadata.json
CHANGED
@@ -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": "
|
28
|
+
"contentHash": "164c682e6adfa7f250db87406c540f05e990fac790b080f3f8797e2d75f3fb60"
|
29
29
|
},
|
30
30
|
"isLatest": true
|
31
31
|
}
|