Skip to content

Commit

Permalink
fix(componentshield): export ComponentShield
Browse files Browse the repository at this point in the history
  • Loading branch information
imjulianeral committed Sep 11, 2021
1 parent 32c92f0 commit 4d62025
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
"description": "The shield that every Next.js project needs.",
"author": "Jorge Acero",
"module": "dist/next-shield.esm.js",
"keywords": [
"Next.js",
"next",
"auth",
"routes",
"public routes",
"private routes",
"session"
],
"size-limit": [
{
"path": "dist/next-shield.cjs.production.min.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { ComponentShield } from './components/ComponentShield'
export { NextShield } from './components/NextShield'
export { NextShieldProps } from './types/props'

0 comments on commit 4d62025

Please sign in to comment.