chrome-types 0.1.378 → 0.1.380

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 +21 -13
  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 Sep 23 2025 22:32:55 GMT+0000 (Coordinated Universal Time)
18
- // Built at 1ee791397a82522faf6bac7ffcc6180cbebad93b
17
+ // Generated on Wed Oct 01 2025 22:32:40 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ff948e013787eddf717f0f761112daf075ffa34a
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -6419,7 +6419,7 @@ declare namespace chrome {
6419
6419
  export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
6420
6420
 
6421
6421
  /**
6422
- * @since Pending
6422
+ * @since Chrome 141
6423
6423
  */
6424
6424
  export type SoundContentSetting = "allow" | "block";
6425
6425
 
@@ -24968,6 +24968,14 @@ declare namespace chrome {
24968
24968
  */
24969
24969
  export function getManifest(): {[name: string]: any};
24970
24970
 
24971
+ /**
24972
+ * Returns the extension's version as declared in the manifest.
24973
+ *
24974
+ * @returns The extension's version.
24975
+ * @since Pending
24976
+ */
24977
+ export function getVersion(): string;
24978
+
24971
24979
  /**
24972
24980
  * Converts a relative path within an app/extension install directory to a fully-qualified URL.
24973
24981
  *
@@ -26649,7 +26657,7 @@ declare namespace chrome {
26649
26657
  }
26650
26658
 
26651
26659
  /**
26652
- * @since Pending
26660
+ * @since Chrome 141
26653
26661
  */
26654
26662
  export interface CloseOptions {
26655
26663
 
@@ -26665,7 +26673,7 @@ declare namespace chrome {
26665
26673
  }
26666
26674
 
26667
26675
  /**
26668
- * @since Pending
26676
+ * @since Chrome 141
26669
26677
  */
26670
26678
  export interface PanelOpenedInfo {
26671
26679
 
@@ -26709,7 +26717,7 @@ declare namespace chrome {
26709
26717
  /**
26710
26718
  * Fired when the extension's side panel is opened.
26711
26719
  *
26712
- * @since Pending
26720
+ * @since Chrome 141
26713
26721
  */
26714
26722
  export const onOpened: events.Event<(
26715
26723
  info: PanelOpenedInfo,
@@ -38807,42 +38815,42 @@ declare namespace chrome {
38807
38815
  /**
38808
38816
  * Determines what to do with the active match after the find session has ended. `clear` will clear the highlighting over the active match; `keep` will keep the active match highlighted; `activate` will keep the active match highlighted and simulate a user click on that match. The default action is `keep`.
38809
38817
  *
38810
- * @since Pending
38818
+ * @since Chrome 141
38811
38819
  */
38812
38820
  export type StopFindingAction = "clear" | "keep" | "activate";
38813
38821
 
38814
38822
  /**
38815
38823
  * The type of modal dialog requested by the guest.
38816
38824
  *
38817
- * @since Pending
38825
+ * @since Chrome 141
38818
38826
  */
38819
38827
  export type DialogMessageType = "alert" | "confirm" | "prompt";
38820
38828
 
38821
38829
  /**
38822
38830
  * String indicating the reason for the exit.
38823
38831
  *
38824
- * @since Pending
38832
+ * @since Chrome 141
38825
38833
  */
38826
38834
  export type ExitReason = "normal" | "abnormal" | "crashed" | "killed" | "oom killed" | "oom" | "failed to launch" | "integrity failure";
38827
38835
 
38828
38836
  /**
38829
38837
  * String indicating what type of abort occurred. This string is _not_ guaranteed to remain backwards compatible between releases. You must not parse and act based upon its content. It is also possible that, in some cases, an error not listed here could be reported.
38830
38838
  *
38831
- * @since Pending
38839
+ * @since Chrome 141
38832
38840
  */
38833
38841
  export type LoadAbortReason = "ERR_ABORTED" | "ERR_INVALID_URL" | "ERR_DISALLOWED_URL_SCHEME" | "ERR_BLOCKED_BY_CLIENT" | "ERR_ADDRESS_UNREACHABLE" | "ERR_EMPTY_RESPONSE" | "ERR_FILE_NOT_FOUND" | "ERR_UNKNOWN_URL_SCHEME";
38834
38842
 
38835
38843
  /**
38836
38844
  * The requested disposition of the new window.
38837
38845
  *
38838
- * @since Pending
38846
+ * @since Chrome 141
38839
38847
  */
38840
38848
  export type WindowOpenDisposition = "ignore" | "save_to_disk" | "current_tab" | "new_background_tab" | "new_foreground_tab" | "new_window" | "new_popup";
38841
38849
 
38842
38850
  /**
38843
38851
  * The type of permission being requested.
38844
38852
  *
38845
- * @since Pending
38853
+ * @since Chrome 141
38846
38854
  */
38847
38855
  export type PermissionType = "media" | "geolocation" | "pointerLock" | "download" | "loadplugin" | "filesystem" | "fullscreen" | "hid";
38848
38856
 
@@ -38935,7 +38943,7 @@ declare namespace chrome {
38935
38943
  */
38936
38944
  export const exit: events.Event<(
38937
38945
  /**
38938
- * @since Pending
38946
+ * @since Chrome 141
38939
38947
  */
38940
38948
  details: {
38941
38949
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Sep 23 2025 22:32:50 GMT+0000 (Coordinated Universal Time)
18
- // Built at 1ee791397a82522faf6bac7ffcc6180cbebad93b
17
+ // Generated on Wed Oct 01 2025 22:32:35 GMT+0000 (Coordinated Universal Time)
18
+ // Built at ff948e013787eddf717f0f761112daf075ffa34a
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -3171,7 +3171,7 @@ declare namespace chrome {
3171
3171
  export type MultipleAutomaticDownloadsContentSetting = "allow" | "block" | "ask";
3172
3172
 
3173
3173
  /**
3174
- * @since Pending
3174
+ * @since Chrome 141
3175
3175
  */
3176
3176
  export type SoundContentSetting = "allow" | "block";
3177
3177
 
@@ -19702,6 +19702,14 @@ declare namespace chrome {
19702
19702
  */
19703
19703
  export function getManifest(): {[name: string]: any};
19704
19704
 
19705
+ /**
19706
+ * Returns the extension's version as declared in the manifest.
19707
+ *
19708
+ * @returns The extension's version.
19709
+ * @since Pending
19710
+ */
19711
+ export function getVersion(): string;
19712
+
19705
19713
  /**
19706
19714
  * Converts a relative path within an app/extension install directory to a fully-qualified URL.
19707
19715
  *
@@ -20765,7 +20773,7 @@ declare namespace chrome {
20765
20773
  }
20766
20774
 
20767
20775
  /**
20768
- * @since Pending
20776
+ * @since Chrome 141
20769
20777
  */
20770
20778
  export interface CloseOptions {
20771
20779
 
@@ -20781,7 +20789,7 @@ declare namespace chrome {
20781
20789
  }
20782
20790
 
20783
20791
  /**
20784
- * @since Pending
20792
+ * @since Chrome 141
20785
20793
  */
20786
20794
  export interface PanelOpenedInfo {
20787
20795
 
@@ -20825,7 +20833,7 @@ declare namespace chrome {
20825
20833
  /**
20826
20834
  * Fired when the extension's side panel is opened.
20827
20835
  *
20828
- * @since Pending
20836
+ * @since Chrome 141
20829
20837
  */
20830
20838
  export const onOpened: events.Event<(
20831
20839
  info: PanelOpenedInfo,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "bb446e22a834cc2c"
8
+ "build-hash": "4e2c06d3aaef5c6b"
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.378"
19
+ "version": "0.1.380"
20
20
  }