{"_id":"better-auth-abac","_rev":"29-6237cd84e2a5704a9fdc7142d05f59d9","name":"better-auth-abac","dist-tags":{"latest":"1.3.1","prerelease":"1.2.0-prerelease.12"},"versions":{"1.0.0":{"name":"better-auth-abac","version":"1.0.0","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.0.0","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"6a22d9f4e103781a83bd65d242c4b3db31b7b193","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.0.0.tgz","fileCount":11,"integrity":"sha512-C+aFpYLhfQxrCaM4gkI+jhCfykCzTO+8TkotSSz7NNG7RgRpTa6JBu/ke1A+lFRWR82ryUhuF3h9ki4ZnfBnzw==","signatures":[{"sig":"MEYCIQCcPhAYXAwfKaT3SsDeqBx4Pl/GXAA2VR63BaIhwg1xGwIhANXYy0Gk5LzGzs0xTkagKl/jjYe8sh0bNGrXXFpbogRO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63325},"main":"index.js","gitHead":"a59cecc08a8f3486c45b5f535abf94d0e7ea0924","scripts":{"build":"tsc","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.0.0_1749417126452_0.7747087402000945","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"better-auth-abac","version":"1.1.0","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.0","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"097db6c68c8bea2f9910108e5f1ed5a316405c43","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.0.tgz","fileCount":12,"integrity":"sha512-dMCyh/p35liJrIq4WxBrcvcLre/JY4RBs8BNL3SjisVwLhvMBwZIpGRrA7UHFiwhRaVhEpFB7IAzQ1k2tbHA+A==","signatures":[{"sig":"MEUCIQD9gParOjeNxRS+oSbZIDeM63VklUATCMusuKqbOOoiggIgRGBvOtoKQmY8XZGPWPjW4gsMB0eaaSZ7VK7F7KS13xg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70478},"main":"index.js","gitHead":"6e75732f083c98d8c6bb2cde434366687c9018c3","scripts":{"build":"tsc","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.0_1749417322325_0.4388689215493389","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"better-auth-abac","version":"1.1.1","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.1","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"7f30d9c44bfb13cd69e697987cefab2c8e67fd43","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.1.tgz","fileCount":12,"integrity":"sha512-P0g2Lgi+6bwa+XHE3r6lFNq0t1DtNDj5ML/eFBDTjJdrDkSK1W3YpCef8y6lwMVUJPzr+BQRmRy4F+/9oBwJdA==","signatures":[{"sig":"MEYCIQCkvucSMIehKJt2XFWK+pXYfx4MkJ4iQjtKUW/UZWJ30wIhAK80+3G2aX98itYfPFlaPQnq8qvIOogpg8e9suI69kT2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70478},"main":"index.js","gitHead":"353d2ed331bd2636d36d909656e06b875dabba35","scripts":{"build":"tsc","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.1_1749417849339_0.848575076679237","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"better-auth-abac","version":"1.1.2","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.2","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"0feef24593ff52efe01b29c1e3bb68e46731911d","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.2.tgz","fileCount":12,"integrity":"sha512-9D4Z2mKg1tlPiadWsZzspX1M7pyvcX7ut0Ol0ChSKKSrwda7cb9MC9cJNvNzvVryFBF233KKV18e/VxPT1YATw==","signatures":[{"sig":"MEYCIQDFiZ2FFOEJE5avYYq/GSegJWyH0iFbabnkkdlVGmuvdQIhAMzp4R4zNG/rlVnN0cQy/3p852sS+prxw+GLoe+EoyeR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70761},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b13500a51d43c1fec25e0be4d97e8386c61f6649","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.2_1749418599214_0.511258247381208","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"better-auth-abac","version":"1.1.3","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.3","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"a7cfd25c9a19462e4db9bf6872eb89edb3f80cee","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.3.tgz","fileCount":12,"integrity":"sha512-0GEL3vk5cE4qkeI1XisI2F8UwTbhdOOjRqXEtAqg2g/LvHtEZpk3/wk8ZDBjQdsu3uXB4qZs0oR3Xp5HEbMqEg==","signatures":[{"sig":"MEUCIEqmCV4kYc6CCQRrBr3qFHp42EUbpxkBvmDqAgC+nH7QAiEA3KbkfmMJ9vn4WOI51n09BISfwJHYYLjjSFN/JQAPyPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70761},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"bc5597f1ece11b8c2e808594b4dfd47500673f26","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.3_1749418697257_0.1344965840022636","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"better-auth-abac","version":"1.1.4","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.4","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"0153ea7e5f13e252072b4abf3453dc6d55beab4b","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.4.tgz","fileCount":12,"integrity":"sha512-AKw+N1MfDAXoRKPw8cOul3ahh/2OUYLCRf7Jlu/SG2BXUwaxmZCx/nEmhCYm1D3IgKSkUIKSC5obJ9aZF2A0+w==","signatures":[{"sig":"MEUCIQDJ3+6FRyzyVT8NYovo7GuoUr72ydp1i7rgYGz/GZA7ewIgHNhKx3/eorLFN1ix+jxYLWtOk052skZoXfOfaRe8IhY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70761},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2d372f68a3f97830a5727e15eebbd2ab85419e64","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.4_1749419278087_0.7536928648694674","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.1":{"name":"better-auth-abac","version":"1.1.5-prerelease.1","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.1","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"2f04f64864097e23072f8c7693020aeb1019132d","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.1.tgz","fileCount":12,"integrity":"sha512-vABdNUtE9cO3bQtGAi5vy62Tyi9haUkz6A2hWvSSKyyrIEDDAnayl0D1nUH3gCq4V1+uUHEn1Z3euL8hVR1OTg==","signatures":[{"sig":"MEUCIG1c/ikBvEo0ZOb+YCfZU8bdvmQr15tiEhAkr9EeZ8E9AiEA3ENcRZybh6zYj0KZ49IimYKO/ooSFtsKO3iIvWNgTT8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72041},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"5e0315dfec6a224495117ffcad3577885553d9b1","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.1_1749435385471_0.011148038038328645","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.2":{"name":"better-auth-abac","version":"1.1.5-prerelease.2","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.2","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"e8a226f049ba511b0548d7940c656e5de11ff8e7","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.2.tgz","fileCount":12,"integrity":"sha512-LVcuV0AST5Jz5v9XGOSKjzzlwMZRQFYe960j/bzUdGbmwwwU6ZPKhzZO0ObADXWjRUEhOdR7dDoP7iSUaLyMvg==","signatures":[{"sig":"MEQCICYsmV+5/a/KiKYUm0D5IyvLBaQ+UuqZ64tsUKsFT5YsAiBd7kz4ALwDwRDUkpRWMegAsJFIK8ZVrRrMjfyeE0aoQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72068},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"9454cc71e4ce80f188b9e6c083535a5ad102caae","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.2_1749436450179_0.6940312422260144","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.3":{"name":"better-auth-abac","version":"1.1.5-prerelease.3","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.3","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"12e3072ce7cf2faecb22e16430a289e245a1bcca","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.3.tgz","fileCount":12,"integrity":"sha512-rWA9sJSr/cCdb47qe0+u0MKPJ6oBBtADEU1h8jsP6JSjwYXlwShP78emFss+4YP9WGblK82yiRtk6arXF1U0cw==","signatures":[{"sig":"MEQCIDBiIWrr6ds7hHbtfWvQE76p5RyFRu+xzqdmlv/mKJ/KAiBIpJqUPnCYWX/QMjrcYjK7TVY9pz2P2srxykavsNd6Fw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74882},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"9b50176b76396a7da673b7e73d7f0f0ba34e4626","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.3_1749437360413_0.8065825302914797","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.4":{"name":"better-auth-abac","version":"1.1.5-prerelease.4","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.4","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"394114eb73cb50e87f99caa9e56cd745a7249f4f","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.4.tgz","fileCount":12,"integrity":"sha512-/5Ss/dGqFjTsW+C8pdcYFDqqVVc5Jcep8qaZizIulWwsow5098df4Cp06YbZpzEXnrywuogxTym8OJv2DO29Pg==","signatures":[{"sig":"MEUCIEKzwTfgrK8Zs8nlvcyhc4Bl87YIYpaXTq6IivaTGFyMAiEA2KoBMaIEkpZspfRM2rg7YYqCwBZp+B2MVrAmKVmnt5c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70471},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"9c3b9687738d044fbd90ea698e9e38fbc9324c4c","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.4_1749438418685_0.8425379677695672","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.5":{"name":"better-auth-abac","version":"1.1.5-prerelease.5","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.5","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"c06d41d28f4bffee3f5607e1828c45b3a72f70a8","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.5.tgz","fileCount":12,"integrity":"sha512-mh5qmq9rmXUZLisVKFfFr7zLZw4jNB62ESZXHKKK35pxn18TgGbiWJtrBO4H4j1FQ5LWAIz6lVdEtkI+BOEdLw==","signatures":[{"sig":"MEUCIQCJ1vKzX0Gooq91GAl5lPOXkgR3T2mgRi1ieAZ0fm6LQQIgKRsMXNzDx08KzVCxZojuiA/GpwBliS6DljYivSQWjLY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99671},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"a09b580e1e2d841629f6fcd15f8fb659ea101f49","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.5_1749484979669_0.08381247517603807","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.6":{"name":"better-auth-abac","version":"1.1.5-prerelease.6","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.6","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"887eb6131cd09fe625446fef7c12481456cf82ea","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.6.tgz","fileCount":12,"integrity":"sha512-P74EhCN8gWJgerztvoDBgOWaSWNBx5m71j/HPN2XL7Zwbs/n2RrcvAyn3dhTASAbVeD3ynS5FRxxxNQkl7A3Cg==","signatures":[{"sig":"MEUCIGp3raAtnoODeU1sqRqGEQ0VkII0qm0dlnWWrqzCvLbEAiEA9AgPrRTsWNWKWWU/ZwE3PQZwaHR5JIrcVVaKA/CkGRE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101793},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"63c2b512b69874812d8b49e02fa3a81d104960ac","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.6_1749486055419_0.04786151617639001","host":"s3://npm-registry-packages-npm-production"}},"1.1.5-prerelease.7":{"name":"better-auth-abac","version":"1.1.5-prerelease.7","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5-prerelease.7","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"fbb4db7e8f8d4ca0310cfaed1b5bd1cce99e0d5e","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5-prerelease.7.tgz","fileCount":12,"integrity":"sha512-a53QsplVR8gMOSrtKXt+YgT9N0z/WVEuYrxTlD5lQXJwiJqxZXSfOM/rojEyicrGLmTPPWKnuaM+ISdyFBSudw==","signatures":[{"sig":"MEUCIBvOsQYDM3e9BIrOHTvhP0ogRW4BKMN7QWfF8akyo8fhAiEAz1kOCrEVvc4LBQN3+vUr9aZHsHlx8xznIccD4EKOFRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102651},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"179f9665041a509871928661bcebddf3c761e93b","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5-prerelease.7_1749487479952_0.406303252070354","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"better-auth-abac","version":"1.1.5","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.1.5","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"d209a38f3134bf6ebaf4e9a44a2c521b70c37580","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.1.5.tgz","fileCount":12,"integrity":"sha512-bTd2tGHbi3KL+xCuZgWUz2NBIwkMZaf3f7zgqR50L5L5EFJ0GkLGSZcC7yaxYSkLCKGnebK5j0BTT5EB2roMRg==","signatures":[{"sig":"MEUCICl1cwEVMJON1LM0lphpk1Rq8mGJyh0nMpeLpOR8a5Y1AiEAjOAdgb+jojn9nCJiEvYszYvXp1yS0R+Qua96VWz/KwY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102638},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"39a10faffff10973990ed7ab86e10c16333f12f6","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.15.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.1.5_1749523353167_0.7408997169389553","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.1":{"name":"better-auth-abac","version":"1.2.0-prerelease.1","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.1","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"146c5ed3f830de0266ffb06235a171c1cc893958","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.1.tgz","fileCount":12,"integrity":"sha512-Jjcy11FyCOjUX+fJyzVq0mhgkBa+JLaBgv0RsF2+CoI2oK1+r8u+caiI+gFZojrSTMNIYFl/bmOfH2ZfSTQ0lQ==","signatures":[{"sig":"MEUCIQDmvfRTuu66YNI6nCw6i19fu090D+9dHL65qsjKKoQVNgIgbrXHSFoIVA9oPjRDHz+LmXZEiHCG6o4zdw41eAgEuL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103166},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e17929619794f9f954742313b7759a7d5545b164","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.1_1750091489899_0.1799370250345298","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.2":{"name":"better-auth-abac","version":"1.2.0-prerelease.2","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.2","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"1f09f279b817036f95725922653bb6d9cab1314c","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.2.tgz","fileCount":12,"integrity":"sha512-rgTCBp2HmQWzvleQUHmG0N7ySxiqMsJKve0JRHOJ8rFmWKEK6h8W7SD53fvx2iDMH2jCq8zWf1rd2fzQw4Vv1w==","signatures":[{"sig":"MEUCIQCwDAZgfV1G/2+GWfCG/sxtYmQDtw4tHkYlXg4klQdpPgIgHiDez56hF2xibZUfxyQYu6XiTVCJoUynJHpbSPRijzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110128},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"30e4b2eb0435210aeaf30688adb9fa84359e60db","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.2_1750110049618_0.24954661853897964","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.3":{"name":"better-auth-abac","version":"1.2.0-prerelease.3","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.3","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"6aaa2194a77e135320fc911519efa86f84774591","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.3.tgz","fileCount":12,"integrity":"sha512-73EMT/K/7ae9sCJe0u5wnkZAlDxYd6Fcio9/wxmnqyfIs+rVVqLDU8sGPbN8QqoHu0dqc9KZeRYHHve0UNPwag==","signatures":[{"sig":"MEQCIFEB+3owB9fE+pUD+MUdNyh6qVbrg+tnfJpEGK+gXdGBAiAkZbSfg5xYnsQdr4KNfvPjXtvkRzo194JKKEljPg8Qnw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110941},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"bea3539b171ae94debbf0e0f3a69a4b6aa4b7861","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.3_1750110390792_0.9297065374240243","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.4":{"name":"better-auth-abac","version":"1.2.0-prerelease.4","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.4","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"8dc7b56d56b1281517e55135f25ef2f5d6eb2e59","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.4.tgz","fileCount":12,"integrity":"sha512-YaMOVNwwwR3dslFuqKHcIfutUI1emj+0q9+MO49Dka85NlNxn6Z9tsC7Om5Eo6VPEPtbqCh4A36l/IDqjD8uBw==","signatures":[{"sig":"MEUCIQDAPDB/2ozyx+88q5AqVtX2DCFDERAgJABBc+HkM1QtWwIgCIRiIq7dsPhfRmXtFZhy6QO1wMGdTPHbe1Vl/hodyiQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111191},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"1de16449fb8553ee39a0608b4c0f3aafacb72da2","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.4_1750111090549_0.85089487570646","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.5":{"name":"better-auth-abac","version":"1.2.0-prerelease.5","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.5","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"2b8df968b97d7bd788b8e150e7c2eb9928a68395","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.5.tgz","fileCount":12,"integrity":"sha512-E7CfqLg8xxYP9Nyydcj4sovESp4F8EfIp1Nesgb60kGc+RQIcCaP081gMy4sA1wERUl8o8W38WxhgmY2Z1ieug==","signatures":[{"sig":"MEUCIQDWiujDLBjNK4PAyjXMyHPjstdfGRxTX7Z9Jnd1q3y/3AIgVqaqW75+9QBUo6VY1XuK24dvoC7pUtMxZ0PtE9W5tJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111181},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"6873a71f4088fae39e621d20e7135b1f9f23cb5f","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.5_1750121513659_0.41621651076917643","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.6":{"name":"better-auth-abac","version":"1.2.0-prerelease.6","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.6","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"869c85ccbc57916368d85970edc1b2c4f7058f40","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.6.tgz","fileCount":12,"integrity":"sha512-+2ESiVsr0koQIylrQ5xxQirUZbHpLcPRjQtQz5ixYALdND+QHwz2ShMrn41u2PVULwI9JW/O9ElqYZuKJh4gPQ==","signatures":[{"sig":"MEUCIG8QJp25Jat9h30qoXDNgcC9YyrOgt9/k9auBl+TrM26AiEAyil+dxMGxXn+HBZjC7b3DMXJwQppyXjgOiAUZst9vZc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112194},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"18e74b226e2c4e2ee3da4428577eb05e0d3f9aee","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.6_1750191693070_0.8168018864853162","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"better-auth-abac","version":"1.2.0","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"a670d8b57a683585d33bc18d98f7962d8b9e715e","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0.tgz","fileCount":12,"integrity":"sha512-L6Z+X3z94YTkuMatViAyuWs97nnO3yACaSxM+DNODL3lwLXJHoe1xqzkHfAqVu9+2kU5k98Wy9a7mY+vawC/ZQ==","signatures":[{"sig":"MEQCIH/MaSw6CFucTIqDqcyDw/0EZgvK440Wh9IAuEXnaGhpAiBabPR3gJdCwDpsJBI+kFzKQC/jAjbY0yg0gQskRlVZTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112300},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"995cfa4361c91c6e5adde87badce1824178e9ea8","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0_1750209584659_0.09656176695199026","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.7":{"name":"better-auth-abac","version":"1.2.0-prerelease.7","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.7","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"c312d2a59df3bc8e324a052313e1017781734750","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.7.tgz","fileCount":12,"integrity":"sha512-aOnoo/yXbp6FOZ9PYKZui8aQ1bsKQEjwlQ4n6r3ZAwtTGrRfAvEbbJoXig/H5zxyj8VvgmQ4QONQy9Eui7eBhg==","signatures":[{"sig":"MEYCIQCkbP2h22v+RY3l1tLhjM1mvspor6oJCklVVD+ImEXdbwIhAMRW/we7tmIIS6oiUTF+78uXdJmTHjb2JOUsMGmjxMDB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112403},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"71c941d18512085d87c2c2c9134d74742282e3ae","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.7_1750279293947_0.2330936287771903","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.8":{"name":"better-auth-abac","version":"1.2.0-prerelease.8","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.8","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"61865a63c354523339c3b95b8df0003163f9c0c2","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.8.tgz","fileCount":12,"integrity":"sha512-MsKaS9WHvAKwXtM00cTBtOcYRzjSUZh7vj8j0x+w3qnlG/B9Tch4RvCDIxBt5SHcF2OjLc+gvSWakRS5cI4fqQ==","signatures":[{"sig":"MEQCIDFTrdyv4/z6fefuyGyMlELqSTcwUsVXgpZw9rqQNhEdAiBXPemFlZTkOfa5gbNxyf14MAr0t10tjAqRXrRB3iRn5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110209},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"ab564a9d803ea87ccd32697fb024d1897652b203","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.8_1750280220534_0.7943713968308608","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.9":{"name":"better-auth-abac","version":"1.2.0-prerelease.9","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.9","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"a8f9659f5a0d0634aac3bf42d5a101b57e5b416e","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.9.tgz","fileCount":12,"integrity":"sha512-Anudhj/8QIDHKvDlbfzYiapaYGQ9n4OLA2ieh5iAM9sZlnhfxmk2QzPKG6wSL5P9ixB+okpngpZAqNzBcr2fww==","signatures":[{"sig":"MEQCICc8G8H6EEpR2jnjgVGfFQIBJWlA/d1oGQUANeGEPqtqAiBaHgYVrs9XFhociUUHk0cdBaC3ejNVvusglZ+4ODcTHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148020},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"db8400063d7807584a3916b6216fb1b6064acc5c","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.9_1750632976894_0.9576615382983311","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.10":{"name":"better-auth-abac","version":"1.2.0-prerelease.10","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.10","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"5af727f7354e13cbf4e84b4d0827792db9504f9e","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.10.tgz","fileCount":12,"integrity":"sha512-0bydxtDy+Llf1cQmhn1kZOJGbdYcGIBrK/hzvnggs226zrhvuaW1bIrcBIxEuRXFNkCrB0S2fTIr7ma2ludzJg==","signatures":[{"sig":"MEUCIQCY/K+84euTy6BZCK8E8ndbzWudtdd/i/3LD0bWO9GV5gIgR2gTNnUiHYqcz6aLetRCpZjMmDq5jqEAIWiYsfRWBNI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152983},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"a9a40c0bb7b84422f83bf29882a667c68d7ff06e","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.10_1751310525497_0.6278553905012896","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.11":{"name":"better-auth-abac","version":"1.2.0-prerelease.11","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.11","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"fd1ed2f7a957482831a7391e28665f0e9b052239","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.11.tgz","fileCount":12,"integrity":"sha512-AFe3NLoo/X9rhorUHlciYrruj8Zec34Wm8InVgtJRsvNy/bAWiYt5xlCFzcJ5q45gT+en+3TNOOZ5dBWhYpwnw==","signatures":[{"sig":"MEUCIQDkG4ATVXS/4mJIu4CXJeQ3j6QbUUf79U6uJlqDM6wkWAIgWSoku/Mml849L1sbghry/6mL1FdN6cHuoUIEeJEGjtc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152896},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"c602cf59dffd535f0e98abe6dcd8ab5b9e7c405c","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.11_1751311440247_0.5226130342016726","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"better-auth-abac","version":"1.3.0","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.3.0","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"c474e503a7ea063258da8df2a462ec56df11425e","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.3.0.tgz","fileCount":12,"integrity":"sha512-CJlVcuYCHTB1cmt74CgH3eXmEfXw2Nl1ga5ALbZk5t2tUQxVlyIiEhPcMUhrIvNkbOWGsFQ5otRnZPo5a7XgAA==","signatures":[{"sig":"MEQCIAFm6dC0cXrNLrUqXZf74n8/l9wCZL2b8MHLvT4VUc/DAiA0muDiVQ8h0wNh9cfLQVQknBWyWC2nnGLedOw3QvpdJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152882},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"8233f59fe9129223c80439171823d370458e7fb2","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.3.0_1751313527407_0.7132252585228616","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-prerelease.12":{"name":"better-auth-abac","version":"1.2.0-prerelease.12","author":{"name":"cnbrown04"},"license":"ISC","_id":"better-auth-abac@1.2.0-prerelease.12","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"dist":{"shasum":"3cddddb28c679b4384619518f06a466327ce8464","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.2.0-prerelease.12.tgz","fileCount":12,"integrity":"sha512-3cCiLBMq9IJNg3op1bvLKDXXHflr5GZG4LD/SLbTLIC7x6FbtSmi+zwwoyfxY5crHFMR30hGJwp5uijEDRP+xQ==","signatures":[{"sig":"MEYCIQD+hqkBbMv7hBlx3Za7Mr1FuiO1nVf8NI78O8TXkuba+QIhANNXszJN4aynoi4ducfAk+UBCBdFdCSGq07jI1HAt9FG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162205},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0cc13bc0b1c293f0cca05fdd698b979ef66f298f","scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"cnbrown04","actor":{"name":"cnbrown04","type":"user","email":"calebnbrown2004@gmail.com"},"email":"calebnbrown2004@gmail.com"},"repository":{"url":"git+https://github.com/cnbrown04/better-auth-abac.git","type":"git"},"_npmVersion":"10.9.2","description":"A package for ABAC in better-auth","directories":{},"_nodeVersion":"22.16.0","dependencies":{"kysely":"^0.28.2","typescript":"^5.8.3","better-auth":"^1.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/node":"^24.0.8","semantic-release":"^24.2.5"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-abac_1.2.0-prerelease.12_1751318747659_0.29954667536179946","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"better-auth-abac","version":"1.3.1","description":"A package for ABAC in better-auth","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.js"}},"scripts":{"build":"tsc","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/cnbrown04/better-auth-abac.git"},"author":{"name":"cnbrown04"},"license":"ISC","dependencies":{"better-auth":"^1.2.8","kysely":"^0.28.2","typescript":"^5.8.3"},"devDependencies":{"@types/node":"^24.0.8","semantic-release":"^24.2.5"},"publishConfig":{"access":"public"},"_id":"better-auth-abac@1.3.1","gitHead":"40984f89b1cbe2568026df082aed67f9faf531dc","bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"homepage":"https://github.com/cnbrown04/better-auth-abac#readme","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-OLqNH3ZVWOyrmTLC+Ui307OQQQWGg/ouE5RIlKSCIVX5M2h8I7c+ojfiS/pgekAo/x3hGhPlAnmH5QfC8nS3Hg==","shasum":"c98394fa323fd4b2030e48277423f7009b943d4f","tarball":"https://registry.npmjs.org/better-auth-abac/-/better-auth-abac-1.3.1.tgz","fileCount":12,"unpackedSize":162189,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDpc4POEdKxeuuHSime/DgCh2PfzxhaRaUotW4faTJHcQIhAJyLDFiv2zf6kaUKZvapbCVCYuww6zbzIp+mBSdbOqP9"}]},"_npmUser":{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"},"directories":{},"maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/better-auth-abac_1.3.1_1753197022180_0.22893514695179862"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-08T21:12:06.380Z","modified":"2025-07-22T15:10:22.545Z","1.0.0":"2025-06-08T21:12:06.674Z","1.1.0":"2025-06-08T21:15:22.505Z","1.1.1":"2025-06-08T21:24:09.522Z","1.1.2":"2025-06-08T21:36:39.398Z","1.1.3":"2025-06-08T21:38:17.485Z","1.1.4":"2025-06-08T21:47:58.311Z","1.1.5-prerelease.1":"2025-06-09T02:16:25.687Z","1.1.5-prerelease.2":"2025-06-09T02:34:10.364Z","1.1.5-prerelease.3":"2025-06-09T02:49:20.604Z","1.1.5-prerelease.4":"2025-06-09T03:06:58.864Z","1.1.5-prerelease.5":"2025-06-09T16:02:59.885Z","1.1.5-prerelease.6":"2025-06-09T16:20:55.609Z","1.1.5-prerelease.7":"2025-06-09T16:44:40.129Z","1.1.5":"2025-06-10T02:42:33.333Z","1.2.0-prerelease.1":"2025-06-16T16:31:30.120Z","1.2.0-prerelease.2":"2025-06-16T21:40:49.794Z","1.2.0-prerelease.3":"2025-06-16T21:46:30.950Z","1.2.0-prerelease.4":"2025-06-16T21:58:10.943Z","1.2.0-prerelease.5":"2025-06-17T00:51:53.829Z","1.2.0-prerelease.6":"2025-06-17T20:21:33.271Z","1.2.0":"2025-06-18T01:19:44.893Z","1.2.0-prerelease.7":"2025-06-18T20:41:34.203Z","1.2.0-prerelease.8":"2025-06-18T20:57:00.724Z","1.2.0-prerelease.9":"2025-06-22T22:56:17.132Z","1.2.0-prerelease.10":"2025-06-30T19:08:45.698Z","1.2.0-prerelease.11":"2025-06-30T19:24:00.441Z","1.3.0":"2025-06-30T19:58:47.593Z","1.2.0-prerelease.12":"2025-06-30T21:25:48.092Z","1.3.1":"2025-07-22T15:10:22.353Z"},"bugs":{"url":"https://github.com/cnbrown04/better-auth-abac/issues"},"author":{"name":"cnbrown04"},"license":"ISC","homepage":"https://github.com/cnbrown04/better-auth-abac#readme","repository":{"type":"git","url":"git+https://github.com/cnbrown04/better-auth-abac.git"},"description":"A package for ABAC in better-auth","maintainers":[{"name":"cnbrown04","email":"calebnbrown2004@gmail.com"}],"readme":"# IN BETA - IN DEVELOPMENT\n\n# better-auth-abac\n\nA flexible and extensible Attribute-Based Access Control (ABAC) plugin for the Better Auth framework. This package allows developers to implement fine-grained authorization using attributes, policies, and rules with comprehensive access control validation.\n\n## Features\n\n- **Attribute-Based Access Control**: Define and manage user, role, resource, action, and environment attributes\n- **Policy Management**: Create flexible policy sets with priority-based evaluation\n- **Dynamic Attributes**: Support for computed attributes with caching\n- **Resource Management**: Comprehensive resource type and instance management\n- **Access Logging**: Built-in access request tracking and audit trails\n- **Multiple Authorization Patterns**: Support for read, write, delete, and custom action permissions\n- **Extensible Schema**: Flexible attribute system supporting various data types and categories\n\n## Installation\n\n```bash\nnpm install better-auth-abac\n```\n\n## Setup\n\n```ts\nimport { betterAuth } from \"better-auth\"\nimport { abac, createAbacAdapter } from \"better-auth-abac\"\n\n// Initialize your database adapter\nconst abacAdapter = await createAbacAdapter({\n    type: \"mysql\" // mysql | postgres | sqlite\n    uri: process.env.DB_URL!\n    // filename: \"./db\" // OPTIONAL FOR SQLITE\n})\n\nexport const auth = betterAuth({\n    // other options here\n    plugins: [abac(abacAdapter)]\n})\n```\n\n### Alternative Setup with Options\n\n```ts\nconst abacAdapter = await createAbacAdapter({\n    type: \"mysql\" // mysql | postgres | sqlite\n    uri: process.env.DB_URL!\n    // filename: \"./db\" // OPTIONAL FOR SQLITE\n})\n\nconst OPTIONS = {\n\tdatabase: drizzleAdapter(main_db, {\n\t\tprovider: \"mysql\",\n\t\tschema: {\n\t\t\t...schema,\n\t\t},\n\t}),\n\temailAndPassword: {\n\t\tenabled: true,\n\t},\n    plugins: [abac(abacAdapter)]\n} satisfies BetterAuthOptions;\n\nexport const auth = betterAuth({\n    ...OPTIONS,\n    appName: \"My App\"\n})\n```\n\n## Database Schema\n\n> ⚠️ **IMPORTANT**: Please remember to run `npx @better-auth/cli generate` and push changes to your database before using this plugin.\n\nThe plugin automatically creates the following tables in your database:\n\n- **role**: User roles with attributes\n- **attribute**: Attribute definitions with types and categories\n- **user_attribute**: User-specific attribute assignments\n- **role_attribute**: Role-based attribute assignments\n- **resource_type**: Definitions for different resource types\n- **resource**: Resource instances with ownership\n- **resource_attribute**: Resource-specific attributes\n- **actions**: Available actions per resource type\n- **action_attribute**: Action-specific attributes\n- **environment_attribute**: Context-based attributes\n- **policy_set**: Policy groupings with priorities\n- **policy**: Individual policies with rules\n- **policy_rule**: Detailed policy rule definitions\n- **policy_target**: Policy targeting specifications\n- **access_request**: Access request audit logs\n- **dynamic_attribute**: Computed attributes with caching\n\n## Usage\n\n### Client-Side API\n\n#### Check User Action Permissions\n\n```ts\n// Check if user can perform a specific action\nconst result = await authClient.abac.canuserperformaction({\n\tsubjectId: \"user123\",\n\tresourceId: \"document456\", // optional\n\tresourceType: \"document\", // optional\n\tactionName: \"edit\",\n\tcontext: {\n\t\tip_address: \"192.168.1.1\",\n\t\ttime_of_day: \"business_hours\",\n\t\tdepartment: \"engineering\",\n\t},\n});\n\nconsole.log(result);\n\n// EXAMPLE RETURN\n\n{\n    \"decision\": {\n        \"decision\": \"not_applicable\", // not_applicable, permit, deny\n        \"reason\": \"No applicable policies found\", // reason for permit / deny / not_applic\n        \"appliedPolicies\": [], // applied policies to the decision\n        \"processingTimeMs\": 292\n    }\n}\n```\n\n#### Check Read Permissions\n\n```ts\nconst canRead = await authClient.abac.canuserread({\n\tuserId: \"user123\",\n\tresourceId: \"document456\",\n\tcontext: {\n\t\tclassification_level: \"internal\",\n\t},\n});\n\nconsole.log(canRead);\n```\n\n#### Check Write Permissions\n\n```ts\nconst canWrite = await authClient.abac.canuserwrite({\n\tuserId: \"user123\",\n\tresourceId: \"document456\",\n\tcontext: {\n\t\tmodification_reason: \"content_update\",\n\t},\n});\n\nconsole.log(canWrite);\n```\n\n#### Check Delete Permissions\n\n```ts\nconst canDelete = await authClient.abac.canuserdelete({\n\tuserId: \"user123\",\n\tresourceId: \"document456\",\n\tcontext: {\n\t\tbackup_exists: \"true\",\n\t},\n});\n\nconsole.log(canDelete);\n```\n\n#### Bulk Resource Permission Check\n\n```ts\n// Check permissions across multiple resources\nconst bulkResult = await authClient.abac.canuserperformactiononresources({\n\tuserId: \"user123\",\n\tactionName: \"view\",\n\tresourceIds: [\"doc1\", \"doc2\", \"doc3\"],\n\tcontext: {\n\t\trequest_purpose: \"audit\",\n\t},\n});\n\nconsole.log(bulkResult);\n```\n\n#### Test Plugin Connection\n\n```ts\nconst testResult = await authClient.abac.test();\nconsole.log(testResult.message); // \"ABAC plugin is working!\"\n```\n\n### Server-Side Integration\n\nThe plugin automatically handles user registration by:\n\n1. Creating a default \"USER\" role if it doesn't exist\n2. Assigning new users to the default role\n3. Creating user resources for access control\n\n### Policy Configuration\n\nPolicies are stored as JSON structures in the database and support:\n\n- **Attribute Matching**: Compare user, resource, action, and environment attributes\n- **Logical Operators**: AND, OR conditions between rules\n- **Comparison Operators**: equals, not_equals, greater_than, less_than, contains, etc.\n- **Priority Handling**: Higher priority policies override lower priority ones\n- **Effect Types**: Allow or Deny decisions\n\n### Dynamic Attributes\n\nSupport for computed attributes that are:\n\n- Calculated at runtime based on rules\n- Cached for performance (configurable timeout)\n- Context-aware and environment-sensitive\n\n### Environment Context\n\nThe plugin supports rich contextual information including:\n\n- IP addresses and geographic location\n- Time-based access (business hours, weekends)\n- Device and browser information\n- Custom application context\n\n## API Endpoints\n\nAll endpoints are automatically mounted under `/api/auth/abac/`:\n\n- `POST /api/auth/abac/canuserperformaction` - Generic action permission check\n- `POST /api/auth/abac/canuserread` - Read permission check\n- `POST /api/auth/abac/canuserwrite` - Write permission check\n- `POST /api/auth/abac/canuserdelete` - Delete permission check\n- `POST /api/auth/abac/canuserperformactiononresources` - Bulk permission check\n- `GET /api/auth/abac/test` - Plugin health check\n\n## Example Use Cases\n\n### Document Management System\n\n```ts\n// Check if user can edit a document based on:\n// - User's role and department\n// - Document classification level\n// - Current time (business hours only)\n// - User's previous edit history\n\nconst canEdit = await authClient.abac.canuserperformaction({\n\tsubjectId: userId,\n\tresourceId: documentId,\n\tresourceType: \"document\",\n\tactionName: \"edit\",\n\tcontext: {\n\t\tcurrent_time: new Date().toISOString(),\n\t\tuser_department: \"legal\",\n\t\tdocument_classification: \"confidential\",\n\t\trecent_edit_count: \"2\",\n\t},\n});\n```\n\n### Multi-tenant SaaS Application\n\n```ts\n// Ensure users can only access resources in their tenant\nconst canAccess = await authClient.abac.canuserperformactiononresources({\n\tuserId: userId,\n\tactionName: \"view\",\n\tresourceIds: requestedResourceIds,\n\tcontext: {\n\t\ttenant_id: userTenantId,\n\t\tsubscription_level: \"premium\",\n\t\tfeature_flags: JSON.stringify(enabledFeatures),\n\t},\n});\n```\n\n## Contributing\n\nContributions are welcome! Please ensure your code follows the established patterns and includes appropriate tests.\n\n## License\n\nMIT License\n","readmeFilename":"README.md"}