chrome-types 0.1.427 → 0.1.429

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 +4 -97
  2. package/index.d.ts +4 -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 Wed May 20 2026 22:47:19 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5d7c0421e032b7a8023c0cb244c34c796d40a2be
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
  *
@@ -24666,6 +24571,7 @@ declare namespace chrome {
24666
24571
  * @chrome-enum "mips" Specifies the native client architecture as mips.
24667
24572
  * @chrome-enum "mips64" Specifies the native client architecture as mips64.
24668
24573
  * @since Chrome 44
24574
+ * @chrome-deprecated-since Chrome 149
24669
24575
  */
24670
24576
  export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
24671
24577
 
@@ -24688,6 +24594,7 @@ declare namespace chrome {
24688
24594
  * The native client architecture. This may be different from arch on some platforms.
24689
24595
  *
24690
24596
  * @deprecated This attribute is deprecated following complete removal of Native Client.
24597
+ * @chrome-deprecated-since Chrome 149
24691
24598
  */
24692
24599
  nacl_arch?: PlatformNaclArch;
24693
24600
  }
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 Wed May 20 2026 22:47:15 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 5d7c0421e032b7a8023c0cb244c34c796d40a2be
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
  *
@@ -17470,6 +17375,7 @@ declare namespace chrome {
17470
17375
  * @chrome-enum "mips" Specifies the native client architecture as mips.
17471
17376
  * @chrome-enum "mips64" Specifies the native client architecture as mips64.
17472
17377
  * @since Chrome 44
17378
+ * @chrome-deprecated-since Chrome 149
17473
17379
  */
17474
17380
  export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64";
17475
17381
 
@@ -17492,6 +17398,7 @@ declare namespace chrome {
17492
17398
  * The native client architecture. This may be different from arch on some platforms.
17493
17399
  *
17494
17400
  * @deprecated This attribute is deprecated following complete removal of Native Client.
17401
+ * @chrome-deprecated-since Chrome 149
17495
17402
  */
17496
17403
  nacl_arch?: PlatformNaclArch;
17497
17404
  }
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": "19dc923f2aec2193"
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.429"
20
20
  }