@types/chrome 0.1.31 → 0.1.32

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 +12 -1
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (https://developer.chrome.com/
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, 19 Nov 2025 21:02:03 GMT
11
+ * Last updated: Mon, 01 Dec 2025 20:34:48 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
@@ -1027,7 +1027,10 @@ declare namespace chrome {
1027
1027
  indexedDB?: boolean | undefined;
1028
1028
  /** The browser's cookies. */
1029
1029
  cookies?: boolean | undefined;
1030
- /** Stored passwords. */
1030
+ /**
1031
+ * Stored passwords.
1032
+ * @deprecated Support for password deletion through extensions has been removed. This data type will be ignored.
1033
+ */
1031
1034
  passwords?: boolean | undefined;
1032
1035
  /**
1033
1036
  * Server-bound certificates.
@@ -1122,6 +1125,7 @@ declare namespace chrome {
1122
1125
  * Clears the browser's stored passwords.
1123
1126
  *
1124
1127
  * Can return its result via Promise in Manifest V3 or later since Chrome 96.
1128
+ * @deprecated Support for password deletion through extensions has been removed. This function has no effect.
1125
1129
  */
1126
1130
  export function removePasswords(options: RemovalOptions): Promise<void>;
1127
1131
  export function removePasswords(options: RemovalOptions, callback: () => void): void;
@@ -9549,6 +9553,13 @@ declare namespace chrome {
9549
9553
  */
9550
9554
  export function getURL(path: string): string;
9551
9555
 
9556
+ /**
9557
+ * Returns the extension's version as declared in the manifest.
9558
+ * @returns The extension's version.
9559
+ * @since Chrome 143
9560
+ */
9561
+ export function getVersion(): string;
9562
+
9552
9563
  /** Reloads the app or extension. This method is not supported in kiosk mode. For kiosk mode, use {@link chrome.runtime.restart()} method. */
9553
9564
  export function reload(): void;
9554
9565
 
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
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": "1514b04207a05c2fb0e3a83bdfe5459198a55479c419054c7228830f760ef351",
97
+ "typesPublisherContentHash": "73ae308fb39a1401a1bb9b8d3540f18508b8574691e7f8a1becc916c785d1566",
98
98
  "typeScriptVersion": "5.2"
99
99
  }