picked 0.0.121-next.1 → 0.0.121

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.
@@ -86,7 +86,8 @@ Picked gets a new token and sends the request again when these are all true:
86
86
  - The token is older than 60 seconds.
87
87
  - The credential has no 401 rule, or the rule applies to the body of the answer.
88
88
 
89
- The second request has the same `Idempotency-Key`. Its answer is the result of the node.
89
+ The second request has the same `Idempotency-Key`, if the node sends one. Its answer is the
90
+ result of the node.
90
91
 
91
92
  If Picked cannot get a new token, the node fails with `credential_rejected` or
92
93
  `credential_refresh_failed`. Then `nodes.<node-id>.status`, `ok` and `body` keep the 401
@@ -104,6 +105,7 @@ answer.
104
105
  | `retry` | on for `GET`, `HEAD`, `PUT` and `DELETE`; off for `POST` and `PATCH` | Whether to send the request again after a failed connection, an unknown host, or a status of 408, 429 or 500 to 599. |
105
106
  | `failOnErrorStatus` | on | Whether a status outside 200 to 299 fails the node. |
106
107
  | `recordBody` | on | Whether to record the answer's body. |
108
+ | `idempotencyKey` | off | Whether to send the `Idempotency-Key` header. Set it to on when the API accepts it. |
107
109
 
108
110
  ## Output
109
111
 
@@ -368,8 +368,11 @@ type Project {
368
368
  last: Int
369
369
  before: String
370
370
  ): SavedViewConnection! @auth
371
- """The preview environments of the project, oldest first."""
372
- previewEnvironments: [ProjectPreviewEnvironment!]!
371
+ """
372
+ The preview environments of the project, oldest first.
373
+ Scope: `ORGANIZATION_PROJECTS_READ`.
374
+ """
375
+ previewEnvironments: [ProjectPreviewEnvironment!]! @auth
373
376
  }
374
377
  ```
375
378
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "picked",
3
3
  "description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
4
- "version": "0.0.121-next.1",
4
+ "version": "0.0.121",
5
5
  "bin": {
6
6
  "picked": "dist/esm/bin.js"
7
7
  },
8
8
  "dependencies": {
9
- "@picked/cli": "0.0.121-next.1",
10
- "@picked/config": "0.0.121-next.1"
9
+ "@picked/cli": "0.0.121",
10
+ "@picked/config": "0.0.121"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@picked/client": "workspace:*",
@@ -73,7 +73,7 @@
73
73
  "main": "./dist/cjs/index.js",
74
74
  "module": "./dist/esm/index.js",
75
75
  "peerDependencies": {
76
- "@picked/client": "0.0.121-next.1"
76
+ "@picked/client": "0.0.121"
77
77
  },
78
78
  "private": false,
79
79
  "publishConfig": {