@types/chrome 0.1.42 → 0.1.43
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 +11 -5
- 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: Fri, 05 Jun 2026 19:08:36 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
|
@@ -1725,7 +1725,7 @@ declare namespace chrome {
|
|
|
1725
1725
|
*
|
|
1726
1726
|
* `allow`: Allow sites to use advanced clipboard capabilities,
|
|
1727
1727
|
*
|
|
1728
|
-
* `block`: Don't allow sites to use advanced clipboard
|
|
1728
|
+
* `block`: Don't allow sites to use advanced clipboard capabilities,
|
|
1729
1729
|
*
|
|
1730
1730
|
* `ask`: Ask when a site wants to use advanced clipboard capabilities.
|
|
1731
1731
|
*
|
|
@@ -1876,6 +1876,8 @@ declare namespace chrome {
|
|
|
1876
1876
|
BROWSER_ACTION = "browser_action",
|
|
1877
1877
|
PAGE_ACTION = "page_action",
|
|
1878
1878
|
ACTION = "action",
|
|
1879
|
+
/** @since Chrome 149 */
|
|
1880
|
+
TAB = "tab",
|
|
1879
1881
|
}
|
|
1880
1882
|
|
|
1881
1883
|
/**
|
|
@@ -2585,7 +2587,7 @@ declare namespace chrome {
|
|
|
2585
2587
|
interface EditResponseCookie {
|
|
2586
2588
|
/** Filter for cookies that will be modified. All empty entries are ignored. */
|
|
2587
2589
|
filter: ResponseCookie;
|
|
2588
|
-
/** Attributes that shall be overridden in cookies that
|
|
2590
|
+
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
|
|
2589
2591
|
modification: ResponseCookie;
|
|
2590
2592
|
}
|
|
2591
2593
|
|
|
@@ -2603,7 +2605,7 @@ declare namespace chrome {
|
|
|
2603
2605
|
interface EditRequestCookie {
|
|
2604
2606
|
/** Filter for cookies that will be modified. All empty entries are ignored. */
|
|
2605
2607
|
filter: RequestCookie;
|
|
2606
|
-
/** Attributes that shall be overridden in cookies that
|
|
2608
|
+
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
|
|
2607
2609
|
modification: RequestCookie;
|
|
2608
2610
|
}
|
|
2609
2611
|
|
|
@@ -4545,7 +4547,7 @@ declare namespace chrome {
|
|
|
4545
4547
|
const inIncognitoContext: boolean;
|
|
4546
4548
|
|
|
4547
4549
|
/**
|
|
4548
|
-
* Set for the lifetime of a callback if an
|
|
4550
|
+
* Set for the lifetime of a callback if an asynchronous extension api has resulted in an error. If no error has occurred lastError will be `undefined`.
|
|
4549
4551
|
* @deprecated since Chrome 58. Please use {@link runtime.lastError}
|
|
4550
4552
|
*/
|
|
4551
4553
|
const lastError: runtime.LastError | undefined;
|
|
@@ -8912,6 +8914,7 @@ declare namespace chrome {
|
|
|
8912
8914
|
/**
|
|
8913
8915
|
* The native client architecture. This may be different from arch on some platforms.
|
|
8914
8916
|
* @since Chrome 44
|
|
8917
|
+
* @deprecated since Chrome 149. This enum is deprecated following complete removal of Native Client.
|
|
8915
8918
|
*/
|
|
8916
8919
|
enum PlatformNaclArch {
|
|
8917
8920
|
/** Specifies the native client architecture as arm. */
|
|
@@ -9072,7 +9075,10 @@ declare namespace chrome {
|
|
|
9072
9075
|
os: `${PlatformOs}`;
|
|
9073
9076
|
/** The machine's processor architecture. */
|
|
9074
9077
|
arch: `${PlatformArch}`;
|
|
9075
|
-
/**
|
|
9078
|
+
/**
|
|
9079
|
+
* The native client architecture. This may be different from arch on some platforms.
|
|
9080
|
+
* @deprecated since Chrome 149. This attribute is deprecated following complete removal of Native Client.
|
|
9081
|
+
*/
|
|
9076
9082
|
nacl_arch?: `${PlatformNaclArch}`;
|
|
9077
9083
|
}
|
|
9078
9084
|
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
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": "815cfb37881758742411286170fc59183d9f9be0b578d95aba2695caf3caff66",
|
|
98
98
|
"typeScriptVersion": "5.3"
|
|
99
99
|
}
|