@types/chrome 0.0.208 → 0.0.209

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.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +3 -0
  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: Wed, 11 Jan 2023 03:02:50 GMT
11
+ * Last updated: Wed, 18 Jan 2023 18:32:45 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
@@ -4825,6 +4825,9 @@ declare namespace chrome.identity {
4825
4825
  /** @since Chrome 84. */
4826
4826
  export function getProfileUserInfo(details: ProfileDetails, callback: (userInfo: UserInfo) => void): void;
4827
4827
 
4828
+ /** @since Chrome 84. */
4829
+ export function getProfileUserInfo(details: ProfileDetails): Promise<UserInfo>;
4830
+
4828
4831
  /**
4829
4832
  * Removes an OAuth2 access token from the Identity API's token cache.
4830
4833
  * If an access token is discovered to be invalid, it should be passed to removeCachedAuthToken to remove it from the cache. The app may then retrieve a fresh token with getAuthToken.
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.208",
3
+ "version": "0.0.209",
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",
@@ -88,6 +88,6 @@
88
88
  "@types/filesystem": "*",
89
89
  "@types/har-format": "*"
90
90
  },
91
- "typesPublisherContentHash": "1dd33572b22a19b6f4a1a3e7bb5f09494130df8bf90a663a340676443c212b3b",
91
+ "typesPublisherContentHash": "3ef20a708ace9b1a58c936bcd247d83b8640c20dfb8a5af221d05db71e9acc50",
92
92
  "typeScriptVersion": "4.2"
93
93
  }