{"_id":"better-auth-streampay","_rev":"28-ec522da6854f5ec68ad5d7eacf70b776","name":"better-auth-streampay","dist-tags":{"latest":"3.6.0"},"versions":{"0.1.0":{"name":"better-auth-streampay","version":"0.1.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/alidhamen/better-auth-streampay#readme","bugs":{"url":"https://github.com/alidhamen/better-auth-streampay/issues"},"dist":{"shasum":"2933fba69973d8eb432a19edea2b86b302934f18","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.0.tgz","fileCount":17,"integrity":"sha512-Ek+3f9QfgcY0wE0XDUb5aY3Nc72BNFGW1aFyBeQq2bYsYKNc5eygBxdorlJXe/aLAKETbnR9Ed8aUqsRNWzQSA==","signatures":[{"sig":"MEUCIQCcrIadWkCY7O7we1AknmtbglJqf98S6avB9JPX2JrEPgIgPOIRrkd3sxeXxG1ex4kmXdWgrdehL4os1yC8zr2lo58=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":407601},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"4369a3384150e7f10e0e44fb41b4078286cf38df","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/alidhamen/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.0_1776352498657_0.2025562068774247","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"better-auth-streampay","version":"0.1.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/alidhamen/better-auth-streampay#readme","bugs":{"url":"https://github.com/alidhamen/better-auth-streampay/issues"},"dist":{"shasum":"ae9f42be32347c653075c02c9ad2cac4a584fb48","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.1.tgz","fileCount":17,"integrity":"sha512-dTwfPUsjuq9qy5tc/fbie/nYQvms66PgnTOpMipZmD2+j+gtqWNwJQH+eoBUihTVmSD0PKwE3eUiPag0dgT/bw==","signatures":[{"sig":"MEYCIQDcTOaNTx+Akq8PIIP074oACOn42EWg3MZmcL1u/UjpOQIhAIpzKr6i7E35NeJhzQUPo9mXVEgc0lydEN9eRt77yxfK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":407601},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"2f207429fc370d3a0c4b3e45837614472152582c","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/alidhamen/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.1_1776352747664_0.6131462886113728","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"better-auth-streampay","version":"0.1.2","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.2","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/y0u-0/better-auth-streampay#readme","bugs":{"url":"https://github.com/y0u-0/better-auth-streampay/issues"},"dist":{"shasum":"f7cfce94dd8d9026e19a948b077e0b07ec1cb7c7","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.2.tgz","fileCount":17,"integrity":"sha512-ghYCtmxn2ymI/vs7REGek5T10IqbTejTb+Iw6xvO4EPFWDS+r7aQcPgz1v83M+oPg3jshbqNeAzK31WMoCZc5g==","signatures":[{"sig":"MEUCIBVhp+SyJpk1LRY/DpnagVymD+mFMDZq/27NvsJM8Jh7AiEAozbpNQexy9NdZO0Wfjf84fDSd2qPR9bKFNYXHvl8bR4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":407597},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"80e51afb46a0b9cd718d8c6f50c1bba3778d6c51","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/y0u-0/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.2_1776353761847_0.5294834413257159","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"better-auth-streampay","version":"0.1.3","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.3","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/y0u-0/better-auth-streampay#readme","bugs":{"url":"https://github.com/y0u-0/better-auth-streampay/issues"},"dist":{"shasum":"b58bd5b99484cc2d8588b065b824b6bdd3e4732e","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.3.tgz","fileCount":17,"integrity":"sha512-u3Eqn8tnN3gKCCNDlWanGEfuNBLHyF2zttYM56RoTYrKlXDa0vVNURh2ndkt4c2g1p795OoZq9F0uicNM+i/hA==","signatures":[{"sig":"MEYCIQDRo+SELayIRM1/UPUHNljSPxL/dAsdwofl7rJe2yJM7gIhAI9xIX/iHxdImAIhPTsqSdUMA6p9vn97wQ23F2txMYxj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":409103},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"dc31f14fe8881aaa328d48cf5e41cddebbaade2e","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/y0u-0/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.3_1776355785578_0.9266402776950957","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"better-auth-streampay","version":"0.1.4","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.4","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/y0u-0/better-auth-streampay#readme","bugs":{"url":"https://github.com/y0u-0/better-auth-streampay/issues"},"dist":{"shasum":"cb95641ce9fb7272c8044f36952bcd10cf6094d6","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.4.tgz","fileCount":17,"integrity":"sha512-lKjrw46Au2Bc+ErxB0cEYr1qZJ94AhP61AGgJrkRqKM1PsyiynTGnpgOKpphUI1G4FGQKnfoyy053ZX1ZRFyFg==","signatures":[{"sig":"MEQCIE6SpkmFdLmuEy5ODaUHd1PLfG8AjDcQUFUoWclR/ITOAiBsa86OUTPtQPNqayH0MAAQXYM4loEFO11SdEGnvPVPQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":409945},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"4f79a5cd1c0c06d6a2cdab1a78148292ce7dbee7","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/y0u-0/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.4_1776433948920_0.380894995825404","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"better-auth-streampay","version":"0.1.5","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.1.5","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/y0u-0/better-auth-streampay#readme","bugs":{"url":"https://github.com/y0u-0/better-auth-streampay/issues"},"dist":{"shasum":"731b2b19ddc16f65f4da3c323ae7dd3488f8c222","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.1.5.tgz","fileCount":17,"integrity":"sha512-XnNaKvbiOI2NA3u0ljaaNyB1vddZIA6eQWb9B+DZRSFrrGoWnUNxr3XOCUuXOnGFhj1C/qbQWsA2YKSjv6K14A==","signatures":[{"sig":"MEUCIFIBQAzjSxk/jhQXKn/6NcTLNVi9D3Mx8JFvJu7eqlAcAiEAnyN3f4KaquRIFN21Jf+5Psub8zyKPJ/AhcIdrVIsFZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":418657},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"abfee07dbd28c705e1eb08777184e0ba2ecb420e","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/y0u-0/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.1.5_1776435601726_0.72394779733906","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"better-auth-streampay","version":"0.2.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@0.2.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/y0u-0/better-auth-streampay#readme","bugs":{"url":"https://github.com/y0u-0/better-auth-streampay/issues"},"dist":{"shasum":"12e55abe45d858a6c2e3a7a315691b3e4ddefa94","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-0.2.0.tgz","fileCount":17,"integrity":"sha512-/M5nU2Hr9nI8DXDrDQqlyyQ/uulDPPjgUsZkorpoXKD357rrTmwqngTgqC0xx/pqurOHA2miF+jdyc2gCBPrAw==","signatures":[{"sig":"MEYCIQDwSwu1B9W8jyX897t4Xn/c6y8dIf+xRtTofZJBaJissQIhAKTxnhGuzjS3RBxZ/11s8Kk6K5D4YnyFy25UeX0qxB5v","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":419016},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"37c3d49c1a3c4f2819a3e9692f59d95ae823cdc5","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"bun run build && bun run typecheck"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/y0u-0/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_0.2.0_1776459037098_0.6971255110083645","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"better-auth-streampay","version":"1.0.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.0.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"0f60565aafeee6481f61108bafce19b74d1c5aef","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.0.0.tgz","fileCount":17,"integrity":"sha512-Phgguu8faV8/Uyphk4306VykBUS/hFIwjk9Ju6D+XcenkZXAV19UqRzkmzi9zzhoKuyKJbI8AB2CuuX0pioo0g==","signatures":[{"sig":"MEYCIQD9aXkWlL00ObtMVjz8ASN+6cFeCvULQ7ePrOmEPie4rAIhAI0tiuB8g1tD3tPhLBB+n5PyblTJhaw/OXKPoHboiQ8c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":490741},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"73ca68e101e8833310f5822c13f212e708aa92b6","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run","build":"tsup","format":"biome format --write ./src ./tests","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"bun run build && bun run typecheck"},"_npmUser":{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"10.9.4","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.0.0_1776629148781_0.6745164215408299","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"better-auth-streampay","version":"1.1.5","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.1.5","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"dd5fca8360dfcebf661e8ded79edd99cc0fca235","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.1.5.tgz","fileCount":17,"integrity":"sha512-dnbqY6uOSGXGBsfMSc3tFleKUOokEb1x2z2j+djDRiSsCtWe5RhkHkEecOrJ4BPmBIxQFtEyVyKekN72nmh7mg==","signatures":[{"sig":"MEUCIBZEO6pZJLnnj2EzbhNyvMOted6fmsTgxvS8vWhHqUk8AiEA2R0+WuKrRHKPF1p9s5tKs9bdQD6a8eGbiKJZrYQ+mow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1652028},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"7eefe3c97d3c44bf6109e7edd91987292788464b","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","format":"biome format --write ./src ./tests","prepare":"lefthook install","test:live":"STREAMPAY_LIVE=1 vitest run tests/live/**/*.test.ts","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run build && pnpm run typecheck","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live/**/*.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.11.0","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.1.5_1777155174680_0.12060581470750154","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"better-auth-streampay","version":"1.1.6","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.1.6","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"2f0f85631e92a42b941e5e5c82e358989ba3f087","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.1.6.tgz","fileCount":17,"integrity":"sha512-2vvVQqbjcWr2RSG+cwuZGy7gjCr8M7rXe6zMf/Is5N6Au5BTm3KgDJQNYQY0UzDuRXI2HLTI7fSsLvBX9VHQOw==","signatures":[{"sig":"MEQCIGTaALi6TpK7En9YuqB9VPl8ELsNl+KKoJ5hO3T+6Z7uAiBNdNteZw3xwm8G6U8tmqGt98uc5Hwwkvmq0Z0aA9VlPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1657056},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"b9db71724ded3f9aa5d3353dbfc08248a29592d3","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","format":"biome format --write ./src ./tests","prepare":"lefthook install","test:live":"STREAMPAY_LIVE=1 vitest run tests/live/**/*.test.ts","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run build && pnpm run typecheck","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live/**/*.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.11.0","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.1.6_1777675212297_0.3272604263342094","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"better-auth-streampay","version":"1.2.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.2.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"92f4b32e64c9247a45fcaa18b514400e5f3cd3e5","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.2.0.tgz","fileCount":17,"integrity":"sha512-jwSeG+SL/0pvGQMJsjp+H1RshlSU9zCjSdMKmU2rzvIaQuNurOE3Ibfh6/hu+PuX8ixch9B5eSP0Gh1OgC2KGA==","signatures":[{"sig":"MEQCIAgOsjvz2AlXo42r0zI/pX6pDaGPGp/kFJczJj0F4Iz6AiAMiga3nTzMOJdqAbK9XQM3k+FoFctkf4w+ZMpCouTZhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1753208},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"d3faa0a74a0bb8d86432588073088e2c64a1225c","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","format":"biome format --write ./src ./tests","prepare":"lefthook install","test:live":"STREAMPAY_LIVE=1 vitest run tests/live/**/*.test.ts","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run build && pnpm run typecheck","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live/**/*.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.11.0","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.2.0_1777749014743_0.833492036859663","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"better-auth-streampay","version":"1.2.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.2.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"6189c60d0c5edcc5a5689966661eddb894e7c0ad","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.2.1.tgz","fileCount":17,"integrity":"sha512-pnsRfvd1ZFbwGivCZjxkbUxBwPAXPau+121S79KvcnNwx9/aCnDFJVktO0ye0CFnwulQpEO8l2uOzj+DVM/YeA==","signatures":[{"sig":"MEQCIC2fFLBgCkrUI0AiwFR2o+BP+GK14H1tVVoHV06LzCs7AiBqpqEk9Hi+0OcYtfkWe9dgyvlQ1ssL3R8gchlvTinc4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1765370},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"58f6aa78ea844014f4b0ca97e8263479ccae5d9e","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","format":"biome format --write ./src ./tests","prepare":"lefthook install","test:live":"STREAMPAY_LIVE=1 vitest run tests/live/**/*.test.ts","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run build && pnpm run typecheck","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live/**/*.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.12.1","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.2.1_1778787902640_0.20003280405436863","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"better-auth-streampay","version":"1.3.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","subscriptions","saudi-arabia","fintech"],"license":"MIT","_id":"better-auth-streampay@1.3.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"c45097853c7341b7f78ec73442be721b5fa11464","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-1.3.0.tgz","fileCount":17,"integrity":"sha512-G3/X6IHGkn9qZ/0Be9W3X6KmRb9t1O4KuDncbL42wAxAx0n+aCPxfB2JGJ46Jj35bRiMvwuk38v/BBGYZFWjaw==","signatures":[{"sig":"MEQCIC/eEa1UlvKEwsPCCxK+L9508WzeNaf7nT/xDWqJqTIIAiBrmF+SUbp4VmrMsWF2OMu4NYeBYBl/NL6POVjjp8GPIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1678802},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"139a43656904a8a5e6a7799588d626178ea22b8a","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","format":"biome format --write ./src ./tests","prepare":"lefthook install","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run build && pnpm run typecheck","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.13.0","description":"Community Better Auth plugin for StreamPay — consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.3.6","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.5","@biomejs/biome":"^2.4.12","@streamsdk/typescript":"^1.0.6"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.4.0","@streamsdk/typescript":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_1.3.0_1781084984599_0.5322582057642147","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"better-auth-streampay","version":"2.0.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@2.0.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"d8f4758ce6165b4ab0c944c590f3347fbf8c2f6f","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-2.0.0.tgz","fileCount":17,"integrity":"sha512-aXcrUReoJ5Yl1xdAj92coaxW5Vx4m2kPpGhkp7gbFILI+Q//xody3s8DWADC6zyM2nZy23fxz0Gh+WKjzIYGVg==","signatures":[{"sig":"MEUCIQDCIg+rZaz8v+lRhH8NHEQxQKtUp7sq4UhrL4O1V0pGxQIgOOUi7nOCgb6uVNBXyQ35J+glx8sg4hetWcgVMAT6aFM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2314231},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"96ed8e9dad2732073438ee12359722642fb58e32","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.23","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.5.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_2.0.0_1783714962563_0.5376523537706888","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"better-auth-streampay","version":"2.1.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@2.1.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"04765c1b9980e9e377c0d4250b9b63205bf1730c","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-2.1.0.tgz","fileCount":17,"integrity":"sha512-3VjIEXj3plbhLFZhy0tt9PxeSA4guWMJ1t1uT+CtX4gKnWIkk2ul5w9wFTzRTP5BwUu37ALGAX9UuAeVChcHrg==","signatures":[{"sig":"MEUCIQCXK5G4UH+h7g4fCKha2WlH1z89KfO4QPBEGAcl00Cb3gIgGYdOrENtUwSjVcegItQG7qOqE5f10XiRTZ5EWY236/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2369310},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"0e2a21e0567c284a4a8a65e3fbabdb046b1e4152","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.23","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.5.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_2.1.0_1784730146468_0.35144074215401844","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"better-auth-streampay","version":"2.2.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@2.2.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"6963f89eb467d9438660d737d0c9876f52e8b831","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-2.2.0.tgz","fileCount":17,"integrity":"sha512-hre5XI26f+Abp99wTYc+a1C/5rIywftiSwNjBqzD0eOS2BN2JScphNeL4SJ3D6lQDTmQz+ULOTnXBvFzC3dwSg==","signatures":[{"sig":"MEUCIQCowTygu6yWrw317XaEL8LdLafWC0tZWnKLoJZIcLBXmQIgYif3xt9fK6rW4kXE0Rnn+ki7YFl6HyIGTNiHa9+XRT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2597464},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"df983bce6d04ccfc7cb9fd4dd922d639c867762c","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.23","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.5.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_2.2.0_1785333397018_0.8247985745665927","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"better-auth-streampay","version":"2.2.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@2.2.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"20d406e62f03c04455edc2c077eb9796e738d1d5","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-2.2.1.tgz","fileCount":17,"integrity":"sha512-lJvjbB3sQElvH+BFytafCP8kac1obZdMX4xMhls0XjhQKfbaFZHUCC66zbTlBt1TcE2eofj0igh03uLh5GfYXA==","signatures":[{"sig":"MEUCIDdchAuaKDfbvsK8mJQM4/3ip+HL13WHzoaWL+1Vc9LcAiEA8dErCwi1iK5LD/dKpdA3HJ9Efsidc/p/ufIIengxCCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2594594},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"ceb5ddecc6c5e2e6f4efa4062d6c1be4fa2935e1","scripts":{"dev":"tsup --watch","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","test:watch":"vitest --exclude tests/live/**/*.test.ts","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.6.23","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.5.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_2.2.1_1786958012440_0.7846830292224942","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"better-auth-streampay","version":"3.0.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.0.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"7969dbae23cf153ca9372f238b7f0210823a5e1e","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.0.0.tgz","fileCount":17,"integrity":"sha512-dllfH68ALu07n76CeQyc1V1Wn8pCWR03uapIE6bk1GK2DmH55b7j8m5fhRm0bJGXnV8opN/hL9aH/K/HY0jRSg==","signatures":[{"sig":"MEUCIQDwozZSXVymPcbqNwjZ95pwHdG+s3wlxKldA0EYr0hLWAIgNOZxj3QkZXThcbwzb1cOndP8q5SuM5McibFASD0WUNY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDYGqoOZ9qCtrCSQdogUFuvmvCi0Fc3sLPTiQdzL4+atAIgJi4IKr3E0s2kJcB1uY0NkgaN+gsRWTwzSGejPdL00XE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2728567},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"5a113fe6303d280cd7eb242ab91512703a32c766","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.0.0_1791652498150_0.6196487327539764","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"better-auth-streampay","version":"3.0.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.0.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"9a138207f43103a521983832d268134386cfd3d2","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.0.1.tgz","fileCount":20,"integrity":"sha512-VtrnNMTHrHVkR1hnNoKr/RMQ+n7dBKlIpuLpK+lB/z/opvflirWpyGsa54lgdRqoJbSZDjTB5S3HQNk+IdDbhA==","signatures":[{"sig":"MEUCICPTZeloGknN69qYLgD5lvQxa4/JPw20XJBIq0Td99HUAiEA3LK2qkfLAO27oardycXvSjcH1jJs3tRXmLUW/b0Ff28=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICd/kAbS16PSYpZiLXkwDtqJP7wiWJiO6wtuV/2o9Y9MAiBrDVLObg89U9w07uswk5WMURKo1e59fk2xURHq6yXjYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2780347},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"1cc6d92ec8612e4250e308a1e9266682b14c3b78","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.0.1_1791657916045_0.9470860575814035","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"better-auth-streampay","version":"3.0.2","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.0.2","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"7f46c6fd5df6dd860517d9202498bcfe9c702c00","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.0.2.tgz","fileCount":20,"integrity":"sha512-X+QIpj+CL3TTFP3LhW6wnCFhXaK/fs7sVJeQ/pMiHrrt0weY+FzUymWaZG1/AtXOeOZtsOT6pQPSvW5rIwejSQ==","signatures":[{"sig":"MEUCIFsRkTRvvdfJ3qULwuBs2Wl/x9Tfyrc8pkHwIAO8xU0jAiEApf5lHlppG1v/PwfYtuvLFw7oaTcm1Tf/YSPHnGzuGGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBnendetYKXXkmHBE5tGrYW723qLuGbXBaoPENWfU1NPAiEArkKS1bX6UfAYZCWS2BZxZT1C+b571tb3PV7xI+XkJWg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2784754},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"41edbfa97b733fca0d76d0e73836c187b9517042","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.0.2_1793971114093_0.5674821931888996","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"better-auth-streampay","version":"3.1.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.1.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"c2cccb02a339a7218a07fec976479488539bc76f","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.1.0.tgz","fileCount":20,"integrity":"sha512-kgal5ZUV7HpKiek4BBn5RJyRXByede6wq05SGpb0lnqxIJFCcLk2tgIS/y5OrtzLYpdn2z1LdOeewCKFyDwnkA==","signatures":[{"sig":"MEQCIGSyJuknSazqCJuGeFxtwOLtryxTGFDk6VwaxfNVBaMGAiBtrSfjRq84RhbmPkOKVTd+5K4wetv9DqQtX92O0TWunw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDq9BzQ/XP24oX2x7SIvAb6CuTuwSEhyOBYSLZAGbQjpAiBOVM31QfgV3ml4rZJbiYNs3uEv+LYH0WaORmTwNOBFDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2811889},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"75875704116e4490810996c56eb8d9eb80829024","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.1.0_1794215685143_0.04869380630172748","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"better-auth-streampay","version":"3.2.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.2.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"b7f192bd7c9797f6f3e9e1c0524f0f3a989a4a8d","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.2.0.tgz","fileCount":21,"integrity":"sha512-8OSYTI7+QSRegjrkdCO0cCIBYB0kNoOxTbYmt3wlvynOwRWynACYEOtEfU2ltYlsIHcMYobgb+DMc4FtDUeTow==","signatures":[{"sig":"MEUCIQDzuZyYWn3z+YvXx77Dn+3yDO9Hb/QEpYMyp0TELdLfuwIgNwzT5IZREceoKIOC6fUylqsBjA3XaT8xghzGzgM7VOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGT9f+vqwB7zIcTP5kavY13pZPQbSa+SOuu/uLDItaWIAiB3FSUSXYr47EL99IlFeBxp+qkNUSGOMZ/bvzXETvF+ig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2863335},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"1e41c6f33d266028a656e3e8087d56be2b44dbbb","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.2.0_1794220209711_0.8532583050345987","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"better-auth-streampay","version":"3.3.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.3.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"6b41312f592442d37e2a99a446a34d8637c4d9fe","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.3.0.tgz","fileCount":21,"integrity":"sha512-qFslLL0a7900hi74JTFsH6HSXeJT8yi4Vl2Euqrrkm4Kg2ooh+T3WqvAbjJ4ZjezttyUJ5KUJ3Er32nQU5TCSw==","signatures":[{"sig":"MEQCIG0GppTMvA2VLWUTf64h5PwjRxCjPiSskBPA6J9+rp3tAiBhkWjA7VoQiLdsTXncsg4J1umSXsNbMJkJZJU4flV3eg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB9Xd3CXYOzeTrqJm6X+qFeEFJA8uGqyWT1clUvn0XP0AiEA1Nb5/yoghhmu12GUXGHdT0Rs9wP3I7KkThfZh5GVqQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2938341},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"8259d7eb8d07cd1212104f14323438926a41d38e","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.3.0_1795223058191_0.16649215596416778","host":"s3://npm-registry-packages-npm-production"}},"3.3.1":{"name":"better-auth-streampay","version":"3.3.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.3.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"b727f89e09d5734aa111c513f8c1f5cb7afe39db","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.3.1.tgz","fileCount":21,"integrity":"sha512-fpJJVPDY/Scog9pwZXfiBnAb6GSzV/pKE8P2gdarnaZpn1oV7f97KKcMkvukHiH69JujGODHEuzdF3YCPYKYpQ==","signatures":[{"sig":"MEQCIAvWIk7kOGzrzmtJ6bzjpv+vXL6CV7YWejF4TcLZOu/XAiA4LW0UibOU3BoOUWKbIrkLdyACc2MjUGCAztnTo+I9Gw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIA85qkZ8ocygSpf3ggjqGHLpbFEJXrHbcrKY0WPbtqA+AiAzvm3m/ka+rlhSyuMXWffmMAxi6NF0qavqGJKkjKS0+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2950703},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"caaa7f41c6d699bf5cfe87c655782093e9a9e0e8","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.3.1_1795224506573_0.718120988691121","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"better-auth-streampay","version":"3.4.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.4.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"9bf173afced6e87f926a0eb386f5e8750869ca31","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.4.0.tgz","fileCount":21,"integrity":"sha512-pw5aG0GokUzorn2qjEYgM6qNSQpD7w2HcmdA82aSZ5GUQXVKEjQSDCcVmZdilh0g3SVkhTMdj+uLbDxfrBM6xQ==","signatures":[{"sig":"MEYCIQCOMDn+gcb1aXjmpAvpJ+ufpRPJTOaA1ljeTVa9L777rwIhAOE/5AJaovipTJ/3iY1Q2PffBxEHlC1B8e8y8dunHms3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC8tmaScLQf9ibKa0hijJNRmMYepXQtboPkiTCcxpdzrQIhAOex7zne2TafArFnHoiKGSX1JPwSZ/n2S0zlVOAjudmP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2995011},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"1bafd6c9fe2363e03832685425cada33dd70a7e6","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live --no-file-parallelism","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live --no-file-parallelism","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.4.0_1795226403912_0.3229967714144977","host":"s3://npm-registry-packages-npm-production"}},"3.5.0":{"name":"better-auth-streampay","version":"3.5.0","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.5.0","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"9985e4bd90f95ed5e4dfbdb01500f21f38c88397","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.5.0.tgz","fileCount":21,"integrity":"sha512-hPEUdHLAVLmGCkPqm7JVtniO8aaGYLhqPP/6s7JZDyNDDn3M+HEMAhaNi2c+IL6lrd7uwzE78bTlrj2H90yZaQ==","signatures":[{"sig":"MEYCIQDgQf4Nel42MUTWzjzFi9r/Jb7N6jblEDXVGY0/zx2oAQIhAMcBXlSmxMin36yhnhwzg5pJ1ZMOlV2QIkPE17FkthRl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEWNf5bJ9mgR4sXsLuTdFwq+YCVBHlK1EtA3gofVEHvXAiEAkvMS02c2pFqtkWwtiF596Fm5NlLqhKAfGyL46DEgEnk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3102814},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"383e1a97fa9b8a8f1d0b5fb5310ee7f24514bfc0","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live --no-file-parallelism","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live --no-file-parallelism","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.5.0_1795229958078_0.2599130969980141","host":"s3://npm-registry-packages-npm-production"}},"3.5.1":{"name":"better-auth-streampay","version":"3.5.1","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"license":"MIT","_id":"better-auth-streampay@3.5.1","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"a696e8b829f58457a077705bfde4ff87e71abe2a","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.5.1.tgz","fileCount":21,"integrity":"sha512-3Qf4OqNVwFT8pAYO4KMOgFMq5Cd2HkZMJkd8+tyPQWfFFFS1bE5ilv3Sd+ozmTem53ojaF1Xul4BEUokrkHDkA==","signatures":[{"sig":"MEUCIQCAgoepVADwTV4U1GSmy382inxEoqab9LAvZ7BMh9GnfAIgHDGiZHihY+AS6DpMPaBM6sacL4AnkRunRJo7SOh7Vno=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDZJHFwDWj9G/OM4eTAR1I6qDUnxV3wlOx3QqYaZ5C5nAiBwzXxO+KsjZ7UMWJVs6hwxcZcY30HcPxpJJZnO/IDJwQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3132006},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"fb0665c9aa7d242433262b4c5777b16570569df0","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live --no-file-parallelism","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live --no-file-parallelism","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/better-auth-streampay_3.5.1_1795607987565_0.8364765046701909","host":"s3://npm-registry-packages-npm-production"}},"3.6.0":{"_id":"better-auth-streampay@3.6.0","bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"dist":{"shasum":"79835fe98ffd2000b31d7720857006737820cabc","tarball":"https://registry.npmjs.org/better-auth-streampay/-/better-auth-streampay-3.6.0.tgz","fileCount":21,"integrity":"sha512-8bF7Yy72wsb4QEITWVzo1UIv5cu2uRlCPnFrx7Yc1h0CLLITcF3ytbHjebfLEI2rJhwxBw9EX7qgmHZ02qldIQ==","signatures":[{"sig":"MEUCIQCG6IH/llTKPE+Aa7Nlf6f6lWrDZqtlIYxz+CFFKc9HHgIgU0mSai+9hBegNNWf36TlumvH6aWmtQMsMCs0pAXyQQ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHkDqACGihgs8v94WtlN5eezA0iAe9d1j1AE3FXkhpJPAiAvuHqstP53qYF6ixPpym4zN08uzPGUCacL+i1BTslIRg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/better-auth-streampay@3.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3308684},"main":"./dist/index.cjs","name":"better-auth-streampay","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./client":{"import":{"types":"./dist/client.d.ts","default":"./dist/client.js"},"require":{"types":"./dist/client.d.cts","default":"./dist/client.cjs"}}},"gitHead":"48f739915e2b3f4e2f127a9b4d89c1e666d49da7","license":"MIT","scripts":{"dev":"tsup --watch","demo":"node --env-file=examples/demo/.env.local examples/demo/server.mjs","lint":"biome check ./src ./tests","test":"vitest run --exclude tests/live/**/*.test.ts","build":"tsup","check":"pnpm lint && pnpm typecheck && pnpm test && pnpm build","format":"biome format --write ./src ./tests","prepare":"lefthook install","release":"pnpm build && changeset publish","changeset":"changeset","test:live":"STREAMPAY_LIVE=1 vitest run tests/live --no-file-parallelism","typecheck":"tsc --noEmit","demo:setup":"node --env-file=examples/demo/.env.local examples/demo/setup.mjs","test:watch":"vitest --exclude tests/live/**/*.test.ts","demo:cleanup":"node --env-file=examples/demo/.env.local examples/demo/cleanup.mjs","demo:exercise":"node --env-file=examples/demo/.env.local examples/demo/exercise.mjs","test:coverage":"vitest run --coverage --exclude tests/live/**/*.test.ts","test:postgres":"vitest run tests/integration/postgres.test.ts","prepublishOnly":"pnpm run check","test:live:write":"STREAMPAY_LIVE=1 STREAMPAY_LIVE_WRITE=1 vitest run tests/live --no-file-parallelism","version-packages":"changeset version"},"version":"3.6.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5e49ccb1-1028-450b-8157-c9f1cab973b7"}},"homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"_npmVersion":"11.5.1","description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","directories":{},"maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"sideEffects":false,"_nodeVersion":"24.22.3","_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.1","msw":"^2.13.3","zod":"^4.4.3","tsup":"^8.5.1","vite":"^8.0.8","vitest":"^4.1.4","lefthook":"^2.1.6","@types/pg":"^8.23.1","pkg-pr-new":"^0.0.66","typescript":"^5.9.3","@types/node":"^25.6.0","better-auth":"^1.7.7","@biomejs/biome":"^2.4.12","@changesets/cli":"^2.31.0","@streamsdk/typescript":"^1.1.3"},"peerDependencies":{"zod":"^3.24.0 || ^4.0.0","better-auth":"^1.6.0","@streamsdk/typescript":"^1.1.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/better-auth-streampay_3.6.0_1795644072773_0.9732043167988691"}}},"time":{"created":"2026-04-16T15:14:58.578Z","modified":"2026-11-25T22:01:13.599Z","0.1.0":"2026-04-16T15:14:58.829Z","0.1.1":"2026-04-16T15:19:07.837Z","0.1.2":"2026-04-16T15:36:02.044Z","0.1.3":"2026-04-16T16:09:45.724Z","0.1.4":"2026-04-17T13:52:29.108Z","0.1.5":"2026-04-17T14:20:01.868Z","0.2.0":"2026-04-17T20:50:37.237Z","1.0.0":"2026-04-19T20:05:48.956Z","1.1.5":"2026-04-25T22:12:54.847Z","1.1.6":"2026-05-01T22:40:12.475Z","1.2.0":"2026-05-02T19:10:14.910Z","1.2.1":"2026-05-14T19:45:02.853Z","1.3.0":"2026-06-10T09:49:44.837Z","2.0.0":"2026-07-10T20:22:42.762Z","2.1.0":"2026-07-22T14:22:26.612Z","2.2.0":"2026-07-29T13:56:37.198Z","2.2.1":"2026-08-17T09:13:32.606Z","3.0.0":"2026-10-10T17:14:58.333Z","3.0.1":"2026-10-10T18:45:16.130Z","3.0.2":"2026-11-06T13:18:34.249Z","3.1.0":"2026-11-09T09:14:45.267Z","3.2.0":"2026-11-09T10:30:09.846Z","3.3.0":"2026-11-21T01:04:18.435Z","3.3.1":"2026-11-21T01:28:26.697Z","3.4.0":"2026-11-21T02:00:04.030Z","3.5.0":"2026-11-21T02:59:18.198Z","3.5.1":"2026-11-25T11:59:47.667Z","3.6.0":"2026-11-25T22:01:13.163Z"},"bugs":{"url":"https://github.com/Genie-sa/better-auth-streampay/issues"},"license":"MIT","homepage":"https://github.com/Genie-sa/better-auth-streampay#readme","keywords":["better-auth","better-auth-plugin","streampay","stream-pay","payments","payment-gateway","subscriptions","recurring-payments","checkout","billing","webhooks","typescript","saudi-arabia","saudi-payments","fintech"],"repository":{"url":"git+https://github.com/Genie-sa/better-auth-streampay.git","type":"git"},"description":"Community Better Auth plugin for StreamPay with consumers, checkout, portal, subscriptions, and signed webhooks. Not affiliated with Stream.","maintainers":[{"name":"ali-cooking","email":"ali77dhamen@hotmail.com"}],"readme":"# better-auth-streampay\n\nAdd StreamPay checkout, billing, and signed webhooks to a Better Auth app. This is a community\nplugin and is not affiliated with Stream.\n\nThe plugin supports hosted checkout, consumer records, subscription plans and access checks, a\nconsumer billing portal, admin billing actions, and webhook verification and replay.\n\nFor advanced checkout, consumer matching, portal, subscription lifecycle, admin, and webhook\nexamples, see the [integration guide](docs/integration.md). For subscription columns and upgrade\nmigrations, see the [subscription data model](docs/subscriptions.md).\n\n## Requirements\n\n- Node.js `>=20.19.0`\n- Better Auth `^1.6.0`\n- Stream SDK `@streamsdk/typescript ^1.1.3`\n- Zod `^3.24.0` or `^4.0.0`\n\nInstall the plugin and SDK with your package manager:\n\n```bash\npnpm add better-auth-streampay @streamsdk/typescript\n```\n\nKeep Better Auth and Zod installed in your app. Set `STREAMPAY_API_KEY` on the server. Add\n`STREAMPAY_WEBHOOK_SECRET` when you enable webhook handling.\n\n## Server setup\n\nCreate one SDK client and register the plugin with the features your app uses. This example enables\ncheckout and signed webhooks.\n\n```ts\nimport StreamSDK from \"@streamsdk/typescript\";\nimport { betterAuth } from \"better-auth\";\nimport { checkout, streampay, webhooks } from \"better-auth-streampay\";\n\nconst client = StreamSDK.init(process.env.STREAMPAY_API_KEY!);\n\nexport const auth = betterAuth({\n  plugins: [\n    streampay({\n      client,\n      use: [\n        checkout({\n          products: [{ slug: \"starter\", productId: \"your-payment-product-id\" }],\n          authenticatedUsersOnly: true,\n        }),\n        webhooks({ secret: process.env.STREAMPAY_WEBHOOK_SECRET! }),\n      ],\n    }),\n  ],\n});\n```\n\nRegister your webhook endpoint in the StreamPay dashboard. With the default Better Auth base path,\nuse:\n\n```text\nhttps://your-app.com/api/auth/streampay/webhooks\n```\n\nKeep API keys and webhook secrets on the server. Do not put them in browser code.\n\n## Client setup\n\nFor React, register the client plugin:\n\n```ts\nimport { createAuthClient } from \"better-auth/react\";\nimport { streampayClient } from \"better-auth-streampay/client\";\n\nexport const authClient = createAuthClient({\n  plugins: [streampayClient()],\n});\n```\n\nUse the matching Better Auth client package for Vue, Svelte, or Solid. Open a hosted checkout link\nwith:\n\n```ts\nconst { data, error } = await authClient.checkout({ slug: \"starter\", redirect: false });\nif (error) throw new Error(error.message);\nif (data) window.location.assign(data.url);\n```\n\n## Database setup\n\nThe plugin declares Better Auth schema fields. It does not change your database at runtime. Generate\nand apply a migration before deploying the plugin:\n\n```bash\nnpx auth@latest generate --config path/to/auth.ts\n```\n\nFor a Better Auth managed database, use `npx auth@latest migrate --config path/to/auth.ts` instead.\nReview generated changes and apply them with your normal database migration process.\n\nFor an existing installation, review the [database upgrade instructions](docs/integration.md#database)\nand [subscription migrations](docs/subscriptions.md#migration). Apply new columns and backfill\nexisting rows before deploying. Resolve duplicate non-null `streampayConsumerId` values before applying\nthe unique index. If you enable generic webhook deduplication, migrate the `streampayWebhookEvent`\ntable before setting `deduplicate: true`.\n\n## Billing portal\n\n`portal()` adds authenticated consumer state, subscription, and invoice endpoints. Stream SDK 1.1.3\ndoes not provide hosted portal session creation. To open Stream's hosted portal, configure the\nserver-side `createSession` callback with the REST endpoint. The [integration guide](docs/integration.md#billing-portal)\nhas a working bridge example and client call. The callback receives the consumer ID resolved from\nthe signed-in session.\n\n## Security and access\n\nCheckout can require an authenticated session with `authenticatedUsersOnly`. Cross-account\nsubscription actions require an `authorizeReference` callback. Webhook signatures are checked\nagainst the configured secret, and signature age is bounded by the webhook tolerance setting.\n\nSubscription features and limits default to access for `active`, `trialing`, `frozen`, and\n`past_due` states. Set `accessStatuses` to use a different policy. When provider products no longer\nmatch a configured plan, billing details remain readable while feature and limit checks deny access.\n\n## Checks and coverage\n\nRun the repository checks with:\n\n```bash\npnpm check\n```\n\n`pnpm test` excludes live StreamPay tests. `pnpm test:coverage` measures local source coverage, but\ndoes not prove behavior against StreamPay. `pnpm test:postgres` uses a dedicated test database for\ndatabase-specific behavior. Live provider coverage, test limits, and validation details are in\n[staging validation](docs/staging-validation.md).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}