@taskcluster/client 111.0.0 → 113.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",
3
- "version": "111.0.0",
3
+ "version": "113.0.0",
4
4
  "author": "Jonas Finnemann Jensen <jopsen@gmail.com>",
5
5
  "description": "Client for interfacing taskcluster components",
6
6
  "license": "MPL-2.0",
package/src/apis.js CHANGED
@@ -4050,7 +4050,7 @@ export default {
4050
4050
  "reference": {
4051
4051
  "$schema": "/schemas/common/api-reference-v0.json#",
4052
4052
  "apiVersion": "v1",
4053
- "description": "The web-server service provides a GraphQL gateway to Taskcluster APIs,\nas well as profiler endpoints that generate Firefox Profiler–compatible\nprofiles from task group metadata and task logs.",
4053
+ "description": "The web-server service handles user login and Pulse message streaming\nfor the Taskcluster UI, as well as profiler endpoints that generate Firefox Profiler–compatible\nprofiles from task group metadata and task logs.",
4054
4054
  "entries": [
4055
4055
  {
4056
4056
  "args": [
package/src/client.js CHANGED
@@ -428,6 +428,9 @@ export const createClient = (reference, name) => {
428
428
  err.body = res.body;
429
429
  err.code = res.body.code || 'UnknownError';
430
430
  err.statusCode = res.statusCode;
431
+ if (res.statusCode === 503 && err.code === 'ServiceUnavailable') {
432
+ err.overCapacity = true;
433
+ }
431
434
 
432
435
  // Decide if we should retry or just throw
433
436
  if (