chrome-types 0.1.252 → 0.1.254
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.
- package/_all.d.ts +12 -12
- package/index.d.ts +12 -12
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on Sat Jan
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Sat Jan 27 2024 22:28:10 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 142765b4411c578c7d30f0ec4eac6870415f0c29
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -9378,7 +9378,7 @@ declare namespace chrome {
|
|
|
9378
9378
|
}
|
|
9379
9379
|
|
|
9380
9380
|
/**
|
|
9381
|
-
* Desktop Capture API
|
|
9381
|
+
* The Desktop Capture API captures the content of the screen, individual windows, or individual tabs.
|
|
9382
9382
|
*
|
|
9383
9383
|
* @chrome-permission desktopCapture
|
|
9384
9384
|
*/
|
|
@@ -21215,7 +21215,7 @@ declare namespace chrome {
|
|
|
21215
21215
|
}
|
|
21216
21216
|
|
|
21217
21217
|
/**
|
|
21218
|
-
* Use the `chrome.permissions` API to request [declared optional permissions](https://developer.chrome.com/docs/extensions/
|
|
21218
|
+
* Use the `chrome.permissions` API to request [declared optional permissions](https://developer.chrome.com/docs/extensions/develop/concepts/declare-permissions) at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary.
|
|
21219
21219
|
*/
|
|
21220
21220
|
export namespace permissions {
|
|
21221
21221
|
|
|
@@ -21227,7 +21227,7 @@ declare namespace chrome {
|
|
|
21227
21227
|
permissions?: string[];
|
|
21228
21228
|
|
|
21229
21229
|
/**
|
|
21230
|
-
* The list of host permissions, including those specified in the `optional_permissions` or `permissions` keys in the manifest, and those associated with [Content Scripts](https://developer.chrome.com/docs/extensions/
|
|
21230
|
+
* The list of host permissions, including those specified in the `optional_permissions` or `permissions` keys in the manifest, and those associated with [Content Scripts](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts).
|
|
21231
21231
|
*/
|
|
21232
21232
|
origins?: string[];
|
|
21233
21233
|
}
|
|
@@ -27380,31 +27380,31 @@ declare namespace chrome {
|
|
|
27380
27380
|
export const sync: StorageArea & {
|
|
27381
27381
|
|
|
27382
27382
|
/**
|
|
27383
|
-
* The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
27383
|
+
* The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27384
27384
|
*/
|
|
27385
27385
|
QUOTA_BYTES: 102400,
|
|
27386
27386
|
|
|
27387
27387
|
/**
|
|
27388
|
-
* The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set {@link runtime.lastError}.
|
|
27388
|
+
* The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27389
27389
|
*/
|
|
27390
27390
|
QUOTA_BYTES_PER_ITEM: 8192,
|
|
27391
27391
|
|
|
27392
27392
|
/**
|
|
27393
|
-
* The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set {@link runtime.lastError}.
|
|
27393
|
+
* The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27394
27394
|
*/
|
|
27395
27395
|
MAX_ITEMS: 512,
|
|
27396
27396
|
|
|
27397
27397
|
/**
|
|
27398
27398
|
* The maximum number of `set`, `remove`, or `clear` operations that can be performed each hour. This is 1 every 2 seconds, a lower ceiling than the short term higher writes-per-minute limit.
|
|
27399
27399
|
*
|
|
27400
|
-
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
27400
|
+
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27401
27401
|
*/
|
|
27402
27402
|
MAX_WRITE_OPERATIONS_PER_HOUR: 1800,
|
|
27403
27403
|
|
|
27404
27404
|
/**
|
|
27405
27405
|
* The maximum number of `set`, `remove`, or `clear` operations that can be performed each minute. This is 2 per second, providing higher throughput than writes-per-hour over a shorter period of time.
|
|
27406
27406
|
*
|
|
27407
|
-
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
27407
|
+
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27408
27408
|
*/
|
|
27409
27409
|
MAX_WRITE_OPERATIONS_PER_MINUTE: 120,
|
|
27410
27410
|
|
|
@@ -27420,7 +27420,7 @@ declare namespace chrome {
|
|
|
27420
27420
|
export const local: StorageArea & {
|
|
27421
27421
|
|
|
27422
27422
|
/**
|
|
27423
|
-
* The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the `unlimitedStorage` permission. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
27423
|
+
* The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the `unlimitedStorage` permission. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or a rejected Promise if using async/await.
|
|
27424
27424
|
*/
|
|
27425
27425
|
QUOTA_BYTES: 10485760,
|
|
27426
27426
|
};
|
|
@@ -27439,7 +27439,7 @@ declare namespace chrome {
|
|
|
27439
27439
|
export const session: StorageArea & {
|
|
27440
27440
|
|
|
27441
27441
|
/**
|
|
27442
|
-
* 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 {@link runtime.lastError}.
|
|
27442
|
+
* 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 {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
27443
27443
|
*/
|
|
27444
27444
|
QUOTA_BYTES: 10485760,
|
|
27445
27445
|
};
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on Sat Jan
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Sat Jan 27 2024 22:28:06 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 142765b4411c578c7d30f0ec4eac6870415f0c29
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -5575,7 +5575,7 @@ declare namespace chrome {
|
|
|
5575
5575
|
}
|
|
5576
5576
|
|
|
5577
5577
|
/**
|
|
5578
|
-
* Desktop Capture API
|
|
5578
|
+
* The Desktop Capture API captures the content of the screen, individual windows, or individual tabs.
|
|
5579
5579
|
*
|
|
5580
5580
|
* @chrome-permission desktopCapture
|
|
5581
5581
|
*/
|
|
@@ -15989,7 +15989,7 @@ declare namespace chrome {
|
|
|
15989
15989
|
}
|
|
15990
15990
|
|
|
15991
15991
|
/**
|
|
15992
|
-
* Use the `chrome.permissions` API to request [declared optional permissions](https://developer.chrome.com/docs/extensions/
|
|
15992
|
+
* Use the `chrome.permissions` API to request [declared optional permissions](https://developer.chrome.com/docs/extensions/develop/concepts/declare-permissions) at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary.
|
|
15993
15993
|
*/
|
|
15994
15994
|
export namespace permissions {
|
|
15995
15995
|
|
|
@@ -16001,7 +16001,7 @@ declare namespace chrome {
|
|
|
16001
16001
|
permissions?: string[];
|
|
16002
16002
|
|
|
16003
16003
|
/**
|
|
16004
|
-
* The list of host permissions, including those specified in the `optional_permissions` or `permissions` keys in the manifest, and those associated with [Content Scripts](https://developer.chrome.com/docs/extensions/
|
|
16004
|
+
* The list of host permissions, including those specified in the `optional_permissions` or `permissions` keys in the manifest, and those associated with [Content Scripts](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts).
|
|
16005
16005
|
*/
|
|
16006
16006
|
origins?: string[];
|
|
16007
16007
|
}
|
|
@@ -20870,31 +20870,31 @@ declare namespace chrome {
|
|
|
20870
20870
|
export const sync: StorageArea & {
|
|
20871
20871
|
|
|
20872
20872
|
/**
|
|
20873
|
-
* The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
20873
|
+
* The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20874
20874
|
*/
|
|
20875
20875
|
QUOTA_BYTES: 102400,
|
|
20876
20876
|
|
|
20877
20877
|
/**
|
|
20878
|
-
* The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set {@link runtime.lastError}.
|
|
20878
|
+
* The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20879
20879
|
*/
|
|
20880
20880
|
QUOTA_BYTES_PER_ITEM: 8192,
|
|
20881
20881
|
|
|
20882
20882
|
/**
|
|
20883
|
-
* The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set {@link runtime.lastError}.
|
|
20883
|
+
* The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20884
20884
|
*/
|
|
20885
20885
|
MAX_ITEMS: 512,
|
|
20886
20886
|
|
|
20887
20887
|
/**
|
|
20888
20888
|
* The maximum number of `set`, `remove`, or `clear` operations that can be performed each hour. This is 1 every 2 seconds, a lower ceiling than the short term higher writes-per-minute limit.
|
|
20889
20889
|
*
|
|
20890
|
-
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
20890
|
+
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20891
20891
|
*/
|
|
20892
20892
|
MAX_WRITE_OPERATIONS_PER_HOUR: 1800,
|
|
20893
20893
|
|
|
20894
20894
|
/**
|
|
20895
20895
|
* The maximum number of `set`, `remove`, or `clear` operations that can be performed each minute. This is 2 per second, providing higher throughput than writes-per-hour over a shorter period of time.
|
|
20896
20896
|
*
|
|
20897
|
-
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
20897
|
+
* Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20898
20898
|
*/
|
|
20899
20899
|
MAX_WRITE_OPERATIONS_PER_MINUTE: 120,
|
|
20900
20900
|
|
|
@@ -20910,7 +20910,7 @@ declare namespace chrome {
|
|
|
20910
20910
|
export const local: StorageArea & {
|
|
20911
20911
|
|
|
20912
20912
|
/**
|
|
20913
|
-
* The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the `unlimitedStorage` permission. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError}.
|
|
20913
|
+
* The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the `unlimitedStorage` permission. Updates that would cause this limit to be exceeded fail immediately and set {@link runtime.lastError} when using a callback, or a rejected Promise if using async/await.
|
|
20914
20914
|
*/
|
|
20915
20915
|
QUOTA_BYTES: 10485760,
|
|
20916
20916
|
};
|
|
@@ -20929,7 +20929,7 @@ declare namespace chrome {
|
|
|
20929
20929
|
export const session: StorageArea & {
|
|
20930
20930
|
|
|
20931
20931
|
/**
|
|
20932
|
-
* 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 {@link runtime.lastError}.
|
|
20932
|
+
* 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 {@link runtime.lastError} when using a callback, or when a Promise is rejected.
|
|
20933
20933
|
*/
|
|
20934
20934
|
QUOTA_BYTES: 10485760,
|
|
20935
20935
|
};
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "37b31e9a6cfb076b"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"url": "https://github.com/GoogleChrome/chrome-types/issues"
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/GoogleChrome/chrome-types",
|
|
19
|
-
"version": "0.1.
|
|
19
|
+
"version": "0.1.254"
|
|
20
20
|
}
|