@types/chrome 0.1.31 → 0.1.33
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.
- chrome/README.md +1 -1
- chrome/index.d.ts +13 -2
- 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:
|
|
11
|
+
* Last updated: Sat, 10 Jan 2026 12:44:29 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
|
-
/**
|
|
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
|
|
|
@@ -13151,7 +13162,7 @@ declare namespace chrome {
|
|
|
13151
13162
|
* The UUID of the document making the request.
|
|
13152
13163
|
* @since Chrome 106
|
|
13153
13164
|
*/
|
|
13154
|
-
documentId
|
|
13165
|
+
documentId?: string;
|
|
13155
13166
|
/**
|
|
13156
13167
|
* The lifecycle the document is in.
|
|
13157
13168
|
* @since Chrome 106
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
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": "
|
|
97
|
+
"typesPublisherContentHash": "492aaffbb03731cd1026f5a89857f2a2c7fc9898d59ea6e638a3c86a40f5789c",
|
|
98
98
|
"typeScriptVersion": "5.2"
|
|
99
99
|
}
|