chrome-types 0.1.321 → 0.1.322

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 +22 -22
  2. package/index.d.ts +22 -22
  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 Nov 15 2024 11:30:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 588dc418b18653a904c97c7a0f2ecef4b82ca3b1
17
+ // Generated on Tue Nov 26 2024 12:46:25 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f51d021a7fdc741b056043c8ff27223e890964ba
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -22653,54 +22653,54 @@ declare namespace chrome {
22653
22653
  ): void;
22654
22654
 
22655
22655
  /**
22656
- * Adds a site access request. Request will only be signaled to the user if extension can be granted access to site in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22656
+ * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22657
22657
  *
22658
22658
  * @since Pending
22659
22659
  * @chrome-min-manifest MV3
22660
22660
  */
22661
- export function addSiteAccessRequest(
22661
+ export function addHostAccessRequest(
22662
22662
 
22663
22663
  request: {
22664
22664
 
22665
22665
  /**
22666
- * The id of a document where site access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
22666
+ * The id of a document where host access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
22667
22667
  */
22668
22668
  documentId?: string,
22669
22669
 
22670
22670
  /**
22671
- * The id of the tab where site access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
22671
+ * The id of the tab where host access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
22672
22672
  */
22673
22673
  tabId?: number,
22674
22674
 
22675
22675
  /**
22676
- * The URL pattern where site access requests can be shown. If provided, site access requests will only be shown on URLs that match this pattern.
22676
+ * The URL pattern where host access requests can be shown. If provided, host access requests will only be shown on URLs that match this pattern.
22677
22677
  */
22678
22678
  pattern?: string,
22679
22679
  },
22680
22680
  ): Promise<void>;
22681
22681
 
22682
22682
  /**
22683
- * Adds a site access request. Request will only be signaled to the user if extension can be granted access to site in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22683
+ * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
22684
22684
  *
22685
22685
  * @since Pending
22686
22686
  * @chrome-min-manifest MV3
22687
22687
  */
22688
- export function addSiteAccessRequest(
22688
+ export function addHostAccessRequest(
22689
22689
 
22690
22690
  request: {
22691
22691
 
22692
22692
  /**
22693
- * The id of a document where site access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
22693
+ * The id of a document where host access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
22694
22694
  */
22695
22695
  documentId?: string,
22696
22696
 
22697
22697
  /**
22698
- * The id of the tab where site access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
22698
+ * The id of the tab where host access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
22699
22699
  */
22700
22700
  tabId?: number,
22701
22701
 
22702
22702
  /**
22703
- * The URL pattern where site access requests can be shown. If provided, site access requests will only be shown on URLs that match this pattern.
22703
+ * The URL pattern where host access requests can be shown. If provided, host access requests will only be shown on URLs that match this pattern.
22704
22704
  */
22705
22705
  pattern?: string,
22706
22706
  },
@@ -22709,54 +22709,54 @@ declare namespace chrome {
22709
22709
  ): void;
22710
22710
 
22711
22711
  /**
22712
- * Removes a site access request, if existent.
22712
+ * Removes a host access request, if existent.
22713
22713
  *
22714
22714
  * @since Pending
22715
22715
  * @chrome-min-manifest MV3
22716
22716
  */
22717
- export function removeSiteAccessRequest(
22717
+ export function removeHostAccessRequest(
22718
22718
 
22719
22719
  request: {
22720
22720
 
22721
22721
  /**
22722
- * The id of a document where site access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
22722
+ * The id of a document where host access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
22723
22723
  */
22724
22724
  documentId?: string,
22725
22725
 
22726
22726
  /**
22727
- * The id of the tab where site access request will be removed. This or `documentId` must be specified.
22727
+ * The id of the tab where host access request will be removed. This or `documentId` must be specified.
22728
22728
  */
22729
22729
  tabId?: number,
22730
22730
 
22731
22731
  /**
22732
- * The URL pattern where site access request will be removed. If provided, this must exactly match the pattern of an existing site access request.
22732
+ * The URL pattern where host access request will be removed. If provided, this must exactly match the pattern of an existing host access request.
22733
22733
  */
22734
22734
  pattern?: string,
22735
22735
  },
22736
22736
  ): Promise<void>;
22737
22737
 
22738
22738
  /**
22739
- * Removes a site access request, if existent.
22739
+ * Removes a host access request, if existent.
22740
22740
  *
22741
22741
  * @since Pending
22742
22742
  * @chrome-min-manifest MV3
22743
22743
  */
22744
- export function removeSiteAccessRequest(
22744
+ export function removeHostAccessRequest(
22745
22745
 
22746
22746
  request: {
22747
22747
 
22748
22748
  /**
22749
- * The id of a document where site access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
22749
+ * The id of a document where host access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
22750
22750
  */
22751
22751
  documentId?: string,
22752
22752
 
22753
22753
  /**
22754
- * The id of the tab where site access request will be removed. This or `documentId` must be specified.
22754
+ * The id of the tab where host access request will be removed. This or `documentId` must be specified.
22755
22755
  */
22756
22756
  tabId?: number,
22757
22757
 
22758
22758
  /**
22759
- * The URL pattern where site access request will be removed. If provided, this must exactly match the pattern of an existing site access request.
22759
+ * The URL pattern where host access request will be removed. If provided, this must exactly match the pattern of an existing host access request.
22760
22760
  */
22761
22761
  pattern?: string,
22762
22762
  },
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Nov 15 2024 11:30:31 GMT+0000 (Coordinated Universal Time)
18
- // Built at 588dc418b18653a904c97c7a0f2ecef4b82ca3b1
17
+ // Generated on Tue Nov 26 2024 12:46:21 GMT+0000 (Coordinated Universal Time)
18
+ // Built at f51d021a7fdc741b056043c8ff27223e890964ba
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -17398,54 +17398,54 @@ declare namespace chrome {
17398
17398
  ): void;
17399
17399
 
17400
17400
  /**
17401
- * Adds a site access request. Request will only be signaled to the user if extension can be granted access to site in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17401
+ * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17402
17402
  *
17403
17403
  * @since Pending
17404
17404
  * @chrome-min-manifest MV3
17405
17405
  */
17406
- export function addSiteAccessRequest(
17406
+ export function addHostAccessRequest(
17407
17407
 
17408
17408
  request: {
17409
17409
 
17410
17410
  /**
17411
- * The id of a document where site access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
17411
+ * The id of a document where host access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
17412
17412
  */
17413
17413
  documentId?: string,
17414
17414
 
17415
17415
  /**
17416
- * The id of the tab where site access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
17416
+ * The id of the tab where host access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
17417
17417
  */
17418
17418
  tabId?: number,
17419
17419
 
17420
17420
  /**
17421
- * The URL pattern where site access requests can be shown. If provided, site access requests will only be shown on URLs that match this pattern.
17421
+ * The URL pattern where host access requests can be shown. If provided, host access requests will only be shown on URLs that match this pattern.
17422
17422
  */
17423
17423
  pattern?: string,
17424
17424
  },
17425
17425
  ): Promise<void>;
17426
17426
 
17427
17427
  /**
17428
- * Adds a site access request. Request will only be signaled to the user if extension can be granted access to site in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17428
+ * Adds a host access request. Request will only be signaled to the user if extension can be granted access to the host in the request. Request will be reset on cross-origin navigation. When accepted, grants persistent access to the site’s top origin
17429
17429
  *
17430
17430
  * @since Pending
17431
17431
  * @chrome-min-manifest MV3
17432
17432
  */
17433
- export function addSiteAccessRequest(
17433
+ export function addHostAccessRequest(
17434
17434
 
17435
17435
  request: {
17436
17436
 
17437
17437
  /**
17438
- * The id of a document where site access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
17438
+ * The id of a document where host access requests can be shown. Must be the top-level document within a tab. If provided, the request is shown on the tab of the specified document and is removed when the document navigates to a new origin. Adding a new request will override any existent request for `tabId`. This or `tabId` must be specified.
17439
17439
  */
17440
17440
  documentId?: string,
17441
17441
 
17442
17442
  /**
17443
- * The id of the tab where site access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
17443
+ * The id of the tab where host access requests can be shown. If provided, the request is shown on the specified tab and is removed when the tab navigates to a new origin. Adding a new request will override an existent request for `documentId`. This or `documentId` must be specified.
17444
17444
  */
17445
17445
  tabId?: number,
17446
17446
 
17447
17447
  /**
17448
- * The URL pattern where site access requests can be shown. If provided, site access requests will only be shown on URLs that match this pattern.
17448
+ * The URL pattern where host access requests can be shown. If provided, host access requests will only be shown on URLs that match this pattern.
17449
17449
  */
17450
17450
  pattern?: string,
17451
17451
  },
@@ -17454,54 +17454,54 @@ declare namespace chrome {
17454
17454
  ): void;
17455
17455
 
17456
17456
  /**
17457
- * Removes a site access request, if existent.
17457
+ * Removes a host access request, if existent.
17458
17458
  *
17459
17459
  * @since Pending
17460
17460
  * @chrome-min-manifest MV3
17461
17461
  */
17462
- export function removeSiteAccessRequest(
17462
+ export function removeHostAccessRequest(
17463
17463
 
17464
17464
  request: {
17465
17465
 
17466
17466
  /**
17467
- * The id of a document where site access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
17467
+ * The id of a document where host access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
17468
17468
  */
17469
17469
  documentId?: string,
17470
17470
 
17471
17471
  /**
17472
- * The id of the tab where site access request will be removed. This or `documentId` must be specified.
17472
+ * The id of the tab where host access request will be removed. This or `documentId` must be specified.
17473
17473
  */
17474
17474
  tabId?: number,
17475
17475
 
17476
17476
  /**
17477
- * The URL pattern where site access request will be removed. If provided, this must exactly match the pattern of an existing site access request.
17477
+ * The URL pattern where host access request will be removed. If provided, this must exactly match the pattern of an existing host access request.
17478
17478
  */
17479
17479
  pattern?: string,
17480
17480
  },
17481
17481
  ): Promise<void>;
17482
17482
 
17483
17483
  /**
17484
- * Removes a site access request, if existent.
17484
+ * Removes a host access request, if existent.
17485
17485
  *
17486
17486
  * @since Pending
17487
17487
  * @chrome-min-manifest MV3
17488
17488
  */
17489
- export function removeSiteAccessRequest(
17489
+ export function removeHostAccessRequest(
17490
17490
 
17491
17491
  request: {
17492
17492
 
17493
17493
  /**
17494
- * The id of a document where site access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
17494
+ * The id of a document where host access request will be removed. Must be the top-level document within a tab. This or `tabId` must be specified.
17495
17495
  */
17496
17496
  documentId?: string,
17497
17497
 
17498
17498
  /**
17499
- * The id of the tab where site access request will be removed. This or `documentId` must be specified.
17499
+ * The id of the tab where host access request will be removed. This or `documentId` must be specified.
17500
17500
  */
17501
17501
  tabId?: number,
17502
17502
 
17503
17503
  /**
17504
- * The URL pattern where site access request will be removed. If provided, this must exactly match the pattern of an existing site access request.
17504
+ * The URL pattern where host access request will be removed. If provided, this must exactly match the pattern of an existing host access request.
17505
17505
  */
17506
17506
  pattern?: string,
17507
17507
  },
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "53dd66e8df0b955d"
8
+ "build-hash": "fd96ebb467e84cfb"
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.321"
19
+ "version": "0.1.322"
20
20
  }