@constructive-io/express-context 0.10.0 → 0.11.1
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.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { createModuleLoader } from './create-loader';
|
|
13
13
|
// ─── SQL ────────────────────────────────────────────────────────────────────
|
|
14
14
|
const AUTH_SETTINGS_DISCOVERY_SQL = `
|
|
15
|
-
SELECT s.schema_name, sm.
|
|
15
|
+
SELECT s.schema_name, sm.auth_settings_table_name AS table_name
|
|
16
16
|
FROM metaschema_modules_public.sessions_module sm
|
|
17
17
|
JOIN metaschema_public.schema s ON s.id = sm.schema_id
|
|
18
18
|
LIMIT 1
|
package/loaders/auth-settings.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.authSettingsLoader = void 0;
|
|
|
15
15
|
const create_loader_1 = require("./create-loader");
|
|
16
16
|
// ─── SQL ────────────────────────────────────────────────────────────────────
|
|
17
17
|
const AUTH_SETTINGS_DISCOVERY_SQL = `
|
|
18
|
-
SELECT s.schema_name, sm.
|
|
18
|
+
SELECT s.schema_name, sm.auth_settings_table_name AS table_name
|
|
19
19
|
FROM metaschema_modules_public.sessions_module sm
|
|
20
20
|
JOIN metaschema_public.schema s ON s.id = sm.schema_id
|
|
21
21
|
LIMIT 1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/express-context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
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",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"jwt",
|
|
60
60
|
"pgSettings"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "89298a1b9d3c6db8ab95ce4a6dfdb9285551dc5b"
|
|
63
63
|
}
|