chrome-types 0.1.417 → 0.1.419

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 -6
  2. package/index.d.ts +14 -6
  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 Feb 24 2026 22:27:22 GMT+0000 (Coordinated Universal Time)
18
- // Built at 0bad8d6a9bf042d660f069e9eae4ad5debee3aaa
17
+ // Generated on Thu Feb 26 2026 22:27:58 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 4ce3725381b37053fe0dafa76914ba5cfed4f9ab
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -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
  */
@@ -24806,7 +24813,7 @@ declare namespace chrome {
24806
24813
  ) => void>;
24807
24814
 
24808
24815
  /**
24809
- * Fired when a message is sent from either an extension process (by {@link runtime.sendMessage}) or a content script (by {@link tabs.sendMessage}).
24816
+ * Fired when a message is sent from either {@link runtime.sendMessage} or {@link tabs.sendMessage}.
24810
24817
  */
24811
24818
  export const onMessage: events.Event<(
24812
24819
  message: any,
@@ -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 Tue Feb 24 2026 22:27:18 GMT+0000 (Coordinated Universal Time)
18
- // Built at 0bad8d6a9bf042d660f069e9eae4ad5debee3aaa
17
+ // Generated on Thu Feb 26 2026 22:27:54 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 4ce3725381b37053fe0dafa76914ba5cfed4f9ab
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -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
  */
@@ -17588,7 +17595,7 @@ declare namespace chrome {
17588
17595
  ) => void>;
17589
17596
 
17590
17597
  /**
17591
- * Fired when a message is sent from either an extension process (by {@link runtime.sendMessage}) or a content script (by {@link tabs.sendMessage}).
17598
+ * Fired when a message is sent from either {@link runtime.sendMessage} or {@link tabs.sendMessage}.
17592
17599
  */
17593
17600
  export const onMessage: events.Event<(
17594
17601
  message: any,
@@ -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": "1bb01ecec127038a"
8
+ "build-hash": "e582f1ae6c0598e3"
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.417"
19
+ "version": "0.1.419"
20
20
  }