@absolutejs/auth 0.57.6 → 0.57.7
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/README.md +4 -0
- package/dist/agents/index.js.map +6 -6
- package/dist/cli/migrate.js +21 -11
- package/dist/cli/migrate.js.map +11 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -11
- package/dist/index.js.map +17 -17
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/runner.d.ts +11 -2
- package/dist/oidc/index.js.map +2 -2
- package/dist/server.js +21 -11
- package/dist/server.js.map +18 -18
- package/dist/vault/index.js.map +2 -2
- package/package.json +58 -20
package/README.md
CHANGED
|
@@ -154,6 +154,10 @@ app.get('/documents', ({ protectAgent }) =>
|
|
|
154
154
|
|
|
155
155
|
Postgres and Neon registration/delegation stores are exported alongside the
|
|
156
156
|
in-memory stores. Include the `agents` migration block in production.
|
|
157
|
+
`runMigrations` uses its existing Neon-compatible pool when given
|
|
158
|
+
`databaseUrl`, or accepts an injected `MigrationClient` for standard Postgres
|
|
159
|
+
drivers. Injected clients remain owned by the caller and are not closed by the
|
|
160
|
+
migration runner.
|
|
157
161
|
|
|
158
162
|
For agents that need to create or link an account, configure
|
|
159
163
|
`agentAuth.agentRegistration` with an identity-registration store, access-token
|