chrome-types 0.1.139 → 0.1.140
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 +31 -2
- package/index.d.ts +31 -2
- 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 Thu Sep 29 2022 22:32:35 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9b332ad3b944609136faaca95ae0653dfe301e43
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -579,6 +579,35 @@ declare namespace chrome {
|
|
|
579
579
|
callback?: () => void,
|
|
580
580
|
): void;
|
|
581
581
|
|
|
582
|
+
/**
|
|
583
|
+
* Retrieves the state of whether the extension action is enabled for a tab (or globally if no tab is provided).
|
|
584
|
+
*
|
|
585
|
+
* @param tabId The id of the tab for which you want check enabled status.
|
|
586
|
+
* @since Pending
|
|
587
|
+
*/
|
|
588
|
+
export function isEnabled(
|
|
589
|
+
|
|
590
|
+
tabId?: number,
|
|
591
|
+
): Promise<boolean>;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Retrieves the state of whether the extension action is enabled for a tab (or globally if no tab is provided).
|
|
595
|
+
*
|
|
596
|
+
* @param tabId The id of the tab for which you want check enabled status.
|
|
597
|
+
* @since Pending
|
|
598
|
+
*/
|
|
599
|
+
export function isEnabled(
|
|
600
|
+
|
|
601
|
+
tabId?: number,
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @param isEnabled True if the extension action is enabled.
|
|
605
|
+
*/
|
|
606
|
+
callback?: (
|
|
607
|
+
isEnabled: boolean,
|
|
608
|
+
) => void,
|
|
609
|
+
): void;
|
|
610
|
+
|
|
582
611
|
/**
|
|
583
612
|
* Returns the user-specified settings relating to an extension's action.
|
|
584
613
|
*
|
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 Thu Sep 29 2022 22:32:28 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 9b332ad3b944609136faaca95ae0653dfe301e43
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -637,6 +637,35 @@ declare namespace chrome {
|
|
|
637
637
|
callback?: () => void,
|
|
638
638
|
): void;
|
|
639
639
|
|
|
640
|
+
/**
|
|
641
|
+
* Retrieves the state of whether the extension action is enabled for a tab (or globally if no tab is provided).
|
|
642
|
+
*
|
|
643
|
+
* @param tabId The id of the tab for which you want check enabled status.
|
|
644
|
+
* @since Pending
|
|
645
|
+
*/
|
|
646
|
+
export function isEnabled(
|
|
647
|
+
|
|
648
|
+
tabId?: number,
|
|
649
|
+
): Promise<boolean>;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Retrieves the state of whether the extension action is enabled for a tab (or globally if no tab is provided).
|
|
653
|
+
*
|
|
654
|
+
* @param tabId The id of the tab for which you want check enabled status.
|
|
655
|
+
* @since Pending
|
|
656
|
+
*/
|
|
657
|
+
export function isEnabled(
|
|
658
|
+
|
|
659
|
+
tabId?: number,
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @param isEnabled True if the extension action is enabled.
|
|
663
|
+
*/
|
|
664
|
+
callback?: (
|
|
665
|
+
isEnabled: boolean,
|
|
666
|
+
) => void,
|
|
667
|
+
): void;
|
|
668
|
+
|
|
640
669
|
/**
|
|
641
670
|
* Returns the user-specified settings relating to an extension's action.
|
|
642
671
|
*
|
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": "4a534b900ca5d67b"
|
|
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.140"
|
|
20
20
|
}
|