{"_id":"@thallesp/nestjs-better-auth","_rev":"26-db1112ab9c5b0d455453ce680d1742f8","name":"@thallesp/nestjs-better-auth","dist-tags":{"latest":"2.8.0"},"versions":{"1.0.0":{"name":"@thallesp/nestjs-better-auth","version":"1.0.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@1.0.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"2378b3f49032cba303fc29d829bd74da4225e106","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-1.0.0.tgz","fileCount":6,"integrity":"sha512-fOu1z8LLyPyWOATm4g0ylz8miiCKxyAoWIssx/bdCvJKmUQXPltSHA/ne1MveD5DBbUI0aO24gdF0FnEsCR2Zw==","signatures":[{"sig":"MEYCIQDfLRvTS8j5YSibmv60/fMFtxshRxGgEG80C5y0FJySvwIhAJ7LH3doQJfbWt0/QOd7WjKPgmKDs5rdXyUrYHakTqFb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38926},"types":"dist/index.d.ts","shasum":"2378b3f49032cba303fc29d829bd74da4225e106","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"lint":"biome lint","build":"bunup src/index.ts --format esm,cjs --dts","format":"biome format"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-fOu1z8LLyPyWOATm4g0ylz8miiCKxyAoWIssx/bdCvJKmUQXPltSHA/ne1MveD5DBbUI0aO24gdF0FnEsCR2Zw==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.8.37","@types/bun":"latest","@biomejs/biome":"^1.9.4","@types/express":"^5.0.0","@tsconfig/node22":"^22.0.2"},"peerDependencies":{"express":"^5.0.0","typescript":"^5","better-auth":"^1.2.8","@nestjs/core":"^11.0.10","@nestjs/common":"^11.0.10"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_1.0.0_1750021160634_0.6425274852936564","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@thallesp/nestjs-better-auth","version":"1.0.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@1.0.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"cba2e11bfb14126ef177c29e9deea16509dfe599","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-1.0.1.tgz","fileCount":6,"integrity":"sha512-lbyqFKmcmAjg6y3oL9JTU7xIoYvPz4Cpr0hsyakrz1y+er/8ClTZvYfjHLjWNDziK81lYReJsWz0uT8XFAWn8g==","signatures":[{"sig":"MEYCIQC3Ke1lOCO8SVrIO8pq/BLdHNzHTAMlRHFyfBqWvwUQjgIhAI0ZsPTIS9ObKx3SWPMJD8FRg4ugRPHVCLCEHzzu1+cy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40013},"types":"dist/index.d.ts","shasum":"cba2e11bfb14126ef177c29e9deea16509dfe599","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"lint":"biome lint","build":"bunup src/index.ts --format esm,cjs --dts","check":"biome check","format":"biome format"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-lbyqFKmcmAjg6y3oL9JTU7xIoYvPz4Cpr0hsyakrz1y+er/8ClTZvYfjHLjWNDziK81lYReJsWz0uT8XFAWn8g==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.8.37","@types/bun":"latest","@biomejs/biome":"^1.9.4","@types/express":"^5.0.0","@tsconfig/node22":"^22.0.2"},"peerDependencies":{"express":"^5.0.0","typescript":"^5","better-auth":"^1.2.8","@nestjs/core":"^11.0.10","@nestjs/common":"^11.0.10"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_1.0.1_1753122722034_0.378625725062379","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@thallesp/nestjs-better-auth","version":"1.0.2","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@1.0.2","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"59e2f583629c49c3bdbbc654186ee4101adb4d33","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-1.0.2.tgz","fileCount":6,"integrity":"sha512-NKxWoJnqEOqZG9FNA0CofJZnoTdaEmO2C2SsVnO0yh98fxtMbTJppRh/OGzfPGCiveaAD9OclDMVit+pCjUb3g==","signatures":[{"sig":"MEQCIESK0AzdkmkdEAcWJ4sDY0NjW40w6MzKqVlF4jOddiwpAiAvE0P88FqdBW2H7ivEBoY/uUaNCgkGLiib+rHDBR2Suw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40049},"types":"dist/index.d.ts","shasum":"59e2f583629c49c3bdbbc654186ee4101adb4d33","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"lint":"biome lint","build":"bunup src/index.ts --format esm,cjs --dts","check":"biome check","format":"biome format"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-NKxWoJnqEOqZG9FNA0CofJZnoTdaEmO2C2SsVnO0yh98fxtMbTJppRh/OGzfPGCiveaAD9OclDMVit+pCjUb3g==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.8.37","@types/bun":"latest","@biomejs/biome":"^1.9.4","@types/express":"^5.0.0","@tsconfig/node22":"^22.0.2"},"peerDependencies":{"express":"^5.0.0","typescript":"^5","better-auth":"^1.2.8","@nestjs/core":"^11.0.10","@nestjs/common":"^11.0.10"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_1.0.2_1753378788976_0.27099543947223337","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@thallesp/nestjs-better-auth","version":"1.0.3","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@1.0.3","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"c8d902d0c005a7ff1dcaee0ce8ba092477e7147c","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-1.0.3.tgz","fileCount":6,"integrity":"sha512-9d+V1l9gW7RDa1QDDjO4yxqE1/oNMjsTeJgnm2lw5/+X5vW8C2whup/QU5+DA2hEj6aDMWzmAmnLZ/W8Cb5m2Q==","signatures":[{"sig":"MEUCIBVrEspFJLQ+tIqIMdkMofGtsv4Nekg3M8dYvWIdOTA8AiEAp3pX5fZ5xgaP750vsUriQopoWQTWzhe9IukeFYbeuh4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40556},"types":"dist/index.d.ts","shasum":"c8d902d0c005a7ff1dcaee0ce8ba092477e7147c","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"lint":"biome lint","build":"bunup src/index.ts --format esm,cjs --dts","check":"biome check","format":"biome format"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"overrides":{"better-call":"^1.0.15"},"_integrity":"sha512-9d+V1l9gW7RDa1QDDjO4yxqE1/oNMjsTeJgnm2lw5/+X5vW8C2whup/QU5+DA2hEj6aDMWzmAmnLZ/W8Cb5m2Q==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"bunup":"^0.8.37","@types/bun":"latest","@biomejs/biome":"^1.9.4","@types/express":"^5.0.0","@tsconfig/node22":"^22.0.2"},"peerDependencies":{"express":"^5.0.0","typescript":"^5","better-auth":"^1.2.8","@nestjs/core":"^11.0.10","@nestjs/common":"^11.0.10"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_1.0.3_1755838955040_0.6855533119143777","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@thallesp/nestjs-better-auth","version":"2.0.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.0.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"22127d43b60b78f11edf6527d9dfb56057c30a24","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.0.0.tgz","fileCount":8,"integrity":"sha512-A82aFqDZ4YL98P9+fENFbDXDi0q0/+YQUw7enAupHWhvkVui20x0DaHJgxhO3jX3gySTAWUisn4yJohGjlZzBQ==","signatures":[{"sig":"MEQCIDGhl2uPatA1eVpR+1lFTm9SMcvu3P31Rfy2Nk+i0YjFAiA5GcB8VhZSJbPw6K3Cd6nElpPBBg2Fi44n6bGcYhSR4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51931},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"22127d43b60b78f11edf6527d9dfb56057c30a24","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-A82aFqDZ4YL98P9+fENFbDXDi0q0/+YQUw7enAupHWhvkVui20x0DaHJgxhO3jX3gySTAWUisn4yJohGjlZzBQ==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"^2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.0.0_1758994288448_0.3627187076278675","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@thallesp/nestjs-better-auth","version":"2.0.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.0.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"af04edc75a217570c6255ed212649ce38010f402","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.0.1.tgz","fileCount":8,"integrity":"sha512-25M8QhbZKfB7qXMkL5oISYVtUNX6V2SIp+Tc+63tnPFG5vmVBgQUXzrVcQjvfY4185YLsHbB3kP20TB1s7+s3w==","signatures":[{"sig":"MEQCIFKHHzhSmaO8WRN+4tT5KA4HQtMhZeY7HFFO+Sn9OvZ+AiAxPZnb3xXzhGSDMoXb+7z6kOY3v4uVVUV1mVS25R5k3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52859},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"af04edc75a217570c6255ed212649ce38010f402","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-25M8QhbZKfB7qXMkL5oISYVtUNX6V2SIp+Tc+63tnPFG5vmVBgQUXzrVcQjvfY4185YLsHbB3kP20TB1s7+s3w==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.0.1_1759594864529_0.2648062335400587","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@thallesp/nestjs-better-auth","version":"2.1.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.1.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"2e6cf1e252086afea05aebc77d64cc57207d0efb","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.1.0.tgz","fileCount":8,"integrity":"sha512-m2fxGcg3/Bm93schbMDoGiGfsmkGay2YIlAMKoFu5KJNEOPEvA3vsiKbiWLrfH/ZSRuj0P/MoXtnruM60igjHA==","signatures":[{"sig":"MEUCIQDGhj2JZIEvfhYqClMdeVjqShb5QnX/v5Gd3PAtmAqKVgIgPvQQnjplkmbUlBvkakL8HRpVmDemTk1rMCiqILpdL94=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56164},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"2e6cf1e252086afea05aebc77d64cc57207d0efb","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-m2fxGcg3/Bm93schbMDoGiGfsmkGay2YIlAMKoFu5KJNEOPEvA3vsiKbiWLrfH/ZSRuj0P/MoXtnruM60igjHA==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.1.0_1760283007632_0.16115221578647243","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@thallesp/nestjs-better-auth","version":"2.2.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"b90896301863172edbacdd68a5dd1a02a5ab1ca6","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.0.tgz","fileCount":8,"integrity":"sha512-CEAr4yyIQR7+wmdTSWlUpjR46qe8itwr8kpyhTlyjEweqQToMBaKw0aFGurexiVy7IB9R7R3yXQ1B0QcReZbIw==","signatures":[{"sig":"MEUCIQDLusFw96LGPpgZYzx8T1u1dVoQk90oH3cHxAt9euanGAIgYt0wkCmLc45wuCVWxmDeUzYsVlTUbEByFcL/35FgGVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63062},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"b90896301863172edbacdd68a5dd1a02a5ab1ca6","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-CEAr4yyIQR7+wmdTSWlUpjR46qe8itwr8kpyhTlyjEweqQToMBaKw0aFGurexiVy7IB9R7R3yXQ1B0QcReZbIw==","repository":"https://github.com/thallesp/nestjs-better-auth","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.0_1764071088464_0.975450206628633","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@thallesp/nestjs-better-auth","version":"2.2.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"92130e5ca1ef08540f323ec9df936ec4b479ecb1","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.1.tgz","fileCount":8,"integrity":"sha512-a+dryif66RlO+fw0+2ZsyLTr5d2XERsnbYqeH5uOBn1ezaVgfVR8FHy+FSAks2VPogbWVMk92EGn84FX24hnnQ==","signatures":[{"sig":"MEYCIQDXDSv3vPaeyoDFhutkSAmCyuUVYOhKLtfXfxXNemQyJwIhAIOn2v7cDA+aGxRMEIVxHYguCG29iu2VmPURyH80IxuH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63966},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"92130e5ca1ef08540f323ec9df936ec4b479ecb1","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-a+dryif66RlO+fw0+2ZsyLTr5d2XERsnbYqeH5uOBn1ezaVgfVR8FHy+FSAks2VPogbWVMk92EGn84FX24hnnQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.1_1768078762161_0.2662235591729001","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"@thallesp/nestjs-better-auth","version":"2.2.2","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.2","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"222d1014b49520d788feb0f985b52856726a2b75","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.2.tgz","fileCount":8,"integrity":"sha512-iQlp2ZqPRXhmzq19hvRszSEjiJwhzNIRzVAmm8M+MHyms7RFeXOdPGUMqEU4N+5quMfRHHaJtV8Au1ZQcdvcpg==","signatures":[{"sig":"MEUCIQDvu2kXTbsJnlfelUkTwVaMTK07fT4zGxn8zA0DhHHkRAIgJHIFxpNAU2CG6iSHKrijdHSrhAWm5yaSQwLS54PQdTE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62327},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"222d1014b49520d788feb0f985b52856726a2b75","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-iQlp2ZqPRXhmzq19hvRszSEjiJwhzNIRzVAmm8M+MHyms7RFeXOdPGUMqEU4N+5quMfRHHaJtV8Au1ZQcdvcpg==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.2_1768078924125_0.802112478767655","host":"s3://npm-registry-packages-npm-production"}},"2.2.3":{"name":"@thallesp/nestjs-better-auth","version":"2.2.3","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.3","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"07efb66de426e51ce9181ce98cdc7e723a3d8d6d","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.3.tgz","fileCount":8,"integrity":"sha512-9AiVsn46a8aufS7JDDVaUKwUqmgKa2zXpFZ68QqKv56EsoZm3ZMTX5gPTN6h8nWwruWlceZUAMrB5wM5AlP9Bg==","signatures":[{"sig":"MEQCID6ziyVzNKMJGFEXWx9zJDaRLJKvr34OnMslZ5mUj2tBAiBwnXgHN84d1Oa2udl1G7MDRye89o88afwIsP3BRbmDJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62291},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"07efb66de426e51ce9181ce98cdc7e723a3d8d6d","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-9AiVsn46a8aufS7JDDVaUKwUqmgKa2zXpFZ68QqKv56EsoZm3ZMTX5gPTN6h8nWwruWlceZUAMrB5wM5AlP9Bg==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.3_1769476492518_0.5221273448772887","host":"s3://npm-registry-packages-npm-production"}},"2.2.4":{"name":"@thallesp/nestjs-better-auth","version":"2.2.4","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.4","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"5d55543d62f07be078d3a26877b5066bf150129c","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.4.tgz","fileCount":8,"integrity":"sha512-RfuZgBqQzMO/abc02e6fjFFsA3lvkmvSKz/P9jayZZmxqZTmL2RVWwHMaF6SSVWGFZCEaKO5PuGQ9u8MJrIquA==","signatures":[{"sig":"MEUCIA6wHWnsP1CLxf3Q7Scu6vTTD+X1HxEgSXNg9DyPk9wDAiEAvX2AtHsQmxIvKreUKfbHrEfsNjrzRcCuTmqfXAYCOU4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62705},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"5d55543d62f07be078d3a26877b5066bf150129c","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-RfuZgBqQzMO/abc02e6fjFFsA3lvkmvSKz/P9jayZZmxqZTmL2RVWwHMaF6SSVWGFZCEaKO5PuGQ9u8MJrIquA==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.4_1769478791677_0.2448662605271903","host":"s3://npm-registry-packages-npm-production"}},"2.2.5":{"name":"@thallesp/nestjs-better-auth","version":"2.2.5","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.5","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"d61656ca8b114162030b16cd90602defd735a214","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.5.tgz","fileCount":8,"integrity":"sha512-f3OwGD5sLffvVfeaxMmvGNMGe5MQqzbkJmn3y9yd4VrBwyHTgdPdXgDu52iaidx6jaTfeuZohH07XszAN0IK5g==","signatures":[{"sig":"MEUCIGdrFRgkLnOrxpOxFVJucrYXV96VyXN6camhW6YRcfrTAiEA9h36BT2zSSETbyjiK60Jsa3e0gETPXX5MAfFDZrxGCI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62741},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"d61656ca8b114162030b16cd90602defd735a214","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-f3OwGD5sLffvVfeaxMmvGNMGe5MQqzbkJmn3y9yd4VrBwyHTgdPdXgDu52iaidx6jaTfeuZohH07XszAN0IK5g==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^4.12.2","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.5_1769544813571_0.10844919293510968","host":"s3://npm-registry-packages-npm-production"}},"2.2.6":{"name":"@thallesp/nestjs-better-auth","version":"2.2.6","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.2.6","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"18de5e4a5cac518c8c8d065f27d408d750fb4c3a","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.2.6.tgz","fileCount":8,"integrity":"sha512-jmS0JggAC4+Ub2zxNuetudaGRlhVo+FGC1kWkBNC1SL+O3ynBH4dH9xEaNMDEZ1/K6VkX3qS2MmdqeN4Oz0iFQ==","signatures":[{"sig":"MEYCIQDGY1bq6nwHGUJjI++emUWNLMp9A72B6fg5fPRMb+HohQIhAORmD/Sk77aTS7qUyBuwhbKMRF15L2oIaSQ2sSNBAYh+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63474},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"18de5e4a5cac518c8c8d065f27d408d750fb4c3a","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-jmS0JggAC4+Ub2zxNuetudaGRlhVo+FGC1kWkBNC1SL+O3ynBH4dH9xEaNMDEZ1/K6VkX3qS2MmdqeN4Oz0iFQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.2.6_1770521800445_0.8889939093530517","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@thallesp/nestjs-better-auth","version":"2.3.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.3.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"b6dc5777063cdaba3ec4b31ec4abafaa2f0d898f","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.3.0.tgz","fileCount":8,"integrity":"sha512-00XmZmqaklvh33AvE6ck4TP9+y55Vs2hp/xZ4p/1mGNKP6ZL9VVEbyzxvmyBDhXxt1bKinBjZbDURBnMWo3k8Q==","signatures":[{"sig":"MEYCIQDm5izVc1KJrDd02VcTDpj6yPAYQ61rLJyeGVqKnW749QIhAJEgYLuiusE1CJuslx9BUWq1EL7JaEL6xGfJwewgBYR2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78906},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"b6dc5777063cdaba3ec4b31ec4abafaa2f0d898f","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-00XmZmqaklvh33AvE6ck4TP9+y55Vs2hp/xZ4p/1mGNKP6ZL9VVEbyzxvmyBDhXxt1bKinBjZbDURBnMWo3k8Q==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.3.0_1770521993637_0.5281687527333336","host":"s3://npm-registry-packages-npm-production"}},"2.3.1":{"name":"@thallesp/nestjs-better-auth","version":"2.3.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.3.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"139bd23f8d01896b04e906220aeb925ac07adc97","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.3.1.tgz","fileCount":8,"integrity":"sha512-LlN8Y3iDo6kzhfD2pRjJ9nI/uGmHIfhLkDnVRug6/FK8LDi5Tc9B05AoZWCw3l1JFq6x9HhAtmvhsQC81EtyVA==","signatures":[{"sig":"MEUCIEAlaykSYh/ur2uKDFoi/TvqTk+XTcfC4MBoaNNgZ2irAiEAzocOmyzHbt4MHyXDucttnHqcsNR+HBwLSZKYqQ00VT8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80131},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"139bd23f8d01896b04e906220aeb925ac07adc97","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-LlN8Y3iDo6kzhfD2pRjJ9nI/uGmHIfhLkDnVRug6/FK8LDi5Tc9B05AoZWCw3l1JFq6x9HhAtmvhsQC81EtyVA==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.3.1_1770522249023_0.5509961855830572","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@thallesp/nestjs-better-auth","version":"2.4.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.4.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"a75dc8b6ea2e7d9375ba6664e2bee9d1bef2c8c1","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.4.0.tgz","fileCount":8,"integrity":"sha512-JSmtXEoYFDTMWyLr6mlXiqlDwurGnlnN52Hwe80AHYuiy7dfNJMIz9X5PfvFjSXs5tcklXoyrgTcm6OYDfQIpw==","signatures":[{"sig":"MEUCIQCOqHWjpV94ja0dP3PWwdgHZt1N8eM2jbMpo6c6n4iYegIgLI7FZr4Bw8hCyY0SncT70Zcvmk5aaHX+qUsJjxBTRRo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83108},"main":"./dist/index.cjs","type":"module","types":"dist/index.d.ts","shasum":"a75dc8b6ea2e7d9375ba6664e2bee9d1bef2c8c1","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome lint","test":"vitest","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-JSmtXEoYFDTMWyLr6mlXiqlDwurGnlnN52Hwe80AHYuiy7dfNJMIz9X5PfvFjSXs5tcklXoyrgTcm6OYDfQIpw==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@nestjs/platform-express":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.3.8 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.4.0_1770524271589_0.0543251951788859","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@thallesp/nestjs-better-auth","version":"2.5.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.5.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"c698af7b13e94c5825e07121b71f481b232e14d2","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.5.0.tgz","fileCount":6,"integrity":"sha512-O16rElbs6p9ZrxAPq4U8mJV6lHGM4285Ev963nVGS9pdrRaEAwIGMTwxwlnaRe/GGVdCKQm3qVVA2APxGOaXFQ==","signatures":[{"sig":"MEUCIHqj38kWb0EVoP1xplRZV70Ir4B0QkoxZCiwQfwdFkHyAiEAgJJM1ouTitEkCRYbHZ7/SpjPbVDWKbhgLt5zrFFCD4M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82474},"type":"module","types":"dist/index.d.ts","shasum":"c698af7b13e94c5825e07121b71f481b232e14d2","engines":{"node":">=22.22.1 <23"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-O16rElbs6p9ZrxAPq4U8mJV6lHGM4285Ev963nVGS9pdrRaEAwIGMTwxwlnaRe/GGVdCKQm3qVVA2APxGOaXFQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.5.0_1773014087648_0.5722063654910474","host":"s3://npm-registry-packages-npm-production"}},"2.5.1":{"name":"@thallesp/nestjs-better-auth","version":"2.5.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.5.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"c3dd2a1740d556b79facc3d1978d82932d2234d0","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.5.1.tgz","fileCount":6,"integrity":"sha512-pEp7om4KOD7sE9CmzpAXsCppzed24NY/TNwbmA8Gomjbn30SrxNfapUFMg/Dw1z2do51dGP7QVNF4oEXNVjsCQ==","signatures":[{"sig":"MEYCIQDY3TFCyc9MlDfgffxRIt9tAhCkjWFgqwN4VzM7715BLgIhAOfXpsYi+5oKZ9awpvCnEucbjFDCxt0eIuw3DyNeTwSi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86643},"type":"module","types":"dist/index.d.ts","shasum":"c3dd2a1740d556b79facc3d1978d82932d2234d0","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-pEp7om4KOD7sE9CmzpAXsCppzed24NY/TNwbmA8Gomjbn30SrxNfapUFMg/Dw1z2do51dGP7QVNF4oEXNVjsCQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.5.1_1773270350372_0.07546330722886174","host":"s3://npm-registry-packages-npm-production"}},"2.5.2":{"name":"@thallesp/nestjs-better-auth","version":"2.5.2","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.5.2","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"8c5112bcc09307c4361064ec2dae87ad7d9e05a5","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.5.2.tgz","fileCount":6,"integrity":"sha512-uJne4bTAB+t8iz/EU3225bxjz8auoMl+BT2DFonQWtapJ140Ye2lrv+n9IWpGCzMg96+xcDebpCXzDtPzdWpFA==","signatures":[{"sig":"MEUCIQC2l7eFZWA8/1B7IeGMOLJfmbBZm9xAtyko6pezv1ufHAIgJEDnIPIyVmwAHQ5fmZ78U0UQpft9qM1t8fg6bmCXlOE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86784},"type":"module","types":"dist/index.d.ts","shasum":"8c5112bcc09307c4361064ec2dae87ad7d9e05a5","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-uJne4bTAB+t8iz/EU3225bxjz8auoMl+BT2DFonQWtapJ140Ye2lrv+n9IWpGCzMg96+xcDebpCXzDtPzdWpFA==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.5.2_1774326822021_0.02088941199008576","host":"s3://npm-registry-packages-npm-production"}},"2.5.3":{"name":"@thallesp/nestjs-better-auth","version":"2.5.3","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.5.3","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"fd7ab0ae8cc70bc42277a08eafe53d3617104ed7","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.5.3.tgz","fileCount":6,"integrity":"sha512-JRGOoD5V6Z6l/RGs+CdEgAdedDwsTXwsKh9sb9vSDbarTd4k0x+YwLw2DACcm+Xo8HL0159+GROsKeNmpVo/EQ==","signatures":[{"sig":"MEUCIQD61u/NgHzcUBYXWK/JOnq4SxopW672amTIcUKYJ8fnTQIgb/i/rb45JaADxZ8onDYMLfBL+DtVsEJUshnm26gyFsU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87706},"type":"module","types":"dist/index.d.ts","shasum":"fd7ab0ae8cc70bc42277a08eafe53d3617104ed7","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-JRGOoD5V6Z6l/RGs+CdEgAdedDwsTXwsKh9sb9vSDbarTd4k0x+YwLw2DACcm+Xo8HL0159+GROsKeNmpVo/EQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.5.3_1774815189183_0.00716508551504913","host":"s3://npm-registry-packages-npm-production"}},"2.5.4":{"name":"@thallesp/nestjs-better-auth","version":"2.5.4","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.5.4","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"2ca218ac705cecd284051ef6d0f9785401f0a778","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.5.4.tgz","fileCount":6,"integrity":"sha512-52KqZVuZtHTdhSPBR2SmIvRk53kdZPIpbynGQAO3NA0T2PLK6lILBPIbEfveIAn9Rx2o9VfkbdhbFQeX8PrEAQ==","signatures":[{"sig":"MEYCIQC0a5HrinFEv4MsQS/b5PpA+fUmAr9eQyNpaeA3JsbqGQIhAMvhEJe801vTdUeL/yhj7KJISM3+kqT60XqrfuIFCEXa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87716},"type":"module","types":"dist/index.d.ts","shasum":"2ca218ac705cecd284051ef6d0f9785401f0a778","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-52KqZVuZtHTdhSPBR2SmIvRk53kdZPIpbynGQAO3NA0T2PLK6lILBPIbEfveIAn9Rx2o9VfkbdhbFQeX8PrEAQ==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2 || ^6.0.0","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.5.4_1775501705752_0.4376980072161263","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@thallesp/nestjs-better-auth","version":"2.6.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.6.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"0ca43276d7adc226eae8322e849854b53ec95fcd","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.6.0.tgz","fileCount":6,"integrity":"sha512-AkZUsJ29QurUdM520UgdkEM79HKYYKiQKrd+fENHvnP/tMqHyb/ASzZ7ETJ5PdeTWYF2ygEDUR9jA0jL0ccNfw==","signatures":[{"sig":"MEUCIQClgQPmnaLQlP3lrXWhTzsCa1ZQ1+tenGZ9Vkcb+4GjUgIgMt6IMpLg9lp9lCGiSQU/5EaeBvx1szoUnnAdHec3KoY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97841},"type":"module","types":"dist/index.d.ts","shasum":"0ca43276d7adc226eae8322e849854b53ec95fcd","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-AkZUsJ29QurUdM520UgdkEM79HKYYKiQKrd+fENHvnP/tMqHyb/ASzZ7ETJ5PdeTWYF2ygEDUR9jA0jL0ccNfw==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2 || ^6.0.0","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.6.0_1775706311870_0.7082345248758319","host":"s3://npm-registry-packages-npm-production"}},"2.6.1":{"name":"@thallesp/nestjs-better-auth","version":"2.6.1","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":"Thalles Passos","license":"MIT","_id":"@thallesp/nestjs-better-auth@2.6.1","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"dist":{"shasum":"8420d6e4722599c3ccf5997050e7db267f36488c","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.6.1.tgz","fileCount":6,"integrity":"sha512-SUfRXLMFtdLa+aL79LH8KkjC2uFkwwbwthymvYXqClWUf8vujUYXoc+es1puIn1OalQ45PiY2p3MPZdslcglKw==","signatures":[{"sig":"MEQCIEmXbibQxJGGid6lihE0Iwh06uDu5xX9xHRpwyyJTVfIAiBMQrZ2J7neSQsM+MYqFMR0joWj4h1mLNc6xVtxnTG4Xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96896},"type":"module","types":"dist/index.d.ts","shasum":"8420d6e4722599c3ccf5997050e7db267f36488c","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"thallesp","email":"contato@thalles.me"},"_integrity":"sha512-SUfRXLMFtdLa+aL79LH8KkjC2uFkwwbwthymvYXqClWUf8vujUYXoc+es1puIn1OalQ45PiY2p3MPZdslcglKw==","_npmVersion":"10.8.3","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2 || ^6.0.0","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.6.1_1780304722147_0.866038208557913","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@thallesp/nestjs-better-auth","version":"2.7.0","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"author":{"name":"Thalles Passos"},"license":"MIT","_id":"@thallesp/nestjs-better-auth@2.7.0","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"homepage":"https://github.com/ThallesP/nestjs-better-auth#readme","bugs":{"url":"https://github.com/ThallesP/nestjs-better-auth/issues"},"dist":{"shasum":"bfd581b280c3e12d327f91b0702a2fbc07177ba6","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.7.0.tgz","fileCount":6,"integrity":"sha512-Grq74scQ4AdEjrAr9mE8780u9N4fn+X/qz7DTHa/K37g+RPw+R3Yde4leRz/UIqsLx0o8p1B5wRGPnM65Q+ZsQ==","signatures":[{"sig":"MEYCIQClf3G7U9w7LJlOIuMd2GSqRoq+2lPSl4YT2mGrXzfB9QIhAPz7q2xnH3VmGdjmlpIbKNPib3v3djnxENu6dD5bGY6r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@thallesp%2fnestjs-better-auth@2.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":100615},"type":"module","types":"dist/index.d.ts","engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"gitHead":"ae3a83d2b1acef316953c173e0457cb9240408fc","scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dd84206d-237b-44e4-95d3-fd30b80c2168"}},"repository":{"url":"git+https://github.com/ThallesP/nestjs-better-auth.git","type":"git"},"_npmVersion":"11.18.0","description":"Better Auth for NestJS","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^13.1.0","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^13.1.0","@nestjs/testing":"^11.1.6","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^11.1.6","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^11.1.6","@nestjs/platform-fastify":"^11.1.6","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^11.1.6"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2 || ^6.0.0","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6","@nestjs/common":"^11.1.6","@nestjs/graphql":"^13.1.0","@nestjs/websockets":"^11.1.6"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/nestjs-better-auth_2.7.0_1783209413540_0.048976696547145204","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"_id":"@thallesp/nestjs-better-auth@2.8.0","bugs":{"url":"https://github.com/ThallesP/nestjs-better-auth/issues"},"dist":{"shasum":"37319934e405dd6ce3781498e090437812f69e0a","tarball":"https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.8.0.tgz","fileCount":6,"integrity":"sha512-B5K8Nlr0BH/tFJAPJAPefC09gKSSFofgmSTQx6XFeWDgPcG6awTh9iRFlv9it0skYgcCD2fXr53ChgXjLse0pw==","signatures":[{"sig":"MEQCIGaateS4/IM9+KE5U1BdtIHzS0ijcqOz7A3offdCltM4AiAlZw7TbmOZeatxhVLA4TPIhU/HcgWKMUUo95s7OGhKtw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGEP7VwwhKSdxthPf8sAkIn3EtMWc6I0qBnu8rofXwrOAiEAhY+aX5ciNCciUJqsEEAwRSBC5qMq3qfO1X/97e/sB1s="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@thallesp%2fnestjs-better-auth@2.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":100719},"name":"@thallesp/nestjs-better-auth","type":"module","types":"dist/index.d.ts","author":{"name":"Thalles Passos"},"engines":{"node":">=22.22.1"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"gitHead":"99d4a94e941e85ce98ddebec6d83b03a297da545","license":"MIT","scripts":{"lint":"biome lint","test":"bun run test:express && bun run test:fastify","build":"unbuild","check":"biome check","format":"biome format","prepack":"bun run unbuild","test:watch":"vitest","test:express":"TEST_HTTP_ADAPTER=express vitest run","test:fastify":"TEST_HTTP_ADAPTER=fastify vitest run","test:adapters":"sh -c 'status=0; bun run test:express & pid1=$!; bun run test:fastify & pid2=$!; wait $pid1 || status=$?; wait $pid2 || status=$?; exit $status'"},"version":"2.8.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dd84206d-237b-44e4-95d3-fd30b80c2168"}},"homepage":"https://github.com/ThallesP/nestjs-better-auth#readme","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"repository":{"url":"git+https://github.com/ThallesP/nestjs-better-auth.git","type":"git"},"_npmVersion":"12.0.2","description":"Better Auth for NestJS","directories":{},"maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"qs":"^6.14.0","vitest":"^3.2.4","fastify":"^5.6.1","graphql":"^16.11.0","unbuild":"^3.6.1","@swc/cli":"^0.7.8","@swc/core":"^1.13.20","socket.io":"^4.8.1","supertest":"^7.1.4","@types/bun":"latest","@nestjs/core":"^12.0.1","unplugin-swc":"^1.5.7","@apollo/server":"^5.0.0","@biomejs/biome":"2.2.4","@nestjs/apollo":"^14.0.0","@nestjs/common":"^12.0.1","@types/express":"^5.0.3","@faker-js/faker":"^10.0.0","@nestjs/graphql":"^14.0.0","@nestjs/testing":"^12.0.1","@tsconfig/node22":"^22.0.2","@types/supertest":"^6.0.3","reflect-metadata":"^0.2.2","socket.io-client":"^4.8.1","@nestjs/websockets":"^12.0.1","@vitest/coverage-v8":"^3.2.4","@as-integrations/fastify":"^3.1.0","@nestjs/platform-express":"^12.0.1","@nestjs/platform-fastify":"^12.0.1","@as-integrations/express5":"^1.1.2","@nestjs/platform-socket.io":"^12.0.1"},"peerDependencies":{"qs":"^6.14.0","express":"^5.1.0","graphql":"^16.11.0","typescript":"^5.9.2 || ^6.0.0","better-auth":">=1.5.0 <2.0.0","@nestjs/core":"^11.1.6 || ^12.0.0","@nestjs/common":"^11.1.6 || ^12.0.0","@nestjs/graphql":"^13.1.0 || ^14.0.0","@nestjs/websockets":"^11.1.6 || ^12.0.0"},"peerDependenciesMeta":{"qs":{"optional":true},"express":{"optional":true},"graphql":{"optional":true},"@nestjs/graphql":{"optional":true},"@nestjs/websockets":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs-better-auth_2.8.0_1788467363754_0.09752456981471203"}}},"time":{"created":"2025-06-15T20:59:20.555Z","modified":"2026-09-03T20:29:24.262Z","1.0.0":"2025-06-15T20:59:20.804Z","1.0.1":"2025-07-21T18:32:02.221Z","1.0.2":"2025-07-24T17:39:49.147Z","1.0.3":"2025-08-22T05:02:35.243Z","2.0.0":"2025-09-27T17:31:28.616Z","2.0.1":"2025-10-04T16:21:04.755Z","2.1.0":"2025-10-12T15:30:07.836Z","2.2.0":"2025-11-25T11:44:48.657Z","2.2.1":"2026-01-10T20:59:22.317Z","2.2.2":"2026-01-10T21:02:04.258Z","2.2.3":"2026-01-27T01:14:52.688Z","2.2.4":"2026-01-27T01:53:11.820Z","2.2.5":"2026-01-27T20:13:33.739Z","2.2.6":"2026-02-08T03:36:40.599Z","2.3.0":"2026-02-08T03:39:53.790Z","2.3.1":"2026-02-08T03:44:09.168Z","2.4.0":"2026-02-08T04:17:51.741Z","2.5.0":"2026-03-08T23:54:47.785Z","2.5.1":"2026-03-11T23:05:50.548Z","2.5.2":"2026-03-24T04:33:42.168Z","2.5.3":"2026-03-29T20:13:09.351Z","2.5.4":"2026-04-06T18:55:05.885Z","2.6.0":"2026-04-09T03:45:12.054Z","2.6.1":"2026-06-01T09:05:22.281Z","2.7.0":"2026-07-04T23:56:53.670Z","2.8.0":"2026-09-03T20:29:23.898Z"},"bugs":{"url":"https://github.com/ThallesP/nestjs-better-auth/issues"},"author":{"name":"Thalles Passos"},"license":"MIT","homepage":"https://github.com/ThallesP/nestjs-better-auth#readme","keywords":["nestjs","better-auth","auth","nestjs-better-auth"],"repository":{"url":"git+https://github.com/ThallesP/nestjs-better-auth.git","type":"git"},"description":"Better Auth for NestJS","maintainers":[{"name":"thallesp","email":"contato@thalles.me"}],"readme":"# NestJS Better Auth Integration\n\nA comprehensive NestJS integration library for [Better Auth](https://www.better-auth.com/), providing seamless authentication and authorization for your NestJS applications.\n\n## Installation\n\nInstall the library in your NestJS project:\n\n```bash\n# Using npm\nnpm install @thallesp/nestjs-better-auth\n\n# Using yarn\nyarn add @thallesp/nestjs-better-auth\n\n# Using pnpm\npnpm add @thallesp/nestjs-better-auth\n\n# Using bun\nbun add @thallesp/nestjs-better-auth\n```\n\n## Prerequisites\n\n> [!IMPORTANT]  \n> Requires `better-auth` >= 1.5.0. Older versions are deprecated and unsupported.\n\nBefore you start, make sure you have:\n\n- A working NestJS application\n- Better Auth (>= 1.5.0) installed and configured ([installation guide](https://www.better-auth.com/docs/installation))\n\n## Basic Setup\n\n**1. Disable Body Parser**\n\nDisable NestJS's built-in body parser to allow Better Auth to handle the raw request body:\n\n```ts title=\"main.ts\"\nimport { NestFactory } from \"@nestjs/core\";\nimport { AppModule } from \"./app.module\";\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule, {\n    // The library will re-add the default body parsers for non-auth routes.\n    bodyParser: false,\n  });\n  await app.listen(process.env.PORT ?? 3333);\n}\nbootstrap();\n```\n\n> [!IMPORTANT]\n> **Side Effect:** Since we disable NestJS's built-in body parser, the `rawBody: true` option in `NestFactory.create()` has no effect.\n> If you need access to `req.rawBody` (e.g., for webhook signature verification), use `bodyParser.rawBody` in `AuthModule.forRoot()` instead.\n> See [Module Options](#module-options) for details.\n\n**2. Import AuthModule**\n\nImport the `AuthModule` in your root module:\n\n```ts title=\"app.module.ts\"\nimport { Module } from \"@nestjs/common\";\nimport { AuthModule } from \"@thallesp/nestjs-better-auth\";\nimport { auth } from \"./auth\";\n\n@Module({\n  imports: [\n    AuthModule.forRoot({\n      auth,\n      bodyParser: {\n        json: { limit: \"2mb\" },\n        urlencoded: { limit: \"2mb\", extended: true },\n        rawBody: true,\n      },\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\nBoth `bodyParser.json` and `bodyParser.urlencoded` accept parser options plus an `enabled` flag if you want to disable either parser individually. Set `bodyParser.rawBody` to `true` if you also want Nest-style `req.rawBody` support.\n\nOn Fastify, `bodyParser.urlencoded` with `extended: true` uses the optional peer dependency `qs`. Install `qs` in your application if you want nested URL-encoded parsing there.\n\nIf you configure `trustedOrigins`, this module also applies Better Auth CORS headers for auth routes. On Fastify, Better Auth routes are mounted through middleware, so app-level `@fastify/cors` does not fully cover them by itself.\n\n## Route Protection\n\n**Global by default**: An `AuthGuard` is registered globally by this module. All routes are protected unless you explicitly allow access with `@AllowAnonymous()` or mark them as optional with `@OptionalAuth()`.\n\nGraphQL is supported and works the same way as REST: the global guard applies to resolvers too, and you can use `@AllowAnonymous()`/`@OptionalAuth()` on queries and mutations.\n\nWebSocket is also supported and works in the same way as REST and GraphQL: you can use `@AllowAnonymous()`/`@OptionalAuth()` on any connections, but you must set the AuthGuard for all of them, either at the Gateway or Message level, like so:\n\n```ts\nimport { SubscribeMessage, WebSocketGateway } from \"@nestjs/websockets\";\nimport { UseGuards } from \"@nestjs/common\";\nimport { AuthGuard } from '@thallesp/nestjs-better-auth';\n\n@WebSocketGateway({\n\tpath: \"/ws\",\n\tnamespace: \"test\",\n\tcors: {\n\t\torigin: \"*\",\n\t},\n})\n@UseGuards(AuthGuard)\nexport class TestGateway { /* ... */ }\n```\n\nCheck the [test gateway](./tests/shared/test-gateway.ts) for a full example.\n\n## Decorators\n\nBetter Auth provides several decorators to enhance your authentication setup:\n\n### Session Decorator\n\nAccess the user session in your controllers:\n\n```ts title=\"user.controller.ts\"\nimport { Controller, Get } from \"@nestjs/common\";\nimport { Session, UserSession } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"users\")\nexport class UserController {\n  @Get(\"me\")\n  async getProfile(@Session() session: UserSession) {\n    return session;\n  }\n}\n```\n\n### AllowAnonymous and OptionalAuth Decorators\n\nControl authentication requirements for specific routes:\n\n```ts title=\"app.controller.ts\"\nimport { Controller, Get } from \"@nestjs/common\";\nimport { AllowAnonymous, OptionalAuth } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"users\")\nexport class UserController {\n  @Get(\"public\")\n  @AllowAnonymous() // Allow anonymous access (no authentication required)\n  async publicRoute() {\n    return { message: \"This route is public\" };\n  }\n\n  @Get(\"optional\")\n  @OptionalAuth() // Authentication is optional for this route\n  async optionalRoute(@Session() session: UserSession) {\n    return { authenticated: !!session, session };\n  }\n}\n```\n\nAlternatively, use as a class decorator for an entire controller:\n\n```ts title=\"app.controller.ts\"\n@AllowAnonymous() // All routes inside this controller are public\n@Controller(\"public\")\nexport class PublicController {\n  /* */\n}\n\n@OptionalAuth() // Authentication is optional for all routes\n@Controller(\"optional\")\nexport class OptionalController {\n  /* */\n}\n```\n\n### Role-Based Access Control\n\nThis library provides two role decorators for different use cases:\n\n| Decorator | Checks | Use Case |\n|-----------|--------|----------|\n| `@Roles()` | `user.role` only | System-level roles ([admin plugin](https://www.better-auth.com/docs/plugins/admin)) |\n| `@RequireActiveOrg()` | Active organization only | Routes that only need `activeOrganizationId` for scoping |\n| `@OrgRoles()` | Active organization + organization member role | Organization-level roles ([organization plugin](https://www.better-auth.com/docs/plugins/organization)) |\n\n> [!IMPORTANT]\n> These decorators are intentionally **separate** to prevent privilege escalation. The `@Roles()` decorator only checks `user.role` and does **not** check organization member roles. This ensures an organization admin cannot bypass system-level admin protection.\n\n#### @Roles() - System-Level Roles\n\nUse `@Roles()` for system-wide admin protection. This checks only the `user.role` field from Better Auth's [admin plugin](https://www.better-auth.com/docs/plugins/admin).\n\n```ts title=\"admin.controller.ts\"\nimport { Controller, Get } from \"@nestjs/common\";\nimport { Roles } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"admin\")\nexport class AdminController {\n  @Roles([\"admin\"])\n  @Get(\"dashboard\")\n  async adminDashboard() {\n    // Only users with user.role = 'admin' can access\n    // Organization admins CANNOT access this route\n    return { message: \"System admin dashboard\" };\n  }\n}\n\n// Or as a class decorator\n@Roles([\"admin\"])\n@Controller(\"admin\")\nexport class AdminController {\n  /* All routes require user.role = 'admin' */\n}\n```\n\n#### @RequireActiveOrg() - Active Organization Only\n\nUse `@RequireActiveOrg()` when a route or controller only needs an active organization context. This requires authentication and `session.activeOrganizationId`, but does not require any specific organization role.\n\n```ts title=\"projects.controller.ts\"\nimport { Controller, Get } from \"@nestjs/common\";\nimport {\n  RequireActiveOrg,\n  Session,\n  UserSession,\n} from \"@thallesp/nestjs-better-auth\";\n\n@RequireActiveOrg()\n@Controller(\"projects\")\nexport class ProjectsController {\n  @Get()\n  async listProjects(@Session() session: UserSession) {\n    return { orgId: session.session.activeOrganizationId };\n  }\n}\n```\n\nUse this when the controller only needs an active organization ID for scoping data, but authorization is handled elsewhere or organization roles are dynamic.\n\n#### @OrgRoles() - Organization-Level Roles\n\nUse `@OrgRoles()` for organization-scoped protection when you want to require an active organization and one of the specified organization member roles.\n\n```ts title=\"org.controller.ts\"\nimport { Controller, Get } from \"@nestjs/common\";\nimport { OrgRoles, Session, UserSession } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"org\")\nexport class OrgController {\n  @OrgRoles([\"owner\", \"admin\"])\n  @Get(\"settings\")\n  async getOrgSettings(@Session() session: UserSession) {\n    // Only org owners/admins can access (requires activeOrganizationId)\n    // System admins (user.role = 'admin') CANNOT access without org context\n    return { orgId: session.session.activeOrganizationId };\n  }\n\n  @OrgRoles([\"owner\"])\n  @Get(\"billing\")\n  async getOrgBilling() {\n    // Only org owners can access\n    return { message: \"Billing settings\" };\n  }\n}\n```\n\n> [!NOTE]\n> Both role decorators accept any role strings you define. Better Auth's organization plugin provides default roles (`owner`, `admin`, `member`), but you can configure custom roles. The organization creator automatically gets the `owner` role.\n\n### Permission-Based Access Control\n\nThis library provides two permission decorators for fine-grained access control:\n\n| Decorator | Checks | Use Case |\n|-----------|--------|----------|\n| `@UserHasPermission()` | User-level permissions | System-level permissions ([admin plugin access control](https://www.better-auth.com/docs/plugins/admin/access-control)) |\n| `@MemberHasPermission()` | Organization member permissions | Organization-level permissions ([organization plugin access control](https://www.better-auth.com/docs/plugins/organization#access-control)) |\n\n#### @UserHasPermission() - System-Level Permissions\n\nUse `@UserHasPermission()` for system-wide permission-based access control. This checks user permissions using Better Auth's [admin plugin access control](https://www.better-auth.com/docs/plugins/admin/access-control).\n\n**Prerequisites:**\n- Configure access control in your Better Auth admin plugin\n\n```ts title=\"auth.ts\"\nimport { betterAuth } from \"better-auth\";\nimport { admin } from \"better-auth/plugins/admin\";\nimport { createAccessControl } from \"better-auth/plugins/access\";\n\nconst statement = {\n  project: [\"create\", \"share\", \"update\", \"delete\"],\n  sale: [\"create\", \"read\", \"update\", \"delete\"],\n} as const;\n\nconst ac = createAccessControl(statement);\n\nconst editor = ac.newRole({\n  project: [\"create\", \"update\"],\n});\n\nconst admin = ac.newRole({\n  project: [\"create\", \"update\", \"delete\"],\n  sale: [\"create\", \"read\", \"update\", \"delete\"],\n});\n\nexport const auth = betterAuth({\n  plugins: [\n    admin({\n      ac,\n      roles: {\n        editor,\n        admin,\n      },\n    }),\n  ],\n});\n```\n\n**Usage:**\n\n```ts title=\"project.controller.ts\"\nimport { Controller, Get, Post } from \"@nestjs/common\";\nimport { UserHasPermission } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"projects\")\nexport class ProjectController {\n  @UserHasPermission({ permission: { project: [\"create\", \"update\"] } })\n  @Post()\n  async createProject() {\n    // Only users with project: [\"create\", \"update\"] permissions can access\n    return { message: \"Project created\" };\n  }\n\n  @UserHasPermission({ permission: { project: [\"delete\"] } })\n  @Post(\":id/delete\")\n  async deleteProject() {\n    // Only users with project: [\"delete\"] permission can access\n    return { message: \"Project deleted\" };\n  }\n\n  @UserHasPermission({\n    permissions: { project: [\"create\"], sale: [\"create\"] },\n  })\n}\n```\n\n**Options:**\n\n- `permission`: A single permission check (e.g., `{ project: [\"create\", \"update\"] }`)\n- `permissions`: Multiple permission checks across resources (e.g., `{ project: [\"create\"], sale: [\"create\"] }`)\n- `role` (server-only): Check permissions for a specific role\n- `userId` (optional): Check permissions for a specific user (defaults to current user)\n\n#### @MemberHasPermission() - Organization-Level Permissions\n\nUse `@MemberHasPermission()` for organization-scoped permission-based access control. This checks organization member permissions using Better Auth's [organization plugin access control](https://www.better-auth.com/docs/plugins/organization#access-control). Requires an active organization (`activeOrganizationId` in session).\n\n**Prerequisites:**\n- Configure access control in your Better Auth organization plugin\n- Define custom organization roles with permissions\n\n```ts title=\"auth.ts\"\nimport { betterAuth } from \"better-auth\";\nimport { organization } from \"better-auth/plugins/organization\";\nimport { createAccessControl } from \"better-auth/plugins/access\";\n\nconst statement = {\n  project: [\"create\", \"share\", \"update\", \"delete\"],\n  sale: [\"create\", \"read\", \"update\", \"delete\"],\n  organization: [\"update\", \"delete\"],\n} as const;\n\nconst ac = createAccessControl(statement);\n\nconst editor = ac.newRole({\n  project: [\"create\", \"update\"],\n});\n\nconst admin = ac.newRole({\n  project: [\"create\", \"update\", \"delete\"],\n  organization: [\"update\"],\n});\n\nexport const auth = betterAuth({\n  plugins: [\n    organization({\n      ac,\n      roles: {\n        editor,\n        admin,\n      },\n    }),\n  ],\n});\n```\n\n**Usage:**\n\n```ts title=\"org-project.controller.ts\"\nimport { Controller, Get, Post } from \"@nestjs/common\";\nimport { MemberHasPermission, Session, UserSession } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"org/projects\")\nexport class OrgProjectController {\n  @MemberHasPermission({ permissions: { project: [\"create\", \"update\"] } })\n  @Post()\n  async createProject(@Session() session: UserSession) {\n    // Only org members with project: [\"create\", \"update\"] permissions can access\n    // Requires activeOrganizationId in session\n    return {\n      message: \"Project created\",\n      orgId: session.session.activeOrganizationId,\n    };\n  }\n\n  @MemberHasPermission({ permissions: { project: [\"delete\"] } })\n  @Post(\":id/delete\")\n  async deleteProject() {\n    // Only org members with project: [\"delete\"] permission can access\n    return { message: \"Project deleted\" };\n  }\n}\n```\n\n**Options:**\n\n- `permissions`: The permissions to check (required). Must match the structure in your organization access control.\n\n\n### Hook Decorators\n\n> [!IMPORTANT]\n> To use `@Hook`, `@BeforeHook`, `@AfterHook`, set `hooks: {}` (empty object) in your `betterAuth(...)` config. You can still add your own Better Auth hooks; `hooks: {}` (empty object) is just the minimum required.\n\nMinimal Better Auth setup with hooks enabled:\n\n```ts title=\"auth.ts\"\nimport { betterAuth } from \"better-auth\";\n\nexport const auth = betterAuth({\n  basePath: \"/api/auth\",\n  // other better-auth options...\n  hooks: {}, // minimum required to use hooks. read above for more details.\n});\n```\n\nCreate custom hooks that integrate with NestJS's dependency injection:\n\n```ts title=\"hooks/sign-up.hook.ts\"\nimport { Injectable } from \"@nestjs/common\";\nimport {\n  BeforeHook,\n  Hook,\n  AuthHookContext,\n} from \"@thallesp/nestjs-better-auth\";\nimport { SignUpService } from \"./sign-up.service\";\n\n@Hook()\n@Injectable()\nexport class SignUpHook {\n  constructor(private readonly signUpService: SignUpService) {}\n\n  @BeforeHook(\"/sign-up/email\")\n  async handle(ctx: AuthHookContext) {\n    // Custom logic like enforcing email domain registration\n    // Can throw APIError if validation fails\n    await this.signUpService.execute(ctx);\n  }\n}\n```\n\nRegister your hooks in a module:\n\n```ts title=\"app.module.ts\"\nimport { Module } from \"@nestjs/common\";\nimport { AuthModule } from \"@thallesp/nestjs-better-auth\";\nimport { SignUpHook } from \"./hooks/sign-up.hook\";\nimport { SignUpService } from \"./sign-up.service\";\nimport { auth } from \"./auth\";\n\n@Module({\n  imports: [AuthModule.forRoot({ auth })],\n  providers: [SignUpHook, SignUpService],\n})\nexport class AppModule {}\n```\n\n### Database Hook Decorators\n\n> [!IMPORTANT]\n> To use `@DatabaseHook`, `@BeforeCreate`, `@AfterCreate`, `@BeforeUpdate`, `@AfterUpdate`, `@BeforeDelete`, `@AfterDelete`, set `databaseHooks: {}` (empty object) in your `betterAuth(...)` config.\n\nDatabase hooks let you hook into the lifecycle of core database operations (create, update, delete) for Better Auth models (`user`, `session`, `account`, `verification`).\n\nMinimal Better Auth setup with database hooks enabled:\n\n```ts title=\"auth.ts\"\nimport { betterAuth } from \"better-auth\";\n\nexport const auth = betterAuth({\n  // other better-auth options...\n  databaseHooks: {}, // empty object is the minimum required\n});\n```\n\nCreate database hooks that integrate with NestJS's dependency injection:\n\n```ts title=\"hooks/user-create.hook.ts\"\nimport { Injectable } from \"@nestjs/common\";\nimport {\n  DatabaseHook,\n  BeforeCreate,\n  AfterCreate,\n} from \"@thallesp/nestjs-better-auth\";\nimport { EmailService } from \"./email.service\";\n\n@DatabaseHook()\n@Injectable()\nexport class UserCreateHook {\n  constructor(private readonly emailService: EmailService) {}\n\n  @BeforeCreate(\"user\")\n  async beforeUserCreate(user) {\n    return {\n      data: {\n        ...user,\n        firstName: user.name.split(\" \")[0],\n        lastName: user.name.split(\" \")[1],\n      },\n    };\n  }\n\n  @AfterCreate(\"user\")\n  async afterUserCreate(user) {\n    await this.emailService.sendWelcomeEmail(user.email);\n  }\n}\n```\n\nRegister your database hooks in a module:\n\n```ts title=\"app.module.ts\"\nimport { Module } from \"@nestjs/common\";\nimport { AuthModule } from \"@thallesp/nestjs-better-auth\";\nimport { UserCreateHook } from \"./hooks/user-create.hook\";\nimport { EmailService } from \"./email.service\";\nimport { auth } from \"./auth\";\n\n@Module({\n  imports: [AuthModule.forRoot({ auth })],\n  providers: [UserCreateHook, EmailService],\n})\nexport class AppModule {}\n```\n\nAvailable method decorators:\n\n| Decorator | Description |\n|-----------|-------------|\n| `@BeforeCreate(model)` | Runs before a record is created |\n| `@AfterCreate(model)` | Runs after a record is created |\n| `@BeforeUpdate(model)` | Runs before a record is updated |\n| `@AfterUpdate(model)` | Runs after a record is updated |\n| `@BeforeDelete(model)` | Runs before a record is deleted |\n| `@AfterDelete(model)` | Runs after a record is deleted |\n\nWhere `model` is one of: `\"user\"`, `\"session\"`, `\"account\"`, `\"verification\"`.\n\n`before` hooks can return `false` to abort the operation, or `{ data: ... }` to modify the data before it's written. `after` hooks are for side effects only.\n\n## AuthService\n\nThe `AuthService` is automatically provided by the `AuthModule` and can be injected into your controllers to access the Better Auth instance and its API endpoints.\n\n```ts title=\"users.controller.ts\"\nimport { Controller, Get, Post, Request, Body } from \"@nestjs/common\";\nimport { AuthService } from \"@thallesp/nestjs-better-auth\";\nimport { fromNodeHeaders } from \"better-auth/node\";\nimport type { Request as ExpressRequest } from \"express\";\nimport { auth } from \"../auth\";\n\n@Controller(\"users\")\nexport class UsersController {\n  constructor(private authService: AuthService<typeof auth>) {}\n\n  @Get(\"accounts\")\n  async getAccounts(@Request() req: ExpressRequest) {\n    // Pass the request headers to the auth API\n    const accounts = await this.authService.api.listUserAccounts({\n      headers: fromNodeHeaders(req.headers),\n    });\n\n    return { accounts };\n  }\n\n  @Post(\"api-keys\")\n  async createApiKey(@Request() req: ExpressRequest, @Body() body) {\n    // Access plugin-specific functionality with request headers\n    // createApiKey is a method added by a plugin, not part of the core API\n    return this.authService.api.createApiKey({\n      ...body,\n      headers: fromNodeHeaders(req.headers),\n    });\n  }\n}\n```\n\nWhen using plugins that extend the Auth type with additional functionality, use generics to access the extended features as shown above with `AuthService<typeof auth>`. This ensures type safety when using plugin-specific API methods like `createApiKey`.\n\n## Request Object Access\n\nYou can access the session and user through the request object:\n\n```ts\nimport { Controller, Get, Request } from \"@nestjs/common\";\nimport type { Request as ExpressRequest } from \"express\";\n\n@Controller(\"users\")\nexport class UserController {\n  @Get(\"me\")\n  async getProfile(@Request() req: ExpressRequest) {\n    return {\n      session: req.session, // Session is attached to the request\n      user: req.user, // User object is attached to the request\n    };\n  }\n}\n```\n\nThe request object provides:\n\n- `req.session`: The full session object containing user data and authentication state\n- `req.user`: A direct reference to the user object from the session (useful for observability tools like Sentry)\n\n### Advanced: Disable the global AuthGuard\n\nIf you prefer to manage guards yourself, you can disable the global guard and then apply `@UseGuards(AuthGuard)` per controller/route or register it via `APP_GUARD`.\n\n```ts title=\"app.module.ts\"\nimport { Module } from \"@nestjs/common\";\nimport { AuthModule } from \"@thallesp/nestjs-better-auth\";\nimport { auth } from \"./auth\";\n\n@Module({\n  imports: [\n    AuthModule.forRoot({\n      auth,\n      disableGlobalAuthGuard: true,\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\n```ts title=\"app.controller.ts\"\nimport { Controller, Get, UseGuards } from \"@nestjs/common\";\nimport { AuthGuard } from \"@thallesp/nestjs-better-auth\";\n\n@Controller(\"users\")\n@UseGuards(AuthGuard)\nexport class UserController {\n  @Get(\"me\")\n  async getProfile() {\n    return { message: \"Protected route\" };\n  }\n}\n```\n\n## Module Options\n\nWhen configuring `AuthModule.forRoot()`, you can provide options to customize the behavior:\n\n```typescript\nAuthModule.forRoot({\n  auth,\n  disableTrustedOriginsCors: false,\n  bodyParser: {\n    json: { enabled: true },\n    urlencoded: { enabled: true, extended: true },\n    rawBody: false,\n  },\n  disableBodyParser: false,\n  enableRawBodyParser: false,\n  disableGlobalAuthGuard: false,\n  disableControllers: false,\n});\n```\n\nThe available options are:\n\n| Option                      | Default | Description                                                                                                                                                              |\n| --------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `disableTrustedOriginsCors` | `false` | When set to `true`, disables the automatic CORS configuration for the origins specified in `trustedOrigins`. On Fastify, use this only if you want to fully manage Better Auth route CORS yourself. |\n| `bodyParser`                | Re-adds JSON and URL-encoded body parsers | Configure the body parsers re-added by the module after Nest body parsing is disabled. `json` and `urlencoded` accept the parser options object plus `enabled?: boolean`, and `rawBody?: boolean` enables `req.rawBody`. |\n| `disableBodyParser`         | `false` | Deprecated. Use `bodyParser.json.enabled` and `bodyParser.urlencoded.enabled` instead. When set to `true`, disables both parsers unless you explicitly re-enable one in `bodyParser`. |\n| `enableRawBodyParser`       | `false` | Deprecated. Use `bodyParser.rawBody` instead. When set to `true`, enables raw body parsing and attaches the raw buffer to `req.rawBody`. |\n| `disableGlobalAuthGuard`    | `false` | When set to `true`, does not register `AuthGuard` as a global guard. Use this if you prefer to apply `AuthGuard` manually or register it yourself via `APP_GUARD`.       |\n| `disableControllers`        | `false` | When set to `true`, does not register any controllers. Use this if you want to handle routes manually.                                                                   |\n| `middleware`                | `undefined` | Optional middleware function that wraps the Better Auth handler. Receives `(req, res, next)` parameters. Useful for integrating with request-scoped libraries like MikroORM's RequestContext. |\n\n### Body Parser Configuration\n\nUse `bodyParser` to customize the parsers that this library re-adds after you disable Nest's built-in body parser:\n\n```ts\nAuthModule.forRoot({\n  auth,\n  bodyParser: {\n    json: {\n      limit: \"2mb\",\n    },\n    urlencoded: {\n      enabled: true,\n      extended: true,\n      limit: \"2mb\",\n    },\n    rawBody: true,\n  },\n});\n```\n\n`bodyParser.rawBody` enables `req.rawBody` support, while `bodyParser.json` and `bodyParser.urlencoded` configure the corresponding parser behavior for the active adapter.\n\nIf you use Fastify with `bodyParser.urlencoded({ extended: true })`, install the optional peer dependency `qs` to enable nested form parsing.\n\n### CORS on Fastify\n\nIf your Better Auth config sets `trustedOrigins`, this module applies CORS to Better Auth routes automatically.\n\nOn Fastify, Better Auth routes are served through middleware internally. Because of that:\n\n- app-level `@fastify/cors` does not fully apply to Better Auth routes on its own\n- this module applies Better Auth route CORS from `trustedOrigins`\n\nThis Fastify fallback only supports array-based `trustedOrigins`. Function-based `trustedOrigins` remain unsupported unless you set `disableTrustedOriginsCors: true` and manage Better Auth route CORS manually.\n\nSet `disableTrustedOriginsCors: true` only if you want to fully manage Better Auth route CORS yourself.\n\n### Using Custom Middleware\n\nYou can provide a custom middleware function that wraps the Better Auth handler. This is particularly useful when integrating with libraries like MikroORM that require request context:\n\n```typescript\nimport { RequestContext } from '@mikro-orm/core';\n\nAuthModule.forRoot({\n  auth,\n  middleware: (req, res, next) => {\n    RequestContext.create(orm.em, next);\n  },\n});\n```\n\nThe middleware receives standard Express middleware parameters `(req, res, next)` where `next` is a function that invokes the Better Auth handler.\n","readmeFilename":"README.md"}