chrome-types 0.1.427 → 0.1.428

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 +2 -97
  2. package/index.d.ts +2 -97
  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 May 13 2026 20:31:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 077f70b0e0b2584f8c62ddd9453e8bb5979dc422
17
+ // Generated on Thu May 14 2026 12:52:08 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 82ec76f8d58e969e5bf46638d80448d6e1ae808a
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -19660,101 +19660,6 @@ declare namespace chrome {
19660
19660
  ): void;
19661
19661
  }
19662
19662
 
19663
- /**
19664
- * Use the `chrome.mimeHandler` API to handle MIME type streams in third-party extensions.
19665
- *
19666
- * @since Pending
19667
- * @chrome-manifest mime_types_handler
19668
- * @chrome-platform chromeos
19669
- * @chrome-platform linux
19670
- * @chrome-platform mac
19671
- * @chrome-platform win
19672
- */
19673
- export namespace mimeHandler {
19674
-
19675
- export interface StreamInfo {
19676
-
19677
- /**
19678
- * The MIME type of the intercepted content.
19679
- */
19680
- mimeType: string;
19681
-
19682
- /**
19683
- * The original URL the user navigated to.
19684
- */
19685
- originalUrl: string;
19686
-
19687
- /**
19688
- * The URL to fetch the stream data from.
19689
- */
19690
- streamUrl: string;
19691
-
19692
- /**
19693
- * The tab ID containing the document.
19694
- */
19695
- tabId: number;
19696
-
19697
- /**
19698
- * HTTP response headers as key-value pairs.
19699
- */
19700
- responseHeaders: {[name: string]: any};
19701
-
19702
- /**
19703
- * True if loaded in an embedded context (iframe/embed/object).
19704
- */
19705
- embedded: boolean;
19706
- }
19707
-
19708
- /**
19709
- * Retrieves stream information for the current MIME handler context. Must be called from within a MIME handler extension page.
19710
- */
19711
- export function getStreamInfo(): Promise<StreamInfo>;
19712
-
19713
- /**
19714
- * Retrieves stream information for the current MIME handler context. Must be called from within a MIME handler extension page.
19715
- */
19716
- export function getStreamInfo(
19717
-
19718
- callback?: (
19719
- info: StreamInfo,
19720
- ) => void,
19721
- ): void;
19722
-
19723
- /**
19724
- * Aborts current stream handling and hands the content off to the user agent's native handler. After this call the extension frame will be torn down; callers should not expect further execution.
19725
- */
19726
- export function abortAndFallbackToNativeHandler(): Promise<void>;
19727
-
19728
- /**
19729
- * Aborts current stream handling and hands the content off to the user agent's native handler. After this call the extension frame will be torn down; callers should not expect further execution.
19730
- */
19731
- export function abortAndFallbackToNativeHandler(
19732
-
19733
- callback?: () => void,
19734
- ): void;
19735
- }
19736
-
19737
- /**
19738
- * `mime_types_handler` manifest key definition (dict format). The key maps MIME type strings to per-type handler configuration. WebIDL has no record type; the outer map is declared as `object` and the parser iterates base::DictValue, calling MimeHandlerMimeTypeConfig::FromValue() per entry — the same pattern used by file\_handlers.webidl for its `accept` field.
19739
- *
19740
- * @since Pending
19741
- */
19742
- export namespace mimeHandlers {
19743
-
19744
- export interface MimeHandlerMimeTypeConfig {
19745
-
19746
- /**
19747
- * Relative path to the handler page within the extension.
19748
- */
19749
- handler_url: string;
19750
-
19751
- /**
19752
- * Whether the handler supports being embedded in iframe/embed/object elements. Defaults to false when absent.
19753
- */
19754
- can_embed?: boolean;
19755
- }
19756
- }
19757
-
19758
19663
  /**
19759
19664
  * The `chrome.networking.onc` API is used for configuring network connections (Cellular, Ethernet, VPN or WiFi). This API is available in auto-launched Chrome OS kiosk sessions.
19760
19665
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed May 13 2026 20:31:31 GMT+0000 (Coordinated Universal Time)
18
- // Built at 077f70b0e0b2584f8c62ddd9453e8bb5979dc422
17
+ // Generated on Thu May 14 2026 12:52:04 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 82ec76f8d58e969e5bf46638d80448d6e1ae808a
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -14751,101 +14751,6 @@ declare namespace chrome {
14751
14751
  }
14752
14752
  }
14753
14753
 
14754
- /**
14755
- * Use the `chrome.mimeHandler` API to handle MIME type streams in third-party extensions.
14756
- *
14757
- * @since Pending
14758
- * @chrome-manifest mime_types_handler
14759
- * @chrome-platform chromeos
14760
- * @chrome-platform linux
14761
- * @chrome-platform mac
14762
- * @chrome-platform win
14763
- */
14764
- export namespace mimeHandler {
14765
-
14766
- export interface StreamInfo {
14767
-
14768
- /**
14769
- * The MIME type of the intercepted content.
14770
- */
14771
- mimeType: string;
14772
-
14773
- /**
14774
- * The original URL the user navigated to.
14775
- */
14776
- originalUrl: string;
14777
-
14778
- /**
14779
- * The URL to fetch the stream data from.
14780
- */
14781
- streamUrl: string;
14782
-
14783
- /**
14784
- * The tab ID containing the document.
14785
- */
14786
- tabId: number;
14787
-
14788
- /**
14789
- * HTTP response headers as key-value pairs.
14790
- */
14791
- responseHeaders: {[name: string]: any};
14792
-
14793
- /**
14794
- * True if loaded in an embedded context (iframe/embed/object).
14795
- */
14796
- embedded: boolean;
14797
- }
14798
-
14799
- /**
14800
- * Retrieves stream information for the current MIME handler context. Must be called from within a MIME handler extension page.
14801
- */
14802
- export function getStreamInfo(): Promise<StreamInfo>;
14803
-
14804
- /**
14805
- * Retrieves stream information for the current MIME handler context. Must be called from within a MIME handler extension page.
14806
- */
14807
- export function getStreamInfo(
14808
-
14809
- callback?: (
14810
- info: StreamInfo,
14811
- ) => void,
14812
- ): void;
14813
-
14814
- /**
14815
- * Aborts current stream handling and hands the content off to the user agent's native handler. After this call the extension frame will be torn down; callers should not expect further execution.
14816
- */
14817
- export function abortAndFallbackToNativeHandler(): Promise<void>;
14818
-
14819
- /**
14820
- * Aborts current stream handling and hands the content off to the user agent's native handler. After this call the extension frame will be torn down; callers should not expect further execution.
14821
- */
14822
- export function abortAndFallbackToNativeHandler(
14823
-
14824
- callback?: () => void,
14825
- ): void;
14826
- }
14827
-
14828
- /**
14829
- * `mime_types_handler` manifest key definition (dict format). The key maps MIME type strings to per-type handler configuration. WebIDL has no record type; the outer map is declared as `object` and the parser iterates base::DictValue, calling MimeHandlerMimeTypeConfig::FromValue() per entry — the same pattern used by file\_handlers.webidl for its `accept` field.
14830
- *
14831
- * @since Pending
14832
- */
14833
- export namespace mimeHandlers {
14834
-
14835
- export interface MimeHandlerMimeTypeConfig {
14836
-
14837
- /**
14838
- * Relative path to the handler page within the extension.
14839
- */
14840
- handler_url: string;
14841
-
14842
- /**
14843
- * Whether the handler supports being embedded in iframe/embed/object elements. Defaults to false when absent.
14844
- */
14845
- can_embed?: boolean;
14846
- }
14847
- }
14848
-
14849
14754
  /**
14850
14755
  * Use the `chrome.notifications` API to create rich notifications using templates and show these notifications to users in the system tray.
14851
14756
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "59ca8136a271fc42"
8
+ "build-hash": "a0f095b7317261e7"
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.427"
19
+ "version": "0.1.428"
20
20
  }