chrome-types 0.1.100 → 0.1.101
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 -5
- package/index.d.ts +12 -5
- 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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Apr 14 2022 22:29:50 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at fae9b808b05a6cb70fac440b9ef4de9152f82ea3
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -21348,7 +21348,7 @@ declare namespace chrome {
|
|
|
21348
21348
|
* Passes the key pair of `certificate` for usage with {@link platformKeys.subtleCrypto} to `callback`.
|
|
21349
21349
|
*
|
|
21350
21350
|
* @param certificate The certificate of a {@link Match} returned by {@link selectClientCertificates}.
|
|
21351
|
-
* @param parameters Determines signature/hash algorithm parameters additionally to
|
|
21351
|
+
* @param parameters Determines signature/hash algorithm parameters additionally to the parameters fixed by the key itself. The same parameters are accepted as by WebCrypto's [importKey](https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-importKey) function, e.g. `RsaHashedImportParams` for a RSASSA-PKCS1-v1\_5 key and `EcKeyImportParams` for EC key. Additionally for RSASSA-PKCS1-v1\_5 keys, hashing algorithm name parameter can be specified with one of the following values: "none", "SHA-1", "SHA-256", "SHA-384", or "SHA-512", e.g. `{"hash": { "name": "none" } }`. The sign function will then apply PKCS#1 v1.5 padding but not hash the given data.
|
|
21352
21352
|
|
|
21353
21353
|
Currently, this method only supports the "RSASSA-PKCS1-v1\_5" and "ECDSA" algorithms.
|
|
21354
21354
|
* @param callback The public and private [CryptoKey](https://www.w3.org/TR/WebCryptoAPI/#dfn-CryptoKey) of a certificate which can only be used with {@link platformKeys.subtleCrypto}.
|
|
@@ -22178,7 +22178,7 @@ declare namespace chrome {
|
|
|
22178
22178
|
tasks: TaskInfo[];
|
|
22179
22179
|
|
|
22180
22180
|
/**
|
|
22181
|
-
* The most recent measurement of the process
|
|
22181
|
+
* The most recent measurement of the process's CPU usage, expressed as the percentage of a single CPU core used in total, by all of the process's threads. This gives a value from zero to CpuInfo.numOfProcessors\*100, which can exceed 100% in multi-threaded processes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
|
|
22182
22182
|
*/
|
|
22183
22183
|
cpu?: number;
|
|
22184
22184
|
|
|
@@ -22203,7 +22203,7 @@ declare namespace chrome {
|
|
|
22203
22203
|
jsMemoryUsed?: number;
|
|
22204
22204
|
|
|
22205
22205
|
/**
|
|
22206
|
-
* The most recent measurement of the process
|
|
22206
|
+
* The most recent measurement of the process's SQLite memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
|
|
22207
22207
|
*/
|
|
22208
22208
|
sqliteMemory?: number;
|
|
22209
22209
|
|
|
@@ -23303,6 +23303,13 @@ declare namespace chrome {
|
|
|
23303
23303
|
* Specifies if this content script will persist into future sessions. The default is true.
|
|
23304
23304
|
*/
|
|
23305
23305
|
persistAcrossSessions?: boolean;
|
|
23306
|
+
|
|
23307
|
+
/**
|
|
23308
|
+
* The JavaScript "world" to run the script in. Defaults to `ISOLATED`.
|
|
23309
|
+
*
|
|
23310
|
+
* @since Pending
|
|
23311
|
+
*/
|
|
23312
|
+
world?: ExecutionWorld;
|
|
23306
23313
|
}
|
|
23307
23314
|
|
|
23308
23315
|
/**
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Thu Apr 14 2022 22:29:44 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at fae9b808b05a6cb70fac440b9ef4de9152f82ea3
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -16253,7 +16253,7 @@ declare namespace chrome {
|
|
|
16253
16253
|
* Passes the key pair of `certificate` for usage with {@link platformKeys.subtleCrypto} to `callback`.
|
|
16254
16254
|
*
|
|
16255
16255
|
* @param certificate The certificate of a {@link Match} returned by {@link selectClientCertificates}.
|
|
16256
|
-
* @param parameters Determines signature/hash algorithm parameters additionally to
|
|
16256
|
+
* @param parameters Determines signature/hash algorithm parameters additionally to the parameters fixed by the key itself. The same parameters are accepted as by WebCrypto's [importKey](https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-importKey) function, e.g. `RsaHashedImportParams` for a RSASSA-PKCS1-v1\_5 key and `EcKeyImportParams` for EC key. Additionally for RSASSA-PKCS1-v1\_5 keys, hashing algorithm name parameter can be specified with one of the following values: "none", "SHA-1", "SHA-256", "SHA-384", or "SHA-512", e.g. `{"hash": { "name": "none" } }`. The sign function will then apply PKCS#1 v1.5 padding but not hash the given data.
|
|
16257
16257
|
|
|
16258
16258
|
Currently, this method only supports the "RSASSA-PKCS1-v1\_5" and "ECDSA" algorithms.
|
|
16259
16259
|
* @param callback The public and private [CryptoKey](https://www.w3.org/TR/WebCryptoAPI/#dfn-CryptoKey) of a certificate which can only be used with {@link platformKeys.subtleCrypto}.
|
|
@@ -17083,7 +17083,7 @@ declare namespace chrome {
|
|
|
17083
17083
|
tasks: TaskInfo[];
|
|
17084
17084
|
|
|
17085
17085
|
/**
|
|
17086
|
-
* The most recent measurement of the process
|
|
17086
|
+
* The most recent measurement of the process's CPU usage, expressed as the percentage of a single CPU core used in total, by all of the process's threads. This gives a value from zero to CpuInfo.numOfProcessors\*100, which can exceed 100% in multi-threaded processes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
|
|
17087
17087
|
*/
|
|
17088
17088
|
cpu?: number;
|
|
17089
17089
|
|
|
@@ -17108,7 +17108,7 @@ declare namespace chrome {
|
|
|
17108
17108
|
jsMemoryUsed?: number;
|
|
17109
17109
|
|
|
17110
17110
|
/**
|
|
17111
|
-
* The most recent measurement of the process
|
|
17111
|
+
* The most recent measurement of the process's SQLite memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
|
|
17112
17112
|
*/
|
|
17113
17113
|
sqliteMemory?: number;
|
|
17114
17114
|
|
|
@@ -18197,6 +18197,13 @@ declare namespace chrome {
|
|
|
18197
18197
|
* Specifies if this content script will persist into future sessions. The default is true.
|
|
18198
18198
|
*/
|
|
18199
18199
|
persistAcrossSessions?: boolean;
|
|
18200
|
+
|
|
18201
|
+
/**
|
|
18202
|
+
* The JavaScript "world" to run the script in. Defaults to `ISOLATED`.
|
|
18203
|
+
*
|
|
18204
|
+
* @since Pending
|
|
18205
|
+
*/
|
|
18206
|
+
world?: ExecutionWorld;
|
|
18200
18207
|
}
|
|
18201
18208
|
|
|
18202
18209
|
/**
|
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": "ca074b94a86f549c"
|
|
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.101"
|
|
20
20
|
}
|