@types/chrome 0.1.35 → 0.1.36
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 +44 -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: Wed, 21 Jan 2026 21:05:50 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
|
@@ -1029,7 +1029,7 @@ declare namespace chrome {
|
|
|
1029
1029
|
cookies?: boolean | undefined;
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Stored passwords.
|
|
1032
|
-
* @deprecated Support for password deletion through extensions has been removed. This data type will be ignored.
|
|
1032
|
+
* @deprecated since Chrome 144. Support for password deletion through extensions has been removed. This data type will be ignored.
|
|
1033
1033
|
*/
|
|
1034
1034
|
passwords?: boolean | undefined;
|
|
1035
1035
|
/**
|
|
@@ -1125,7 +1125,7 @@ declare namespace chrome {
|
|
|
1125
1125
|
* Clears the browser's stored passwords.
|
|
1126
1126
|
*
|
|
1127
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.
|
|
1128
|
+
* @deprecated since Chrome 144. Support for password deletion through extensions has been removed. This function has no effect.
|
|
1129
1129
|
*/
|
|
1130
1130
|
export function removePasswords(options: RemovalOptions): Promise<void>;
|
|
1131
1131
|
export function removePasswords(options: RemovalOptions, callback: () => void): void;
|
|
@@ -3779,6 +3779,8 @@ declare namespace chrome {
|
|
|
3779
3779
|
BLOCKED_SCAN_FAILED = "blockedScanFailed",
|
|
3780
3780
|
/** For use by the Secure Enterprise Browser extension. When required, Chrome will block the download to disc and download the file directly to Google Drive. */
|
|
3781
3781
|
FORCE_SAVE_TO_GDRIVE = "forceSaveToGdrive",
|
|
3782
|
+
/** For use by the Secure Enterprise Browser extension. When required, Chrome will block the download to disc and download the file directly to OneDrive. */
|
|
3783
|
+
FORCE_SAVE_TO_ONEDRIVE = "forceSaveToOnedrive",
|
|
3782
3784
|
}
|
|
3783
3785
|
|
|
3784
3786
|
export interface DownloadItem {
|
|
@@ -13085,6 +13087,10 @@ declare namespace chrome {
|
|
|
13085
13087
|
EXTRA_HEADERS = "extraHeaders",
|
|
13086
13088
|
/** Specifies that the response headers should be included in the event. */
|
|
13087
13089
|
RESPONSE_HEADERS = "responseHeaders",
|
|
13090
|
+
/** Specifies that the SecurityInfo should be included in the event. */
|
|
13091
|
+
SECURITY_INFO = "securityInfo",
|
|
13092
|
+
/** Specifies that the SecurityInfo with raw bytes of certificates should be included in the event. */
|
|
13093
|
+
SECURITY_INFO_RAW_DER = "securityInfoRawDer",
|
|
13088
13094
|
}
|
|
13089
13095
|
|
|
13090
13096
|
/** @since Chrome 44 */
|
|
@@ -13145,6 +13151,23 @@ declare namespace chrome {
|
|
|
13145
13151
|
OTHER = "other",
|
|
13146
13152
|
}
|
|
13147
13153
|
|
|
13154
|
+
/** @since Chrome 144 */
|
|
13155
|
+
export interface SecurityInfo {
|
|
13156
|
+
/** A list of certificates */
|
|
13157
|
+
certificates: {
|
|
13158
|
+
/** Fingerprints of the certificate. */
|
|
13159
|
+
fingerprint: {
|
|
13160
|
+
/** sha256 fingerprint of the certificate. */
|
|
13161
|
+
sha256: string;
|
|
13162
|
+
};
|
|
13163
|
+
/** Raw bytes of DER encoded server certificate */
|
|
13164
|
+
rawDER?: ArrayBuffer;
|
|
13165
|
+
}[];
|
|
13166
|
+
|
|
13167
|
+
/** State of the connection. One of secure, insecure, broken. */
|
|
13168
|
+
state: string;
|
|
13169
|
+
}
|
|
13170
|
+
|
|
13148
13171
|
/** Contains data uploaded in a URL request. */
|
|
13149
13172
|
export interface UploadData {
|
|
13150
13173
|
/** An ArrayBuffer with a copy of the data. */
|
|
@@ -13282,6 +13305,11 @@ declare namespace chrome {
|
|
|
13282
13305
|
export interface OnHeadersReceivedDetails extends WebRequestDetails {
|
|
13283
13306
|
/** The HTTP response headers that have been received with this response. */
|
|
13284
13307
|
responseHeaders?: HttpHeader[];
|
|
13308
|
+
/**
|
|
13309
|
+
* Information about the TLS/QUIC connection used for the underlying connection. Only provided if `securityInfo` is specified in the `extraInfoSpec` parameter.
|
|
13310
|
+
* @since Chrome 144
|
|
13311
|
+
*/
|
|
13312
|
+
securityInfo?: SecurityInfo;
|
|
13285
13313
|
/** Standard HTTP status code returned by the server. */
|
|
13286
13314
|
statusCode: number;
|
|
13287
13315
|
/** HTTP status line of the response or the 'HTTP/0.9 200 OK' string for HTTP/0.9 responses (i.e., responses that lack a status line) or an empty string if there are no headers.*/
|
|
@@ -14541,6 +14569,14 @@ declare namespace chrome {
|
|
|
14541
14569
|
default_path: string;
|
|
14542
14570
|
}
|
|
14543
14571
|
|
|
14572
|
+
/**
|
|
14573
|
+
* Closes the extension's side panel. This is a no-op if the panel is already closed.
|
|
14574
|
+
* @param options Specifies the context in which to close the side panel.
|
|
14575
|
+
* @since Chrome 141
|
|
14576
|
+
*/
|
|
14577
|
+
export function close(options: CloseOptions): Promise<void>;
|
|
14578
|
+
export function close(options: CloseOptions, callback: () => void): void;
|
|
14579
|
+
|
|
14544
14580
|
/**
|
|
14545
14581
|
* Returns the side panel's current layout.
|
|
14546
14582
|
* @since Chrome 140
|
|
@@ -14593,6 +14629,12 @@ declare namespace chrome {
|
|
|
14593
14629
|
export function setPanelBehavior(behavior: PanelBehavior): Promise<void>;
|
|
14594
14630
|
export function setPanelBehavior(behavior: PanelBehavior, callback: () => void): void;
|
|
14595
14631
|
|
|
14632
|
+
/**
|
|
14633
|
+
* Fired when the extension's side panel is closed.
|
|
14634
|
+
* @since Chrome 142
|
|
14635
|
+
*/
|
|
14636
|
+
const onClosed: events.Event<(info: PanelClosedInfo) => void>;
|
|
14637
|
+
|
|
14596
14638
|
/**
|
|
14597
14639
|
* Fired when the extension's side panel is opened.
|
|
14598
14640
|
* @since Chrome 141
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
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": "cc28e9fba1d030948e2ff2d1ad8cb6b3ffd3907b16fe324446fe8c4c96bd2bd9",
|
|
98
98
|
"typeScriptVersion": "5.2"
|
|
99
99
|
}
|