chrome-types 0.1.416 → 0.1.418

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 +15 -7
  2. package/index.d.ts +15 -7
  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 Thu Feb 19 2026 22:27:09 GMT+0000 (Coordinated Universal Time)
18
- // Built at 301af2ced25c43c50bc4c344cfb45785057198ca
17
+ // Generated on Wed Feb 25 2026 22:27:30 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2b93825721e2831587aedf172ceddd03c0dc30bb
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12428,7 +12428,7 @@ declare namespace chrome {
12428
12428
  /**
12429
12429
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
12430
12430
  *
12431
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each RSASSA-PKCS1-V1\_5 and ECDSA key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12431
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each key can be used for signing data at most once, unless the extension is allowlisted by the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely.
12432
12432
  *
12433
12433
  * Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
12434
12434
  */
@@ -12437,7 +12437,7 @@ declare namespace chrome {
12437
12437
  /**
12438
12438
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are software-backed. Protection of the keys, and thus implementation of the non-extractable property, is done in software, so the keys are less protected than hardware-backed keys.
12439
12439
  *
12440
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) with `modulusLength` up to 2048. Each RSASSA-PKCS1-V1\_5 key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12440
+ * Only non-extractable keys can be generated. The only supported key type is RSASSA-PKCS1-V1\_5 with `modulusLength` up to 2048. Each key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely.
12441
12441
  *
12442
12442
  * Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
12443
12443
  *
@@ -23668,6 +23668,13 @@ declare namespace chrome {
23668
23668
  */
23669
23669
  autofillCreditCardEnabled: types.ChromeSetting<boolean>,
23670
23670
 
23671
+ /**
23672
+ * If enabled, Chrome offers to automatically fill in the other data types. This includes travel and identity docs. This preference's value is a boolean, defaulting to `true`.
23673
+ *
23674
+ * @since Pending
23675
+ */
23676
+ autofillOtherDatatypesEnabled: types.ChromeSetting<boolean>,
23677
+
23671
23678
  /**
23672
23679
  * If enabled, the password manager will ask if you want to save passwords. This preference's value is a boolean, defaulting to `true`.
23673
23680
  */
@@ -31536,10 +31543,11 @@ declare namespace chrome {
31536
31543
  ): void;
31537
31544
 
31538
31545
  /**
31539
- * Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
31546
+ * Sends a single message to the content script(s) in the specified tab. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
31540
31547
  *
31541
31548
  * @chrome-returns-extra since Chrome 99
31542
31549
  * @param message The message to send. This message should be a JSON-ifiable object.
31550
+ * @returns Promise that resolves with the response from the content script. If an error occurs while connecting to the specified tab, the promise will be rejected.
31543
31551
  */
31544
31552
  export function sendMessage(
31545
31553
 
@@ -31564,7 +31572,7 @@ declare namespace chrome {
31564
31572
  ): Promise<any>;
31565
31573
 
31566
31574
  /**
31567
- * Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
31575
+ * Sends a single message to the content script(s) in the specified tab. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
31568
31576
  *
31569
31577
  * @param message The message to send. This message should be a JSON-ifiable object.
31570
31578
  */
@@ -31590,7 +31598,7 @@ declare namespace chrome {
31590
31598
  },
31591
31599
 
31592
31600
  /**
31593
- * @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the promise will be rejected.
31601
+ * @param response The JSON response object sent by the handler of the message.
31594
31602
  * @since Chrome 99
31595
31603
  */
31596
31604
  callback?: (
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Feb 19 2026 22:27:04 GMT+0000 (Coordinated Universal Time)
18
- // Built at 301af2ced25c43c50bc4c344cfb45785057198ca
17
+ // Generated on Wed Feb 25 2026 22:27:26 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2b93825721e2831587aedf172ceddd03c0dc30bb
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8616,7 +8616,7 @@ declare namespace chrome {
8616
8616
  /**
8617
8617
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
8618
8618
  *
8619
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each RSASSA-PKCS1-V1\_5 and ECDSA key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8619
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each key can be used for signing data at most once, unless the extension is allowlisted by the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely.
8620
8620
  *
8621
8621
  * Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
8622
8622
  */
@@ -8625,7 +8625,7 @@ declare namespace chrome {
8625
8625
  /**
8626
8626
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are software-backed. Protection of the keys, and thus implementation of the non-extractable property, is done in software, so the keys are less protected than hardware-backed keys.
8627
8627
  *
8628
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) with `modulusLength` up to 2048. Each RSASSA-PKCS1-V1\_5 key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8628
+ * Only non-extractable keys can be generated. The only supported key type is RSASSA-PKCS1-V1\_5 with `modulusLength` up to 2048. Each key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely.
8629
8629
  *
8630
8630
  * Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
8631
8631
  *
@@ -16461,6 +16461,13 @@ declare namespace chrome {
16461
16461
  */
16462
16462
  autofillCreditCardEnabled: types.ChromeSetting<boolean>,
16463
16463
 
16464
+ /**
16465
+ * If enabled, Chrome offers to automatically fill in the other data types. This includes travel and identity docs. This preference's value is a boolean, defaulting to `true`.
16466
+ *
16467
+ * @since Pending
16468
+ */
16469
+ autofillOtherDatatypesEnabled: types.ChromeSetting<boolean>,
16470
+
16464
16471
  /**
16465
16472
  * If enabled, the password manager will ask if you want to save passwords. This preference's value is a boolean, defaulting to `true`.
16466
16473
  */
@@ -22739,10 +22746,11 @@ declare namespace chrome {
22739
22746
  ): runtime.Port;
22740
22747
 
22741
22748
  /**
22742
- * Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
22749
+ * Sends a single message to the content script(s) in the specified tab. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
22743
22750
  *
22744
22751
  * @chrome-returns-extra since Chrome 99
22745
22752
  * @param message The message to send. This message should be a JSON-ifiable object.
22753
+ * @returns Promise that resolves with the response from the content script. If an error occurs while connecting to the specified tab, the promise will be rejected.
22746
22754
  */
22747
22755
  export function sendMessage(
22748
22756
 
@@ -22767,7 +22775,7 @@ declare namespace chrome {
22767
22775
  ): Promise<any>;
22768
22776
 
22769
22777
  /**
22770
- * Sends a single message to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
22778
+ * Sends a single message to the content script(s) in the specified tab. The {@link runtime.onMessage} event is fired in each content script running in the specified tab for the current extension.
22771
22779
  *
22772
22780
  * @param message The message to send. This message should be a JSON-ifiable object.
22773
22781
  */
@@ -22793,7 +22801,7 @@ declare namespace chrome {
22793
22801
  },
22794
22802
 
22795
22803
  /**
22796
- * @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the promise will be rejected.
22804
+ * @param response The JSON response object sent by the handler of the message.
22797
22805
  * @since Chrome 99
22798
22806
  */
22799
22807
  callback?: (
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "8afb6bc26ad694fe"
8
+ "build-hash": "987217f230487276"
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.416"
19
+ "version": "0.1.418"
20
20
  }