chrome-types 0.1.89 → 0.1.90
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 +18 -17
- package/index.d.ts +15 -14
- 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 Mar 01 2022 22:28:05 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at ef59a59c1fee2af6315d9eebd0920baf5b494243
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -208,7 +208,7 @@ declare namespace chrome {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* @since
|
|
211
|
+
* @since Chrome 99
|
|
212
212
|
*/
|
|
213
213
|
export interface OpenPopupOptions {
|
|
214
214
|
|
|
@@ -602,8 +602,9 @@ declare namespace chrome {
|
|
|
602
602
|
/**
|
|
603
603
|
* Opens the extension's popup.
|
|
604
604
|
*
|
|
605
|
+
* @chrome-returns-extra since Pending
|
|
605
606
|
* @param options Specifies options for opening the popup.
|
|
606
|
-
* @since
|
|
607
|
+
* @since Chrome 99
|
|
607
608
|
*/
|
|
608
609
|
export function openPopup(
|
|
609
610
|
|
|
@@ -614,7 +615,7 @@ declare namespace chrome {
|
|
|
614
615
|
* Opens the extension's popup.
|
|
615
616
|
*
|
|
616
617
|
* @param options Specifies options for opening the popup.
|
|
617
|
-
* @since
|
|
618
|
+
* @since Chrome 99
|
|
618
619
|
*/
|
|
619
620
|
export function openPopup(
|
|
620
621
|
|
|
@@ -7345,7 +7346,7 @@ declare namespace chrome {
|
|
|
7345
7346
|
/**
|
|
7346
7347
|
* Whether the script should inject into any frames where the URL belongs to a scheme that would never match a specified Match Pattern, including about:, data:, blob:, and filesystem: schemes. In these cases, in order to determine if the script should inject, the origin of the URL is checked. If the origin is `null` (as is the case for data: URLs), then the "initiator" or "creator" origin is used (i.e., the origin of the frame that created or navigated this frame). Note that this may not be the parent frame, if the frame was navigated by another frame in the document hierarchy.
|
|
7347
7348
|
*
|
|
7348
|
-
* @since
|
|
7349
|
+
* @since Chrome 99
|
|
7349
7350
|
*/
|
|
7350
7351
|
match_origin_as_fallback?: boolean;
|
|
7351
7352
|
|
|
@@ -12578,7 +12579,7 @@ declare namespace chrome {
|
|
|
12578
12579
|
|
|
12579
12580
|
/**
|
|
12580
12581
|
* @param response The JSON response object sent by the handler of the request. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
12581
|
-
* @since
|
|
12582
|
+
* @since Chrome 99
|
|
12582
12583
|
*/
|
|
12583
12584
|
callback?: (
|
|
12584
12585
|
response: any,
|
|
@@ -12597,7 +12598,7 @@ declare namespace chrome {
|
|
|
12597
12598
|
|
|
12598
12599
|
/**
|
|
12599
12600
|
* @param response The JSON response object sent by the handler of the request. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
12600
|
-
* @since
|
|
12601
|
+
* @since Chrome 99
|
|
12601
12602
|
*/
|
|
12602
12603
|
callback?: (
|
|
12603
12604
|
response: any,
|
|
@@ -22878,7 +22879,7 @@ declare namespace chrome {
|
|
|
22878
22879
|
|
|
22879
22880
|
/**
|
|
22880
22881
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
22881
|
-
* @since
|
|
22882
|
+
* @since Chrome 99
|
|
22882
22883
|
*/
|
|
22883
22884
|
callback?: (
|
|
22884
22885
|
response: any,
|
|
@@ -22904,7 +22905,7 @@ declare namespace chrome {
|
|
|
22904
22905
|
|
|
22905
22906
|
/**
|
|
22906
22907
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
22907
|
-
* @since
|
|
22908
|
+
* @since Chrome 99
|
|
22908
22909
|
*/
|
|
22909
22910
|
callback?: (
|
|
22910
22911
|
response: any,
|
|
@@ -22941,7 +22942,7 @@ declare namespace chrome {
|
|
|
22941
22942
|
|
|
22942
22943
|
/**
|
|
22943
22944
|
* @param response The response message sent by the native messaging host. If an error occurs while connecting to the native messaging host, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
22944
|
-
* @since
|
|
22945
|
+
* @since Chrome 99
|
|
22945
22946
|
*/
|
|
22946
22947
|
callback?: (
|
|
22947
22948
|
response: any,
|
|
@@ -28260,7 +28261,7 @@ declare namespace chrome {
|
|
|
28260
28261
|
|
|
28261
28262
|
/**
|
|
28262
28263
|
* @param response The JSON response object sent by the handler of the request. If an error occurs while connecting to the specified tab, the callback is called with no arguments and {@link runtime.lastError} is set to the error message.
|
|
28263
|
-
* @since
|
|
28264
|
+
* @since Chrome 99
|
|
28264
28265
|
*/
|
|
28265
28266
|
callback?: (
|
|
28266
28267
|
response: any,
|
|
@@ -28309,7 +28310,7 @@ declare namespace chrome {
|
|
|
28309
28310
|
|
|
28310
28311
|
/**
|
|
28311
28312
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the callback is called with no arguments and {@link runtime.lastError} is set to the error message.
|
|
28312
|
-
* @since
|
|
28313
|
+
* @since Chrome 99
|
|
28313
28314
|
*/
|
|
28314
28315
|
callback?: (
|
|
28315
28316
|
response: any,
|
|
@@ -32213,7 +32214,7 @@ declare namespace chrome {
|
|
|
32213
32214
|
/**
|
|
32214
32215
|
* The ID of the tab in which the frame is.
|
|
32215
32216
|
*/
|
|
32216
|
-
tabId
|
|
32217
|
+
tabId?: number,
|
|
32217
32218
|
|
|
32218
32219
|
/**
|
|
32219
32220
|
* The ID of the process that runs the renderer for this tab.
|
|
@@ -32226,7 +32227,7 @@ declare namespace chrome {
|
|
|
32226
32227
|
/**
|
|
32227
32228
|
* The ID of the frame in the given tab.
|
|
32228
32229
|
*/
|
|
32229
|
-
frameId
|
|
32230
|
+
frameId?: number,
|
|
32230
32231
|
},
|
|
32231
32232
|
): Promise<{
|
|
32232
32233
|
|
|
@@ -32258,7 +32259,7 @@ declare namespace chrome {
|
|
|
32258
32259
|
/**
|
|
32259
32260
|
* The ID of the tab in which the frame is.
|
|
32260
32261
|
*/
|
|
32261
|
-
tabId
|
|
32262
|
+
tabId?: number,
|
|
32262
32263
|
|
|
32263
32264
|
/**
|
|
32264
32265
|
* The ID of the process that runs the renderer for this tab.
|
|
@@ -32271,7 +32272,7 @@ declare namespace chrome {
|
|
|
32271
32272
|
/**
|
|
32272
32273
|
* The ID of the frame in the given tab.
|
|
32273
32274
|
*/
|
|
32274
|
-
frameId
|
|
32275
|
+
frameId?: number,
|
|
32275
32276
|
},
|
|
32276
32277
|
|
|
32277
32278
|
/**
|
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 Mar 01 2022 22:28:01 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at ef59a59c1fee2af6315d9eebd0920baf5b494243
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -266,7 +266,7 @@ declare namespace chrome {
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
* @since
|
|
269
|
+
* @since Chrome 99
|
|
270
270
|
*/
|
|
271
271
|
export interface OpenPopupOptions {
|
|
272
272
|
|
|
@@ -660,8 +660,9 @@ declare namespace chrome {
|
|
|
660
660
|
/**
|
|
661
661
|
* Opens the extension's popup.
|
|
662
662
|
*
|
|
663
|
+
* @chrome-returns-extra since Pending
|
|
663
664
|
* @param options Specifies options for opening the popup.
|
|
664
|
-
* @since
|
|
665
|
+
* @since Chrome 99
|
|
665
666
|
*/
|
|
666
667
|
export function openPopup(
|
|
667
668
|
|
|
@@ -672,7 +673,7 @@ declare namespace chrome {
|
|
|
672
673
|
* Opens the extension's popup.
|
|
673
674
|
*
|
|
674
675
|
* @param options Specifies options for opening the popup.
|
|
675
|
-
* @since
|
|
676
|
+
* @since Chrome 99
|
|
676
677
|
*/
|
|
677
678
|
export function openPopup(
|
|
678
679
|
|
|
@@ -3907,7 +3908,7 @@ declare namespace chrome {
|
|
|
3907
3908
|
/**
|
|
3908
3909
|
* Whether the script should inject into any frames where the URL belongs to a scheme that would never match a specified Match Pattern, including about:, data:, blob:, and filesystem: schemes. In these cases, in order to determine if the script should inject, the origin of the URL is checked. If the origin is `null` (as is the case for data: URLs), then the "initiator" or "creator" origin is used (i.e., the origin of the frame that created or navigated this frame). Note that this may not be the parent frame, if the frame was navigated by another frame in the document hierarchy.
|
|
3909
3910
|
*
|
|
3910
|
-
* @since
|
|
3911
|
+
* @since Chrome 99
|
|
3911
3912
|
*/
|
|
3912
3913
|
match_origin_as_fallback?: boolean;
|
|
3913
3914
|
|
|
@@ -15755,7 +15756,7 @@ declare namespace chrome {
|
|
|
15755
15756
|
|
|
15756
15757
|
/**
|
|
15757
15758
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
15758
|
-
* @since
|
|
15759
|
+
* @since Chrome 99
|
|
15759
15760
|
*/
|
|
15760
15761
|
callback?: (
|
|
15761
15762
|
response: any,
|
|
@@ -15781,7 +15782,7 @@ declare namespace chrome {
|
|
|
15781
15782
|
|
|
15782
15783
|
/**
|
|
15783
15784
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the extension, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
15784
|
-
* @since
|
|
15785
|
+
* @since Chrome 99
|
|
15785
15786
|
*/
|
|
15786
15787
|
callback?: (
|
|
15787
15788
|
response: any,
|
|
@@ -15818,7 +15819,7 @@ declare namespace chrome {
|
|
|
15818
15819
|
|
|
15819
15820
|
/**
|
|
15820
15821
|
* @param response The response message sent by the native messaging host. If an error occurs while connecting to the native messaging host, the callback will be called with no arguments and {@link runtime.lastError} will be set to the error message.
|
|
15821
|
-
* @since
|
|
15822
|
+
* @since Chrome 99
|
|
15822
15823
|
*/
|
|
15823
15824
|
callback?: (
|
|
15824
15825
|
response: any,
|
|
@@ -18634,7 +18635,7 @@ declare namespace chrome {
|
|
|
18634
18635
|
|
|
18635
18636
|
/**
|
|
18636
18637
|
* @param response The JSON response object sent by the handler of the message. If an error occurs while connecting to the specified tab, the callback is called with no arguments and {@link runtime.lastError} is set to the error message.
|
|
18637
|
-
* @since
|
|
18638
|
+
* @since Chrome 99
|
|
18638
18639
|
*/
|
|
18639
18640
|
callback?: (
|
|
18640
18641
|
response: any,
|
|
@@ -21494,7 +21495,7 @@ declare namespace chrome {
|
|
|
21494
21495
|
/**
|
|
21495
21496
|
* The ID of the tab in which the frame is.
|
|
21496
21497
|
*/
|
|
21497
|
-
tabId
|
|
21498
|
+
tabId?: number,
|
|
21498
21499
|
|
|
21499
21500
|
/**
|
|
21500
21501
|
* The ID of the process that runs the renderer for this tab.
|
|
@@ -21507,7 +21508,7 @@ declare namespace chrome {
|
|
|
21507
21508
|
/**
|
|
21508
21509
|
* The ID of the frame in the given tab.
|
|
21509
21510
|
*/
|
|
21510
|
-
frameId
|
|
21511
|
+
frameId?: number,
|
|
21511
21512
|
},
|
|
21512
21513
|
): Promise<{
|
|
21513
21514
|
|
|
@@ -21539,7 +21540,7 @@ declare namespace chrome {
|
|
|
21539
21540
|
/**
|
|
21540
21541
|
* The ID of the tab in which the frame is.
|
|
21541
21542
|
*/
|
|
21542
|
-
tabId
|
|
21543
|
+
tabId?: number,
|
|
21543
21544
|
|
|
21544
21545
|
/**
|
|
21545
21546
|
* The ID of the process that runs the renderer for this tab.
|
|
@@ -21552,7 +21553,7 @@ declare namespace chrome {
|
|
|
21552
21553
|
/**
|
|
21553
21554
|
* The ID of the frame in the given tab.
|
|
21554
21555
|
*/
|
|
21555
|
-
frameId
|
|
21556
|
+
frameId?: number,
|
|
21556
21557
|
},
|
|
21557
21558
|
|
|
21558
21559
|
/**
|
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": "fd1f46065e5a50b7"
|
|
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.90"
|
|
20
20
|
}
|