chrome-types 0.1.170 → 0.1.172
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.
- package/_all.d.ts +24 -17
- package/index.d.ts +20 -15
- 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 Feb
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Wed Feb 15 2023 22:30:29 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at c9416c2e71ee3e0e9f249fbab00e0066c9467a24
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -520,7 +520,7 @@ declare namespace chrome {
|
|
|
520
520
|
/**
|
|
521
521
|
* Sets the text color for the badge.
|
|
522
522
|
*
|
|
523
|
-
* @since
|
|
523
|
+
* @since Chrome 110
|
|
524
524
|
*/
|
|
525
525
|
export function setBadgeTextColor(
|
|
526
526
|
|
|
@@ -541,7 +541,7 @@ declare namespace chrome {
|
|
|
541
541
|
/**
|
|
542
542
|
* Sets the text color for the badge.
|
|
543
543
|
*
|
|
544
|
-
* @since
|
|
544
|
+
* @since Chrome 110
|
|
545
545
|
*/
|
|
546
546
|
export function setBadgeTextColor(
|
|
547
547
|
|
|
@@ -564,7 +564,7 @@ declare namespace chrome {
|
|
|
564
564
|
/**
|
|
565
565
|
* Gets the text color of the action.
|
|
566
566
|
*
|
|
567
|
-
* @since
|
|
567
|
+
* @since Chrome 110
|
|
568
568
|
*/
|
|
569
569
|
export function getBadgeTextColor(
|
|
570
570
|
|
|
@@ -574,7 +574,7 @@ declare namespace chrome {
|
|
|
574
574
|
/**
|
|
575
575
|
* Gets the text color of the action.
|
|
576
576
|
*
|
|
577
|
-
* @since
|
|
577
|
+
* @since Chrome 110
|
|
578
578
|
*/
|
|
579
579
|
export function getBadgeTextColor(
|
|
580
580
|
|
|
@@ -630,7 +630,7 @@ declare namespace chrome {
|
|
|
630
630
|
): void;
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
|
-
*
|
|
633
|
+
* Indicates whether the extension action is enabled for a tab (or globally if no `tabId` is provided). Actions enabled using only {@link declarativeContent} always return false.
|
|
634
634
|
*
|
|
635
635
|
* @param tabId The id of the tab for which you want check enabled status.
|
|
636
636
|
* @since Chrome 108
|
|
@@ -641,7 +641,7 @@ declare namespace chrome {
|
|
|
641
641
|
): Promise<boolean>;
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
|
-
*
|
|
644
|
+
* Indicates whether the extension action is enabled for a tab (or globally if no `tabId` is provided). Actions enabled using only {@link declarativeContent} always return false.
|
|
645
645
|
*
|
|
646
646
|
* @param tabId The id of the tab for which you want check enabled status.
|
|
647
647
|
* @since Chrome 108
|
|
@@ -986,7 +986,7 @@ declare namespace chrome {
|
|
|
986
986
|
/**
|
|
987
987
|
* Enumeration of app launch sources. This should be kept in sync with AppLaunchSource in components/services/app\_service/public/mojom/types.mojom, and GetLaunchSourceEnum() in extensions/browser/api/app\_runtime/app\_runtime\_api.cc. Note the enumeration is used in UMA histogram so entries should not be re-ordered or removed.
|
|
988
988
|
*/
|
|
989
|
-
export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url";
|
|
989
|
+
export type LaunchSource = "untracked" | "app_launcher" | "new_tab_page" | "reload" | "restart" | "load_and_launch" | "command_line" | "file_handler" | "url_handler" | "system_tray" | "about_page" | "keyboard" | "extensions_page" | "management_api" | "ephemeral_app" | "background" | "kiosk" | "chrome_internal" | "test" | "installed_notification" | "context_menu" | "arc" | "intent_url" | "app_home_page";
|
|
990
990
|
|
|
991
991
|
/**
|
|
992
992
|
* An app can be launched with a specific action in mind, for example, to create a new note. The type of action the app was launched with is available inside of the `actionData` field from the LaunchData instance.
|
|
@@ -12631,19 +12631,19 @@ declare namespace chrome {
|
|
|
12631
12631
|
/**
|
|
12632
12632
|
* Whether to use the Enterprise User Key or the Enterprise Machine Key.
|
|
12633
12633
|
*
|
|
12634
|
-
* @since
|
|
12634
|
+
* @since Chrome 110
|
|
12635
12635
|
*/
|
|
12636
12636
|
export type Scope = "USER" | "MACHINE";
|
|
12637
12637
|
|
|
12638
12638
|
/**
|
|
12639
12639
|
* Type of key to generate.
|
|
12640
12640
|
*
|
|
12641
|
-
* @since
|
|
12641
|
+
* @since Chrome 110
|
|
12642
12642
|
*/
|
|
12643
12643
|
export type Algorithm = "RSA" | "ECDSA";
|
|
12644
12644
|
|
|
12645
12645
|
/**
|
|
12646
|
-
* @since
|
|
12646
|
+
* @since Chrome 110
|
|
12647
12647
|
*/
|
|
12648
12648
|
export interface RegisterKeyOptions {
|
|
12649
12649
|
|
|
@@ -12654,7 +12654,7 @@ declare namespace chrome {
|
|
|
12654
12654
|
}
|
|
12655
12655
|
|
|
12656
12656
|
/**
|
|
12657
|
-
* @since
|
|
12657
|
+
* @since Chrome 110
|
|
12658
12658
|
*/
|
|
12659
12659
|
export interface ChallengeKeyOptions {
|
|
12660
12660
|
|
|
@@ -12748,7 +12748,7 @@ declare namespace chrome {
|
|
|
12748
12748
|
*
|
|
12749
12749
|
* @param options Object containing the fields defined in {@link ChallengeKeyOptions}.
|
|
12750
12750
|
* @param callback Called back with the challenge response.
|
|
12751
|
-
* @since
|
|
12751
|
+
* @since Chrome 110
|
|
12752
12752
|
*/
|
|
12753
12753
|
export function challengeKey(
|
|
12754
12754
|
|
|
@@ -12770,6 +12770,7 @@ declare namespace chrome {
|
|
|
12770
12770
|
* @param callback Called back with the challenge response.
|
|
12771
12771
|
* @deprecated Use {@link challengeKey} instead.
|
|
12772
12772
|
* @since Chrome 50
|
|
12773
|
+
* @chrome-deprecated-since Chrome 110
|
|
12773
12774
|
*/
|
|
12774
12775
|
export function challengeMachineKey(
|
|
12775
12776
|
|
|
@@ -12795,6 +12796,7 @@ declare namespace chrome {
|
|
|
12795
12796
|
* @param callback Called back with the challenge response.
|
|
12796
12797
|
* @deprecated Use {@link challengeKey} instead.
|
|
12797
12798
|
* @since Chrome 50
|
|
12799
|
+
* @chrome-deprecated-since Chrome 110
|
|
12798
12800
|
*/
|
|
12799
12801
|
export function challengeMachineKey(
|
|
12800
12802
|
|
|
@@ -12816,6 +12818,7 @@ declare namespace chrome {
|
|
|
12816
12818
|
* @param callback Called back with the challenge response.
|
|
12817
12819
|
* @deprecated Use {@link challengeKey} instead.
|
|
12818
12820
|
* @since Chrome 50
|
|
12821
|
+
* @chrome-deprecated-since Chrome 110
|
|
12819
12822
|
*/
|
|
12820
12823
|
export function challengeUserKey(
|
|
12821
12824
|
|
|
@@ -13827,7 +13830,7 @@ declare namespace chrome {
|
|
|
13827
13830
|
/**
|
|
13828
13831
|
* A mapping of one or more MIME types to one or more file extensions. e.g. "accept": {"text/csv": ".csv"} or {"text/csv": \[".csv", ".txt"\]}.
|
|
13829
13832
|
*
|
|
13830
|
-
* @since
|
|
13833
|
+
* @since Chrome 110
|
|
13831
13834
|
*/
|
|
13832
13835
|
accept: {[name: string]: any};
|
|
13833
13836
|
|
|
@@ -25618,7 +25621,9 @@ declare namespace chrome {
|
|
|
25618
25621
|
export interface TLSVersionConstraints {
|
|
25619
25622
|
|
|
25620
25623
|
/**
|
|
25621
|
-
* The minimum and maximum acceptable versions of TLS.
|
|
25624
|
+
* The minimum and maximum acceptable versions of TLS. Supported values are `tls1.2` or `tls1.3`.
|
|
25625
|
+
*
|
|
25626
|
+
* The values `tls1` and `tls1.1` are no longer supported. If `min` is set to one of these values, it will be silently clamped to `tls1.2`. If `max` is set to one of those values, or any other unrecognized value, it will be silently ignored.
|
|
25622
25627
|
*/
|
|
25623
25628
|
min?: string;
|
|
25624
25629
|
|
|
@@ -26163,7 +26168,9 @@ declare namespace chrome {
|
|
|
26163
26168
|
export interface TLSVersionConstraints {
|
|
26164
26169
|
|
|
26165
26170
|
/**
|
|
26166
|
-
* The minimum and maximum acceptable versions of TLS.
|
|
26171
|
+
* The minimum and maximum acceptable versions of TLS. Supported values are `tls1.2` or `tls1.3`.
|
|
26172
|
+
*
|
|
26173
|
+
* The values `tls1` and `tls1.1` are no longer supported. If `min` is set to one of these values, it will be silently clamped to `tls1.2`. If `max` is set to one of those values, or any other unrecognized value, it will be silently ignored.
|
|
26167
26174
|
*/
|
|
26168
26175
|
min?: string;
|
|
26169
26176
|
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on Wed Feb
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Wed Feb 15 2023 22:30:22 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at c9416c2e71ee3e0e9f249fbab00e0066c9467a24
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -578,7 +578,7 @@ declare namespace chrome {
|
|
|
578
578
|
/**
|
|
579
579
|
* Sets the text color for the badge.
|
|
580
580
|
*
|
|
581
|
-
* @since
|
|
581
|
+
* @since Chrome 110
|
|
582
582
|
*/
|
|
583
583
|
export function setBadgeTextColor(
|
|
584
584
|
|
|
@@ -599,7 +599,7 @@ declare namespace chrome {
|
|
|
599
599
|
/**
|
|
600
600
|
* Sets the text color for the badge.
|
|
601
601
|
*
|
|
602
|
-
* @since
|
|
602
|
+
* @since Chrome 110
|
|
603
603
|
*/
|
|
604
604
|
export function setBadgeTextColor(
|
|
605
605
|
|
|
@@ -622,7 +622,7 @@ declare namespace chrome {
|
|
|
622
622
|
/**
|
|
623
623
|
* Gets the text color of the action.
|
|
624
624
|
*
|
|
625
|
-
* @since
|
|
625
|
+
* @since Chrome 110
|
|
626
626
|
*/
|
|
627
627
|
export function getBadgeTextColor(
|
|
628
628
|
|
|
@@ -632,7 +632,7 @@ declare namespace chrome {
|
|
|
632
632
|
/**
|
|
633
633
|
* Gets the text color of the action.
|
|
634
634
|
*
|
|
635
|
-
* @since
|
|
635
|
+
* @since Chrome 110
|
|
636
636
|
*/
|
|
637
637
|
export function getBadgeTextColor(
|
|
638
638
|
|
|
@@ -688,7 +688,7 @@ declare namespace chrome {
|
|
|
688
688
|
): void;
|
|
689
689
|
|
|
690
690
|
/**
|
|
691
|
-
*
|
|
691
|
+
* Indicates whether the extension action is enabled for a tab (or globally if no `tabId` is provided). Actions enabled using only {@link declarativeContent} always return false.
|
|
692
692
|
*
|
|
693
693
|
* @param tabId The id of the tab for which you want check enabled status.
|
|
694
694
|
* @since Chrome 108
|
|
@@ -699,7 +699,7 @@ declare namespace chrome {
|
|
|
699
699
|
): Promise<boolean>;
|
|
700
700
|
|
|
701
701
|
/**
|
|
702
|
-
*
|
|
702
|
+
* Indicates whether the extension action is enabled for a tab (or globally if no `tabId` is provided). Actions enabled using only {@link declarativeContent} always return false.
|
|
703
703
|
*
|
|
704
704
|
* @param tabId The id of the tab for which you want check enabled status.
|
|
705
705
|
* @since Chrome 108
|
|
@@ -8817,19 +8817,19 @@ declare namespace chrome {
|
|
|
8817
8817
|
/**
|
|
8818
8818
|
* Whether to use the Enterprise User Key or the Enterprise Machine Key.
|
|
8819
8819
|
*
|
|
8820
|
-
* @since
|
|
8820
|
+
* @since Chrome 110
|
|
8821
8821
|
*/
|
|
8822
8822
|
export type Scope = "USER" | "MACHINE";
|
|
8823
8823
|
|
|
8824
8824
|
/**
|
|
8825
8825
|
* Type of key to generate.
|
|
8826
8826
|
*
|
|
8827
|
-
* @since
|
|
8827
|
+
* @since Chrome 110
|
|
8828
8828
|
*/
|
|
8829
8829
|
export type Algorithm = "RSA" | "ECDSA";
|
|
8830
8830
|
|
|
8831
8831
|
/**
|
|
8832
|
-
* @since
|
|
8832
|
+
* @since Chrome 110
|
|
8833
8833
|
*/
|
|
8834
8834
|
export interface RegisterKeyOptions {
|
|
8835
8835
|
|
|
@@ -8840,7 +8840,7 @@ declare namespace chrome {
|
|
|
8840
8840
|
}
|
|
8841
8841
|
|
|
8842
8842
|
/**
|
|
8843
|
-
* @since
|
|
8843
|
+
* @since Chrome 110
|
|
8844
8844
|
*/
|
|
8845
8845
|
export interface ChallengeKeyOptions {
|
|
8846
8846
|
|
|
@@ -8934,7 +8934,7 @@ declare namespace chrome {
|
|
|
8934
8934
|
*
|
|
8935
8935
|
* @param options Object containing the fields defined in {@link ChallengeKeyOptions}.
|
|
8936
8936
|
* @param callback Called back with the challenge response.
|
|
8937
|
-
* @since
|
|
8937
|
+
* @since Chrome 110
|
|
8938
8938
|
*/
|
|
8939
8939
|
export function challengeKey(
|
|
8940
8940
|
|
|
@@ -8956,6 +8956,7 @@ declare namespace chrome {
|
|
|
8956
8956
|
* @param callback Called back with the challenge response.
|
|
8957
8957
|
* @deprecated Use {@link challengeKey} instead.
|
|
8958
8958
|
* @since Chrome 50
|
|
8959
|
+
* @chrome-deprecated-since Chrome 110
|
|
8959
8960
|
*/
|
|
8960
8961
|
export function challengeMachineKey(
|
|
8961
8962
|
|
|
@@ -8981,6 +8982,7 @@ declare namespace chrome {
|
|
|
8981
8982
|
* @param callback Called back with the challenge response.
|
|
8982
8983
|
* @deprecated Use {@link challengeKey} instead.
|
|
8983
8984
|
* @since Chrome 50
|
|
8985
|
+
* @chrome-deprecated-since Chrome 110
|
|
8984
8986
|
*/
|
|
8985
8987
|
export function challengeMachineKey(
|
|
8986
8988
|
|
|
@@ -9002,6 +9004,7 @@ declare namespace chrome {
|
|
|
9002
9004
|
* @param callback Called back with the challenge response.
|
|
9003
9005
|
* @deprecated Use {@link challengeKey} instead.
|
|
9004
9006
|
* @since Chrome 50
|
|
9007
|
+
* @chrome-deprecated-since Chrome 110
|
|
9005
9008
|
*/
|
|
9006
9009
|
export function challengeUserKey(
|
|
9007
9010
|
|
|
@@ -9879,7 +9882,7 @@ declare namespace chrome {
|
|
|
9879
9882
|
/**
|
|
9880
9883
|
* A mapping of one or more MIME types to one or more file extensions. e.g. "accept": {"text/csv": ".csv"} or {"text/csv": \[".csv", ".txt"\]}.
|
|
9881
9884
|
*
|
|
9882
|
-
* @since
|
|
9885
|
+
* @since Chrome 110
|
|
9883
9886
|
*/
|
|
9884
9887
|
accept: {[name: string]: any};
|
|
9885
9888
|
|
|
@@ -19989,7 +19992,9 @@ declare namespace chrome {
|
|
|
19989
19992
|
export interface TLSVersionConstraints {
|
|
19990
19993
|
|
|
19991
19994
|
/**
|
|
19992
|
-
* The minimum and maximum acceptable versions of TLS.
|
|
19995
|
+
* The minimum and maximum acceptable versions of TLS. Supported values are `tls1.2` or `tls1.3`.
|
|
19996
|
+
*
|
|
19997
|
+
* The values `tls1` and `tls1.1` are no longer supported. If `min` is set to one of these values, it will be silently clamped to `tls1.2`. If `max` is set to one of those values, or any other unrecognized value, it will be silently ignored.
|
|
19993
19998
|
*/
|
|
19994
19999
|
min?: string;
|
|
19995
20000
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "5455744f4e7bf1cd"
|
|
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.
|
|
19
|
+
"version": "0.1.172"
|
|
20
20
|
}
|