chrome-types 0.1.399 → 0.1.401

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 +26 -9
  2. package/index.d.ts +26 -9
  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 Wed Dec 17 2025 22:33:51 GMT+0000 (Coordinated Universal Time)
18
- // Built at 2d06b4c65786e0e17bc0bc475967fdc6e73d810f
17
+ // Generated on Thu Dec 18 2025 11:39:03 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d13e4ae9afa3843b7ccdef86e8f72044617dc8ba
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -24927,7 +24927,12 @@ declare namespace chrome {
24927
24927
  export const onMessage: events.Event<(
24928
24928
  message: any,
24929
24929
  sender: MessageSender,
24930
- sendResponse: () => void,
24930
+ /**
24931
+ * @param response The response to return to the message sender.
24932
+ */
24933
+ sendResponse: (
24934
+ response?: any,
24935
+ ) => void,
24931
24936
  ) => boolean | undefined>;
24932
24937
 
24933
24938
  /**
@@ -24936,7 +24941,15 @@ declare namespace chrome {
24936
24941
  export const onMessageExternal: events.Event<(
24937
24942
  message: any,
24938
24943
  sender: MessageSender,
24939
- sendResponse: () => void,
24944
+ /**
24945
+ * @param response The response to return to the message sender.
24946
+ */
24947
+ sendResponse: (
24948
+ /**
24949
+ * @since Pending
24950
+ */
24951
+ response?: any,
24952
+ ) => void,
24940
24953
  ) => boolean | undefined>;
24941
24954
 
24942
24955
  /**
@@ -24948,7 +24961,15 @@ declare namespace chrome {
24948
24961
  export const onUserScriptMessage: events.Event<(
24949
24962
  message: any,
24950
24963
  sender: MessageSender,
24951
- sendResponse: () => void,
24964
+ /**
24965
+ * @param response The response to return to the message sender.
24966
+ */
24967
+ sendResponse: (
24968
+ /**
24969
+ * @since Pending
24970
+ */
24971
+ response?: any,
24972
+ ) => void,
24952
24973
  ) => boolean | undefined>;
24953
24974
 
24954
24975
  /**
@@ -30733,10 +30754,6 @@ declare namespace chrome {
30733
30754
  * @since Chrome 89
30734
30755
  * @chrome-permission tabGroups
30735
30756
  * @chrome-min-manifest MV3
30736
- * @chrome-platform chromeos
30737
- * @chrome-platform linux
30738
- * @chrome-platform mac
30739
- * @chrome-platform win
30740
30757
  */
30741
30758
  export namespace tabGroups {
30742
30759
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Dec 17 2025 22:33:46 GMT+0000 (Coordinated Universal Time)
18
- // Built at 2d06b4c65786e0e17bc0bc475967fdc6e73d810f
17
+ // Generated on Thu Dec 18 2025 11:38:58 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d13e4ae9afa3843b7ccdef86e8f72044617dc8ba
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -17637,7 +17637,12 @@ declare namespace chrome {
17637
17637
  export const onMessage: events.Event<(
17638
17638
  message: any,
17639
17639
  sender: MessageSender,
17640
- sendResponse: () => void,
17640
+ /**
17641
+ * @param response The response to return to the message sender.
17642
+ */
17643
+ sendResponse: (
17644
+ response?: any,
17645
+ ) => void,
17641
17646
  ) => boolean | undefined>;
17642
17647
 
17643
17648
  /**
@@ -17646,7 +17651,15 @@ declare namespace chrome {
17646
17651
  export const onMessageExternal: events.Event<(
17647
17652
  message: any,
17648
17653
  sender: MessageSender,
17649
- sendResponse: () => void,
17654
+ /**
17655
+ * @param response The response to return to the message sender.
17656
+ */
17657
+ sendResponse: (
17658
+ /**
17659
+ * @since Pending
17660
+ */
17661
+ response?: any,
17662
+ ) => void,
17650
17663
  ) => boolean | undefined>;
17651
17664
 
17652
17665
  /**
@@ -17658,7 +17671,15 @@ declare namespace chrome {
17658
17671
  export const onUserScriptMessage: events.Event<(
17659
17672
  message: any,
17660
17673
  sender: MessageSender,
17661
- sendResponse: () => void,
17674
+ /**
17675
+ * @param response The response to return to the message sender.
17676
+ */
17677
+ sendResponse: (
17678
+ /**
17679
+ * @since Pending
17680
+ */
17681
+ response?: any,
17682
+ ) => void,
17662
17683
  ) => boolean | undefined>;
17663
17684
 
17664
17685
  /**
@@ -21896,10 +21917,6 @@ declare namespace chrome {
21896
21917
  * @since Chrome 89
21897
21918
  * @chrome-permission tabGroups
21898
21919
  * @chrome-min-manifest MV3
21899
- * @chrome-platform chromeos
21900
- * @chrome-platform linux
21901
- * @chrome-platform mac
21902
- * @chrome-platform win
21903
21920
  */
21904
21921
  export namespace tabGroups {
21905
21922
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "35a39380ace1c11a"
8
+ "build-hash": "5a5e532f521fb2c6"
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.399"
19
+ "version": "0.1.401"
20
20
  }