@taskcluster/client-web 110.0.0 → 111.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskcluster/client-web",
3
- "version": "110.0.0",
3
+ "version": "111.0.0",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "exports": "./src/index.js",
@@ -17,17 +17,18 @@
17
17
  "test": "vitest run"
18
18
  },
19
19
  "devDependencies": {
20
- "@biomejs/biome": "^2.5.10",
21
- "@vitest/browser": "^4.1.11",
22
- "@vitest/browser-playwright": "^4.1.11",
20
+ "@biomejs/biome": "^2.5.14",
21
+ "@vitest/browser": "^5.0.1",
22
+ "@vitest/browser-playwright": "^5.0.1",
23
23
  "playwright": "1.62.1",
24
+ "vite": "^8.2.2",
24
25
  "vite-plugin-node-polyfills": "^0.28.0",
25
- "vitest": "^4.1.11"
26
+ "vitest": "^5.0.1"
26
27
  },
27
28
  "dependencies": {
28
29
  "crypto-js": "^4.2.0",
29
30
  "hawk": "^9.0.2",
30
- "query-string": "^9.5.0",
31
+ "query-string": "^9.5.1",
31
32
  "taskcluster-lib-urls": "^13.1.0"
32
33
  },
33
34
  "publishConfig": {
@@ -15,7 +15,7 @@ export default class PurgeCache extends Client {
15
15
  this.version.entry = {"args":[],"category":"Monitoring","method":"get","name":"version","query":[],"route":"/__version__","stability":"stable","type":"function"};
16
16
  this.purgeCache.entry = {"args":["workerPoolId"],"category":"Purge-Cache Service","input":true,"method":"post","name":"purgeCache","query":[],"route":"/purge-cache/<workerPoolId>","scopes":"purge-cache:<workerPoolId>:<cacheName>","stability":"stable","type":"function"};
17
17
  this.allPurgeRequests.entry = {"args":[],"category":"Purge-Cache Service","method":"get","name":"allPurgeRequests","output":true,"query":["continuationToken","limit"],"route":"/purge-cache/list","scopes":"purge-cache:all-purge-requests","stability":"stable","type":"function"};
18
- this.purgeRequests.entry = {"args":["workerPoolId"],"category":"Purge-Cache Service","method":"get","name":"purgeRequests","output":true,"query":["since"],"route":"/purge-cache/<workerPoolId>","scopes":"purge-cache:purge-requests::<workerPoolId>","stability":"stable","type":"function"};
18
+ this.purgeRequests.entry = {"args":["workerPoolId"],"category":"Purge-Cache Service","method":"get","name":"purgeRequests","output":true,"query":["since"],"route":"/purge-cache/<workerPoolId>","scopes":"purge-cache:purge-requests:<workerPoolId>","stability":"stable","type":"function"};
19
19
  this.heartbeat.entry = {"args":[],"category":"Monitoring","method":"get","name":"heartbeat","query":[],"route":"/__heartbeat__","stability":"stable","type":"function"};
20
20
  }
21
21
  // Respond without doing anything.
@@ -166,6 +166,10 @@ export default class WorkerManager extends Client {
166
166
  // Create a new worker. This is only useful for worker pools where the provider
167
167
  // does not create workers automatically, such as those with a `static` provider
168
168
  // type. Providers that do not support creating workers will return a 400 error.
169
+ // Worker IDs cannot be reused after removal.
170
+ // If the ID belongs to a stopped worker or conflicts with an existing worker,
171
+ // this method returns a 409 error.
172
+ // Use `updateWorker` to modify an existing worker instead.
169
173
  // See the documentation for the individual providers, and in particular the
170
174
  // [static provider](https://docs.taskcluster.net/docs/reference/core/worker-manager/)
171
175
  // for more information.