@taskcluster/client-web 100.3.0 → 100.4.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 +1 -1
- package/src/clients/Auth.js +1 -1
- package/src/clients/Hooks.js +2 -2
- package/src/clients/Secrets.js +2 -2
- package/src/emitter.js +3 -1
package/package.json
CHANGED
package/src/clients/Auth.js
CHANGED
|
@@ -381,7 +381,7 @@ export default class Auth extends Client {
|
|
|
381
381
|
// Get a temporary token suitable for use connecting to a
|
|
382
382
|
// [websocktunnel](https://github.com/taskcluster/taskcluster/tree/main/tools/websocktunnel) server.
|
|
383
383
|
// The resulting token will only be accepted by servers with a matching audience
|
|
384
|
-
// value. Reaching such a server is the
|
|
384
|
+
// value. Reaching such a server is the caller's responsibility. In general,
|
|
385
385
|
// a server URL or set of URLs should be provided to the caller as configuration
|
|
386
386
|
// along with the audience value.
|
|
387
387
|
// The token is valid for a limited time (on the scale of hours). Callers should
|
package/src/clients/Hooks.js
CHANGED
|
@@ -120,7 +120,7 @@ export default class Hooks extends Client {
|
|
|
120
120
|
}
|
|
121
121
|
/* eslint-disable max-len */
|
|
122
122
|
// This endpoint will trigger the creation of a task from a hook definition.
|
|
123
|
-
// The HTTP payload must match the
|
|
123
|
+
// The HTTP payload must match the hook's `triggerSchema`. If it does, it is
|
|
124
124
|
// provided as the `payload` property of the JSON-e context used to render the
|
|
125
125
|
// task template.
|
|
126
126
|
// Optionally, a `taskId` can be provided in the payload which the hook task
|
|
@@ -151,7 +151,7 @@ export default class Hooks extends Client {
|
|
|
151
151
|
}
|
|
152
152
|
/* eslint-disable max-len */
|
|
153
153
|
// This endpoint triggers a defined hook with a valid token.
|
|
154
|
-
// The HTTP payload must match the
|
|
154
|
+
// The HTTP payload must match the hook's `triggerSchema`. If it does, it is
|
|
155
155
|
// provided as the `payload` property of the JSON-e context used to render the
|
|
156
156
|
// task template.
|
|
157
157
|
// Optionally, a `taskId` can be provided in the payload which the hook task
|
package/src/clients/Secrets.js
CHANGED
|
@@ -77,10 +77,10 @@ export default class Secrets extends Client {
|
|
|
77
77
|
/* eslint-disable max-len */
|
|
78
78
|
// List the names of all secrets.
|
|
79
79
|
// By default this end-point will try to return up to 1000 secret names in one
|
|
80
|
-
// request. But it **may return less**, even if more
|
|
80
|
+
// request. But it **may return less**, even if more secrets are available.
|
|
81
81
|
// It may also return a `continuationToken` even though there are no more
|
|
82
82
|
// results. However, you can only be sure to have seen all results if you
|
|
83
|
-
// keep calling `
|
|
83
|
+
// keep calling `list` with the last `continuationToken` until you
|
|
84
84
|
// get a result without a `continuationToken`.
|
|
85
85
|
// If you are not interested in listing all the members at once, you may
|
|
86
86
|
// use the query-string option `limit` to return fewer.
|