@alinsafawi/aegis-auth 0.2.0 → 0.2.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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22367,10 +22367,10 @@ function printNextSteps(steps) {
|
|
|
22367
22367
|
console.log(import_chalk.default.dim(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
|
|
22368
22368
|
console.log();
|
|
22369
22369
|
for (const step of steps) {
|
|
22370
|
-
console.log(
|
|
22370
|
+
console.log(`\x1B[0m ${import_chalk.default.cyanBright.bold(`${step.n}`)} ${step.title}`);
|
|
22371
22371
|
console.log();
|
|
22372
22372
|
for (const line of step.lines) {
|
|
22373
|
-
console.log(
|
|
22373
|
+
console.log(`\x1B[0m ${line}`);
|
|
22374
22374
|
}
|
|
22375
22375
|
console.log();
|
|
22376
22376
|
}
|
|
@@ -23607,7 +23607,7 @@ export default function RootPage() {
|
|
|
23607
23607
|
}
|
|
23608
23608
|
function generateMiddleware(cookiePrefix, language) {
|
|
23609
23609
|
return `import { createAuthMiddleware } from '@alinsafawi/aegis-auth-next'
|
|
23610
|
-
import authConfig from '
|
|
23610
|
+
import authConfig from '../auth.config'
|
|
23611
23611
|
|
|
23612
23612
|
export default createAuthMiddleware(authConfig)
|
|
23613
23613
|
|