chrome-types 0.1.334 → 0.1.336

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 +16 -14
  2. package/index.d.ts +16 -14
  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 Jan 24 2025 22:30:41 GMT+0000 (Coordinated Universal Time)
18
- // Built at 0267fd33f0662227f553f6a9194474b95e52bf5d
17
+ // Generated on Mon Feb 03 2025 22:31:39 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12400,7 +12400,7 @@ declare namespace chrome {
12400
12400
  /**
12401
12401
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
12402
12402
  *
12403
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 134+) 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 are supported since Chrome version 134 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12403
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) 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 are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12404
12404
  *
12405
12405
  * 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.
12406
12406
  */
@@ -12409,7 +12409,7 @@ declare namespace chrome {
12409
12409
  /**
12410
12410
  * 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.
12411
12411
  *
12412
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 134+) 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 are supported since Chrome version 134 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12412
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) 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 are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
12413
12413
  *
12414
12414
  * 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.
12415
12415
  *
@@ -22686,7 +22686,7 @@ declare namespace chrome {
22686
22686
  /**
22687
22687
  * 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
22688
22688
  *
22689
- * @since Pending
22689
+ * @since Chrome 133
22690
22690
  * @chrome-min-manifest MV3
22691
22691
  */
22692
22692
  export function addHostAccessRequest(
@@ -22713,7 +22713,7 @@ declare namespace chrome {
22713
22713
  /**
22714
22714
  * 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
22715
22715
  *
22716
- * @since Pending
22716
+ * @since Chrome 133
22717
22717
  * @chrome-min-manifest MV3
22718
22718
  */
22719
22719
  export function addHostAccessRequest(
@@ -22742,7 +22742,7 @@ declare namespace chrome {
22742
22742
  /**
22743
22743
  * Removes a host access request, if existent.
22744
22744
  *
22745
- * @since Pending
22745
+ * @since Chrome 133
22746
22746
  * @chrome-min-manifest MV3
22747
22747
  */
22748
22748
  export function removeHostAccessRequest(
@@ -22769,7 +22769,7 @@ declare namespace chrome {
22769
22769
  /**
22770
22770
  * Removes a host access request, if existent.
22771
22771
  *
22772
- * @since Pending
22772
+ * @since Chrome 133
22773
22773
  * @chrome-min-manifest MV3
22774
22774
  */
22775
22775
  export function removeHostAccessRequest(
@@ -24777,6 +24777,7 @@ declare namespace chrome {
24777
24777
  * @chrome-returns-extra since Chrome 99
24778
24778
  * @deprecated Background pages do not exist in MV3 extensions.
24779
24779
  * @chrome-disallow-service-workers
24780
+ * @chrome-deprecated-since Chrome 133
24780
24781
  */
24781
24782
  export function getBackgroundPage(): Promise<Window | undefined>;
24782
24783
 
@@ -24785,6 +24786,7 @@ declare namespace chrome {
24785
24786
  *
24786
24787
  * @deprecated Background pages do not exist in MV3 extensions.
24787
24788
  * @chrome-disallow-service-workers
24789
+ * @chrome-deprecated-since Chrome 133
24788
24790
  */
24789
24791
  export function getBackgroundPage(
24790
24792
 
@@ -34579,7 +34581,7 @@ declare namespace chrome {
34579
34581
  /**
34580
34582
  * Specifies the user script world ID to execute in. If omitted, the script will execute in the default user script world. Only valid if `world` is omitted or is `USER_SCRIPT`. Values with leading underscores (`_`) are reserved.
34581
34583
  *
34582
- * @since Pending
34584
+ * @since Chrome 133
34583
34585
  */
34584
34586
  worldId?: string;
34585
34587
  }
@@ -34597,7 +34599,7 @@ declare namespace chrome {
34597
34599
  /**
34598
34600
  * Specifies the ID of the specific user script world to update. If not provided, updates the properties of the default user script world. Values with leading underscores (`_`) are reserved.
34599
34601
  *
34600
- * @since Pending
34602
+ * @since Chrome 133
34601
34603
  */
34602
34604
  worldId?: string;
34603
34605
 
@@ -34732,7 +34734,7 @@ declare namespace chrome {
34732
34734
  /**
34733
34735
  * Retrieves all registered world configurations.
34734
34736
  *
34735
- * @since Pending
34737
+ * @since Chrome 133
34736
34738
  */
34737
34739
  export function getWorldConfigurations(): Promise<WorldProperties[]>;
34738
34740
 
@@ -34740,7 +34742,7 @@ declare namespace chrome {
34740
34742
  * Retrieves all registered world configurations.
34741
34743
  *
34742
34744
  * @param callback Called with the registered world configurations.
34743
- * @since Pending
34745
+ * @since Chrome 133
34744
34746
  */
34745
34747
  export function getWorldConfigurations(
34746
34748
 
@@ -34753,7 +34755,7 @@ declare namespace chrome {
34753
34755
  * Resets the configuration for a user script world. Any scripts that inject into the world with the specified ID will use the default world configuration.
34754
34756
  *
34755
34757
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
34756
- * @since Pending
34758
+ * @since Chrome 133
34757
34759
  */
34758
34760
  export function resetWorldConfiguration(
34759
34761
 
@@ -34765,7 +34767,7 @@ declare namespace chrome {
34765
34767
  *
34766
34768
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
34767
34769
  * @param callback Called when the configuration is reset.
34768
- * @since Pending
34770
+ * @since Chrome 133
34769
34771
  */
34770
34772
  export function resetWorldConfiguration(
34771
34773
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Jan 24 2025 22:30:37 GMT+0000 (Coordinated Universal Time)
18
- // Built at 0267fd33f0662227f553f6a9194474b95e52bf5d
17
+ // Generated on Mon Feb 03 2025 22:31:35 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8520,7 +8520,7 @@ declare namespace chrome {
8520
8520
  /**
8521
8521
  * Implements the WebCrypto's [SubtleCrypto](https://www.w3.org/TR/WebCryptoAPI/#subtlecrypto-interface) interface. The cryptographic operations, including key generation, are hardware-backed.
8522
8522
  *
8523
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 134+) 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 are supported since Chrome version 134 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8523
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) 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 are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8524
8524
  *
8525
8525
  * 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.
8526
8526
  */
@@ -8529,7 +8529,7 @@ declare namespace chrome {
8529
8529
  /**
8530
8530
  * 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.
8531
8531
  *
8532
- * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 134+) 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 are supported since Chrome version 134 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8532
+ * Only non-extractable keys can be generated. The supported key types are RSASSA-PKCS1-V1\_5 and RSA-OAEP (on Chrome versions 135+) 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 are supported since Chrome version 135 and can be used by extensions allowlisted through that same policy to unwrap other keys.
8533
8533
  *
8534
8534
  * 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.
8535
8535
  *
@@ -17431,7 +17431,7 @@ declare namespace chrome {
17431
17431
  /**
17432
17432
  * 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
17433
17433
  *
17434
- * @since Pending
17434
+ * @since Chrome 133
17435
17435
  * @chrome-min-manifest MV3
17436
17436
  */
17437
17437
  export function addHostAccessRequest(
@@ -17458,7 +17458,7 @@ declare namespace chrome {
17458
17458
  /**
17459
17459
  * 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
17460
17460
  *
17461
- * @since Pending
17461
+ * @since Chrome 133
17462
17462
  * @chrome-min-manifest MV3
17463
17463
  */
17464
17464
  export function addHostAccessRequest(
@@ -17487,7 +17487,7 @@ declare namespace chrome {
17487
17487
  /**
17488
17488
  * Removes a host access request, if existent.
17489
17489
  *
17490
- * @since Pending
17490
+ * @since Chrome 133
17491
17491
  * @chrome-min-manifest MV3
17492
17492
  */
17493
17493
  export function removeHostAccessRequest(
@@ -17514,7 +17514,7 @@ declare namespace chrome {
17514
17514
  /**
17515
17515
  * Removes a host access request, if existent.
17516
17516
  *
17517
- * @since Pending
17517
+ * @since Chrome 133
17518
17518
  * @chrome-min-manifest MV3
17519
17519
  */
17520
17520
  export function removeHostAccessRequest(
@@ -19511,6 +19511,7 @@ declare namespace chrome {
19511
19511
  * @chrome-returns-extra since Chrome 99
19512
19512
  * @deprecated Background pages do not exist in MV3 extensions.
19513
19513
  * @chrome-disallow-service-workers
19514
+ * @chrome-deprecated-since Chrome 133
19514
19515
  */
19515
19516
  export function getBackgroundPage(): Promise<Window | undefined>;
19516
19517
 
@@ -19519,6 +19520,7 @@ declare namespace chrome {
19519
19520
  *
19520
19521
  * @deprecated Background pages do not exist in MV3 extensions.
19521
19522
  * @chrome-disallow-service-workers
19523
+ * @chrome-deprecated-since Chrome 133
19522
19524
  */
19523
19525
  export function getBackgroundPage(
19524
19526
 
@@ -27385,7 +27387,7 @@ declare namespace chrome {
27385
27387
  /**
27386
27388
  * Specifies the user script world ID to execute in. If omitted, the script will execute in the default user script world. Only valid if `world` is omitted or is `USER_SCRIPT`. Values with leading underscores (`_`) are reserved.
27387
27389
  *
27388
- * @since Pending
27390
+ * @since Chrome 133
27389
27391
  */
27390
27392
  worldId?: string;
27391
27393
  }
@@ -27403,7 +27405,7 @@ declare namespace chrome {
27403
27405
  /**
27404
27406
  * Specifies the ID of the specific user script world to update. If not provided, updates the properties of the default user script world. Values with leading underscores (`_`) are reserved.
27405
27407
  *
27406
- * @since Pending
27408
+ * @since Chrome 133
27407
27409
  */
27408
27410
  worldId?: string;
27409
27411
 
@@ -27538,7 +27540,7 @@ declare namespace chrome {
27538
27540
  /**
27539
27541
  * Retrieves all registered world configurations.
27540
27542
  *
27541
- * @since Pending
27543
+ * @since Chrome 133
27542
27544
  */
27543
27545
  export function getWorldConfigurations(): Promise<WorldProperties[]>;
27544
27546
 
@@ -27546,7 +27548,7 @@ declare namespace chrome {
27546
27548
  * Retrieves all registered world configurations.
27547
27549
  *
27548
27550
  * @param callback Called with the registered world configurations.
27549
- * @since Pending
27551
+ * @since Chrome 133
27550
27552
  */
27551
27553
  export function getWorldConfigurations(
27552
27554
 
@@ -27559,7 +27561,7 @@ declare namespace chrome {
27559
27561
  * Resets the configuration for a user script world. Any scripts that inject into the world with the specified ID will use the default world configuration.
27560
27562
  *
27561
27563
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
27562
- * @since Pending
27564
+ * @since Chrome 133
27563
27565
  */
27564
27566
  export function resetWorldConfiguration(
27565
27567
 
@@ -27571,7 +27573,7 @@ declare namespace chrome {
27571
27573
  *
27572
27574
  * @param worldId The ID of the user script world to reset. If omitted, resets the default world's configuration.
27573
27575
  * @param callback Called when the configuration is reset.
27574
- * @since Pending
27576
+ * @since Chrome 133
27575
27577
  */
27576
27578
  export function resetWorldConfiguration(
27577
27579
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "560758d4ed75fee7"
8
+ "build-hash": "79f7aa3dd25fef8e"
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.334"
19
+ "version": "0.1.336"
20
20
  }