@types/chrome 0.0.279 → 0.0.281
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 +14 -1
- chrome/package.json +4 -3
chrome/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (http://developer.chrome.com/e
|
|
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: Thu, 14 Nov 2024 02:45:55 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
|
14
14
|
# Credits
|
chrome/index.d.ts
CHANGED
@@ -5150,7 +5150,7 @@ declare namespace chrome.identity {
|
|
5150
5150
|
export function getProfileUserInfo(details: ProfileDetails, callback: (userInfo: UserInfo) => void): void;
|
5151
5151
|
|
5152
5152
|
/** @since Chrome 84 */
|
5153
|
-
export function getProfileUserInfo(details
|
5153
|
+
export function getProfileUserInfo(details?: ProfileDetails): Promise<UserInfo>;
|
5154
5154
|
|
5155
5155
|
/**
|
5156
5156
|
* Removes an OAuth2 access token from the Identity API's token cache.
|
@@ -9005,6 +9005,19 @@ declare namespace chrome.storage {
|
|
9005
9005
|
* Parameter items: Object with items in their key-value mappings.
|
9006
9006
|
*/
|
9007
9007
|
onChanged: StorageAreaChangedEvent;
|
9008
|
+
/**
|
9009
|
+
* Gets all keys from storage.
|
9010
|
+
* @return A Promise that resolves with an array of keys.
|
9011
|
+
* @since Chrome 130
|
9012
|
+
*/
|
9013
|
+
getKeys(): Promise<string[]>;
|
9014
|
+
/**
|
9015
|
+
* Gets all keys from storage.
|
9016
|
+
* @param callback Callback with storage keys.
|
9017
|
+
* Parameter keys: Array of keys in storage.
|
9018
|
+
* @since Chrome 130
|
9019
|
+
*/
|
9020
|
+
getKeys(callback: (keys: string[]) => void): void;
|
9008
9021
|
}
|
9009
9022
|
|
9010
9023
|
export interface StorageChange {
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.281",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -93,6 +93,7 @@
|
|
93
93
|
"@types/filesystem": "*",
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
|
-
"
|
97
|
-
"
|
96
|
+
"peerDependencies": {},
|
97
|
+
"typesPublisherContentHash": "f15521101298c5cf455e96265c26699ee9998428a192d69033c34d2611cec634",
|
98
|
+
"typeScriptVersion": "4.9"
|
98
99
|
}
|