@types/chrome 0.0.273 → 0.0.274
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 +26 -0
- chrome/package.json +2 -2
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:
|
11
|
+
* Last updated: Wed, 02 Oct 2024 18:10:02 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
@@ -7493,6 +7493,7 @@ declare namespace chrome.runtime {
|
|
7493
7493
|
| "system.display"
|
7494
7494
|
| "system.memory"
|
7495
7495
|
| "system.storage"
|
7496
|
+
| "systemLog"
|
7496
7497
|
| "tabCapture"
|
7497
7498
|
| "tabGroups"
|
7498
7499
|
| "tabs"
|
@@ -9413,6 +9414,31 @@ declare namespace chrome.system.display {
|
|
9413
9414
|
export const onDisplayChanged: chrome.events.Event<() => void>;
|
9414
9415
|
}
|
9415
9416
|
|
9417
|
+
////////////////////
|
9418
|
+
// SystemLog
|
9419
|
+
////////////////////
|
9420
|
+
/**
|
9421
|
+
* Use the chrome.systemLog API to record Chrome system logs from extensions.
|
9422
|
+
*
|
9423
|
+
* Permissions: "systemLog"
|
9424
|
+
*
|
9425
|
+
* Note: This API is only for extensions pre-installed by policy.
|
9426
|
+
* @platform ChromeOS only
|
9427
|
+
* @since Chrome 125
|
9428
|
+
*/
|
9429
|
+
declare namespace chrome.systemLog {
|
9430
|
+
export interface MessageOptions {
|
9431
|
+
message: string;
|
9432
|
+
}
|
9433
|
+
|
9434
|
+
/**
|
9435
|
+
* Adds a new log record.
|
9436
|
+
* Can return its result via Promise in Manifest V3 or later.
|
9437
|
+
*/
|
9438
|
+
export function add(options: MessageOptions): Promise<void>;
|
9439
|
+
export function add(options: MessageOptions, callback: () => void): void;
|
9440
|
+
}
|
9441
|
+
|
9416
9442
|
////////////////////
|
9417
9443
|
// TabCapture
|
9418
9444
|
////////////////////
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.274",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -93,6 +93,6 @@
|
|
93
93
|
"@types/filesystem": "*",
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
|
-
"typesPublisherContentHash": "
|
96
|
+
"typesPublisherContentHash": "cd89f522cf6bb0e688b9d3791fa8dba9cee8bbceeb0ee9d6897aa3d3b54d83aa",
|
97
97
|
"typeScriptVersion": "4.8"
|
98
98
|
}
|