chrome-types 0.1.69 → 0.1.73

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 +9 -8
  2. package/index.d.ts +9 -8
  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 Mon Nov 15 2021 22:28:43 GMT+0000 (Coordinated Universal Time)
18
- // Built at 817d95eeb15dcc6250ebcf0fa2fc0cde98f8b065
17
+ // Generated on Tue Nov 30 2021 22:30:35 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 31f0caa685a9d6e1b75493e13c7e501cdd4ca980
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -11908,7 +11908,7 @@ declare namespace chrome {
11908
11908
  ): void;
11909
11909
 
11910
11910
  /**
11911
- * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the the enterprise policy, returns an empty string.
11911
+ * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string.
11912
11912
  *
11913
11913
  * @chrome-returns-extra since Pending
11914
11914
  * @since Chrome 82
@@ -11916,7 +11916,7 @@ declare namespace chrome {
11916
11916
  export function getDeviceHostname(): Promise<string>;
11917
11917
 
11918
11918
  /**
11919
- * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the the enterprise policy, returns an empty string.
11919
+ * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string.
11920
11920
  *
11921
11921
  * @param callback Called with hostname of the device.
11922
11922
  * @since Chrome 82
@@ -12990,6 +12990,7 @@ declare namespace chrome {
12990
12990
  * @chrome-permission fileBrowserHandler
12991
12991
  * @chrome-disallow-service-workers
12992
12992
  * @chrome-platform chromeos
12993
+ * @chrome-platform lacros
12993
12994
  */
12994
12995
  export namespace fileBrowserHandler {
12995
12996
 
@@ -21371,7 +21372,7 @@ declare namespace chrome {
21371
21372
  /**
21372
21373
  * The maximum number of times that {@link submitJob} can be called per minute.
21373
21374
  */
21374
- export const MAX_SUBMIT_JOB_CALLS_PER_MINUTE: 20;
21375
+ export const MAX_SUBMIT_JOB_CALLS_PER_MINUTE: 40;
21375
21376
 
21376
21377
  /**
21377
21378
  * The maximum number of times that {@link getPrinterInfo} can be called per minute.
@@ -22858,7 +22859,7 @@ declare namespace chrome {
22858
22859
  }
22859
22860
 
22860
22861
  /**
22861
- * Injects a script into a target context. The script will be run at `document_idle`.
22862
+ * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
22862
22863
  *
22863
22864
  * @chrome-returns-extra since Pending
22864
22865
  * @param injection The details of the script which to inject.
@@ -22869,7 +22870,7 @@ declare namespace chrome {
22869
22870
  ): Promise<InjectionResult[]>;
22870
22871
 
22871
22872
  /**
22872
- * Injects a script into a target context. The script will be run at `document_idle`.
22873
+ * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
22873
22874
  *
22874
22875
  * @param injection The details of the script which to inject.
22875
22876
  * @param callback Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.
@@ -27120,7 +27121,7 @@ declare namespace chrome {
27120
27121
  /**
27121
27122
  * The group's color.
27122
27123
  */
27123
- export type Color = "grey" | "blue" | "red" | "yellow" | "green" | "pink" | "purple" | "cyan";
27124
+ export type Color = "grey" | "blue" | "red" | "yellow" | "green" | "pink" | "purple" | "cyan" | "orange";
27124
27125
 
27125
27126
  export interface TabGroup {
27126
27127
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Nov 15 2021 22:28:38 GMT+0000 (Coordinated Universal Time)
18
- // Built at 817d95eeb15dcc6250ebcf0fa2fc0cde98f8b065
17
+ // Generated on Tue Nov 30 2021 22:30:29 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 31f0caa685a9d6e1b75493e13c7e501cdd4ca980
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -7879,7 +7879,7 @@ declare namespace chrome {
7879
7879
  ): void;
7880
7880
 
7881
7881
  /**
7882
- * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the the enterprise policy, returns an empty string.
7882
+ * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string.
7883
7883
  *
7884
7884
  * @chrome-returns-extra since Pending
7885
7885
  * @since Chrome 82
@@ -7887,7 +7887,7 @@ declare namespace chrome {
7887
7887
  export function getDeviceHostname(): Promise<string>;
7888
7888
 
7889
7889
  /**
7890
- * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the the enterprise policy, returns an empty string.
7890
+ * Fetches the device's hostname as set by DeviceHostnameTemplate policy. If the current user is not affiliated or no hostname has been set by the enterprise policy, returns an empty string.
7891
7891
  *
7892
7892
  * @param callback Called with hostname of the device.
7893
7893
  * @since Chrome 82
@@ -8856,6 +8856,7 @@ declare namespace chrome {
8856
8856
  * @chrome-permission fileBrowserHandler
8857
8857
  * @chrome-disallow-service-workers
8858
8858
  * @chrome-platform chromeos
8859
+ * @chrome-platform lacros
8859
8860
  */
8860
8861
  export namespace fileBrowserHandler {
8861
8862
 
@@ -14293,7 +14294,7 @@ declare namespace chrome {
14293
14294
  /**
14294
14295
  * The maximum number of times that {@link submitJob} can be called per minute.
14295
14296
  */
14296
- export const MAX_SUBMIT_JOB_CALLS_PER_MINUTE: 20;
14297
+ export const MAX_SUBMIT_JOB_CALLS_PER_MINUTE: 40;
14297
14298
 
14298
14299
  /**
14299
14300
  * The maximum number of times that {@link getPrinterInfo} can be called per minute.
@@ -15769,7 +15770,7 @@ declare namespace chrome {
15769
15770
  }
15770
15771
 
15771
15772
  /**
15772
- * Injects a script into a target context. The script will be run at `document_idle`.
15773
+ * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
15773
15774
  *
15774
15775
  * @chrome-returns-extra since Pending
15775
15776
  * @param injection The details of the script which to inject.
@@ -15780,7 +15781,7 @@ declare namespace chrome {
15780
15781
  ): Promise<InjectionResult[]>;
15781
15782
 
15782
15783
  /**
15783
- * Injects a script into a target context. The script will be run at `document_idle`.
15784
+ * Injects a script into a target context. The script will be run at `document_idle`. If the script evaluates to a promise, the browser will wait for the promise to settle and return the resulting value.
15784
15785
  *
15785
15786
  * @param injection The details of the script which to inject.
15786
15787
  * @param callback Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.
@@ -17569,7 +17570,7 @@ declare namespace chrome {
17569
17570
  /**
17570
17571
  * The group's color.
17571
17572
  */
17572
- export type Color = "grey" | "blue" | "red" | "yellow" | "green" | "pink" | "purple" | "cyan";
17573
+ export type Color = "grey" | "blue" | "red" | "yellow" | "green" | "pink" | "purple" | "cyan" | "orange";
17573
17574
 
17574
17575
  export interface TabGroup {
17575
17576
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "e5f7fa7b0666cc78"
8
+ "build-hash": "70ec3a15fa5e165a"
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.69"
19
+ "version": "0.1.73"
20
20
  }