@taskcluster/client 113.2.0 → 115.0.1

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 (2) hide show
  1. package/package.json +5 -5
  2. package/src/apis.js +18 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskcluster/client",
3
- "version": "113.2.0",
3
+ "version": "115.0.1",
4
4
  "author": "Jonas Finnemann Jensen <jopsen@gmail.com>",
5
5
  "description": "Client for interfacing taskcluster components",
6
6
  "license": "MPL-2.0",
@@ -14,16 +14,16 @@
14
14
  "got": "^16.0.0",
15
15
  "hawk": "^9.0.1",
16
16
  "lodash": "^4.17.4",
17
- "slugid": "^5.0.1",
17
+ "slugid": "^6.0.0",
18
18
  "taskcluster-lib-urls": "^13.0.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "http-proxy": "^1.18.0",
22
- "mocha": "^12.0.2",
23
- "nock": "^14.0.13"
22
+ "mocha": "^12.0.3",
23
+ "nock": "^15.0.5"
24
24
  },
25
25
  "engines": {
26
- "node": "^24"
26
+ "node": "^26"
27
27
  },
28
28
  "type": "module",
29
29
  "files": [
package/src/apis.js CHANGED
@@ -497,6 +497,22 @@ export default {
497
497
  "title": "Get Temporary GCP Credentials",
498
498
  "type": "function"
499
499
  },
500
+ {
501
+ "args": [
502
+ ],
503
+ "category": "Github Credentials",
504
+ "description": "List the github apps usable with `githubRepoToken`.",
505
+ "method": "get",
506
+ "name": "listGithubApps",
507
+ "output": "v1/list-github-apps-response.json#",
508
+ "query": [
509
+ ],
510
+ "route": "/github/apps",
511
+ "scopes": "auth:list-github-apps",
512
+ "stability": "experimental",
513
+ "title": "List configured github apps",
514
+ "type": "function"
515
+ },
500
516
  {
501
517
  "args": [
502
518
  "appName",
@@ -1638,7 +1654,7 @@ export default {
1638
1654
  "name"
1639
1655
  ],
1640
1656
  "category": "Index Service",
1641
- "description": "Find a task by index path and redirect to the artifact on the most recent\nrun with the given `name`.\n\nNote that multiple calls to this endpoint may return artifacts from differen tasks\nif a new task is inserted into the index between calls. Avoid using this method as\na stable link to multiple, connected files if the index path does not contain a\nunique identifier. For example, the following two links may return unrelated files:\n* https://tc.example.com/api/index/v1/task/some-app.win64.latest.installer/artifacts/public/installer.exe`\n* https://tc.example.com/api/index/v1/task/some-app.win64.latest.installer/artifacts/public/debug-symbols.zip`\n\nThis problem be remedied by including the revision in the index path or by bundling both\ninstaller and debug symbols into a single artifact.\n\nIf no task exists for the given index path, this API end-point responds with 404.",
1657
+ "description": "Find a task by index path and redirect to the artifact on the most recent\nrun with the given `name`.\n\nNote that multiple calls to this endpoint may return artifacts from differen tasks\nif a new task is inserted into the index between calls. Avoid using this method as\na stable link to multiple, connected files if the index path does not contain a\nunique identifier. For example, the following two links may return unrelated files:\n* https://tc.example.com/api/index/v1/task/some-app.win64.latest.installer/artifacts/public/installer.exe`\n* https://tc.example.com/api/index/v1/task/some-app.win64.latest.installer/artifacts/public/debug-symbols.zip`\n\nThis problem be remedied by including the revision in the index path or by bundling both\ninstaller and debug symbols into a single artifact.\n\nIf the artifact is a `link` artifact, the link is resolved using the caller's own\n`queue:get-artifact:*` scopes rather than the index service's, so a link is only\nfollowed if the caller could also read its target directly.\n\nIf no task exists for the given index path, this API end-point responds with 404.",
1642
1658
  "method": "get",
1643
1659
  "name": "findArtifactFromTask",
1644
1660
  "query": [
@@ -5013,7 +5029,7 @@ export default {
5013
5029
  "summary": "Space reserved for future routing-key entries, you should always match this entry with `#`. As automatically done by our tooling, if not specified."
5014
5030
  }
5015
5031
  ],
5016
- "schema": "v1/pulse-worker-message.json#",
5032
+ "schema": "v1/pulse-worker-stopped-message.json#",
5017
5033
  "title": "Worker Stopped Messages",
5018
5034
  "type": "topic-exchange"
5019
5035
  },