chrome-types 0.1.176 → 0.1.177

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 +30 -20
  2. package/index.d.ts +29 -19
  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 Fri Mar 03 2023 22:29:42 GMT+0000 (Coordinated Universal Time)
18
- // Built at 939564227c747ae6dc4a9e09fd31747150e96841
17
+ // Generated on Mon Mar 06 2023 14:09:22 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2fcc0bfab0c95326a08e419eaa8f7b9784a03962
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -633,7 +633,7 @@ declare namespace chrome {
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
- * @since Chrome 108
636
+ * @since Chrome 110
637
637
  */
638
638
  export function isEnabled(
639
639
 
@@ -644,7 +644,7 @@ declare namespace chrome {
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
- * @since Chrome 108
647
+ * @since Chrome 110
648
648
  */
649
649
  export function isEnabled(
650
650
 
@@ -681,7 +681,8 @@ declare namespace chrome {
681
681
  * Opens the extension's popup.
682
682
  *
683
683
  * @param options Specifies options for opening the popup.
684
- * @since Chrome 99
684
+ * @alpha
685
+ * @chrome-channel dev
685
686
  */
686
687
  export function openPopup(
687
688
 
@@ -692,7 +693,8 @@ declare namespace chrome {
692
693
  * Opens the extension's popup.
693
694
  *
694
695
  * @param options Specifies options for opening the popup.
695
- * @since Chrome 99
696
+ * @alpha
697
+ * @chrome-channel dev
696
698
  */
697
699
  export function openPopup(
698
700
 
@@ -7338,7 +7340,7 @@ declare namespace chrome {
7338
7340
  /**
7339
7341
  * Fired when clipboard data changes. Requires clipboard and clipboardRead permissions for adding listener to chrome.clipboard.onClipboardDataChanged event. After this event fires, the clipboard data is available by calling document.execCommand('paste').
7340
7342
  *
7341
- * @since Chrome 54
7343
+ * @since Chrome 56
7342
7344
  * @chrome-permission clipboardRead
7343
7345
  */
7344
7346
  export const onClipboardDataChanged: events.Event<() => void>;
@@ -16719,7 +16721,8 @@ declare namespace chrome {
16719
16721
  *
16720
16722
  * `getAccounts` is only supported on dev channel.
16721
16723
  *
16722
- * @chrome-returns-extra since Chrome 106
16724
+ * @alpha
16725
+ * @chrome-channel dev
16723
16726
  */
16724
16727
  export function getAccounts(): Promise<AccountInfo[]>;
16725
16728
 
@@ -16727,6 +16730,9 @@ declare namespace chrome {
16727
16730
  * Retrieves a list of AccountInfo objects describing the accounts present on the profile.
16728
16731
  *
16729
16732
  * `getAccounts` is only supported on dev channel.
16733
+ *
16734
+ * @alpha
16735
+ * @chrome-channel dev
16730
16736
  */
16731
16737
  export function getAccounts(
16732
16738
 
@@ -18255,14 +18261,14 @@ declare namespace chrome {
18255
18261
  /**
18256
18262
  * Identifies the entity that is authorized to access resources associated with this Instance ID. It can be a project ID from [Google developer console](https://code.google.com/apis/console).
18257
18263
  *
18258
- * @since Chrome 45
18264
+ * @since Chrome 46
18259
18265
  */
18260
18266
  authorizedEntity: string,
18261
18267
 
18262
18268
  /**
18263
18269
  * Identifies authorized actions that the authorized entity can take. E.g. for sending GCM messages, `GCM` scope should be used.
18264
18270
  *
18265
- * @since Chrome 45
18271
+ * @since Chrome 46
18266
18272
  */
18267
18273
  scope: string,
18268
18274
 
@@ -18270,7 +18276,7 @@ declare namespace chrome {
18270
18276
  * Allows including a small number of string key/value pairs that will be associated with the token and may be used in processing the request.
18271
18277
  *
18272
18278
  * @deprecated options are deprecated and will be ignored.
18273
- * @since Chrome 45
18279
+ * @since Chrome 46
18274
18280
  * @chrome-deprecated-since Chrome 89
18275
18281
  */
18276
18282
  options?: {[name: string]: string},
@@ -18290,14 +18296,14 @@ declare namespace chrome {
18290
18296
  /**
18291
18297
  * Identifies the entity that is authorized to access resources associated with this Instance ID. It can be a project ID from [Google developer console](https://code.google.com/apis/console).
18292
18298
  *
18293
- * @since Chrome 45
18299
+ * @since Chrome 46
18294
18300
  */
18295
18301
  authorizedEntity: string,
18296
18302
 
18297
18303
  /**
18298
18304
  * Identifies authorized actions that the authorized entity can take. E.g. for sending GCM messages, `GCM` scope should be used.
18299
18305
  *
18300
- * @since Chrome 45
18306
+ * @since Chrome 46
18301
18307
  */
18302
18308
  scope: string,
18303
18309
 
@@ -18305,7 +18311,7 @@ declare namespace chrome {
18305
18311
  * Allows including a small number of string key/value pairs that will be associated with the token and may be used in processing the request.
18306
18312
  *
18307
18313
  * @deprecated options are deprecated and will be ignored.
18308
- * @since Chrome 45
18314
+ * @since Chrome 46
18309
18315
  * @chrome-deprecated-since Chrome 89
18310
18316
  */
18311
18317
  options?: {[name: string]: string},
@@ -18332,14 +18338,14 @@ declare namespace chrome {
18332
18338
  /**
18333
18339
  * The authorized entity that is used to obtain the token.
18334
18340
  *
18335
- * @since Chrome 45
18341
+ * @since Chrome 46
18336
18342
  */
18337
18343
  authorizedEntity: string,
18338
18344
 
18339
18345
  /**
18340
18346
  * The scope that is used to obtain the token.
18341
18347
  *
18342
- * @since Chrome 45
18348
+ * @since Chrome 46
18343
18349
  */
18344
18350
  scope: string,
18345
18351
  },
@@ -18358,14 +18364,14 @@ declare namespace chrome {
18358
18364
  /**
18359
18365
  * The authorized entity that is used to obtain the token.
18360
18366
  *
18361
- * @since Chrome 45
18367
+ * @since Chrome 46
18362
18368
  */
18363
18369
  authorizedEntity: string,
18364
18370
 
18365
18371
  /**
18366
18372
  * The scope that is used to obtain the token.
18367
18373
  *
18368
- * @since Chrome 45
18374
+ * @since Chrome 46
18369
18375
  */
18370
18376
  scope: string,
18371
18377
  },
@@ -23865,7 +23871,7 @@ declare namespace chrome {
23865
23871
  /**
23866
23872
  * Fired when a connection is made from a native application. Currently only supported on Chrome OS.
23867
23873
  *
23868
- * @since Chrome 74
23874
+ * @since Chrome 76
23869
23875
  * @chrome-permission nativeMessaging
23870
23876
  */
23871
23877
  export const onConnectNative: events.Event<(
@@ -28737,7 +28743,8 @@ declare namespace chrome {
28737
28743
  /**
28738
28744
  * Get the available capacity of a specified `id` storage device. The `id` is the transient device ID from StorageUnitInfo.
28739
28745
  *
28740
- * @chrome-returns-extra since Chrome 91
28746
+ * @alpha
28747
+ * @chrome-channel dev
28741
28748
  */
28742
28749
  export function getAvailableCapacity(
28743
28750
 
@@ -28746,6 +28753,9 @@ declare namespace chrome {
28746
28753
 
28747
28754
  /**
28748
28755
  * Get the available capacity of a specified `id` storage device. The `id` is the transient device ID from StorageUnitInfo.
28756
+ *
28757
+ * @alpha
28758
+ * @chrome-channel dev
28749
28759
  */
28750
28760
  export function getAvailableCapacity(
28751
28761
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Mar 03 2023 22:29:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 939564227c747ae6dc4a9e09fd31747150e96841
17
+ // Generated on Mon Mar 06 2023 14:09:17 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 2fcc0bfab0c95326a08e419eaa8f7b9784a03962
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -691,7 +691,7 @@ declare namespace chrome {
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
- * @since Chrome 108
694
+ * @since Chrome 110
695
695
  */
696
696
  export function isEnabled(
697
697
 
@@ -702,7 +702,7 @@ declare namespace chrome {
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
- * @since Chrome 108
705
+ * @since Chrome 110
706
706
  */
707
707
  export function isEnabled(
708
708
 
@@ -739,7 +739,8 @@ declare namespace chrome {
739
739
  * Opens the extension's popup.
740
740
  *
741
741
  * @param options Specifies options for opening the popup.
742
- * @since Chrome 99
742
+ * @alpha
743
+ * @chrome-channel dev
743
744
  */
744
745
  export function openPopup(
745
746
 
@@ -750,7 +751,8 @@ declare namespace chrome {
750
751
  * Opens the extension's popup.
751
752
  *
752
753
  * @param options Specifies options for opening the popup.
753
- * @since Chrome 99
754
+ * @alpha
755
+ * @chrome-channel dev
754
756
  */
755
757
  export function openPopup(
756
758
 
@@ -12280,7 +12282,8 @@ declare namespace chrome {
12280
12282
  *
12281
12283
  * `getAccounts` is only supported on dev channel.
12282
12284
  *
12283
- * @chrome-returns-extra since Chrome 106
12285
+ * @alpha
12286
+ * @chrome-channel dev
12284
12287
  */
12285
12288
  export function getAccounts(): Promise<AccountInfo[]>;
12286
12289
 
@@ -12288,6 +12291,9 @@ declare namespace chrome {
12288
12291
  * Retrieves a list of AccountInfo objects describing the accounts present on the profile.
12289
12292
  *
12290
12293
  * `getAccounts` is only supported on dev channel.
12294
+ *
12295
+ * @alpha
12296
+ * @chrome-channel dev
12291
12297
  */
12292
12298
  export function getAccounts(
12293
12299
 
@@ -13816,14 +13822,14 @@ declare namespace chrome {
13816
13822
  /**
13817
13823
  * Identifies the entity that is authorized to access resources associated with this Instance ID. It can be a project ID from [Google developer console](https://code.google.com/apis/console).
13818
13824
  *
13819
- * @since Chrome 45
13825
+ * @since Chrome 46
13820
13826
  */
13821
13827
  authorizedEntity: string,
13822
13828
 
13823
13829
  /**
13824
13830
  * Identifies authorized actions that the authorized entity can take. E.g. for sending GCM messages, `GCM` scope should be used.
13825
13831
  *
13826
- * @since Chrome 45
13832
+ * @since Chrome 46
13827
13833
  */
13828
13834
  scope: string,
13829
13835
 
@@ -13831,7 +13837,7 @@ declare namespace chrome {
13831
13837
  * Allows including a small number of string key/value pairs that will be associated with the token and may be used in processing the request.
13832
13838
  *
13833
13839
  * @deprecated options are deprecated and will be ignored.
13834
- * @since Chrome 45
13840
+ * @since Chrome 46
13835
13841
  * @chrome-deprecated-since Chrome 89
13836
13842
  */
13837
13843
  options?: {[name: string]: string},
@@ -13851,14 +13857,14 @@ declare namespace chrome {
13851
13857
  /**
13852
13858
  * Identifies the entity that is authorized to access resources associated with this Instance ID. It can be a project ID from [Google developer console](https://code.google.com/apis/console).
13853
13859
  *
13854
- * @since Chrome 45
13860
+ * @since Chrome 46
13855
13861
  */
13856
13862
  authorizedEntity: string,
13857
13863
 
13858
13864
  /**
13859
13865
  * Identifies authorized actions that the authorized entity can take. E.g. for sending GCM messages, `GCM` scope should be used.
13860
13866
  *
13861
- * @since Chrome 45
13867
+ * @since Chrome 46
13862
13868
  */
13863
13869
  scope: string,
13864
13870
 
@@ -13866,7 +13872,7 @@ declare namespace chrome {
13866
13872
  * Allows including a small number of string key/value pairs that will be associated with the token and may be used in processing the request.
13867
13873
  *
13868
13874
  * @deprecated options are deprecated and will be ignored.
13869
- * @since Chrome 45
13875
+ * @since Chrome 46
13870
13876
  * @chrome-deprecated-since Chrome 89
13871
13877
  */
13872
13878
  options?: {[name: string]: string},
@@ -13893,14 +13899,14 @@ declare namespace chrome {
13893
13899
  /**
13894
13900
  * The authorized entity that is used to obtain the token.
13895
13901
  *
13896
- * @since Chrome 45
13902
+ * @since Chrome 46
13897
13903
  */
13898
13904
  authorizedEntity: string,
13899
13905
 
13900
13906
  /**
13901
13907
  * The scope that is used to obtain the token.
13902
13908
  *
13903
- * @since Chrome 45
13909
+ * @since Chrome 46
13904
13910
  */
13905
13911
  scope: string,
13906
13912
  },
@@ -13919,14 +13925,14 @@ declare namespace chrome {
13919
13925
  /**
13920
13926
  * The authorized entity that is used to obtain the token.
13921
13927
  *
13922
- * @since Chrome 45
13928
+ * @since Chrome 46
13923
13929
  */
13924
13930
  authorizedEntity: string,
13925
13931
 
13926
13932
  /**
13927
13933
  * The scope that is used to obtain the token.
13928
13934
  *
13929
- * @since Chrome 45
13935
+ * @since Chrome 46
13930
13936
  */
13931
13937
  scope: string,
13932
13938
  },
@@ -18780,7 +18786,7 @@ declare namespace chrome {
18780
18786
  /**
18781
18787
  * Fired when a connection is made from a native application. Currently only supported on Chrome OS.
18782
18788
  *
18783
- * @since Chrome 74
18789
+ * @since Chrome 76
18784
18790
  * @chrome-permission nativeMessaging
18785
18791
  */
18786
18792
  export const onConnectNative: events.Event<(
@@ -22363,7 +22369,8 @@ declare namespace chrome {
22363
22369
  /**
22364
22370
  * Get the available capacity of a specified `id` storage device. The `id` is the transient device ID from StorageUnitInfo.
22365
22371
  *
22366
- * @chrome-returns-extra since Chrome 91
22372
+ * @alpha
22373
+ * @chrome-channel dev
22367
22374
  */
22368
22375
  export function getAvailableCapacity(
22369
22376
 
@@ -22372,6 +22379,9 @@ declare namespace chrome {
22372
22379
 
22373
22380
  /**
22374
22381
  * Get the available capacity of a specified `id` storage device. The `id` is the transient device ID from StorageUnitInfo.
22382
+ *
22383
+ * @alpha
22384
+ * @chrome-channel dev
22375
22385
  */
22376
22386
  export function getAvailableCapacity(
22377
22387
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "e603fe2e582fd41e"
8
+ "build-hash": "7824a7d6208c94f4"
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.176"
19
+ "version": "0.1.177"
20
20
  }