chrome-types 0.1.321 → 0.1.323
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 +24 -24
- package/index.d.ts +24 -24
- 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 Dec 03 2024 22:31:54 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 47c18895b7151e6d678e2fe44911895470117d04
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -12369,7 +12369,7 @@ declare namespace chrome {
|
|
|
12369
12369
|
/**
|
|
12370
12370
|
* Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
|
|
12371
12371
|
*
|
|
12372
|
-
* Only non-extractable RSASSA-PKCS1-V1\_5
|
|
12372
|
+
* Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each RSASSA-PKCS1-V1\_5 and ECDSA key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys can be used by extensions allowlisted in that same policy to unwrap other keys.
|
|
12373
12373
|
*
|
|
12374
12374
|
* Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
|
|
12375
12375
|
*/
|
|
@@ -12378,7 +12378,7 @@ declare namespace chrome {
|
|
|
12378
12378
|
/**
|
|
12379
12379
|
* Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are software-backed. Protection of the keys, and thus implementation of the non-extractable property, is done in software, so the keys are less protected than hardware-backed keys.
|
|
12380
12380
|
*
|
|
12381
|
-
* Only non-extractable RSASSA-PKCS1-V1\_5
|
|
12381
|
+
* Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP with `modulusLength` up to 2048. Each RSASSA-PKCS1-V1\_5 key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys can be used by extensions allowlisted in that same policy to unwrap other keys.
|
|
12382
12382
|
*
|
|
12383
12383
|
* Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
|
|
12384
12384
|
*
|
|
@@ -22653,54 +22653,54 @@ declare namespace chrome {
|
|
|
22653
22653
|
): void;
|
|
22654
22654
|
|
|
22655
22655
|
/**
|
|
22656
|
-
* Adds a
|
|
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
|
|
22661
|
+
export function addHostAccessRequest(
|
|
22662
22662
|
|
|
22663
22663
|
request: {
|
|
22664
22664
|
|
|
22665
22665
|
/**
|
|
22666
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
22688
|
+
export function addHostAccessRequest(
|
|
22689
22689
|
|
|
22690
22690
|
request: {
|
|
22691
22691
|
|
|
22692
22692
|
/**
|
|
22693
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
22717
|
+
export function removeHostAccessRequest(
|
|
22718
22718
|
|
|
22719
22719
|
request: {
|
|
22720
22720
|
|
|
22721
22721
|
/**
|
|
22722
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
22744
|
+
export function removeHostAccessRequest(
|
|
22745
22745
|
|
|
22746
22746
|
request: {
|
|
22747
22747
|
|
|
22748
22748
|
/**
|
|
22749
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Dec 03 2024 22:31:49 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 47c18895b7151e6d678e2fe44911895470117d04
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -8489,7 +8489,7 @@ declare namespace chrome {
|
|
|
8489
8489
|
/**
|
|
8490
8490
|
* Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
|
|
8491
8491
|
*
|
|
8492
|
-
* Only non-extractable RSASSA-PKCS1-V1\_5
|
|
8492
|
+
* Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP with `modulusLength` up to 2048 and ECDSA with `namedCurve` P-256. Each RSASSA-PKCS1-V1\_5 and ECDSA key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys can be used by extensions allowlisted in that same policy to unwrap other keys.
|
|
8493
8493
|
*
|
|
8494
8494
|
* Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
|
|
8495
8495
|
*/
|
|
@@ -8498,7 +8498,7 @@ declare namespace chrome {
|
|
|
8498
8498
|
/**
|
|
8499
8499
|
* Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are software-backed. Protection of the keys, and thus implementation of the non-extractable property, is done in software, so the keys are less protected than hardware-backed keys.
|
|
8500
8500
|
*
|
|
8501
|
-
* Only non-extractable RSASSA-PKCS1-V1\_5
|
|
8501
|
+
* Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP with `modulusLength` up to 2048. Each RSASSA-PKCS1-V1\_5 key can be used for signing data at most once, unless the extension is allowlisted through the [KeyPermissions policy](https://chromeenterprise.google/policies/#KeyPermissions), in which case the key can be used indefinitely. RSA-OAEP keys can be used by extensions allowlisted in that same policy to unwrap other keys.
|
|
8502
8502
|
*
|
|
8503
8503
|
* Keys generated on a specific `Token` cannot be used with any other Tokens, nor can they be used with `window.crypto.subtle`. Equally, `Key` objects created with `window.crypto.subtle` cannot be used with this interface.
|
|
8504
8504
|
*
|
|
@@ -17398,54 +17398,54 @@ declare namespace chrome {
|
|
|
17398
17398
|
): void;
|
|
17399
17399
|
|
|
17400
17400
|
/**
|
|
17401
|
-
* Adds a
|
|
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
|
|
17406
|
+
export function addHostAccessRequest(
|
|
17407
17407
|
|
|
17408
17408
|
request: {
|
|
17409
17409
|
|
|
17410
17410
|
/**
|
|
17411
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
17433
|
+
export function addHostAccessRequest(
|
|
17434
17434
|
|
|
17435
17435
|
request: {
|
|
17436
17436
|
|
|
17437
17437
|
/**
|
|
17438
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
17462
|
+
export function removeHostAccessRequest(
|
|
17463
17463
|
|
|
17464
17464
|
request: {
|
|
17465
17465
|
|
|
17466
17466
|
/**
|
|
17467
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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
|
|
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
|
|
17489
|
+
export function removeHostAccessRequest(
|
|
17490
17490
|
|
|
17491
17491
|
request: {
|
|
17492
17492
|
|
|
17493
17493
|
/**
|
|
17494
|
-
* The id of a document where
|
|
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
|
|
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
|
|
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": "
|
|
8
|
+
"build-hash": "65e0a12fd720d9d1"
|
|
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.323"
|
|
20
20
|
}
|