neon 8.18.1 → 8.19.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.
|
@@ -101,7 +101,8 @@ const EMAIL_PASSWORD_FIELDS = [
|
|
|
101
101
|
"auto_sign_in_after_verification",
|
|
102
102
|
"send_verification_email_on_sign_up",
|
|
103
103
|
"send_verification_email_on_sign_in",
|
|
104
|
-
"disable_sign_up"
|
|
104
|
+
"disable_sign_up",
|
|
105
|
+
"revoke_sessions_on_password_reset"
|
|
105
106
|
];
|
|
106
107
|
const EMAIL_PROVIDER_FIELDS = [
|
|
107
108
|
"type",
|
|
@@ -333,6 +334,10 @@ const builder = (argv) => {
|
|
|
333
334
|
"disable-sign-up": {
|
|
334
335
|
describe: "Disable new user sign ups",
|
|
335
336
|
type: "boolean"
|
|
337
|
+
},
|
|
338
|
+
"revoke-sessions-on-password-reset": {
|
|
339
|
+
describe: "Revoke all of a user's sessions when their password is reset",
|
|
340
|
+
type: "boolean"
|
|
336
341
|
}
|
|
337
342
|
}), async (args) => {
|
|
338
343
|
await emailPasswordUpdate(args);
|
|
@@ -825,7 +830,8 @@ const printEmailPasswordEntries = (data) => [
|
|
|
825
830
|
["Auto Sign In After Verify: ", String(data.auto_sign_in_after_verification)],
|
|
826
831
|
["Send Email On Sign Up: ", String(data.send_verification_email_on_sign_up)],
|
|
827
832
|
["Send Email On Sign In: ", String(data.send_verification_email_on_sign_in)],
|
|
828
|
-
["Disable Sign Up:", String(data.disable_sign_up)]
|
|
833
|
+
["Disable Sign Up:", String(data.disable_sign_up)],
|
|
834
|
+
["Revoke Sessions On Reset:", String(data.revoke_sessions_on_password_reset)]
|
|
829
835
|
];
|
|
830
836
|
const emailPasswordGet = async (props) => {
|
|
831
837
|
const branchId = await resolveBranch(props);
|
|
@@ -845,7 +851,8 @@ const emailPasswordUpdate = async (props) => {
|
|
|
845
851
|
auto_sign_in_after_verification: props.autoSignInAfterVerification,
|
|
846
852
|
send_verification_email_on_sign_up: props.sendVerificationEmailOnSignUp,
|
|
847
853
|
send_verification_email_on_sign_in: props.sendVerificationEmailOnSignIn,
|
|
848
|
-
disable_sign_up: props.disableSignUp
|
|
854
|
+
disable_sign_up: props.disableSignUp,
|
|
855
|
+
revoke_sessions_on_password_reset: props.revokeSessionsOnPasswordReset
|
|
849
856
|
});
|
|
850
857
|
if (props.output === "json" || props.output === "yaml") {
|
|
851
858
|
writer(props).end(data, { fields: EMAIL_PASSWORD_FIELDS });
|
package/dist/commands/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import { a as init_exports } from "../_chunks/init-D2fClHtC.js";
|
|
|
29
29
|
import { o as inspect_exports } from "../_chunks/inspect-yFAb61qo.js";
|
|
30
30
|
import { a as ip_allow_exports } from "../_chunks/ip_allow-DBdxNEUa.js";
|
|
31
31
|
import { l as logs_exports } from "../_chunks/logs-BB4uvblR.js";
|
|
32
|
-
import { a as neon_auth_exports } from "../_chunks/neon_auth-
|
|
32
|
+
import { a as neon_auth_exports } from "../_chunks/neon_auth-C1CgNTGP.js";
|
|
33
33
|
import { a as open_exports } from "../_chunks/open-T2nI89Oh.js";
|
|
34
34
|
import { s as operations_exports } from "../_chunks/operations-CzaR_uqx.js";
|
|
35
35
|
import { o as orgs_exports } from "../_chunks/orgs-Dpbr-K0A.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/neon_auth-
|
|
1
|
+
export { t as builder, n as command, r as describe, i as handler } from "../_chunks/neon_auth-C1CgNTGP.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neon",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.19.0",
|
|
4
4
|
"description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neon",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"yaml": "^2.9.0",
|
|
74
74
|
"yargs": "17.7.2",
|
|
75
75
|
"yoctocolors": "^2.1.2",
|
|
76
|
-
"@neon/config
|
|
76
|
+
"@neon/config": "1.10.3",
|
|
77
|
+
"@neon/config-runtime": "1.11.3",
|
|
77
78
|
"@neon/realtime": "0.1.2",
|
|
78
|
-
"@neon/sdk": "7.8.
|
|
79
|
-
"@neon/config": "1.10.2"
|
|
79
|
+
"@neon/sdk": "7.8.1"
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
82
|
"@napi-rs/keyring": "1.3.0",
|
|
@@ -113,9 +113,9 @@
|
|
|
113
113
|
"typescript": "^5.9.0",
|
|
114
114
|
"vitest": "^3.0.9",
|
|
115
115
|
"@neon-internals/cli-core": "0.0.0",
|
|
116
|
-
"@neon-internals/env-core": "0.0.
|
|
116
|
+
"@neon-internals/env-core": "0.0.41",
|
|
117
117
|
"@neon/e2e-harness": "0.0.0",
|
|
118
|
-
"@neon/env": "1.6.
|
|
118
|
+
"@neon/env": "1.6.11",
|
|
119
119
|
"@neon/functions": "0.11.0"
|
|
120
120
|
},
|
|
121
121
|
"publishConfig": {
|