@types/chrome 0.0.187 → 0.0.190
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +2 -2
- chrome/index.d.ts +14 -3
- chrome/package.json +2 -7
chrome/README.md
CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for Chrome extension development (http://
|
|
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: Tue, 07 Jun 2022 23:31:32 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
* Global values: `chrome`
|
14
14
|
|
15
15
|
# Credits
|
16
|
-
These definitions were written by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [
|
16
|
+
These definitions were written by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [sreimer15](https://github.com/sreimer15), [MatCarlson](https://github.com/MatCarlson), [ekinsol](https://github.com/ekinsol), [Thierry Régagnon](https://github.com/tregagnon), [Brian Wilson](https://github.com/echoabstract), [Sebastiaan Pasma](https://github.com/spasma), [bdbai](https://github.com/bdbai), [pokutuna](https://github.com/pokutuna), [Jason Xian](https://github.com/JasonXian), [userTim](https://github.com/usertim), [Idan Zeierman](https://github.com/idan315), [Nicolas Rodriguez](https://github.com/nicolas377), and [Ido Salomon](https://github.com/idosal).
|
chrome/index.d.ts
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
// Project: http://developer.chrome.com/extensions/
|
3
3
|
// Definitions by: Matthew Kimber <https://github.com/matthewkimber>
|
4
4
|
// otiai10 <https://github.com/otiai10>
|
5
|
-
// RReverser <https://github.com/rreverser>
|
6
5
|
// sreimer15 <https://github.com/sreimer15>
|
7
6
|
// MatCarlson <https://github.com/MatCarlson>
|
8
7
|
// ekinsol <https://github.com/ekinsol>
|
@@ -7215,8 +7214,9 @@ declare namespace chrome.runtime {
|
|
7215
7214
|
type?: string | undefined;
|
7216
7215
|
id?: string | undefined;
|
7217
7216
|
description?: string | undefined;
|
7218
|
-
language?: string | undefined;
|
7217
|
+
language?: string[] | string | undefined;
|
7219
7218
|
layouts?: string[] | undefined;
|
7219
|
+
indicator?: string | undefined;
|
7220
7220
|
}[] | undefined;
|
7221
7221
|
key?: string | undefined;
|
7222
7222
|
minimum_chrome_version?: string | undefined;
|
@@ -7889,7 +7889,12 @@ declare namespace chrome.storage {
|
|
7889
7889
|
MAX_WRITE_OPERATIONS_PER_MINUTE: number;
|
7890
7890
|
}
|
7891
7891
|
|
7892
|
-
|
7892
|
+
export interface SessionStorageArea extends StorageArea {
|
7893
|
+
/** The maximum amount (in bytes) of data that can be stored in memory, as measured by estimating the dynamically allocated memory usage of every value and key. Updates that would cause this limit to be exceeded fail immediately and set runtime.lastError. */
|
7894
|
+
QUOTA_BYTES: number;
|
7895
|
+
}
|
7896
|
+
|
7897
|
+
type AreaName = keyof Pick<typeof chrome.storage, 'sync' | 'local' | 'managed' | 'session'>;
|
7893
7898
|
export interface StorageChangedEvent
|
7894
7899
|
extends chrome.events.Event<(changes: { [key: string]: StorageChange }, areaName: AreaName) => void> { }
|
7895
7900
|
|
@@ -7904,6 +7909,12 @@ declare namespace chrome.storage {
|
|
7904
7909
|
*/
|
7905
7910
|
export var managed: StorageArea;
|
7906
7911
|
|
7912
|
+
/**
|
7913
|
+
* Items in the session storage area are stored in-memory and will not be persisted to disk.
|
7914
|
+
* @since Chrome 102.
|
7915
|
+
*/
|
7916
|
+
export var session: SessionStorageArea;
|
7917
|
+
|
7907
7918
|
/** Fired when one or more items change. */
|
7908
7919
|
export var onChanged: StorageChangedEvent;
|
7909
7920
|
}
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.190",
|
4
4
|
"description": "TypeScript definitions for Chrome extension development",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -15,11 +15,6 @@
|
|
15
15
|
"url": "https://github.com/otiai10",
|
16
16
|
"githubUsername": "otiai10"
|
17
17
|
},
|
18
|
-
{
|
19
|
-
"name": "RReverser",
|
20
|
-
"url": "https://github.com/rreverser",
|
21
|
-
"githubUsername": "rreverser"
|
22
|
-
},
|
23
18
|
{
|
24
19
|
"name": "sreimer15",
|
25
20
|
"url": "https://github.com/sreimer15",
|
@@ -98,6 +93,6 @@
|
|
98
93
|
"@types/filesystem": "*",
|
99
94
|
"@types/har-format": "*"
|
100
95
|
},
|
101
|
-
"typesPublisherContentHash": "
|
96
|
+
"typesPublisherContentHash": "6f2e02de6caa082b31f21f5ef80017ad305259fe8ab2ab27ae1b1a886fbbaec4",
|
102
97
|
"typeScriptVersion": "3.9"
|
103
98
|
}
|