@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. 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(` ${import_chalk.default.cyanBright.bold(`${step.n}`)} ${import_chalk.default.bold(step.title)}`);
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(` ${line}`);
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 './auth.config'
23610
+ import authConfig from '../auth.config'
23611
23611
 
23612
23612
  export default createAuthMiddleware(authConfig)
23613
23613
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alinsafawi/aegis-auth",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "The shield your Next.js app deserves — full-stack auth in minutes",
5
5
  "bin": {
6
6
  "aegis-auth": "dist/index.js"