chrome-types 0.1.411 → 0.1.413

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 +28 -3
  2. package/index.d.ts +28 -3
  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 Jan 14 2026 11:31:10 GMT+0000 (Coordinated Universal Time)
18
- // Built at 904a007149918b5033eeb5b093260b46a13987fa
17
+ // Generated on Thu Jan 15 2026 11:43:50 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7f45e81fc971d00098ea2181318d14d3bb9486ea
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -26663,7 +26663,7 @@ declare namespace chrome {
26663
26663
  /**
26664
26664
  * Fired when the extension's side panel is closed.
26665
26665
  *
26666
- * @since Chrome 144
26666
+ * @since Chrome 142
26667
26667
  */
26668
26668
  export const onClosed: events.Event<(
26669
26669
  info: PanelClosedInfo,
@@ -26801,6 +26801,31 @@ declare namespace chrome {
26801
26801
  layout: PanelLayout,
26802
26802
  ) => void,
26803
26803
  ): void;
26804
+
26805
+ /**
26806
+ * Closes the extension's side panel. This is a no-op if the panel is already closed.
26807
+ *
26808
+ * @param options Specifies the context in which to close the side panel.
26809
+ * @returns Returns a Promise which resolves when the side panel has been closed.
26810
+ * @since Chrome 141
26811
+ */
26812
+ export function close(
26813
+
26814
+ options: CloseOptions,
26815
+ ): Promise<void>;
26816
+
26817
+ /**
26818
+ * Closes the extension's side panel. This is a no-op if the panel is already closed.
26819
+ *
26820
+ * @param options Specifies the context in which to close the side panel.
26821
+ * @since Chrome 141
26822
+ */
26823
+ export function close(
26824
+
26825
+ options: CloseOptions,
26826
+
26827
+ callback?: () => void,
26828
+ ): void;
26804
26829
  }
26805
26830
 
26806
26831
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Jan 14 2026 11:31:05 GMT+0000 (Coordinated Universal Time)
18
- // Built at 904a007149918b5033eeb5b093260b46a13987fa
17
+ // Generated on Thu Jan 15 2026 11:43:45 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 7f45e81fc971d00098ea2181318d14d3bb9486ea
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -18839,7 +18839,7 @@ declare namespace chrome {
18839
18839
  /**
18840
18840
  * Fired when the extension's side panel is closed.
18841
18841
  *
18842
- * @since Chrome 144
18842
+ * @since Chrome 142
18843
18843
  */
18844
18844
  export const onClosed: events.Event<(
18845
18845
  info: PanelClosedInfo,
@@ -18977,6 +18977,31 @@ declare namespace chrome {
18977
18977
  layout: PanelLayout,
18978
18978
  ) => void,
18979
18979
  ): void;
18980
+
18981
+ /**
18982
+ * Closes the extension's side panel. This is a no-op if the panel is already closed.
18983
+ *
18984
+ * @param options Specifies the context in which to close the side panel.
18985
+ * @returns Returns a Promise which resolves when the side panel has been closed.
18986
+ * @since Chrome 141
18987
+ */
18988
+ export function close(
18989
+
18990
+ options: CloseOptions,
18991
+ ): Promise<void>;
18992
+
18993
+ /**
18994
+ * Closes the extension's side panel. This is a no-op if the panel is already closed.
18995
+ *
18996
+ * @param options Specifies the context in which to close the side panel.
18997
+ * @since Chrome 141
18998
+ */
18999
+ export function close(
19000
+
19001
+ options: CloseOptions,
19002
+
19003
+ callback?: () => void,
19004
+ ): void;
18980
19005
  }
18981
19006
 
18982
19007
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "55ceeea48d5c15d3"
8
+ "build-hash": "3bb213a25a4c8556"
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.411"
19
+ "version": "0.1.413"
20
20
  }