{"_id":"@auditauth/next","_rev":"18-35b09a936656d0b4a8903deca411e099","name":"@auditauth/next","dist-tags":{"latest":"0.2.0-beta.8"},"versions":{"0.1.0":{"name":"@auditauth/next","version":"0.1.0","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.0","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"8d03539b421d83788985ea236816013aeed93b9e","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.0.tgz","fileCount":13,"integrity":"sha512-u1wsR/epjyvNyRi7K5le55eCmBSV6qK6DAax5Dk8d4v5SGwguJjg7WRlNZYh0Mz3k8UG5SYNVXzH71qOqb+GJw==","signatures":[{"sig":"MEQCIC9E3+5UboHUFWhVo1oyHjxLtlwv3WN+3VIiwOxLMKngAiBZi0ER2ORDoULXw29f6jMKN3yAQEkmABgFM560mtdzRQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23837},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"ffd8f85afd075588f88b74fcc51894b490daf93f","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.0_1768500032466_0.5626679127738796","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@auditauth/next","version":"0.1.1","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.1","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"9391af291c9d5140abd6cea884204b715a8fc3c9","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.1.tgz","fileCount":13,"integrity":"sha512-N5YYQ69gbiORXg4cI98l3PUj4MhLvYNFCGrRLbylxO3rswKqs6Wctm07LGtPhDdBcxUwZ39g+uIaJ3dXT2fkIQ==","signatures":[{"sig":"MEUCIE0mELJOC+mrvYPGwcAke9bIs8eLMAx9iAF44QNSi+YKAiEA516cMlroe/dnVi0VozWiZ2P4+eceNE3ZIJfPomm9FAw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23851},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.1_1768503256411_0.5799029840024221","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@auditauth/next","version":"0.1.2","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.2","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"5ba6732c5406f4fb9cec8fc25f2c1dd8524dbdb4","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.2.tgz","fileCount":13,"integrity":"sha512-xktN2ZdUmtCxjc5QJgP294XSAQ1kA8q+M46UZhmA9ZgESUSTuuyuotO3CsDycwRdro6Yd1KXhAmYvsAJmlciPA==","signatures":[{"sig":"MEYCIQDS05OVNdU02z929gkELt1FOecmtGaL0CHYpZdjSYEwLAIhAOQBkwjWPfh3GM03PMCD6kEXxiVuxWVYf8Yb3KOMyP7k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23705},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.2_1768503806584_0.4543965636584628","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@auditauth/next","version":"0.1.3","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.3","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"a2428b51b31ccb58a91bb3c733bd391f97cb5684","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.3.tgz","fileCount":13,"integrity":"sha512-Qe9PlmJ2IfiEMdDSgHtay3TS5sRU8IRfWATffXgysEX2a+QlLdq9QWTv5pq4pwy9v9n1JQ5rcse35wMG6Fru1w==","signatures":[{"sig":"MEQCICp6tAwVC0ZifqEnWbyeJUWXf5od5EK3GiQ/tlbsohJrAiAabJTHkT2cyBSLUt99zKk3bwyOXgxYzsPapYYgWVNw8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23705},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.3_1768503866012_0.966534880845189","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@auditauth/next","version":"0.1.4","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.4","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"99371e27d6a187d50eba0aa1602db735997122d0","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.4.tgz","fileCount":13,"integrity":"sha512-TymkdC2r2V9zwkxFpE7nBiqJZqTwi076+TzUBwX6rcI693DTORJ2R+tM+dPtsaqMj66Z2rDJliCIOK5mlZyDDA==","signatures":[{"sig":"MEYCIQDTestVbyN4CZ5m37YmxnGvMFwnjyMH6xzWhE0b7vq68wIhALCrucnzgjILheFG8B8tUvC0krMWhydF+U87IeXIIVGv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23547},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.4_1768504007936_0.3027601309492167","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@auditauth/next","version":"0.1.5","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.5","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"3f858be5b6babd4c3133d72fcf44e944ad6cc0ee","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.5.tgz","fileCount":13,"integrity":"sha512-imGc2D6I4eRRVzomaLB2JQYfwKvjI6iqDqcZQSPEB3YgiaCz8qpUqlizqlhNSw+8wEZ8GLpvQLJpOPVjyBRa/g==","signatures":[{"sig":"MEQCICcoFya6SMQQePwdIZslIWvXpD5+2RVTyXfUXNBNjwjuAiAv+O2mn5ESpZu1MWa+1DjLyF0i3YfC2FE8jZVzd/kZDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23538},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.5_1768504915583_0.6147858611410852","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@auditauth/next","version":"0.1.6","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.6","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"603140d24bd35fca6633cc3fa2c0efc0c214d87f","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.6.tgz","fileCount":13,"integrity":"sha512-046sHaQigCmNoLVTM/jYkt1Wg3lyM6FgJcIR79StggaJ9zJB0ii3Y6IG0JITF8nd+EdG4b51nUs5nZ+nf9mTdw==","signatures":[{"sig":"MEUCIQChwx4ozfPgmXETyxtM9IdBeC2E0SWlGh1pnu9dDeUKcwIgUOty2rKboobzVQTBZCTeiC1VPGsRbpOI+Jt9XQgCrP4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23543},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.6_1768505291837_0.22831061127843721","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@auditauth/next","version":"0.1.7","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.7","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"af4246f1ff3065408bdb555ad5dd07e9959ea444","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.7.tgz","fileCount":15,"integrity":"sha512-lmnrO8Y2UESwB25SB9obCFvijsYSFiNXVtQn/ovCDJL3Ui1xt2ximfN4iP02K8Cu2YULfsSWcwdCUjc7FD/xPQ==","signatures":[{"sig":"MEQCIFdBc8BzteoKA2P5mhGKBrPLfvMHOTFd/OBjWzepF2FKAiAEfOjU0G59YjtnpaeLCB/mQ8pF9LGQamazO5osenrHag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23660},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"f4f0501a932a872d2572492740dcefee67482e46","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.7_1768505990245_0.3768825644547851","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@auditauth/next","version":"0.1.8","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.8","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"a8f60afbd432c1a340766ed6ae696fd3e9ec2639","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.8.tgz","fileCount":15,"integrity":"sha512-XFpYmpO/DkILYa//GwTZzEQkbXpH2SN2JdHeDM+Fbt4Ulg5ykTBY1VFdFfJr5G077e4jteW3fgMZUWP/8IC2oQ==","signatures":[{"sig":"MEUCIE/KbPJemAvswYSuxldUDkD4O1gRyxOyLX762Y1Syt4PAiEAsbrS9c8IW9jh9Ul03rbHdL9iM/YS1s78Yrj5Q14SBRg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23701},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"129de29f6332122e11534de618d05a0eea4df1fa","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0","crypto":"^1.0.1","@auditauth/next":"^0.1.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.8_1768575728753_0.01751246327326883","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@auditauth/next","version":"0.1.9","author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.1.9","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"dist":{"shasum":"e46c0081f8e0bbaba16ec5fc8846bc7c3e4db4ee","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.1.9.tgz","fileCount":17,"integrity":"sha512-MF+BZABCS2h/YT19N87U5KBSSFsIFLdP9BrlY5a/9l/FKTZaAFZbBCyCwh93HgLYzRyk40xcgzECb0Z30pRXUw==","signatures":[{"sig":"MEUCIQDM8maMnnDICRZR4B62LhahFfUYO+q5SVHZzAahYzmT9gIgePIVteJu92a8HlWBu8N15aZ1AYRZV3MgCyx1TTdGl80=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27710},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"dc8face9965ea5eb0ed4295ccb8f00183ae28966","scripts":{"dev":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"_npmVersion":"10.9.2","description":"Official AuditAuth SDK for Next.js","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.0.9","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.1.9_1769529888828_0.826014569066291","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.1":{"name":"@auditauth/next","version":"0.2.0-beta.1","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.1","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"9938b4bd185971c241c11358c428d836e69022f9","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.1.tgz","fileCount":20,"integrity":"sha512-48kDLsCF/D63YYj3kaor2ln452FNRPOxbEDRZQxH/obTI6eWHmYMmbd7ibVjSHWm5DKIZPCPXfrtQcAAd6me+Q==","signatures":[{"sig":"MEYCIQDe8apRf72HnZtrvTpICw6Ke6SwKh/cUr4EepKO8cmL1AIhAM/jFOsGSR86lmi24KkVmu311Tffbjc9gSpa2SrZc/8Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29085},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"82af952bad6cd0311069fddb2b3401a3eba6543c","scripts":{"dev":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.1","@auditauth/node":"^0.2.0-beta.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.1_1771228743468_0.9970523584849622","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.2":{"name":"@auditauth/next","version":"0.2.0-beta.2","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.2","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"983d9471f9ceefdc4fe0b5c48535b01c784418d6","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.2.tgz","fileCount":20,"integrity":"sha512-cGmIGEK7+1pp/jGlMEnGGhHGIUDF6Ph4+9HZmgM7EYpsFzm7gtsKslaRUKaDfQELbEWVvOMMfj5xgoOv1a7cJQ==","signatures":[{"sig":"MEQCIGaaI2gPsJtSggIerg6qvsQlniL/Yd1++Vc0E8oacSnIAiAEzN9NkU/RsYE4KNojrBrMtRU50KOxApSoSvBw7+GYDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29183},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"5a103d8dc28ca7f4e359c152dba071900dd50481","scripts":{"dev":"tsc -p tsconfig.build.json --watch","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.2","@auditauth/node":"^0.2.0-beta.2"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.2_1771230330393_0.6961549079843035","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.3":{"name":"@auditauth/next","version":"0.2.0-beta.3","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.3","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"fb5843eb3d181fa3b0534f7644d4cf4b5e7a38ab","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.3.tgz","fileCount":38,"integrity":"sha512-idBSmRSz9L8Q3q+FhNwpaXEsswDpmYXG5CnC9RbxdVmsU4nPjvcPH8vjy/u1RdbMaPDmJ4z5L5WRBepWH9b4BA==","signatures":[{"sig":"MEUCIQD/Oq9IGRvJjyHqmkbvbIXM3R93cYadox1JA6Pj+bHaBgIgL/Sy6ADy0hCdBY6mr9WAf1p0rR3+OuLy5PjOoaOocjc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59564},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"d6d4b1f2a34ab419394653b623d44e9bde570b74","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","prepack":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.3","@auditauth/node":"^0.2.0-beta.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.3_1771243932005_0.2820716940154422","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.4":{"name":"@auditauth/next","version":"0.2.0-beta.4","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.4","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"2ec76b6bec741079b21097f97c5ecbacd8ad8568","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.4.tgz","fileCount":38,"integrity":"sha512-tLWrDIGT6X4SKpNxQZxUH+cBbWWsASPbp+e6InwtnYDdoBkN+if/8L9lg8uDe/5Ve5UhhWk9ZPr1gNW80Yac9A==","signatures":[{"sig":"MEUCIQCHi2zpSc3iaNZ+wfXbLL7GlELzMdIF4m3oLl2XEXWGkgIgCC2gxdMuyfkQQ+ewW5HJUbOOk6ixXPGgEhEW2DilyNY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59634},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"bea1ff3de0eab029b89d46be2d21f73caab3bb6d","scripts":{"dev":"tsup --watch","build":"tsup && node ../../scripts/fix-cjs-relative-imports.mjs dist","clean":"rm -rf dist","prepack":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.4","@auditauth/node":"^0.2.0-beta.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.4_1771246785367_0.9661811747847415","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.5":{"name":"@auditauth/next","version":"0.2.0-beta.5","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.5","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"435ad86713bdf06fe52c010e7c102acb7a07b6b9","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.5.tgz","fileCount":38,"integrity":"sha512-puGqIjLOJ/Nb4sG5F/qtpf8KejZlL0r/nj4//lDqjXMUksTJAZrgkKqRERBJPHRj1eFN3bFgdAYws6WzNiNqKA==","signatures":[{"sig":"MEUCIQDjpoa5DnyV4HaouZxr4ldYNgt9ojEnVMuvaliI84EYLwIgQb00wvBs616fpRLJ5KdSpVkZTG1cJm2fTG8x+CeOTQA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63566},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"88fdd598e59a5e74e4eccfe3aafe73a4a6f65325","scripts":{"dev":"tsup --watch","build":"tsup && node ../../scripts/fix-cjs-relative-imports.mjs dist","clean":"rm -rf dist","prepack":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.5","@auditauth/node":"^0.2.0-beta.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.5_1771608240162_0.1637260356039285","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.6":{"name":"@auditauth/next","version":"0.2.0-beta.6","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.6","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"65af1f103ca6dee9005959869ecd644e44822f30","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.6.tgz","fileCount":38,"integrity":"sha512-IlDFUYoOu90zBLTfQac3fXEoQ7jryry+7fcLSpEn6jHvZffJImgDR34EjDX6nbRIjthqpdkla6NwSZwVKGSm9Q==","signatures":[{"sig":"MEQCIEGU9m7FosviYKxPuSsE4ABPx+glZ9JWDspH4ozwjNpTAiBPsXcbDB2pZWc0Xd9fCDrgjeHruCQmWMwz8Dq4e0hEPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68757},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"bbb873bf2e541b0e628fa5e2f1eae82e3049cfb6","scripts":{"dev":"tsup --watch","build":"tsup && node ../../scripts/fix-cjs-relative-imports.mjs dist","clean":"rm -rf dist","prepack":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.6","@auditauth/node":"^0.2.0-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.6_1771682647851_0.3486600792035133","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.7":{"name":"@auditauth/next","version":"0.2.0-beta.7","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"author":{"name":"Nimibyte"},"license":"MIT","_id":"@auditauth/next@0.2.0-beta.7","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"dist":{"shasum":"48b117623d44d04386ede16f0c9f3307fc86bdf0","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.7.tgz","fileCount":38,"integrity":"sha512-5AO6rYh0ih1FMoyYTUrkmhNfgCeccLV7k0tWC/w58CnDD4BcozW/PxUcRYHTNb8GBddskGMezWTIkDVSTqnSCw==","signatures":[{"sig":"MEUCIEENAB1NxuDyvzrx6xfW2Jb+qnpWXXWYxooqSotI45FJAiEAuTn1hgU/M8Ln5zuSSw7PbnvHDJvK56v+bXfl08aidjU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68811},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.18.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"92304a3cf3b827f50ceda1931aab54de18b270e4","scripts":{"dev":"tsup --watch","build":"tsup && node ../../scripts/fix-cjs-relative-imports.mjs dist","clean":"rm -rf dist","prepack":"npm run build"},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"repository":{"url":"git+https://github.com/nimibyte/auditauth-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"AuditAuth NextJS SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@auditauth/core":"^0.2.0-beta.7","@auditauth/node":"^0.2.0-beta.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/next_0.2.0-beta.7_1771836115826_0.49547624549726654","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.8":{"name":"@auditauth/next","version":"0.2.0-beta.8","description":"AuditAuth NextJS SDK","license":"MIT","author":{"name":"Nimibyte"},"engines":{"node":">=18.18.0"},"repository":{"type":"git","url":"git+https://github.com/nimibyte/auditauth-sdk.git"},"homepage":"https://docs.auditauth.com","bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup && node ../../scripts/fix-cjs-relative-imports.mjs dist","dev":"tsup --watch","clean":"rm -rf dist","prepack":"npm run build"},"peerDependencies":{"next":">=13","react":">=18","react-dom":">=18"},"dependencies":{"@auditauth/core":"^0.2.0-beta.8","@auditauth/node":"^0.2.0-beta.8"},"devDependencies":{"typescript":"^5.9.0","@types/node":"^20","@types/react":"^19.2.8","@types/react-dom":"^19.2.3"},"_id":"@auditauth/next@0.2.0-beta.8","gitHead":"564e7172894003e8b4d703065313701c7daebe16","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-yC10bqnTtarybYS0UtF5pg1fGIeageoGRK/nhBGfHA9TUVgzOQCa8DD3pgjpBMkjVJYrXAx5QhoytgrVJcg89w==","shasum":"50d3a2382594eb4804b012b8e0cda16895d6fd7c","tarball":"https://registry.npmjs.org/@auditauth/next/-/next-0.2.0-beta.8.tgz","fileCount":38,"unpackedSize":68589,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICsL72XbhXqKoN6wzMJewVrRFLqYle9fyb3ZPxOiA88qAiEA8OeVS6oRKl3zwpYsxpLBjveHo3EJitnAD5F79M5wdxQ="}]},"_npmUser":{"name":"adrihfly","email":"adrian.lpes@gmail.com"},"directories":{},"maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/next_0.2.0-beta.8_1771932294874_0.12712399306726696"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-15T18:00:32.410Z","modified":"2026-02-24T11:24:55.189Z","0.1.0":"2026-01-15T18:00:32.600Z","0.1.1":"2026-01-15T18:54:16.542Z","0.1.2":"2026-01-15T19:03:26.726Z","0.1.3":"2026-01-15T19:04:26.172Z","0.1.4":"2026-01-15T19:06:48.072Z","0.1.5":"2026-01-15T19:21:55.718Z","0.1.6":"2026-01-15T19:28:11.981Z","0.1.7":"2026-01-15T19:39:50.370Z","0.1.8":"2026-01-16T15:02:08.907Z","0.1.9":"2026-01-27T16:04:48.978Z","0.2.0-beta.1":"2026-02-16T07:59:03.608Z","0.2.0-beta.2":"2026-02-16T08:25:30.536Z","0.2.0-beta.3":"2026-02-16T12:12:12.146Z","0.2.0-beta.4":"2026-02-16T12:59:45.494Z","0.2.0-beta.5":"2026-02-20T17:24:00.330Z","0.2.0-beta.6":"2026-02-21T14:04:08.035Z","0.2.0-beta.7":"2026-02-23T08:41:55.980Z","0.2.0-beta.8":"2026-02-24T11:24:55.042Z"},"bugs":{"url":"https://github.com/nimibyte/auditauth-sdk/issues"},"author":{"name":"Nimibyte"},"license":"MIT","homepage":"https://docs.auditauth.com","keywords":["authentication","auth","oauth","identity","jwt","security","auditauth"],"repository":{"type":"git","url":"git+https://github.com/nimibyte/auditauth-sdk.git"},"description":"AuditAuth NextJS SDK","maintainers":[{"name":"adrihfly","email":"adrian.lpes@gmail.com"}],"readme":"# @auditauth/next\n\n`@auditauth/next` is the AuditAuth integration for Next.js App Router. It\nprovides route handlers, auth middleware, protected server handlers, session\nhelpers, and authenticated fetch wrappers.\n\n## Install\n\nInstall the package in your Next.js application.\n\n```bash\nnpm install @auditauth/next\n```\n\n## TypeScript import compatibility\n\n`@auditauth/next` ships dual module output (ESM + CJS) with declaration files.\nYou can import it in TypeScript projects with standard syntax:\n\n```ts\nimport { createAuditAuthNext } from '@auditauth/next'\n```\n\nYou do not need to append `.js` in consumer imports.\n\n## Create the AuditAuth provider\n\nCreate one shared instance with `createAuditAuthNext()`.\n\n```ts\n// src/providers/auth.ts\nimport { createAuditAuthNext } from '@auditauth/next'\n\nexport const auditauth = createAuditAuthNext({\n  apiKey: process.env.AUDITAUTH_API_KEY!,\n  appId: process.env.AUDITAUTH_APP_ID!,\n  baseUrl: 'http://localhost:3000',\n  redirectUrl: 'http://localhost:3000/private',\n})\n```\n\n## Register auth API handlers\n\nExpose the SDK handlers through a catch-all route.\n\n```ts\n// src/app/api/auditauth/[...auditauth]/route.ts\nimport { auditauth } from '@/providers/auth'\n\nexport const { GET, POST } = auditauth.handlers\n```\n\nThe handler covers these endpoints:\n\n- `GET /api/auditauth/login`\n- `GET /api/auditauth/callback`\n- `GET /api/auditauth/logout`\n- `GET /api/auditauth/portal`\n- `GET /api/auditauth/session`\n- `GET /api/auditauth/refresh`\n- `POST /api/auditauth/metrics`\n\n## Protect private routes with middleware\n\nCall `auditauth.middleware()` on route groups that require authentication.\n\n```ts\n// src/proxy.ts\nimport { NextResponse, type NextRequest } from 'next/server'\nimport { auditauth } from '@/providers/auth'\n\nexport async function proxy(request: NextRequest) {\n  if (request.nextUrl.pathname.startsWith('/private')) {\n    return auditauth.middleware(request)\n  }\n\n  return NextResponse.next()\n}\n```\n\n## Access session data in server components\n\nUse `auditauth.getSession()` in server components, route handlers, or server\nactions.\n\n```ts\nconst session = await auditauth.getSession()\nif (!session) return null\n```\n\n## Protect custom route handlers\n\nWrap handlers with `auditauth.withAuthRequest()` to enforce token validation and\ninject the verified token payload.\n\n```ts\nimport { auditauth } from '@/providers/auth'\nimport { NextResponse } from 'next/server'\n\nexport const GET = auditauth.withAuthRequest(async (_req, _ctx, session) => {\n  return NextResponse.json({ email: session.email })\n})\n```\n\n## Call protected APIs from the server\n\nUse `auditauth.fetch()` for server-side requests with automatic refresh and\nrequest metrics.\n\n```ts\nconst response = await auditauth.fetch('https://api.example.com/private')\n```\n\n## Client helpers\n\nFor client-side navigation shortcuts, import these helpers:\n\n- `login()`\n- `logout()`\n- `goToPortal()`\n\nYou can also use `AuditAuthGuard` and `useAuditAuth` to gate client-rendered\nUI sections.\n\n## Compatibility\n\nThis package requires:\n\n- Node.js `>=18.18.0`\n- Next.js `>=13`\n- React `>=18`\n- React DOM `>=18`\n\n## Resources\n\n- Repository: https://github.com/nimibyte/auditauth-sdk\n- Documentation: https://docs.auditauth.com\n\n## Example\n\nSee `examples/next` for a complete App Router integration.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}