@cosmicdrift/kumiko-server-runtime 0.289.0 → 0.290.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.
- package/package.json +4 -4
- package/src/run-prod-app.ts +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-server-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.290.0",
|
|
4
4
|
"description": "Production server-boot runtime for Kumiko apps: connections, schema-drift-gate, seeds, lifecycle, graceful shutdown. Symmetric to kumiko-dev-server's runDevApp, without dev/scaffold/codegen tooling.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
84
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
85
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
83
|
+
"@cosmicdrift/kumiko-bundled-features": "0.290.0",
|
|
84
|
+
"@cosmicdrift/kumiko-framework": "0.290.0",
|
|
85
|
+
"@cosmicdrift/kumiko-headless": "0.290.0",
|
|
86
86
|
"temporal-polyfill": "^0.3.2"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
package/src/run-prod-app.ts
CHANGED
|
@@ -68,10 +68,6 @@ import {
|
|
|
68
68
|
} from "@cosmicdrift/kumiko-bundled-features/personal-access-tokens";
|
|
69
69
|
import { SESSIONS_FEATURE } from "@cosmicdrift/kumiko-bundled-features/sessions";
|
|
70
70
|
import { TenantQueries } from "@cosmicdrift/kumiko-bundled-features/tenant";
|
|
71
|
-
import {
|
|
72
|
-
resolveTenantLifecycleGate,
|
|
73
|
-
TENANT_LIFECYCLE_FEATURE,
|
|
74
|
-
} from "@cosmicdrift/kumiko-bundled-features/tenant-lifecycle";
|
|
75
71
|
import { UserQueries } from "@cosmicdrift/kumiko-bundled-features/user";
|
|
76
72
|
import {
|
|
77
73
|
createDefaultSseBroker,
|
|
@@ -1033,16 +1029,6 @@ export async function runProdApp(options: RunProdAppOptions): Promise<ProdAppHan
|
|
|
1033
1029
|
};
|
|
1034
1030
|
}
|
|
1035
1031
|
|
|
1036
|
-
const tenantLifecycleFeature = features.find((f) => f.name === TENANT_LIFECYCLE_FEATURE);
|
|
1037
|
-
const tenantLifecycleAuthFragment = tenantLifecycleFeature
|
|
1038
|
-
? {
|
|
1039
|
-
resolveTenantLifecycleStatus: async (tenantId: string) => {
|
|
1040
|
-
const gate = await resolveTenantLifecycleGate(db, tenantId);
|
|
1041
|
-
return gate ? { status: gate.status } : null;
|
|
1042
|
-
},
|
|
1043
|
-
}
|
|
1044
|
-
: undefined;
|
|
1045
|
-
|
|
1046
1032
|
const baseEntrypointOptions = {
|
|
1047
1033
|
registry,
|
|
1048
1034
|
context: {
|
|
@@ -1092,7 +1078,6 @@ export async function runProdApp(options: RunProdAppOptions): Promise<ProdAppHan
|
|
|
1092
1078
|
...(trustedProxyHops !== undefined && { trustedProxyHops }),
|
|
1093
1079
|
...sessionAuthFragment,
|
|
1094
1080
|
...patAuthFragment,
|
|
1095
|
-
...tenantLifecycleAuthFragment,
|
|
1096
1081
|
...(mfaFeature && {
|
|
1097
1082
|
mfaVerifyHandler: AuthMfaHandlers.verify,
|
|
1098
1083
|
mfaPreauthEnableStartHandler: AuthMfaHandlers.enableStartPreauth,
|