chrome-types 0.1.452 → 0.1.454

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 +13 -21
  2. package/index.d.ts +13 -21
  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 Sat Oct 03 2026 23:12:54 GMT+0000 (Coordinated Universal Time)
18
- // Built at c04040375dc3eb5fd674c28dfb7bc3d470916b72
17
+ // Generated on Fri Oct 09 2026 22:39:06 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 49096065226e0c8463ceb998f7323fb14a30d820
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -800,9 +800,7 @@ declare namespace chrome {
800
800
  /**
801
801
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
802
802
  *
803
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
804
- *
805
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
803
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
806
804
  *
807
805
  * @chrome-returns-extra since Chrome 111
808
806
  * @param name Optional name to identify this alarm. Defaults to the empty string.
@@ -819,9 +817,7 @@ declare namespace chrome {
819
817
  /**
820
818
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
821
819
  *
822
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
823
- *
824
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
820
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
825
821
  *
826
822
  * @chrome-returns-extra since Chrome 111
827
823
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
@@ -835,9 +831,7 @@ declare namespace chrome {
835
831
  /**
836
832
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
837
833
  *
838
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
839
- *
840
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
834
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
841
835
  *
842
836
  * @param name Optional name to identify this alarm. Defaults to the empty string.
843
837
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
@@ -857,9 +851,7 @@ declare namespace chrome {
857
851
  /**
858
852
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
859
853
  *
860
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
861
- *
862
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
854
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
863
855
  *
864
856
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
865
857
  */
@@ -19675,7 +19667,7 @@ declare namespace chrome {
19675
19667
  /**
19676
19668
  * Sets the configuration options for a specified MIME type.
19677
19669
  *
19678
- * @param mimeType The MIME type to configure.
19670
+ * @param mimeType The MIME type to configure. It must be a MIME type the extension handles through mime\_types\_handler.
19679
19671
  * @param options The new options to use.
19680
19672
  * @returns Promise resolved when the configuration has been set.
19681
19673
  */
@@ -19689,7 +19681,7 @@ declare namespace chrome {
19689
19681
  /**
19690
19682
  * Sets the configuration options for a specified MIME type.
19691
19683
  *
19692
- * @param mimeType The MIME type to configure.
19684
+ * @param mimeType The MIME type to configure. It must be a MIME type the extension handles through mime\_types\_handler.
19693
19685
  * @param options The new options to use.
19694
19686
  */
19695
19687
  export function setMimeHandlerOptions(
@@ -19702,10 +19694,10 @@ declare namespace chrome {
19702
19694
  ): void;
19703
19695
 
19704
19696
  /**
19705
- * Reads the persisted options for a MIME type. Returns defaults (enabled=true) if none have been stored.
19697
+ * Reads the options for a MIME type. Returns the manifest entry's values if none have been stored.
19706
19698
  *
19707
- * @param mimeType The MIME type whose options to read.
19708
- * @returns Promise resolved with the persisted options for the MIME type.
19699
+ * @param mimeType The MIME type whose options to read. It must be a MIME type the extension handles through mime\_types\_handler.
19700
+ * @returns Promise resolved with the options for the MIME type.
19709
19701
  */
19710
19702
  export function getMimeHandlerOptions(
19711
19703
 
@@ -19713,9 +19705,9 @@ declare namespace chrome {
19713
19705
  ): Promise<MimeHandlerOptions>;
19714
19706
 
19715
19707
  /**
19716
- * Reads the persisted options for a MIME type. Returns defaults (enabled=true) if none have been stored.
19708
+ * Reads the options for a MIME type. Returns the manifest entry's values if none have been stored.
19717
19709
  *
19718
- * @param mimeType The MIME type whose options to read.
19710
+ * @param mimeType The MIME type whose options to read. It must be a MIME type the extension handles through mime\_types\_handler.
19719
19711
  */
19720
19712
  export function getMimeHandlerOptions(
19721
19713
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat Oct 03 2026 23:12:52 GMT+0000 (Coordinated Universal Time)
18
- // Built at c04040375dc3eb5fd674c28dfb7bc3d470916b72
17
+ // Generated on Fri Oct 09 2026 22:39:03 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 49096065226e0c8463ceb998f7323fb14a30d820
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -858,9 +858,7 @@ declare namespace chrome {
858
858
  /**
859
859
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
860
860
  *
861
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
862
- *
863
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
861
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
864
862
  *
865
863
  * @chrome-returns-extra since Chrome 111
866
864
  * @param name Optional name to identify this alarm. Defaults to the empty string.
@@ -877,9 +875,7 @@ declare namespace chrome {
877
875
  /**
878
876
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
879
877
  *
880
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
881
- *
882
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
878
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
883
879
  *
884
880
  * @chrome-returns-extra since Chrome 111
885
881
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
@@ -893,9 +889,7 @@ declare namespace chrome {
893
889
  /**
894
890
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
895
891
  *
896
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
897
- *
898
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
892
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
899
893
  *
900
894
  * @param name Optional name to identify this alarm. Defaults to the empty string.
901
895
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
@@ -915,9 +909,7 @@ declare namespace chrome {
915
909
  /**
916
910
  * Creates an alarm. Near the time(s) specified by `alarmInfo`, the `onAlarm` event is fired. If there is another alarm with the same name (or no name if none is specified), it will be cancelled and replaced by this alarm.
917
911
  *
918
- * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every 30 seconds but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than `0.5` will not be honored and will cause a warning. `when` can be set to less than 30 seconds after "now" without warning but won't actually cause the alarm to fire for at least 30 seconds.
919
- *
920
- * To help you debug your app or extension, when you've loaded it unpacked, there's no limit to how often the alarm can fire.
912
+ * In order to reduce the load on the user's machine, Chrome limits alarms to at most once every second but may delay them an arbitrary amount more. That is, setting `delayInMinutes` or `periodInMinutes` to less than 1 second will not be honored and will cause a warning. `when` can be set to less than 1 second after "now" without warning but won't actually cause the alarm to fire for at least 1 second.
921
913
  *
922
914
  * @param alarmInfo Describes when the alarm should fire. The initial time must be specified by either `when` or `delayInMinutes` (but not both). If `periodInMinutes` is set, the alarm will repeat every `periodInMinutes` minutes after the initial event. If neither `when` or `delayInMinutes` is set for a repeating alarm, `periodInMinutes` is used as the default for `delayInMinutes`.
923
915
  */
@@ -14766,7 +14758,7 @@ declare namespace chrome {
14766
14758
  /**
14767
14759
  * Sets the configuration options for a specified MIME type.
14768
14760
  *
14769
- * @param mimeType The MIME type to configure.
14761
+ * @param mimeType The MIME type to configure. It must be a MIME type the extension handles through mime\_types\_handler.
14770
14762
  * @param options The new options to use.
14771
14763
  * @returns Promise resolved when the configuration has been set.
14772
14764
  */
@@ -14780,7 +14772,7 @@ declare namespace chrome {
14780
14772
  /**
14781
14773
  * Sets the configuration options for a specified MIME type.
14782
14774
  *
14783
- * @param mimeType The MIME type to configure.
14775
+ * @param mimeType The MIME type to configure. It must be a MIME type the extension handles through mime\_types\_handler.
14784
14776
  * @param options The new options to use.
14785
14777
  */
14786
14778
  export function setMimeHandlerOptions(
@@ -14793,10 +14785,10 @@ declare namespace chrome {
14793
14785
  ): void;
14794
14786
 
14795
14787
  /**
14796
- * Reads the persisted options for a MIME type. Returns defaults (enabled=true) if none have been stored.
14788
+ * Reads the options for a MIME type. Returns the manifest entry's values if none have been stored.
14797
14789
  *
14798
- * @param mimeType The MIME type whose options to read.
14799
- * @returns Promise resolved with the persisted options for the MIME type.
14790
+ * @param mimeType The MIME type whose options to read. It must be a MIME type the extension handles through mime\_types\_handler.
14791
+ * @returns Promise resolved with the options for the MIME type.
14800
14792
  */
14801
14793
  export function getMimeHandlerOptions(
14802
14794
 
@@ -14804,9 +14796,9 @@ declare namespace chrome {
14804
14796
  ): Promise<MimeHandlerOptions>;
14805
14797
 
14806
14798
  /**
14807
- * Reads the persisted options for a MIME type. Returns defaults (enabled=true) if none have been stored.
14799
+ * Reads the options for a MIME type. Returns the manifest entry's values if none have been stored.
14808
14800
  *
14809
- * @param mimeType The MIME type whose options to read.
14801
+ * @param mimeType The MIME type whose options to read. It must be a MIME type the extension handles through mime\_types\_handler.
14810
14802
  */
14811
14803
  export function getMimeHandlerOptions(
14812
14804
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "eac4cd66d8656705"
8
+ "build-hash": "d18594df7cba484c"
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.452"
19
+ "version": "0.1.454"
20
20
  }