chrome-types 0.1.100 → 0.1.103

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.
Files changed (3) hide show
  1. package/_all.d.ts +14 -8
  2. package/index.d.ts +14 -8
  3. 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 Tue Apr 12 2022 22:29:25 GMT+0000 (Coordinated Universal Time)
18
- // Built at 1241cdafb6a389ba5f981b54a1d162131e6a1c0f
17
+ // Generated on Fri Apr 22 2022 22:28:47 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7b4d04716c3133dcc6210a5e3bcb52bb9df0a2dd
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -1878,7 +1878,7 @@ declare namespace chrome {
1878
1878
  /**
1879
1879
  * All possible actions that can be performed on automation nodes.
1880
1880
  */
1881
- export type ActionType = "annotatePageImages" | "blur" | "clearAccessibilityFocus" | "collapse" | "customAction" | "decrement" | "doDefault" | "expand" | "focus" | "getImageData" | "getTextLocation" | "hideTooltip" | "hitTest" | "increment" | "internalInvalidateTree" | "loadInlineTextBoxes" | "replaceSelectedText" | "resumeMedia" | "runScreenAi" | "scrollBackward" | "scrollDown" | "scrollForward" | "scrollLeft" | "scrollRight" | "scrollUp" | "scrollToMakeVisible" | "scrollToPoint" | "setAccessibilityFocus" | "setScrollOffset" | "setSelection" | "setSequentialFocusNavigationStartingPoint" | "setValue" | "showContextMenu" | "signalEndOfTest" | "showTooltip" | "startDuckingMedia" | "stopDuckingMedia" | "suspendMedia";
1881
+ export type ActionType = "annotatePageImages" | "blur" | "clearAccessibilityFocus" | "collapse" | "customAction" | "decrement" | "doDefault" | "expand" | "focus" | "getImageData" | "getTextLocation" | "hideTooltip" | "hitTest" | "increment" | "internalInvalidateTree" | "loadInlineTextBoxes" | "replaceSelectedText" | "resumeMedia" | "scrollBackward" | "scrollDown" | "scrollForward" | "scrollLeft" | "scrollRight" | "scrollUp" | "scrollToMakeVisible" | "scrollToPoint" | "setAccessibilityFocus" | "setScrollOffset" | "setSelection" | "setSequentialFocusNavigationStartingPoint" | "setValue" | "showContextMenu" | "signalEndOfTest" | "showTooltip" | "startDuckingMedia" | "stopDuckingMedia" | "suspendMedia";
1882
1882
 
1883
1883
  /**
1884
1884
  * Possible changes to the automation tree. For any given atomic change to the tree, each node that's added, removed, or changed, will appear in exactly one TreeChange, with one of these types.
@@ -12110,7 +12110,6 @@ declare namespace chrome {
12110
12110
  * Use the `chrome.enterprise.platformKeys` API to generate keys and install certificates for these keys. The certificates will be managed by the platform and can be used for TLS authentication, network access or by other extension through {@link platformKeys chrome.platformKeys}.
12111
12111
  *
12112
12112
  * @chrome-permission enterprise.platformKeys
12113
- * @chrome-disallow-service-workers
12114
12113
  * @chrome-platform chromeos
12115
12114
  * @chrome-platform lacros
12116
12115
  */
@@ -21348,7 +21347,7 @@ declare namespace chrome {
21348
21347
  * Passes the key pair of `certificate` for usage with {@link platformKeys.subtleCrypto} to `callback`.
21349
21348
  *
21350
21349
  * @param certificate The certificate of a {@link Match} returned by {@link selectClientCertificates}.
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.
21350
+ * @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
21351
 
21353
21352
  Currently, this method only supports the "RSASSA-PKCS1-v1\_5" and "ECDSA" algorithms.
21354
21353
  * @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 +22177,7 @@ declare namespace chrome {
22178
22177
  tasks: TaskInfo[];
22179
22178
 
22180
22179
  /**
22181
- * The most recent measurement of the processs CPU usage, expressed as the percentage of a single CPU core used in total, by all of the processs 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.
22180
+ * 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
22181
  */
22183
22182
  cpu?: number;
22184
22183
 
@@ -22203,7 +22202,7 @@ declare namespace chrome {
22203
22202
  jsMemoryUsed?: number;
22204
22203
 
22205
22204
  /**
22206
- * The most recent measurement of the processs SQLite memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
22205
+ * 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
22206
  */
22208
22207
  sqliteMemory?: number;
22209
22208
 
@@ -22604,7 +22603,7 @@ declare namespace chrome {
22604
22603
  *
22605
22604
  * @since Chrome 44
22606
22605
  */
22607
- export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd";
22606
+ export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd" | "fuchsia";
22608
22607
 
22609
22608
  /**
22610
22609
  * The machine's processor architecture.
@@ -23303,6 +23302,13 @@ declare namespace chrome {
23303
23302
  * Specifies if this content script will persist into future sessions. The default is true.
23304
23303
  */
23305
23304
  persistAcrossSessions?: boolean;
23305
+
23306
+ /**
23307
+ * The JavaScript "world" to run the script in. Defaults to `ISOLATED`.
23308
+ *
23309
+ * @since Pending
23310
+ */
23311
+ world?: ExecutionWorld;
23306
23312
  }
23307
23313
 
23308
23314
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Apr 12 2022 22:29:20 GMT+0000 (Coordinated Universal Time)
18
- // Built at 1241cdafb6a389ba5f981b54a1d162131e6a1c0f
17
+ // Generated on Fri Apr 22 2022 22:28:42 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7b4d04716c3133dcc6210a5e3bcb52bb9df0a2dd
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -1129,7 +1129,7 @@ declare namespace chrome {
1129
1129
  /**
1130
1130
  * All possible actions that can be performed on automation nodes.
1131
1131
  */
1132
- export type ActionType = "annotatePageImages" | "blur" | "clearAccessibilityFocus" | "collapse" | "customAction" | "decrement" | "doDefault" | "expand" | "focus" | "getImageData" | "getTextLocation" | "hideTooltip" | "hitTest" | "increment" | "internalInvalidateTree" | "loadInlineTextBoxes" | "replaceSelectedText" | "resumeMedia" | "runScreenAi" | "scrollBackward" | "scrollDown" | "scrollForward" | "scrollLeft" | "scrollRight" | "scrollUp" | "scrollToMakeVisible" | "scrollToPoint" | "setAccessibilityFocus" | "setScrollOffset" | "setSelection" | "setSequentialFocusNavigationStartingPoint" | "setValue" | "showContextMenu" | "signalEndOfTest" | "showTooltip" | "startDuckingMedia" | "stopDuckingMedia" | "suspendMedia";
1132
+ export type ActionType = "annotatePageImages" | "blur" | "clearAccessibilityFocus" | "collapse" | "customAction" | "decrement" | "doDefault" | "expand" | "focus" | "getImageData" | "getTextLocation" | "hideTooltip" | "hitTest" | "increment" | "internalInvalidateTree" | "loadInlineTextBoxes" | "replaceSelectedText" | "resumeMedia" | "scrollBackward" | "scrollDown" | "scrollForward" | "scrollLeft" | "scrollRight" | "scrollUp" | "scrollToMakeVisible" | "scrollToPoint" | "setAccessibilityFocus" | "setScrollOffset" | "setSelection" | "setSequentialFocusNavigationStartingPoint" | "setValue" | "showContextMenu" | "signalEndOfTest" | "showTooltip" | "startDuckingMedia" | "stopDuckingMedia" | "suspendMedia";
1133
1133
 
1134
1134
  /**
1135
1135
  * Possible changes to the automation tree. For any given atomic change to the tree, each node that's added, removed, or changed, will appear in exactly one TreeChange, with one of these types.
@@ -8317,7 +8317,6 @@ declare namespace chrome {
8317
8317
  * Use the `chrome.enterprise.platformKeys` API to generate keys and install certificates for these keys. The certificates will be managed by the platform and can be used for TLS authentication, network access or by other extension through {@link platformKeys chrome.platformKeys}.
8318
8318
  *
8319
8319
  * @chrome-permission enterprise.platformKeys
8320
- * @chrome-disallow-service-workers
8321
8320
  * @chrome-platform chromeos
8322
8321
  * @chrome-platform lacros
8323
8322
  */
@@ -16253,7 +16252,7 @@ declare namespace chrome {
16253
16252
  * Passes the key pair of `certificate` for usage with {@link platformKeys.subtleCrypto} to `callback`.
16254
16253
  *
16255
16254
  * @param certificate The certificate of a {@link Match} returned by {@link selectClientCertificates}.
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.
16255
+ * @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
16256
 
16258
16257
  Currently, this method only supports the "RSASSA-PKCS1-v1\_5" and "ECDSA" algorithms.
16259
16258
  * @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 +17082,7 @@ declare namespace chrome {
17083
17082
  tasks: TaskInfo[];
17084
17083
 
17085
17084
  /**
17086
- * The most recent measurement of the processs CPU usage, expressed as the percentage of a single CPU core used in total, by all of the processs 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.
17085
+ * 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
17086
  */
17088
17087
  cpu?: number;
17089
17088
 
@@ -17108,7 +17107,7 @@ declare namespace chrome {
17108
17107
  jsMemoryUsed?: number;
17109
17108
 
17110
17109
  /**
17111
- * The most recent measurement of the processs SQLite memory usage, in bytes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.
17110
+ * 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
17111
  */
17113
17112
  sqliteMemory?: number;
17114
17113
 
@@ -17509,7 +17508,7 @@ declare namespace chrome {
17509
17508
  *
17510
17509
  * @since Chrome 44
17511
17510
  */
17512
- export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd";
17511
+ export type PlatformOs = "mac" | "win" | "android" | "cros" | "linux" | "openbsd" | "fuchsia";
17513
17512
 
17514
17513
  /**
17515
17514
  * The machine's processor architecture.
@@ -18197,6 +18196,13 @@ declare namespace chrome {
18197
18196
  * Specifies if this content script will persist into future sessions. The default is true.
18198
18197
  */
18199
18198
  persistAcrossSessions?: boolean;
18199
+
18200
+ /**
18201
+ * The JavaScript "world" to run the script in. Defaults to `ISOLATED`.
18202
+ *
18203
+ * @since Pending
18204
+ */
18205
+ world?: ExecutionWorld;
18200
18206
  }
18201
18207
 
18202
18208
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "275d9cd23a2282ab"
8
+ "build-hash": "6fb9c7beb1e1c80d"
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.100"
19
+ "version": "0.1.103"
20
20
  }