@cosmicdrift/kumiko-server-runtime 0.161.0 → 0.162.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 +3 -3
- package/src/run-prod-app.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-server-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.162.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>",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
76
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
75
|
+
"@cosmicdrift/kumiko-bundled-features": "0.162.0",
|
|
76
|
+
"@cosmicdrift/kumiko-framework": "0.162.0",
|
|
77
77
|
"temporal-polyfill": "^0.3.2"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
package/src/run-prod-app.ts
CHANGED
|
@@ -958,12 +958,20 @@ export async function runProdApp(options: RunProdAppOptions): Promise<ProdAppHan
|
|
|
958
958
|
...tenantLifecycleAuthFragment,
|
|
959
959
|
...(mfaFeature && {
|
|
960
960
|
mfaVerifyHandler: AuthMfaHandlers.verify,
|
|
961
|
+
mfaPreauthEnableStartHandler: AuthMfaHandlers.enableStartPreauth,
|
|
962
|
+
mfaPreauthConfirmHandler: AuthMfaHandlers.enableConfirmPreauth,
|
|
961
963
|
mfaVerifyRateLimit: createRedisLoginRateLimiter(
|
|
962
964
|
redis,
|
|
963
965
|
undefined,
|
|
964
966
|
undefined,
|
|
965
967
|
"mfa-verify",
|
|
966
968
|
),
|
|
969
|
+
mfaPreauthConfirmRateLimit: createRedisLoginRateLimiter(
|
|
970
|
+
redis,
|
|
971
|
+
undefined,
|
|
972
|
+
undefined,
|
|
973
|
+
"mfa-preauth-confirm",
|
|
974
|
+
),
|
|
967
975
|
}),
|
|
968
976
|
...(effectiveAuth.passwordReset && {
|
|
969
977
|
passwordReset: {
|