@types/chrome 0.0.160 → 0.0.161
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +1 -1
- chrome/index.d.ts +15 -1
- 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:
|
11
|
+
* Last updated: Sun, 24 Oct 2021 15:01:19 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
@@ -10126,6 +10126,13 @@ declare namespace chrome.webNavigation {
|
|
10126
10126
|
* Optional parameter details: Information about the requested frame, null if the specified frame ID and/or tab ID are invalid.
|
10127
10127
|
*/
|
10128
10128
|
export function getFrame(details: GetFrameDetails, callback: (details: GetFrameResultDetails | null) => void): void;
|
10129
|
+
/**
|
10130
|
+
* Retrieves information about the given frame. A frame refers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID.
|
10131
|
+
* @param details Information about the frame to retrieve information about.
|
10132
|
+
* @return The getFrame method provides its result via callback or returned as a Promise (MV3 only).
|
10133
|
+
*/
|
10134
|
+
export function getFrame(details: GetFrameDetails): Promise<GetFrameResultDetails | null>;
|
10135
|
+
|
10129
10136
|
/**
|
10130
10137
|
* Retrieves information about all frames of a given tab.
|
10131
10138
|
* @param details Information about the tab to retrieve all frames from.
|
@@ -10136,7 +10143,14 @@ declare namespace chrome.webNavigation {
|
|
10136
10143
|
details: GetAllFrameDetails,
|
10137
10144
|
callback: (details: GetAllFrameResultDetails[] | null) => void,
|
10138
10145
|
): void;
|
10139
|
-
|
10146
|
+
/**
|
10147
|
+
* Retrieves information about all frames of a given tab.
|
10148
|
+
* @param details Information about the tab to retrieve all frames from.
|
10149
|
+
* @return The getAllFrames method provides its result via callback or returned as a Promise (MV3 only).
|
10150
|
+
*/
|
10151
|
+
export function getAllFrames(
|
10152
|
+
details: GetAllFrameDetails,
|
10153
|
+
): Promise<GetAllFrameResultDetails[] | null>;
|
10140
10154
|
/** Fired when the reference fragment of a frame was updated. All future events for that frame will use the updated URL. */
|
10141
10155
|
export var onReferenceFragmentUpdated: WebNavigationTransitionalEvent;
|
10142
10156
|
/** Fired when a document, including the resources it refers to, is completely loaded and initialized. */
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.161",
|
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",
|
@@ -98,6 +98,6 @@
|
|
98
98
|
"@types/filesystem": "*",
|
99
99
|
"@types/har-format": "*"
|
100
100
|
},
|
101
|
-
"typesPublisherContentHash": "
|
101
|
+
"typesPublisherContentHash": "5ce2fb452d2616bc8e715eab0fc861776fd281c290d911bb05426afd8c56fe21",
|
102
102
|
"typeScriptVersion": "3.7"
|
103
103
|
}
|