@types/chrome 0.0.214 → 0.0.215

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 +7 -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: Sat, 18 Feb 2023 01:02:37 GMT
11
+ * Last updated: Sat, 18 Feb 2023 02:32:32 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
@@ -6728,6 +6728,13 @@ declare namespace chrome.search {
6728
6728
  * function() => {...}
6729
6729
  */
6730
6730
  export function query(options: QueryInfo, callback: () => void): void;
6731
+
6732
+ /**
6733
+ * Used to query the default search provider. In case of an error, runtime.lastError will be set.
6734
+ * @param options search configuration options.
6735
+ * @return The `query` method provides its result via callback or returned as a `Promise` (MV3 only). It has no parameters.
6736
+ */
6737
+ export function query(options: QueryInfo): Promise<void>;
6731
6738
  }
6732
6739
 
6733
6740
  ////////////////////
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.0.214",
3
+ "version": "0.0.215",
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",
@@ -93,6 +93,6 @@
93
93
  "@types/filesystem": "*",
94
94
  "@types/har-format": "*"
95
95
  },
96
- "typesPublisherContentHash": "7a84048d2293ad0662e244dd0717a09a9d05da169dee3b30b2acceaa09feb3f4",
96
+ "typesPublisherContentHash": "032cae83d3b198051639b62967f4c3447fc569b785fa8927d30f5f3813685604",
97
97
  "typeScriptVersion": "4.2"
98
98
  }