@constructive-io/express-context 0.13.0 → 0.14.2
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 +5 -5
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -63,11 +63,11 @@ Each loader encapsulates a SQL query + type transform + per-databaseId LRU cache
|
|
|
63
63
|
|
|
64
64
|
| Loader | Source | Description |
|
|
65
65
|
|--------|--------|-------------|
|
|
66
|
-
| `rlsLoader` | `
|
|
67
|
-
| `corsLoader` | `
|
|
68
|
-
| `databaseSettingsLoader` | `
|
|
69
|
-
| `pubkeyLoader` | `
|
|
70
|
-
| `webauthnLoader` | `
|
|
66
|
+
| `rlsLoader` | `constructive_routing_public.rls_settings` | RLS module (authenticate functions, schema refs) |
|
|
67
|
+
| `corsLoader` | `constructive_routing_public.cors_settings` | CORS allowed origins |
|
|
68
|
+
| `databaseSettingsLoader` | `constructive_routing_public.database_settings` | Feature flags (aggregates, search, uploads, etc.) |
|
|
69
|
+
| `pubkeyLoader` | `constructive_routing_public.pubkey_settings` | Public key challenge auth settings |
|
|
70
|
+
| `webauthnLoader` | `constructive_routing_public.webauthn_settings` | WebAuthn/passkey configuration |
|
|
71
71
|
| `authSettingsLoader` | `metaschema_modules_public.sessions_module` | Cookie/captcha settings (two-step tenant DB discovery) |
|
|
72
72
|
|
|
73
73
|
### Custom loaders
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/express-context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Extractable Express middleware for Constructive tenant context — domain resolution, JWT auth, pgSettings, and withPgClient",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/constructive",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@constructive-io/url-domains": "^2.
|
|
33
|
-
"@pgpmjs/env": "^2.
|
|
34
|
-
"@pgpmjs/logger": "^2.
|
|
35
|
-
"@pgpmjs/server-utils": "^3.
|
|
36
|
-
"@pgpmjs/types": "^2.
|
|
32
|
+
"@constructive-io/url-domains": "^2.20.2",
|
|
33
|
+
"@pgpmjs/env": "^2.30.2",
|
|
34
|
+
"@pgpmjs/logger": "^2.15.2",
|
|
35
|
+
"@pgpmjs/server-utils": "^3.16.2",
|
|
36
|
+
"@pgpmjs/types": "^2.37.2",
|
|
37
37
|
"lru-cache": "^11.2.7",
|
|
38
38
|
"pg": "^8.21.0",
|
|
39
|
-
"pg-cache": "^3.
|
|
40
|
-
"pg-query-context": "^2.
|
|
39
|
+
"pg-cache": "^3.16.2",
|
|
40
|
+
"pg-query-context": "^2.20.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/express": "^5.0.6",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"jwt",
|
|
60
60
|
"pgSettings"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "08741ce3a6897192c2dbc7d1da48b9f456ffb59f"
|
|
63
63
|
}
|