chrome-types 0.1.292 → 0.1.294
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 +45 -4
- package/index.d.ts +45 -4
- 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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Jul 23 2024 22:30:07 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 0ceee79cc06fbaee781e933f800e6e2bf2163ca0
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -681,7 +681,7 @@ declare namespace chrome {
|
|
|
681
681
|
* Opens the extension's popup. Between Chrome 118 and Chrome 126, this is only available to policy installed extensions.
|
|
682
682
|
*
|
|
683
683
|
* @param options Specifies options for opening the popup.
|
|
684
|
-
* @since
|
|
684
|
+
* @since Chrome 127
|
|
685
685
|
*/
|
|
686
686
|
export function openPopup(
|
|
687
687
|
|
|
@@ -692,7 +692,7 @@ declare namespace chrome {
|
|
|
692
692
|
* Opens the extension's popup. Between Chrome 118 and Chrome 126, this is only available to policy installed extensions.
|
|
693
693
|
*
|
|
694
694
|
* @param options Specifies options for opening the popup.
|
|
695
|
-
* @since
|
|
695
|
+
* @since Chrome 127
|
|
696
696
|
*/
|
|
697
697
|
export function openPopup(
|
|
698
698
|
|
|
@@ -7938,6 +7938,33 @@ declare namespace chrome {
|
|
|
7938
7938
|
regexSubstitution?: string;
|
|
7939
7939
|
}
|
|
7940
7940
|
|
|
7941
|
+
/**
|
|
7942
|
+
* @since Pending
|
|
7943
|
+
*/
|
|
7944
|
+
export interface HeaderInfo {
|
|
7945
|
+
|
|
7946
|
+
/**
|
|
7947
|
+
* The name of the header. This condition matches on the name only if both `values` and `excludedValues` are not specified.
|
|
7948
|
+
*/
|
|
7949
|
+
header: string;
|
|
7950
|
+
|
|
7951
|
+
/**
|
|
7952
|
+
* If specified, this condition matches if the header's value matches at least one pattern in this list. This supports case-insensitive header value matching plus the following constructs:
|
|
7953
|
+
*
|
|
7954
|
+
* **'\*'** : Matches any number of characters.
|
|
7955
|
+
*
|
|
7956
|
+
* **'?'** : Matches zero or one character(s).
|
|
7957
|
+
*
|
|
7958
|
+
* '\*' and '?' can be escaped with a backslash, e.g. '\\\*' and '\\?'
|
|
7959
|
+
*/
|
|
7960
|
+
values?: string[];
|
|
7961
|
+
|
|
7962
|
+
/**
|
|
7963
|
+
* If specified, this condition is not matched if the header exists but its value contains at least one element in this list. This uses the same match pattern syntax as `values`.
|
|
7964
|
+
*/
|
|
7965
|
+
excludedValues?: string[];
|
|
7966
|
+
}
|
|
7967
|
+
|
|
7941
7968
|
export interface RuleCondition {
|
|
7942
7969
|
|
|
7943
7970
|
/**
|
|
@@ -8097,6 +8124,20 @@ declare namespace chrome {
|
|
|
8097
8124
|
* @since Chrome 92
|
|
8098
8125
|
*/
|
|
8099
8126
|
excludedTabIds?: number[];
|
|
8127
|
+
|
|
8128
|
+
/**
|
|
8129
|
+
* Rule matches if the request matches any response header condition in this list (if specified).
|
|
8130
|
+
*
|
|
8131
|
+
* @since Pending
|
|
8132
|
+
*/
|
|
8133
|
+
responseHeaders?: HeaderInfo[];
|
|
8134
|
+
|
|
8135
|
+
/**
|
|
8136
|
+
* Rule does not match if the request matches any response header condition in this list (if specified). If both `excludedResponseHeaders` and `responseHeaders` are specified, then the `excludedResponseHeaders` property takes precedence.
|
|
8137
|
+
*
|
|
8138
|
+
* @since Pending
|
|
8139
|
+
*/
|
|
8140
|
+
excludedResponseHeaders?: HeaderInfo[];
|
|
8100
8141
|
}
|
|
8101
8142
|
|
|
8102
8143
|
/**
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Jul 23 2024 22:30:02 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 0ceee79cc06fbaee781e933f800e6e2bf2163ca0
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -739,7 +739,7 @@ declare namespace chrome {
|
|
|
739
739
|
* Opens the extension's popup. Between Chrome 118 and Chrome 126, this is only available to policy installed extensions.
|
|
740
740
|
*
|
|
741
741
|
* @param options Specifies options for opening the popup.
|
|
742
|
-
* @since
|
|
742
|
+
* @since Chrome 127
|
|
743
743
|
*/
|
|
744
744
|
export function openPopup(
|
|
745
745
|
|
|
@@ -750,7 +750,7 @@ declare namespace chrome {
|
|
|
750
750
|
* Opens the extension's popup. Between Chrome 118 and Chrome 126, this is only available to policy installed extensions.
|
|
751
751
|
*
|
|
752
752
|
* @param options Specifies options for opening the popup.
|
|
753
|
-
* @since
|
|
753
|
+
* @since Chrome 127
|
|
754
754
|
*/
|
|
755
755
|
export function openPopup(
|
|
756
756
|
|
|
@@ -4684,6 +4684,33 @@ declare namespace chrome {
|
|
|
4684
4684
|
regexSubstitution?: string;
|
|
4685
4685
|
}
|
|
4686
4686
|
|
|
4687
|
+
/**
|
|
4688
|
+
* @since Pending
|
|
4689
|
+
*/
|
|
4690
|
+
export interface HeaderInfo {
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* The name of the header. This condition matches on the name only if both `values` and `excludedValues` are not specified.
|
|
4694
|
+
*/
|
|
4695
|
+
header: string;
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* If specified, this condition matches if the header's value matches at least one pattern in this list. This supports case-insensitive header value matching plus the following constructs:
|
|
4699
|
+
*
|
|
4700
|
+
* **'\*'** : Matches any number of characters.
|
|
4701
|
+
*
|
|
4702
|
+
* **'?'** : Matches zero or one character(s).
|
|
4703
|
+
*
|
|
4704
|
+
* '\*' and '?' can be escaped with a backslash, e.g. '\\\*' and '\\?'
|
|
4705
|
+
*/
|
|
4706
|
+
values?: string[];
|
|
4707
|
+
|
|
4708
|
+
/**
|
|
4709
|
+
* If specified, this condition is not matched if the header exists but its value contains at least one element in this list. This uses the same match pattern syntax as `values`.
|
|
4710
|
+
*/
|
|
4711
|
+
excludedValues?: string[];
|
|
4712
|
+
}
|
|
4713
|
+
|
|
4687
4714
|
export interface RuleCondition {
|
|
4688
4715
|
|
|
4689
4716
|
/**
|
|
@@ -4843,6 +4870,20 @@ declare namespace chrome {
|
|
|
4843
4870
|
* @since Chrome 92
|
|
4844
4871
|
*/
|
|
4845
4872
|
excludedTabIds?: number[];
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* Rule matches if the request matches any response header condition in this list (if specified).
|
|
4876
|
+
*
|
|
4877
|
+
* @since Pending
|
|
4878
|
+
*/
|
|
4879
|
+
responseHeaders?: HeaderInfo[];
|
|
4880
|
+
|
|
4881
|
+
/**
|
|
4882
|
+
* Rule does not match if the request matches any response header condition in this list (if specified). If both `excludedResponseHeaders` and `responseHeaders` are specified, then the `excludedResponseHeaders` property takes precedence.
|
|
4883
|
+
*
|
|
4884
|
+
* @since Pending
|
|
4885
|
+
*/
|
|
4886
|
+
excludedResponseHeaders?: HeaderInfo[];
|
|
4846
4887
|
}
|
|
4847
4888
|
|
|
4848
4889
|
/**
|
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": "156f3053fcf84482"
|
|
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.294"
|
|
20
20
|
}
|