chrome-types 0.1.399 → 0.1.400

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 +29 -5
  2. package/index.d.ts +29 -5
  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 Wed Dec 17 2025 22:47:56 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a587090bd631121fe760192592ee03382cb94b14
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -24927,7 +24927,15 @@ 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
+ /**
24935
+ * @since Pending
24936
+ */
24937
+ response?: any,
24938
+ ) => void,
24931
24939
  ) => boolean | undefined>;
24932
24940
 
24933
24941
  /**
@@ -24936,7 +24944,15 @@ declare namespace chrome {
24936
24944
  export const onMessageExternal: events.Event<(
24937
24945
  message: any,
24938
24946
  sender: MessageSender,
24939
- sendResponse: () => void,
24947
+ /**
24948
+ * @param response The response to return to the message sender.
24949
+ */
24950
+ sendResponse: (
24951
+ /**
24952
+ * @since Pending
24953
+ */
24954
+ response?: any,
24955
+ ) => void,
24940
24956
  ) => boolean | undefined>;
24941
24957
 
24942
24958
  /**
@@ -24948,7 +24964,15 @@ declare namespace chrome {
24948
24964
  export const onUserScriptMessage: events.Event<(
24949
24965
  message: any,
24950
24966
  sender: MessageSender,
24951
- sendResponse: () => void,
24967
+ /**
24968
+ * @param response The response to return to the message sender.
24969
+ */
24970
+ sendResponse: (
24971
+ /**
24972
+ * @since Pending
24973
+ */
24974
+ response?: any,
24975
+ ) => void,
24952
24976
  ) => boolean | undefined>;
24953
24977
 
24954
24978
  /**
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 Wed Dec 17 2025 22:47:51 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a587090bd631121fe760192592ee03382cb94b14
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -17637,7 +17637,15 @@ 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
+ /**
17645
+ * @since Pending
17646
+ */
17647
+ response?: any,
17648
+ ) => void,
17641
17649
  ) => boolean | undefined>;
17642
17650
 
17643
17651
  /**
@@ -17646,7 +17654,15 @@ declare namespace chrome {
17646
17654
  export const onMessageExternal: events.Event<(
17647
17655
  message: any,
17648
17656
  sender: MessageSender,
17649
- sendResponse: () => void,
17657
+ /**
17658
+ * @param response The response to return to the message sender.
17659
+ */
17660
+ sendResponse: (
17661
+ /**
17662
+ * @since Pending
17663
+ */
17664
+ response?: any,
17665
+ ) => void,
17650
17666
  ) => boolean | undefined>;
17651
17667
 
17652
17668
  /**
@@ -17658,7 +17674,15 @@ declare namespace chrome {
17658
17674
  export const onUserScriptMessage: events.Event<(
17659
17675
  message: any,
17660
17676
  sender: MessageSender,
17661
- sendResponse: () => void,
17677
+ /**
17678
+ * @param response The response to return to the message sender.
17679
+ */
17680
+ sendResponse: (
17681
+ /**
17682
+ * @since Pending
17683
+ */
17684
+ response?: any,
17685
+ ) => void,
17662
17686
  ) => boolean | undefined>;
17663
17687
 
17664
17688
  /**
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": "acb801005439ad21"
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.400"
20
20
  }