chrome-types 0.1.336 → 0.1.337

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 +26 -2
  2. package/index.d.ts +26 -2
  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 Feb 03 2025 22:31:39 GMT+0000 (Coordinated Universal Time)
18
- // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
17
+ // Generated on Tue Feb 04 2025 22:31:15 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a0698282be741d934273bc95ecab6b021562fa6e
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -23368,6 +23368,30 @@ declare namespace chrome {
23368
23368
  response: GetPrinterInfoResponse,
23369
23369
  ) => void,
23370
23370
  ): void;
23371
+
23372
+ /**
23373
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
23374
+ *
23375
+ * @since Pending
23376
+ */
23377
+ export function getJobStatus(
23378
+
23379
+ jobId: string,
23380
+ ): Promise<JobStatus>;
23381
+
23382
+ /**
23383
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
23384
+ *
23385
+ * @since Pending
23386
+ */
23387
+ export function getJobStatus(
23388
+
23389
+ jobId: string,
23390
+
23391
+ callback?: (
23392
+ status: JobStatus,
23393
+ ) => void,
23394
+ ): void;
23371
23395
  }
23372
23396
 
23373
23397
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Feb 03 2025 22:31:35 GMT+0000 (Coordinated Universal Time)
18
- // Built at 690544aa3a2bbafffbffebf631ec8033ecd1754d
17
+ // Generated on Tue Feb 04 2025 22:31:10 GMT+0000 (Coordinated Universal Time)
18
+ // Built at a0698282be741d934273bc95ecab6b021562fa6e
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -18113,6 +18113,30 @@ declare namespace chrome {
18113
18113
  response: GetPrinterInfoResponse,
18114
18114
  ) => void,
18115
18115
  ): void;
18116
+
18117
+ /**
18118
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
18119
+ *
18120
+ * @since Pending
18121
+ */
18122
+ export function getJobStatus(
18123
+
18124
+ jobId: string,
18125
+ ): Promise<JobStatus>;
18126
+
18127
+ /**
18128
+ * Returns the status of the print job. This call will fail with a runtime error if the print job with the given `jobId` doesn't exist. `jobId`: The id of the print job to return the status of. This should be the same id received in a {@link SubmitJobResponse}.
18129
+ *
18130
+ * @since Pending
18131
+ */
18132
+ export function getJobStatus(
18133
+
18134
+ jobId: string,
18135
+
18136
+ callback?: (
18137
+ status: JobStatus,
18138
+ ) => void,
18139
+ ): void;
18116
18140
  }
18117
18141
 
18118
18142
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "79f7aa3dd25fef8e"
8
+ "build-hash": "9ce516266b389ec2"
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.336"
19
+ "version": "0.1.337"
20
20
  }