@types/chrome 0.0.280 → 0.0.281

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 +13 -0
  3. chrome/package.json +3 -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: Fri, 01 Nov 2024 22:34:47 GMT
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
@@ -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.280",
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",
@@ -94,6 +94,6 @@
94
94
  "@types/har-format": "*"
95
95
  },
96
96
  "peerDependencies": {},
97
- "typesPublisherContentHash": "5823c284d52d87e13d9c751f7a0688a2c5e20c0a0741d46f6b9b670ac211903c",
98
- "typeScriptVersion": "4.8"
97
+ "typesPublisherContentHash": "f15521101298c5cf455e96265c26699ee9998428a192d69033c34d2611cec634",
98
+ "typeScriptVersion": "4.9"
99
99
  }