picked 0.0.120-next.3 → 0.0.120-next.4

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.
@@ -49,6 +49,7 @@ operation, or MFA. They match the `AuthErrorCode` enum in the schema.
49
49
  | `EMAIL_NOT_CONFIRMED` | The account is there, but nobody verified the email address. See [Authentication](/reference/management-api/authentication#the-mutations). |
50
50
  | `USER_NOT_FOUND` | There is no account with that email address. |
51
51
  | `USER_ALREADY_EXISTS` | An account with that email address is there already. The API returns this when you create an account. |
52
+ | `SIGNUP_DISABLED` | Picked does not accept a new account for this request. The `accountCreate` mutation does not return this code: it gives the same result for each email address. |
52
53
  | `WEAK_PASSWORD` | The password is not strong enough. |
53
54
  | `INVALID_TOKEN` | The token is invalid or malformed. This covers a verification token, a reset token, and a magic link token. |
54
55
  | `TOKEN_EXPIRED` | The token expired. Ask for a new one. |
@@ -227,6 +227,8 @@ enum AuthErrorCode {
227
227
  USER_NOT_FOUND
228
228
  """A user with the email address already exists."""
229
229
  USER_ALREADY_EXISTS
230
+ """Sign-up refused to create a new user."""
231
+ SIGNUP_DISABLED
230
232
  """The password does not meet the strength rules."""
231
233
  WEAK_PASSWORD
232
234
  """The token or code is invalid."""
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.120-next.3",
4
+ "version": "0.0.120-next.4",
5
5
  "bin": {
6
6
  "picked": "dist/esm/bin.js"
7
7
  },
8
8
  "dependencies": {
9
- "@picked/cli": "0.0.120-next.3",
10
- "@picked/config": "0.0.120-next.3"
9
+ "@picked/cli": "0.0.120-next.4",
10
+ "@picked/config": "0.0.120-next.4"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@picked/client": "workspace:*",
@@ -74,7 +74,7 @@
74
74
  "main": "./dist/cjs/index.js",
75
75
  "module": "./dist/esm/index.js",
76
76
  "peerDependencies": {
77
- "@picked/client": "0.0.120-next.3"
77
+ "@picked/client": "0.0.120-next.4"
78
78
  },
79
79
  "private": false,
80
80
  "publishConfig": {