{"_id":"beehiiv-react","_rev":"26-a17b69b715f917f31d5e8ab9af4a2cd5","name":"beehiiv-react","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.0":{"name":"beehiiv-react","version":"0.1.0","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.1.0","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"3dc0219b7a376e365334889f2016ac510477994b","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.1.0.tgz","fileCount":14,"integrity":"sha512-Bwhbo1ruwpJIB2ypObDFRJcdyXMhwAkSDlo2coZy5d0EmDGr7+702G72vFmpCU2ouAPJX28j4m8+DOew78bbTw==","signatures":[{"sig":"MEUCIBgkQWp4ync3Q3oPClJyTMAxlAx69kYlkXAaUs2gHckaAiEAv2qSQ4qRmN53ulMLLdlbXijP/9dQOwxbbjOvrOCbTlo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":469997},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e7f7d78fe096fe62bf708b368ed34fa2bc6477bb","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"_npmVersion":"11.6.0","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"24.8.0","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.1.0_1777388357419_0.8725030173909676","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"beehiiv-react","version":"0.1.1","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.1.1","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"4304fbaa8ccbe5d19bfd68f6494e7d0f09e99c50","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.1.1.tgz","fileCount":14,"integrity":"sha512-ggUrrd38BoAw9N+i34OXYNXxiWzyxXHTqvZekQvT4MJc95l51Ki3FCNtRybmjW04OmPpw/p4DHFwY/GnmnAbfA==","signatures":[{"sig":"MEUCICXU/rjbKo74qqb4RAKqzfLtNzzTDOGQF/ox8PxkigdIAiEA4iyGer8DuNCVC9lIKJQEBlcEu1jDLGrwMK7hGSzAoKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":469997},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"de89dfa3b776fb69129df5aaf43b6247274f8e73","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"_npmVersion":"11.6.0","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"24.8.0","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.1.1_1777388604526_0.9957524564403668","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"beehiiv-react","version":"0.2.1","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.2.1","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"0d432c6f60d924e21d05a19fe90497ca05752386","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.2.1.tgz","fileCount":14,"integrity":"sha512-GozyiLbc04D8mk0GhcZbq23fbDwP18lSN8khgpSFHVaS+1qjVCugyYAVFx4A/NFAJcBbEMsJbgTOmyJXd7n7/A==","signatures":[{"sig":"MEYCIQDL2bPpYfcM0G9UMpjgRqTHXjcv2QjK4trG7KN94h/CqQIhAMf2N7EEDAJeH/+NCRYvQW4HmnUmU6alMO7MzDDlZwcG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":724155},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4dd7346803a655bce1c9e2352b3254aafc615d08","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.2.1_1777408445304_0.6483115190241013","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"beehiiv-react","version":"0.3.0","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.0","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"83459f4ee717e562e1ae05f51cafd4bcf6235053","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.0.tgz","fileCount":26,"integrity":"sha512-brW8iBnWITmDSPKt7nfFMIduv2sN+4b0O91oAFYKYsSnji3J2BvmiMeCEBQXhQVhKITc7gXsmtx4ubbWD1pI2Q==","signatures":[{"sig":"MEQCID6NNmDCqmEa8sRFOnlMLnqMRWJcNk/oiq7eiOw2dKkeAiAqs5o5kqG1SymeI6zTYuwXb+nE7j8Nd+lwFtTdkSrttg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1431947},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"b98ca2404f812843ababb385105e77e51220c663","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.0_1777413267226_0.7286688911412964","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"beehiiv-react","version":"0.3.1","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.1","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"8240c6445d3945073840f029c399a9fb9aed0218","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.1.tgz","fileCount":26,"integrity":"sha512-fDGpItJumz9KHospXZiPhn4KUDZpvrf+foXFR3K5TLcW3y0NLo5wJWZmbug044gOg4lfd+36LUtbYMhmD8KKRQ==","signatures":[{"sig":"MEUCIAMwsq8ajlfvPz8F85s0L0W+oUsiaODtJTMyIAfT2th8AiEA8HeMfJkDD/D6Mgodn9teAto9v1kOmaHUxWI+OUBWd+k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1431939},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"e3a82f03d96d5b9993f9e7693b563b8142ddb248","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.1_1777426025099_0.6843518599350991","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"beehiiv-react","version":"0.3.2","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.2","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"878a4c37a8db1144fd1c6af15c8e9ec08b37e337","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.2.tgz","fileCount":27,"integrity":"sha512-L12OKgHWhKYqfbn8Jrgxm/CCAcxbkIzL/n0IP5JuUnqxNu9pWWpGubWqA0zC4khIoBQZhBaEh8crYlqZp0H93g==","signatures":[{"sig":"MEYCIQCvLVUxCWGMoS8Vp7Asm1zbRwbV+mQFWorBROFcK+phTgIhAKrOdDd6GyFp3LfB4TZoOEqPYJYCAcIHzUxTLK6/ITB1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1454716},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"f36d8279da16af6f2e8d20cbcedd28da66e3ddb8","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.2_1777427600359_0.5031931454582372","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"beehiiv-react","version":"0.3.3","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.3","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"22ffc4a202221e756c84b9ea5451f29201e57df1","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.3.tgz","fileCount":27,"integrity":"sha512-eUqTEO+SnO1T+dqsWfdjsRdOkEA2TDXo5lRdkrEDwW8yLuNRsBq4nh/BnkmYL9YTRkJzL84YZZGqZO0aKvUjsg==","signatures":[{"sig":"MEUCIE2BEgqphkhZnfjnLQjNLMrryuryjUoqgpzD0x8NPA96AiEAttGFqaT86lwTRSux3HH75ULopGKgTLJ3sEwRpZZJCso=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1447204},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"335c694f7daf38cab4bfb0207f9d49854acb9660","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.3_1777428864044_0.8619363314642181","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"beehiiv-react","version":"0.3.4","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.4","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"23e9155ad016e574523841b6e3beb7c7e397c18b","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.4.tgz","fileCount":27,"integrity":"sha512-PpklGEBViMutzOsuERfa/p5TUq6ZaUDmcCO0Z/Jc283wNTjcSVrF7kYOWSLuC82bLMYeP2LY9mbmr7zPzZqu5Q==","signatures":[{"sig":"MEUCIQDQIKGbYoLQUJWeCKyv5NcFp/+ZHKtlV2k9BcTtOwpt0AIgIrJwO0b+dh9z7rMP1UuBljEIMBCQPI6TlXzBhqtY5DM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1447260},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"61b7e27c9879dcde2be989e161e425871fcc0764","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.4_1777430699332_0.22247856644802422","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"beehiiv-react","version":"0.3.5","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.5","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"f99130b5cdaa80abb24fcfa969d11c90585dca6d","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.5.tgz","fileCount":27,"integrity":"sha512-6eCQXcFEZ17IiMJb9GrHeA21edcwh7YMaNzJcV2clwNzr27j/QBHTEN7Ub4nZheXo2YCe0JuP1Jqkhr3SYNfQg==","signatures":[{"sig":"MEYCIQDWlIwDZX87n92qGv8ie9Z7a5jtk/x9Bn2LJyMo7n/6iAIhANn877HEeGEVidHcqYY9sUkpZuAp4O+jsW90Osyb1COw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1454772},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"6874bd85b02d8f4a269c0ef1f3c60365b5e5ec90","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.5_1777463151849_0.9420572090042669","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"beehiiv-react","version":"0.3.6","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.6","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"050540ca8e49f907883ff85b2356a525e4983849","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.6.tgz","fileCount":27,"integrity":"sha512-UkJRAWjla3mJ9upBKBMky6rT1JO5R955j5yAgJjG0nU97jrrbo31NG8qxbOMaA9qDOjvLYSs2AYp9MQOCpnI4A==","signatures":[{"sig":"MEQCIEroZpL/Hs7fm5YpbVUXYtR2DinbixArN6zWzAj0GWD1AiAK6gZRTNVclnR0J2Mr0ApTcVAafDDtGFks7pK5OIOXZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1454772},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"04eb04ba309ac3c60c7b15b9cb09138c055a76db","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.6_1777465131884_0.07835812134996001","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"beehiiv-react","version":"0.3.7","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.7","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"cd0953750d1c16c1689a9fe8d4b6298ad6a46bcf","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.7.tgz","fileCount":27,"integrity":"sha512-CH2GZFHofmClGuvPRTZdsAehOpgWg3BzojiRnZdGpRhuszCTYN/ctG/6bO6aX9O0aPprxP38N408rkOVQGVtdQ==","signatures":[{"sig":"MEQCIAOmqwyBQ20pgGxUHhE7mLRZ+tczXuu7fFUz6lRuoendAiBL6KNS4EqdR6IGzbtqj2DQ9ZiMBLy7u1JE10ATksEo7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1208909},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"6b349a3330534aea15698a4f75a9175861625273","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.7_1777476701022_0.5869079502722068","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"beehiiv-react","version":"0.3.8","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.8","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"d636995cd94da0cad62be0a21d5ea38ac224b6b5","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.8.tgz","fileCount":27,"integrity":"sha512-+ehDQuqY7solp0TQ4U7dz0zQ6e260oJ7URk2GiANavL/2yy/XF54abllsL6i1B0b9t7Ofy+HwT5pZMYlcs839A==","signatures":[{"sig":"MEQCID5EWh8uTrc3YCtHOTAu7e3myiy9zLrf8Zz+ZYHRexouAiATCEKzTodCEI7mHIyoQozuETsxu+qsrs3nMkK+OBBvrQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1209801},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"bd86aaa08f71d4727422303a2b5db2fc3dfd4609","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.8_1777477675868_0.11627968874430539","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"beehiiv-react","version":"0.3.9","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.9","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"d46ca3eec37f2c19cdcd4ea4231161831b6f50e9","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.9.tgz","fileCount":27,"integrity":"sha512-S80o8uApe/suvHJOMFJY7eOX2HPL2OBwijO3Ul9VS6P9q4J7eXjTjkiaefZBTtU+1o0lR75CqyGNFA2yVn6NeQ==","signatures":[{"sig":"MEQCIEwB1yFls4XStvpsmf8VvLyvRbICPETJufVa4yI6lrMjAiAlh/ymGhK6JuBh6LquS1/GoW3xbFWiL8f7F8UGGi0hmA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1210549},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"ba35e54686f0dc4c732cf0d21f7d80954234f3ad","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.9_1777478976678_0.14504263236820591","host":"s3://npm-registry-packages-npm-production"}},"0.3.10":{"name":"beehiiv-react","version":"0.3.10","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.10","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"deec8fd6ee53926104794214364d217777518d5e","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.10.tgz","fileCount":33,"integrity":"sha512-pbqWzekWApwct6mak2XuxK+kX41mwjNA13YvGhIby8L76P3DipoPojwBTr11b4TG2pOuFyEVgTu7oeHXPtcHWA==","signatures":[{"sig":"MEUCIQCugx2rsk+IYNfsbKcDL71o6aYPX7TSwbnyCPzsWLbS4gIgMa4l6K+vE/nePBnC33XDa7AB1ZkfJd9Rr1cx+6neCpE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1240598},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"483351f3dcfe2dab296566725f789837ba076298","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.10_1777480575674_0.8538773916882583","host":"s3://npm-registry-packages-npm-production"}},"0.3.11":{"name":"beehiiv-react","version":"0.3.11","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.11","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"bb117275e68fac351fc4bd56039309ac1179447d","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.11.tgz","fileCount":33,"integrity":"sha512-oU9zp9PUvJqha/RvFvLDlMm2yItlq8YWpGI8Nh+OWdsuujSNgiyckJVZZAo8OvlOF0iTRz3l414nB4WpMv9Wzw==","signatures":[{"sig":"MEUCIQC2xvpZzaMfMvBNysCtBSL3lKZDSYTpK/hSmsK6DjeyFAIgfU1z5CtU7DIDE0xh56hLFBpAjZnV8HhoUPRbEwmhr4o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1241831},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"c1b4f80e6ce8932b3e3258499075209e7769d8b5","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.11_1777480865842_0.8562742854895942","host":"s3://npm-registry-packages-npm-production"}},"0.3.12":{"name":"beehiiv-react","version":"0.3.12","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.12","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"7bc8194b4bd00430ff545396cff51bd11e6b4c9b","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.12.tgz","fileCount":33,"integrity":"sha512-5L27A5EGe4Jxi2QYz+qdESIG9NoH8fzpl2fPMqKj2MDyzj07dbDmSYOpkIHttylEckqb8T8TyHISAcsMDUdKJw==","signatures":[{"sig":"MEUCICeTcrV81k8dBYv1w5Ci7/9j30hb2yMrlXBoNibz0RZSAiEA+R6c+O3yeZkk7rgE2j+T4+a5qsPnNt//EJLbpNrMR3E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1263061},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"02a45f4fb3bd760d8e757faef916f64e86b1c7f7","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.12_1777482398156_0.4133880556003402","host":"s3://npm-registry-packages-npm-production"}},"0.3.13":{"name":"beehiiv-react","version":"0.3.13","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.13","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"9c6081c16e937f2e6ce0fc97c42052c7499fc3c7","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.13.tgz","fileCount":33,"integrity":"sha512-tC1vRoca825J0VIfg3fxUzSj90su6bmwbZOXFSQmd4kxm0BZ0eblBvS9xL7KxDX4kEOIXT10CNAnvt8ztYvEOg==","signatures":[{"sig":"MEUCICa33EXc3XugWFPRBnE1M7D6LpHLhzEfHWUz09nKCQBaAiEAxbtJbsAf0gEqLC3z4cGLI+4l6+6/sxrPUdwVmWXSwiA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1264741},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"d58d2a77326785efb0823182507bc83576f29833","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.13_1777483216135_0.8559957468869253","host":"s3://npm-registry-packages-npm-production"}},"0.3.14":{"name":"beehiiv-react","version":"0.3.14","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.3.14","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"6665634025cc3204e57e7908cc2529e548477dfa","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.3.14.tgz","fileCount":33,"integrity":"sha512-/X2tdfjoFcg/fqU+KFS+TUKizMajmHbw+PfK7j+uQcJ5Vtg9uwNg5p/yp9+mWuxijL9y4KbvlO8O35mP25m4Aw==","signatures":[{"sig":"MEUCIA+OFudF1+s4/zSWWQ4KXbHv02Es1RkkM+9dHR3SvX9GAiEAsGPnxslL6uBM/OlBwcNoA7iL8IthMEsDUs0REGILpyg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.3.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1265369},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"6ecbae3b4bd053c74a66574663d6ec409da465c7","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.3.14_1777483417213_0.8231295741220357","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"beehiiv-react","version":"0.4.0","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.4.0","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"91e1d528f07272c0aff57a964e9b46ef0cc70a45","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.4.0.tgz","fileCount":33,"integrity":"sha512-geUGEF+wCNxpAXbCe7LH7FDAieEjQwlbrh+JamU4KY3gDBU7ixvd9wlFI32FDaIE9aEfDLsnHaGN9MfyJDKAkQ==","signatures":[{"sig":"MEQCIAjTCxP/50U3kdrSWE/wqLsYbn/8pn4YgYrGqyW95xmUAiA0wz132gb450U3vosSgT9Wdo0QBqq09gomznFtA2OrZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1419744},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"66e15029feb42a3fb33d21bec9d6915d07fe347f","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.4.0_1777485052368_0.22685482479862618","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"beehiiv-react","version":"0.4.1","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.4.1","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"ebb496f111fb00a591652ff7780e651e0abf12c6","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.4.1.tgz","fileCount":33,"integrity":"sha512-gRBP5ofl0xY/BcCx9uc1w9HudBTOj0MaEGJTgypVLo18KatuLeoGJCfkAa3ufxILLYcjAs2l/tGm0e2c9LnS9g==","signatures":[{"sig":"MEYCIQD8BjdfWpHOrINTgfTGwvTIJyXSx5Igjk94BSFj5pcAQwIhAJ8rX5iB2RUhRHjDlNLjsCI8TJ+meV3VAqchrlZ65iEq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1435300},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"0401a92eac938fa9b1fef2b6c64c00a285fe4614","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.4.1_1777488779471_0.20851445170540095","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"beehiiv-react","version":"0.4.2","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.4.2","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"1eb919eb089efcf3d2489ae380460c752d557b71","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.4.2.tgz","fileCount":33,"integrity":"sha512-At/cfpST9YuWLF4Qj/+crEG2dBSO/4lu3bDgdtQntU8ZX1ue9YHeRnAeUZAQMQRt1X0VPZ+PVEaTt59EfgIpIw==","signatures":[{"sig":"MEQCIFAfs3snGhFf8bneMj2OeGQ89TFYuVfUbynCxTRg1onZAiA1GZ10wz9qm0guRW8yBNJnwNFMgyB61Tu4UxTsJZQNHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1441163},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"041c06e135cb307ac215d97a819c7c342f02b96b","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.4.2_1777489148889_0.06764020204689247","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"beehiiv-react","version":"0.4.3","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.4.3","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"97e2b7cd44196ed823e075b2b94f86568175e2e4","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.4.3.tgz","fileCount":33,"integrity":"sha512-K20as8w068/DiKPGuE4bYFsUJ1xsQrZdPszlzpvALDnrJtuELBVLAvHZnYtHFEi2ct5s1B8/S5EI3OWz1/mE6g==","signatures":[{"sig":"MEYCIQCluIUR+dIq2eqkQ/FowFbZOsseuJWJULQUQi6hcbMmRwIhAP8efdbwNxF8yI1Gz1oBmJCT6lC2hpGuw1T6f8bbHXyi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2391189},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"37482dee182e8efd52f3e21dd152b64c345816c3","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","check:spec":"curl -sf https://files.buildwithfern.com/https://beehiiv.docs.buildwithfern.com/ce117ceb8170960e1daef3750597e88705645d547d7ee2fee49c5bebfd5c6b6d/assets/beehiiv-API-Specification.yaml -o /dev/null && echo \"beehiiv OpenAPI spec is available\" || (echo \"No beehiiv OpenAPI spec found\" && exit 1)","test:watch":"vitest","test:coverage":"vitest run --coverage","generate:types":"openapi-typescript src/types/beehiiv-api-spec.yaml -o src/types/beehiiv-api.generated.ts","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.4.3_1777560347775_0.4542362011928336","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"beehiiv-react","version":"0.4.4","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.4.4","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"e170b1159b58db9b487b7da19eea148313289803","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.4.4.tgz","fileCount":33,"integrity":"sha512-JrBzRK+ERKJbW8RpH37u1mohQ7mh1uqMq2m7A4+IA2SY21vr7qjSBebVgCNbJdggMVN60Fb4qVP+F+rutqM56Q==","signatures":[{"sig":"MEUCIQCRQJtQkYCBi1vPnvm522tX8WH2OUz/Ir3KZDY4gwLI/AIgWRnfAvwHE8qvU3gLsS1gVOZP0RsvgBnpacQu7faML1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2391554},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"c0fede91094f4da5ebcec75b7f25a2ef617a35c1","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","check:spec":"curl -sf https://files.buildwithfern.com/https://beehiiv.docs.buildwithfern.com/ce117ceb8170960e1daef3750597e88705645d547d7ee2fee49c5bebfd5c6b6d/assets/beehiiv-API-Specification.yaml -o /dev/null && echo \"beehiiv OpenAPI spec is available\" || (echo \"No beehiiv OpenAPI spec found\" && exit 1)","test:watch":"vitest","test:coverage":"vitest run --coverage","generate:types":"openapi-typescript src/types/beehiiv-api-spec.yaml -o src/types/beehiiv-api.generated.ts","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.4.4_1777562080379_0.96347386186812","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"beehiiv-react","version":"0.5.0","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.5.0","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"6c88f3e54317711b80b297c6540853daea6cf52f","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.5.0.tgz","fileCount":37,"integrity":"sha512-2sX+zq5swjg7OLDGrE+bm4ifh7DJyJKt+pW759g4yK8wUg0DpPYlvW7RJgCYVdm0hNsYqSHOe/VGg60wTyng4w==","signatures":[{"sig":"MEQCIH1egWWENRkXnkcEKVlGoza9UjSzMj3lG6ZVoMrtWd3SAiB7NNCWQh0mPwNRLabc+hooj2C0MmSpIaLyl0cIbzSJug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3402286},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"dd845a711a5c38ca0095b41f1651735f576a7056","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","check:spec":"curl -sf https://files.buildwithfern.com/https://beehiiv.docs.buildwithfern.com/ce117ceb8170960e1daef3750597e88705645d547d7ee2fee49c5bebfd5c6b6d/assets/beehiiv-API-Specification.yaml -o /dev/null && echo \"beehiiv OpenAPI spec is available\" || (echo \"No beehiiv OpenAPI spec found\" && exit 1)","test:watch":"vitest","test:coverage":"vitest run --coverage","generate:types":"openapi-typescript src/types/beehiiv-api-spec.yaml -o src/types/beehiiv-api.generated.ts","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.5.0_1777653953944_0.436601114300893","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"beehiiv-react","version":"0.6.0","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"author":{"name":"EJ White"},"license":"MIT","_id":"beehiiv-react@0.6.0","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"bin":{"beehiiv-react":"dist/cli/index.js"},"dist":{"shasum":"cfb09ddf8bebaaaf6e143e8af5b6d0a7660f0451","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.6.0.tgz","fileCount":41,"integrity":"sha512-/kYSqvNaTBQAnKN3A2n4h1F5qVzjQ+coRy/l0/+NBmUcb8ZSrkuV35CD8DEbrkFklsvCPbyiZJcP4zra+GZcZQ==","signatures":[{"sig":"MEUCIH2QDvK/7G1ome9dtixdkGfoTQAyVsODqtR9ot6G0EX6AiEArcN7vUd4+mgA8BnG5vpFEoWPNUtTjnV0Por9Vo7Mv0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3489448},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./query":{"types":"./dist/query/index.d.ts","import":"./dist/query/index.js","require":"./dist/query/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"}},"gitHead":"351c5985974b5cbe3419028a61944f8c3dba2fb4","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","check:spec":"curl -sf https://files.buildwithfern.com/https://beehiiv.docs.buildwithfern.com/ce117ceb8170960e1daef3750597e88705645d547d7ee2fee49c5bebfd5c6b6d/assets/beehiiv-API-Specification.yaml -o /dev/null && echo \"beehiiv OpenAPI spec is available\" || (echo \"No beehiiv OpenAPI spec found\" && exit 1)","test:watch":"vitest","test:coverage":"vitest run --coverage","generate:types":"openapi-typescript src/types/beehiiv-api-spec.yaml -o src/types/beehiiv-api.generated.ts","prepublishOnly":"npm run build && npm run typecheck && npm run test"},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"repository":{"url":"git+https://github.com/ejwhite7/beehiiv-react.git","type":"git"},"_npmVersion":"10.8.2","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","open":"^10.0.0","chalk":"^5.3.0","dotenv":"^16.0.0","inquirer":"^9.0.0","commander":"^12.0.0","handlebars":"^4.7.8"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^24.0.0","react":"^18.0.0","eslint":"^8.0.0","vitest":"^1.0.0","react-dom":"^18.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/inquirer":"^9.0.0","@types/handlebars":"^4.1.0","openapi-typescript":"^7.13.0","@vitest/coverage-v8":"^1.0.0","@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@typescript-eslint/parser":"^7.0.0","@testing-library/user-event":"^14.0.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0","@tanstack/react-query":">=5.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/beehiiv-react_0.6.0_1777905602898_0.6745866584783218","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"beehiiv-react","version":"0.7.0","description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"license":"MIT","author":{"name":"EJ White"},"homepage":"https://github.com/ejwhite7/beehiiv-react#readme","repository":{"type":"git","url":"git+https://github.com/ejwhite7/beehiiv-react.git"},"bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"publishConfig":{"access":"public","provenance":true},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./query":{"import":{"types":"./dist/query/index.d.mts","default":"./dist/query/index.mjs"},"require":{"types":"./dist/query/index.d.ts","default":"./dist/query/index.js"}},"./server":{"import":{"types":"./dist/server/index.d.mts","default":"./dist/server/index.mjs"},"require":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}}},"bin":{"beehiiv-react":"dist/cli/index.js"},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","lint":"eslint src --ext .ts,.tsx","test":"vitest run","test:pack":"node scripts/pack-smoke.mjs","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build && npm run typecheck && npm run test && npm run test:pack","generate:types":"openapi-typescript src/types/beehiiv-api-spec.yaml -o src/types/beehiiv-api.generated.ts","check:spec":"curl -sf https://files.buildwithfern.com/https://beehiiv.docs.buildwithfern.com/ce117ceb8170960e1daef3750597e88705645d547d7ee2fee49c5bebfd5c6b6d/assets/beehiiv-API-Specification.yaml -o /dev/null && echo \"beehiiv OpenAPI spec is available\" || (echo \"No beehiiv OpenAPI spec found\" && exit 1)"},"peerDependencies":{"@tanstack/react-query":">=5.0.0","react":">=18.0.0","react-dom":">=18.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false},"@tanstack/react-query":{"optional":true}},"dependencies":{"chalk":"^5.3.0","commander":"^12.0.0","dotenv":"^16.0.0","handlebars":"^4.7.8","inquirer":"^9.0.0","open":"^10.0.0","ora":"^8.0.0"},"devDependencies":{"@tanstack/react-query":"^5.100.6","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.0.0","@types/handlebars":"^4.1.0","@types/inquirer":"^9.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","@vitest/coverage-v8":"^1.0.0","eslint":"^8.0.0","jsdom":"^24.0.0","openapi-typescript":"^7.13.0","react":"^18.0.0","react-dom":"^18.0.0","tsup":"^8.0.0","typescript":"^5.0.0","vitest":"^1.0.0"},"_id":"beehiiv-react@0.7.0","gitHead":"f6a955eaae8ef0a6c5654a1f5b4ca35d12b15f51","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-6MsOFe8I6we0mlFSTnWFAjLhUPVPx56xdJ7Ow2IEp0ORX7Vk6psWIIPA+psHRxgTy6VkHaShU/4vJey30uHbkA==","shasum":"ef641c8bb16eb53dac84cc08d42044bb7df01dac","tarball":"https://registry.npmjs.org/beehiiv-react/-/beehiiv-react-0.7.0.tgz","fileCount":41,"unpackedSize":3538720,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beehiiv-react@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAnzgWVerABGfVJembqiFenPXMIKuKoFeMc5CBGrl+ciAiEAlKnFzRqZL8kYnNbC0ANUhTiQkEoRSWxMHIt/2u121gU="}]},"_npmUser":{"name":"ejwhite7","email":"edw@rdjam.es"},"directories":{},"maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/beehiiv-react_0.7.0_1781035413490_0.9815841150056357"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-28T14:59:17.322Z","modified":"2026-06-09T20:03:34.018Z","0.1.0":"2026-04-28T14:59:17.608Z","0.1.1":"2026-04-28T15:03:24.685Z","0.2.1":"2026-04-28T20:34:05.486Z","0.3.0":"2026-04-28T21:54:27.418Z","0.3.1":"2026-04-29T01:27:05.276Z","0.3.2":"2026-04-29T01:53:20.566Z","0.3.3":"2026-04-29T02:14:24.217Z","0.3.4":"2026-04-29T02:44:59.534Z","0.3.5":"2026-04-29T11:45:52.099Z","0.3.6":"2026-04-29T12:18:52.285Z","0.3.7":"2026-04-29T15:31:41.238Z","0.3.8":"2026-04-29T15:47:56.094Z","0.3.9":"2026-04-29T16:09:36.865Z","0.3.10":"2026-04-29T16:36:15.999Z","0.3.11":"2026-04-29T16:41:06.066Z","0.3.12":"2026-04-29T17:06:38.404Z","0.3.13":"2026-04-29T17:20:16.325Z","0.3.14":"2026-04-29T17:23:37.404Z","0.4.0":"2026-04-29T17:50:52.552Z","0.4.1":"2026-04-29T18:52:59.664Z","0.4.2":"2026-04-29T18:59:09.182Z","0.4.3":"2026-04-30T14:45:47.933Z","0.4.4":"2026-04-30T15:14:40.557Z","0.5.0":"2026-05-01T16:45:54.205Z","0.6.0":"2026-05-04T14:40:03.118Z","0.7.0":"2026-06-09T20:03:33.701Z"},"bugs":{"url":"https://github.com/ejwhite7/beehiiv-react/issues"},"author":{"name":"EJ White"},"license":"MIT","homepage":"https://github.com/ejwhite7/beehiiv-react#readme","keywords":["beehiiv","react","nextjs","newsletter","typescript"],"repository":{"type":"git","url":"git+https://github.com/ejwhite7/beehiiv-react.git"},"description":"Connect a beehiiv account to your React/Next.js project — typed API client, React hooks, subscription form component, and CLI scaffolding tool.","maintainers":[{"name":"ejwhite7","email":"edw@rdjam.es"}],"readme":"# beehiiv-react\n\n[![npm version](https://badge.fury.io/js/beehiiv-react.svg)](https://www.npmjs.com/package/beehiiv-react)\n[![CI](https://github.com/ejwhite7/beehiiv-react/actions/workflows/ci.yml/badge.svg)](https://github.com/ejwhite7/beehiiv-react/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Node](https://img.shields.io/badge/Node-%3E%3D%2018-green.svg)](https://nodejs.org)\n\n**A typed React SDK and CLI for integrating beehiiv newsletters into Next.js applications.**\n\nScaffolds configuration, generates TypeScript types from your publication's custom fields, and provides React hooks and components for subscription management. Supports server-side usage via `BeehiivClient`, TanStack Query integration, and React Server Components.\n\n---\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [CLI](#cli)\n  - [Version](#version)\n- [BeehiivProvider](#beehiivprovider)\n- [Hooks](#hooks)\n  - [useSubscribe](#usesubscribe)\n  - [useSubscribers](#usesubscribers)\n  - [usePublications](#usepublications)\n- [Components](#components)\n  - [SubscriptionForm](#subscriptionform)\n- [BeehiivClient](#beehiivclient-server-side)\n- [Posts & Content Visibility](#posts--content-visibility)\n- [Subscriber Profiles](#subscriber-profiles)\n- [Tiers](#tiers)\n- [Authors](#authors)\n- [Bulk Subscriptions & Updates](#bulk-subscriptions--updates)\n- [Engagements](#engagements)\n- [Hook Infill](#hook-infill----automations-webhooks-segments-referrals)\n- [Release Notes](#release-notes)\n- [API Reference](#api-reference)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## Installation\n\n```bash\nnpm install beehiiv-react\n```\n\n### Optional peer dependencies\n\nIf you use the `beehiiv-react/query` TanStack Query adapter, install the peer dependency too:\n\n```bash\nnpm install @tanstack/react-query\n```\n\n> `@tanstack/react-query` v5+ is required only when importing from `beehiiv-react/query`. If you don't use that sub-path, skip this step.\n\n---\n\n## Import Paths\n\n`beehiiv-react` ships two entry points to support Next.js App Router's server/client module boundary:\n\n| Entry Point | Directive | Use In | Exports |\n|---|---|---|---|\n| `beehiiv-react` | `\"use client\"` | Client Components | Hooks, UI components, utilities |\n| `beehiiv-react/server` | _(none)_ | Server Components, API routes, Server Actions | `BeehiivClient`, endpoint classes, data fetchers |\n\n```ts\n// Client Components\nimport { useSubscribe, SubscriptionForm } from 'beehiiv-react';\n\n// Server Components / API Routes / Server Actions\nimport { BeehiivClient, createBeehiivClient } from 'beehiiv-react/server';\n```\n\n> **Why two entry points?** Next.js enforces a strict boundary between server and client\n> modules. The root `beehiiv-react` entry has a `\"use client\"` directive so React hooks\n> and components work in Client Components. Server-only code like `BeehiivClient` must\n> live in a separate entry point without that directive — otherwise Next.js throws\n> _\"Cannot access BeehiivClient.prototype on the server.\"_\n\n---\n\n## Quick Start\n\nInitialize beehiiv-react in your Next.js project:\n\n```bash\nnpx beehiiv-react init\n```\n\nThis interactive wizard will:\n\n1. Prompt for your beehiiv API key\n2. Let you select a publication\n3. Fetch custom fields and generate TypeScript types\n4. Scaffold a `beehiiv.config.ts`, API routes, and server actions\n\nRe-running `init` prompts before overwriting any file you may have customized.\n\n> **Security note:** the generated `GET /api/beehiiv/subscribe` route looks up\n> subscriptions by email and, as scaffolded, is publicly accessible. Before\n> production, add an auth check or rate limiting (the generated file includes\n> a TODO with an example guard) so visitors can't enumerate your subscribers.\n\n---\n\n## CLI\n\n### Syncing Custom Fields\n\nAfter adding or modifying custom fields in the beehiiv dashboard, regenerate your TypeScript types:\n\n```bash\nnpx beehiiv-react sync\n```\n\nThis re-fetches the custom field definitions from the beehiiv API and updates `types/beehiiv.generated.ts` with the latest fields and types.\n\n> **Upgrading to v0.5.0?** Run `npx beehiiv-react sync` to scaffold routes for the new resources (authors, tiers, engagements, bulk-subscriptions).\n\n\n### OAuth2 Support\n\nFor OAuth2 PKCE-based authentication (instead of API keys):\n\n```bash\nnpx beehiiv-react init --oauth\n```\n\nThis starts a local callback server and opens the beehiiv authorization page in your browser. OAuth2 requires a registered client ID with beehiiv. Contact beehiiv to register your application for OAuth2 access.\n\n### Version\n\nPrint the installed version:\n\n```bash\nnpx beehiiv-react -v\n# or\nnpx beehiiv-react --version\n# beehiiv-react/0.4.2\n```\n\n---\n\n## BeehiivProvider\n\nWrap your application with the `BeehiivProvider` to make beehiiv context available to all hooks and components. In a Next.js App Router project, add it to your root layout:\n\n```tsx\n// app/layout.tsx\nimport { BeehiivProvider } from 'beehiiv-react';\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    <html lang=\"en\">\n      <body>\n        <BeehiivProvider\n          publicationId={process.env.NEXT_PUBLIC_BEEHIIV_PUBLICATION_ID!}\n          apiUrl=\"/api/beehiiv\"\n        >\n          {children}\n        </BeehiivProvider>\n      </body>\n    </html>\n  );\n}\n```\n\n---\n\n## Hooks\n\n### useSubscribe\n\nSubscribe new emails with fully typed custom fields:\n\n```tsx\n'use client';\n\nimport { useSubscribe } from 'beehiiv-react';\nimport type { BeehiivCustomFields } from '@/types/beehiiv.generated';\n\nexport function NewsletterSignup() {\n  const { subscribe, isLoading, isSuccess, error } = useSubscribe<BeehiivCustomFields>({\n    onSuccess: (subscription) => {\n      console.log('Subscribed:', subscription.email);\n    },\n    onError: (err) => {\n      console.error('Failed:', err.message);\n    },\n  });\n\n  const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {\n    e.preventDefault();\n    const formData = new FormData(e.currentTarget);\n\n    subscribe({\n      email: formData.get('email') as string,\n      customFields: {\n        firstName: formData.get('firstName') as string,\n      },\n      utmSource: 'website',\n    });\n  };\n\n  if (isSuccess) return <p>Thanks for subscribing!</p>;\n\n  return (\n    <form onSubmit={handleSubmit}>\n      <input name=\"email\" type=\"email\" placeholder=\"you@example.com\" required />\n      <input name=\"firstName\" type=\"text\" placeholder=\"First name\" />\n      <button type=\"submit\" disabled={isLoading}>\n        {isLoading ? 'Subscribing...' : 'Subscribe'}\n      </button>\n      {error && <p>{error.message}</p>}\n    </form>\n  );\n}\n```\n\n### useSubscribers\n\nFetch and paginate through subscribers:\n\n```tsx\n'use client';\n\nimport { useSubscribers } from 'beehiiv-react';\n\nexport function SubscriberList() {\n  const { data, loading, error, page, nextPage, prevPage } = useSubscribers({\n    limit: 20,\n  });\n\n  if (loading) return <p>Loading...</p>;\n  if (error) return <p>Error: {error.message}</p>;\n\n  return (\n    <div>\n      <ul>\n        {data?.map((sub) => (\n          <li key={sub.id}>{sub.email}</li>\n        ))}\n      </ul>\n      <button onClick={prevPage} disabled={page === 1}>Previous</button>\n      <button onClick={nextPage}>Next</button>\n    </div>\n  );\n}\n```\n\n### usePublications\n\nFetch all publications accessible with the current API key:\n\n```tsx\n'use client';\n\nimport { usePublications } from 'beehiiv-react';\n\nexport function PublicationPicker() {\n  const { data: publications, loading } = usePublications();\n\n  if (loading) return <p>Loading publications...</p>;\n\n  return (\n    <select>\n      {publications?.map((pub) => (\n        <option key={pub.id} value={pub.id}>{pub.name}</option>\n      ))}\n    </select>\n  );\n}\n```\n\n---\n\n## Components\n\n### SubscriptionForm\n\nA pre-built, drop-in subscription form:\n\n```tsx\nimport { SubscriptionForm } from 'beehiiv-react';\n\n// Default mode\n<SubscriptionForm\n  submitLabel=\"Join Newsletter\"\n  emailPlaceholder=\"Enter your email\"\n  successMessage=\"Welcome aboard!\"\n  utmSource=\"homepage\"\n/>\n```\n\n#### Headless Mode\n\nFor full control over rendering, use the `renderForm` prop:\n\n```tsx\n<SubscriptionForm\n  renderForm={({ email, setEmail, handleSubmit, isLoading, isSuccess, error }) => (\n    <form onSubmit={handleSubmit}>\n      <input\n        value={email}\n        onChange={(e) => setEmail(e.target.value)}\n        placeholder=\"Email\"\n      />\n      <button type=\"submit\" disabled={isLoading}>\n        {isLoading ? 'Loading...' : 'Subscribe'}\n      </button>\n      {error && <span>{error.message}</span>}\n      {isSuccess && <span>Subscribed!</span>}\n    </form>\n  )}\n/>\n```\n\n---\n\n## BeehiivClient (Server-Side)\n\nUse the `BeehiivClient` directly in server-side code (API routes, server actions, scripts).\n\n> **Important:** Always import server-side classes from `beehiiv-react/server` — not the\n> package root. The root entry point (`beehiiv-react`) carries a `\"use client\"` directive\n> and is reserved for React components and hooks. Importing `BeehiivClient` from the root\n> in a Server Component or API route will cause a Next.js error:\n> _\"Cannot access BeehiivClient.prototype on the server.\"_\n\n```ts\nimport { BeehiivClient } from 'beehiiv-react/server';\n\nconst client = new BeehiivClient({\n  apiKey: process.env.BEEHIIV_API_KEY!,\n  publicationId: process.env.BEEHIIV_PUBLICATION_ID!,\n});\n\n// Create a subscription\nconst subscription = await client.subscriptions.create({\n  email: 'reader@example.com',\n  customFields: [{ name: 'First Name', value: 'Jane' }],\n  utmSource: 'api',\n});\n\n// List subscribers\nconst { data: subscribers } = await client.subscriptions.list({ limit: 10 });\n\n// Get custom field definitions\nconst { data: fields } = await client.customFields.list();\n```\n\n> **Tip:** When `publicationId` is set in the client config, you can omit it from individual method calls — the client injects it automatically.\n\nThe client includes built-in rate limiting (180 requests/minute) matching beehiiv's API limits.\n\n---\n\n## Posts & Content Visibility\n\n### Fetching Posts\n\n```tsx\nimport { usePosts, usePost } from 'beehiiv-react';\n\n// List posts — filter by audience and status\nconst { posts, isLoading, hasMore, loadMore } = usePosts({\n  audience: 'free',   // 'free' | 'premium' | 'both' | 'all'\n  status: 'confirmed',\n});\n\n// Single post\nconst { post, isLoading } = usePost({ id: 'post_abc123' });\n```\n\n### Rendering Posts\n\n```tsx\nimport { PostList, PostCard, PostContentRenderer } from 'beehiiv-react';\n\n// Full list with pagination\n<PostList\n  posts={posts}\n  hasMore={hasMore}\n  onLoadMore={loadMore}\n  isLoading={isLoading}\n/>\n\n// Single card\n<PostCard post={post} showAudienceBadge showPublishDate />\n\n// Post body (provide your own sanitizer)\nimport DOMPurify from 'dompurify';\n<PostContentRenderer\n  content={post.content}\n  sanitizeHtml={(html) => DOMPurify.sanitize(html)}\n/>\n```\n\n### Content Gating\n\n```tsx\nimport { GatedContent, PremiumContent, useSubscriberAccess } from 'beehiiv-react';\n\n// Declarative gating\n<GatedContent\n  audience=\"premium\"\n  subscriberEmail={userEmail}\n  fallback={<p>Upgrade to read this.</p>}\n>\n  <ArticleBody />\n</GatedContent>\n\n// Opinionated premium wrapper with upgrade prompt\n<PremiumContent\n  subscriberEmail={userEmail}\n  upgradePrompt={(tier, status) => (\n    <UpgradeBanner currentTier={tier} />\n  )}\n>\n  <ExclusiveContent />\n</PremiumContent>\n\n// Programmatic access check\nconst { canView, tier, isActive, isLoading } = useSubscriberAccess({\n  email: userEmail,\n  audience: 'premium',\n});\n```\n\n### Access Logic\n\nThe `canViewContent(tier, status, audience)` utility resolves subscriber access:\n\n- `'all'` audience: always accessible (SDK-only alias for public content — the beehiiv API never returns it)\n- `'free'` audience: requires active subscription (any tier)\n- `'both'` audience: sent to both free and premium audiences — requires active subscription (any tier)\n- `'premium'` audience: requires active premium subscription\n\n---\n\n## Subscriber Profiles\n\nResolve a subscriber's identity, tier, and access flags independently of any content or post.\nUse these hooks to decorate user profiles, gate non-beehiiv features, or render subscriber badges.\n\n### Hooks\n\n#### `useSubscriberProfile`\n\nReturns the full subscription record alongside pre-computed `isPremium` and `isActive` flags.\n\n```tsx\nimport { useSubscriberProfile } from 'beehiiv-react';\n\nconst { isPremium, tier, isActive, subscription, isLoading } = useSubscriberProfile({\n  email: user.email, // or id: 'sub_abc123'\n});\n\n// Decorate a profile\nreturn (\n  <UserProfile>\n    {isPremium && <PremiumBadge />}\n  </UserProfile>\n);\n```\n\n#### `useSubscriberTier`\n\nLightweight alternative when you only need the tier flags -- no full subscription record returned.\n\n```tsx\nimport { useSubscriberTier } from 'beehiiv-react';\n\nconst { isPremium, isActive, isLoading } = useSubscriberTier({ email: user.email });\n\nif (isPremium) enablePremiumFeature();\n```\n\n### Component\n\n#### `SubscriberBadge`\n\nRenders a \"Premium\" or \"Free\" badge based on the subscriber's resolved tier.\nSupports headless mode via `renderBadge` for fully custom rendering.\n\n```tsx\nimport { SubscriberBadge } from 'beehiiv-react';\n\n// Default badge UI\n<SubscriberBadge subscriberEmail={user.email} />\n\n// Headless — bring your own UI\n<SubscriberBadge\n  subscriberEmail={user.email}\n  renderBadge={({ isPremium, tier }) => (\n    <MyCustomBadge premium={isPremium} label={tier ?? 'Free'} />\n  )}\n/>\n```\n\n---\n\n\n## Tiers\n\nManage subscription tiers (free and premium) for your publication.\n\n### Hooks\n\n#### `useTiers`\n\n```tsx\nimport { useTiers } from 'beehiiv-react';\n\nfunction TierList() {\n  const { tiers, isLoading } = useTiers({ type: 'premium' });\n\n  if (isLoading) return <p>Loading...</p>;\n  return (\n    <ul>\n      {tiers.map((tier) => (\n        <li key={tier.id}>{tier.name} -- ${tier.price / 100}/mo</li>\n      ))}\n    </ul>\n  );\n}\n```\n\n#### `useTier`\n\n```tsx\nimport { useTier } from 'beehiiv-react';\n\nfunction TierDetail({ tierId }: { tierId: string }) {\n  const { tier, isLoading } = useTier({ tierId });\n  if (isLoading || !tier) return null;\n  return <h2>{tier.name}</h2>;\n}\n```\n\n### Component\n\n#### `TierBadge`\n\n```tsx\nimport { TierBadge } from 'beehiiv-react';\n\n<TierBadge tier={tier} />\n\n{/* Headless mode */}\n<TierBadge tier={tier} renderBadge={({ name, type }) => (\n  <span className={type === 'premium' ? 'gold' : 'gray'}>{name}</span>\n)} />\n```\n\n## Authors\n\nRetrieve author information for your publication.\n\n```tsx\nimport { useAuthors, useAuthor } from 'beehiiv-react';\n\nfunction AuthorList() {\n  const { authors, isLoading } = useAuthors();\n  if (isLoading) return null;\n  return authors.map((a) => <span key={a.id}>{a.name}</span>);\n}\n\nfunction AuthorDetail({ authorId }: { authorId: string }) {\n  const { author } = useAuthor({ authorId });\n  return author ? <p>{author.bio}</p> : null;\n}\n```\n\n## Bulk Subscriptions & Updates\n\n### Bulk Create Subscriptions (Server-Side)\n\n```ts\nimport { BeehiivClient } from 'beehiiv-react/server';\n\nconst client = new BeehiivClient({ apiKey: '...', publicationId: '...' });\n\n// The API responds with { message, import_id }\nconst { import_id } = await client.bulkSubscriptions.create({\n  subscriptions: [\n    { email: 'alice@example.com', utm_source: 'import' },\n    { email: 'bob@example.com' },\n  ],\n});\n```\n\n### Bulk Update Fields / Status (Server-Side)\n\n```ts\n// Update subscriptions in bulk — responds with { data: { subscription_update_id } }\nawait client.bulkSubscriptionUpdates.bulkUpdateFields({\n  subscriptions: [\n    { subscription_id: 'sub_1', custom_fields: [{ name: 'plan', value: 'enterprise' }] },\n    { subscription_id: 'sub_2', tier: 'premium' },\n  ],\n});\n\n// Update subscription status in bulk — the API responds with 204 No Content\nawait client.bulkSubscriptionUpdates.bulkUpdateStatus({\n  subscription_ids: ['sub_1', 'sub_2'],\n  new_status: 'active',\n});\n```\n\n### Track Bulk Update Jobs\n\n```tsx\nimport { useBulkUpdateJob } from 'beehiiv-react';\n\nfunction JobTracker({ jobId }: { jobId: string }) {\n  // Polls until the job status is 'complete' or 'failed'\n  const { job, isPolling, error } = useBulkUpdateJob('pub_abc', jobId, {\n    pollInterval: 2000,\n  });\n\n  if (error) return <p>Error: {error.message}</p>;\n\n  return (\n    <div>\n      <p>Status: {job?.status}</p>\n      {job?.failure_reason && <p>Failed: {job.failure_reason}</p>}\n      {isPolling && <p>Still processing…</p>}\n    </div>\n  );\n}\n```\n\n## Engagements\n\nRetrieve engagement metrics (opens, clicks, etc.) for a date range.\n\n```tsx\nimport { useEngagements } from 'beehiiv-react';\n\nfunction EngagementDashboard() {\n  const { metrics, isLoading } = useEngagements({\n    startDate: '2025-01-01',\n    endDate: '2025-01-31',\n  });\n\n  if (isLoading || !metrics) return null;\n  return (\n    <dl>\n      <dt>Opens</dt><dd>{metrics.total_opened}</dd>\n      <dt>Clicks</dt><dd>{metrics.total_clicked}</dd>\n    </dl>\n  );\n}\n```\n\n## Hook Infill -- Automations, Webhooks, Segments, Referrals\n\nThese hooks provide React-friendly wrappers for resources that previously only had server-side clients.\n\n### `useAutomations`\n\n```tsx\nimport { useAutomations } from 'beehiiv-react';\n\nconst { automations, isLoading } = useAutomations({ status: 'active' });\n```\n\n### `useWebhooks`\n\n```tsx\nimport { useWebhooks } from 'beehiiv-react';\n\nconst { webhooks, isLoading } = useWebhooks();\n```\n\n### `useSegments`\n\n```tsx\nimport { useSegments } from 'beehiiv-react';\n\nconst { segments, isLoading } = useSegments();\n```\n\n### `useReferrals`\n\n```tsx\nimport { useReferrals } from 'beehiiv-react';\n\nconst { program, subscriberStats } = useReferrals({ subscriberId: 'sub_123' });\n```\n\n## Release Notes\n\n### v0.5.0\n\n**Tiers, Authors, Bulk Subscriptions, Engagements, and Hook Infill**\n\n- **5 new client namespaces**: `tiers` (list, get, create, update), `authors` (list, get), `bulkSubscriptions` (create), `bulkSubscriptionUpdates` (list, get, updateFields, updateStatus), `engagements` (get)\n- **10 new React hooks**: `useTiers`, `useTier`, `useAuthors`, `useAuthor`, `useBulkUpdateJob`, `useEngagements`, `useAutomations`, `useWebhooks`, `useSegments`, `useReferrals`\n- **1 new component**: `TierBadge` -- renders a tier badge with free/premium styling and headless mode\n- **27 new TanStack Query adapters** added to `beehiiv-react/query`\n- **5 new server fetchers** added to `beehiiv-react/server`\n- **Modified endpoints**: `subscriptions.addTags()`, `segments.listIds()`\n- API coverage: ~50/72 beehiiv API v2 endpoints\n\n### v0.4.2\n- `PostInfo` now carries an optional `tags?: string[]` field\n- `PostCard` renders tags with accessible list markup (`role=\"list\"` / `role=\"listitem\"`) and exposes `showTags` / `tagsClassName` props plus tags on the headless `renderPost` render prop\n- Server-side `fetchPost` expands both `free_web_content` and `tags` by default\n\n### v0.4.1\n- **Accessibility**: aria attributes (`aria-required`, `aria-invalid`, `aria-describedby`) and `autocomplete` tokens added across `SubscriptionForm` and the generated subscribe templates (`subscribe-cta`, `subscribe-step-two`)\n- **`expand` on `usePosts`/`usePostsQuery`**: list-side `expand` parameter forwarded to the beehiiv API on every paginated load-more, so post content stays populated across all pages\n- **SubscribeCTA template fix**: accesses unwrapped `SubscriptionInfo` fields directly (`result?.publication_id`) to match the unwrapped `subscribeAction` response shape\n\n### v0.4.0\n- **`defaultPublicationId` dual-signature pattern** extended to all 9 endpoint classes\n  - Every method now supports `method(data)` (uses default) or `method(pubId, data)` (explicit override)\n  - Endpoints: segments, automations, webhooks, posts, custom-fields, referrals, subscriptions, automation-journeys\n- **New endpoint**: `AutomationJourneysEndpoint` with `create()` and `get()` methods\n- **New methods**: `PostsEndpoint.aggregateStats()`, `SegmentsEndpoint.create()`, `AutomationsEndpoint.get()`, `AutomationsEndpoint.listEmails()`\n- **`GetPostOptions`**: `PostsEndpoint.get()` now accepts an `expand` array to request expanded content fields\n- **New types**: `AutomationJourneyInfo`, `PostAggregateStats`, `AutomationEmailInfo`, and more\n- Merged all v0.3.7--v0.3.14 fixes into the v0.4.0 codebase\n- 467 tests passing across 42 test files\n\n### v0.3.14\n- Defensive guards in `usePosts` hook for API responses missing `data` or `pagination` fields\n- Prevents runtime crashes when the beehiiv API returns incomplete responses\n\n### v0.3.13\n- **BeehiivClient import path fix**: All CLI-generated templates now import `BeehiivClient` from `beehiiv-react/server` (was `beehiiv-react`)\n- **UTM fields in subscribeAction**: Generated server actions now accept and pass through `utmSource`, `utmMedium`, `utmChannel`, `utmCampaign`, `referringSite`, `reactivateExisting`\n- **`utm_channel` type**: Added to `SubscriptionInfo` and `CreateSubscriptionRequest`\n\n### v0.3.12\n- Fixed 5 scaffold template bugs surfaced in generated projects:\n  - `publicationId` now wired through correctly in generated server actions and API routes\n  - Generated `BeehiivCustomFields` import path matches the custom-fields generator output\n  - `expand` parameter properly passed through to the posts list/get endpoints\n  - `PostContent` type is exported and aligned across `PostContent`/`PostContentRenderer` components and the `posts` endpoint\n  - `usePosts` cursor pagination fixed (load-more no longer clobbers prior pages)\n\n### v0.3.11\n- Republish of v0.3.10 with the v0.3.6–v0.3.10 changelog entries now included in the tarball\n\n### v0.3.10\n- New CLI-generated subscribe flow with persistence and analytics\n  - Two-step subscribe component (`SubscribeCTA` + `SubscribeStepTwo`) with a shared `SubscribeWrapper`\n  - Subscriber identity persisted to cookies and `localStorage` so returning visitors skip the form\n  - `useSubscriberStatus` hook generated alongside the components for status-aware UI\n  - Auto-hides CTAs once a visitor is subscribed\n  - Emits `dataLayer` events (`subscribe_view`, `subscribe_step_one`, `subscribe_complete`) for GTM/analytics integration\n- New generated `analytics.ts` helper and `posts-route.ts` API route templates\n- `PostList` accepts an `onSubscribeClick` prop for inline subscribe entry points\n\n### v0.3.9\n- Generated `actions.ts` template now includes the missing `enrichSubscriptionAction` server action\n\n### v0.3.8\n- Reverted the ESM CLI build that broke `__dirname` resolution; CLI is back on CJS with the version injected at build time via tsup `define`\n\n### v0.3.7\n- CLI reads its version dynamically from `package.json` instead of a hardcoded string\n\n### v0.3.6\n- Split server and client exports so the package no longer crosses Next.js RSC boundaries (fixes \"Server Components cannot import client components\" error)\n\n### v0.3.5\n- Fixed 7 TypeScript errors in generated API route templates\n  - `SubscriptionsEndpoint` now accepts an optional `defaultPublicationId` from client config; all methods support calling without an explicit publication ID argument\n  - Added `get()` alias on `SubscriptionsEndpoint` (maps to `getById`)\n  - Added `email` filter to `ListSubscriptionsOptions`\n  - Custom fields generator now writes to `lib/beehiiv/beehiiv-custom-fields.ts` (fixes TS2307 import path mismatch in generated server actions)\n- Added `-v` / `--version` CLI flag (see [CLI](#cli))\n- Added `SKILL.md` and AI coding tool context files (Cursor, Copilot, Windsurf, Cline, Aider, AGENTS.md)\n\n### v0.3.4\n- Build pipeline injects `\"use client\"` directives via tsup `onSuccess` hook (resolves Rollup stripping issue)\n\n### v0.3.3\n- Added `\"use client\"` directives to all client-facing source files\n\n### v0.3.2\n- `README.md` and `CLAUDE.md` included in npm package files\n- Peer dependency install documentation improved\n\n### v0.3.1\n- Fixed ENOENT crash on `npx beehiiv-react init` (CLI template path resolution)\n- Fixed default import for `beehiiv.config`\n- Fixed Next.js 15 compatibility: async `params` in generated API route handlers\n\n### v0.3.0\n\nv0.3.0 delivers full beehiiv API v2 coverage, two new React hooks, a first-class TanStack Query adapter, and React Server Component utilities.\n\n### 4 New Server-Side Endpoints\n\nThe `BeehiivClient` now exposes 8 endpoint namespaces (up from 4 in v0.2.x):\n\n#### Webhooks\n\n```ts\nimport { BeehiivClient } from 'beehiiv-react/server';\n\nconst client = new BeehiivClient({ apiKey: process.env.BEEHIIV_API_KEY! });\n\n// List all webhooks\nconst { data: webhooks } = await client.webhooks.list('pub_abc');\n\n// Create a webhook\nconst { data: webhook } = await client.webhooks.create('pub_abc', {\n  url: 'https://example.com/webhook',\n  events: ['subscription.created', 'post.published'],\n});\n\n// Send a test event\nawait client.webhooks.test('pub_abc', webhook.id);\n```\n\n#### Segments\n\n```ts\n// List segments\nconst { data: segments } = await client.segments.list('pub_abc');\n\n// List members of a segment\nconst { data: members } = await client.segments.listMembers('pub_abc', 'seg_123');\n```\n\n#### Automations\n\n```ts\n// List automations\nconst { data: automations } = await client.automations.list('pub_abc');\n\n// List journeys for an automation\nconst { data: journeys } = await client.automations.listJourneys('pub_abc', 'auto_456');\n```\n\n#### Referrals\n\n```ts\n// Get the referral program\nconst { data: program } = await client.referrals.getProgram('pub_abc');\n\n// Get a subscriber's referral stats\nconst { data: stats } = await client.referrals.getSubscriberStats('pub_abc', 'sub_789');\n```\n\n### `beehiiv-react/query` -- TanStack Query Adapter\n\n> **Prerequisites:** Install `@tanstack/react-query` before using this sub-path: `npm install @tanstack/react-query`\n\nA dedicated sub-path export that wraps every beehiiv API call in TanStack Query v5 hooks for automatic caching, deduplication, and background re-fetching.\n\n**Setup:**\n\n```tsx\n// app/providers.tsx\n'use client';\n\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { BeehiivProvider } from 'beehiiv-react';\n\nconst queryClient = new QueryClient();\n\nexport function Providers({ children }: { children: React.ReactNode }) {\n  return (\n    <QueryClientProvider client={queryClient}>\n      <BeehiivProvider\n        publicationId={process.env.NEXT_PUBLIC_BEEHIIV_PUBLICATION_ID!}\n        apiUrl=\"/api/beehiiv\"\n      >\n        {children}\n      </BeehiivProvider>\n    </QueryClientProvider>\n  );\n}\n```\n\n**Usage:**\n\n```tsx\n'use client';\n\nimport { usePostsQuery, useSubscribeMutation } from 'beehiiv-react/query';\n\nexport function PostsFeed() {\n  const { data, isLoading } = usePostsQuery({ status: 'confirmed', limit: 10 });\n  const subscribe = useSubscribeMutation();\n\n  if (isLoading) return <p>Loading...</p>;\n\n  return (\n    <ul>\n      {data?.data.map((post) => (\n        <li key={post.id}>{post.title}</li>\n      ))}\n    </ul>\n  );\n}\n```\n\n### `beehiiv-react/server` -- React Server Component Utilities\n\nA sub-path export providing RSC-compatible helpers. No hooks, no client-side state -- just plain async functions safe for Server Components, Route Handlers, and Server Actions.\n\n```tsx\n// app/posts/page.tsx  (Next.js Server Component)\nimport { createBeehiivClient, fetchPosts } from 'beehiiv-react/server';\n\nexport default async function PostsPage() {\n  const client = createBeehiivClient();       // reads BEEHIIV_API_KEY from env\n  const posts = await fetchPosts(client, process.env.BEEHIIV_PUB_ID!, {\n    status: 'confirmed',\n    limit: 20,\n  });\n\n  return (\n    <ul>\n      {posts.map((post) => (\n        <li key={post.id}>{post.title}</li>\n      ))}\n    </ul>\n  );\n}\n```\n\nAdditional server fetchers: `fetchPost`, `fetchSubscribers`, `fetchSubscription`, `fetchPublications`, `fetchCustomFields`, `fetchWebhooks`, `fetchSegments`.\n\n### Migration from v0.2.x\n\nAll v0.2.x APIs remain stable and unchanged. v0.3.0 is a purely additive release:\n\n- Existing hooks (`useSubscribe`, `useSubscription`, `useCustomFields`, `usePosts`, `usePost`, etc.) are unchanged.\n- Existing client endpoints (`subscriptions`, `customFields`, `publications`, `posts`) are unchanged.\n- The main `beehiiv-react` import path works exactly as before.\n- New features are available via the main import path (new endpoints and hooks) or the new sub-path imports (`beehiiv-react/query`, `beehiiv-react/server`).\n- `@tanstack/react-query` (>=5.0.0) is an **optional** peer dependency -- only needed if you import from `beehiiv-react/query`.\n\n---\n\n## API Reference\n\n### Hooks\n\n| Hook | Description |\n|------|-------------|\n| `useBeehiiv()` | Access the beehiiv context (publication ID, API URL) |\n| `useSubscribe()` | Subscribe an email with custom fields and UTM tracking |\n| `useSubscription()` | Fetch and manage an existing subscription |\n| `useCustomFields()` | Retrieve custom field definitions |\n| `usePosts()` | Paginated post list with audience/status filters |\n| `usePost()` | Fetch a single post by ID |\n| `useSubscriberAccess()` | Resolve subscriber tier + status into an access result |\n| `usePostAccess()` | Fetch post + subscriber, returns combined `{ post, canView }` |\n| `useSubscribers()` | Fetch and paginate through subscribers |\n| `usePublications()` | Fetch all accessible publications |\n| `useSubscriberProfile()` | Full subscription record with `isPremium` and `isActive` flags |\n| `useSubscriberTier()` | Lightweight tier flags without the full subscription record |\n| `useTiers()` | Paginated tier list with type/active filtering |\n| `useTier()` | Single tier by ID |\n| `useAuthors()` | Paginated author list |\n| `useAuthor()` | Single author by ID |\n| `useBulkUpdateJob()` | Track bulk update job with polling |\n| `useEngagements()` | Engagement metrics by date range |\n| `useAutomations()` | Automation list and detail |\n| `useWebhooks()` | Webhook list and detail |\n| `useSegments()` | Segment list and detail |\n| `useReferrals()` | Referral program and subscriber stats |\n\n### Components\n\n| Component | Description |\n|-----------|-------------|\n| `<BeehiivProvider>` | Context provider for beehiiv configuration |\n| `<SubscriptionForm>` | Pre-built subscription form with headless mode |\n| `<PostCard>` | Displays a single post with thumbnail, badge, title, subtitle, date |\n| `<PostList>` | Paginated list of posts with load-more, skeleton loading, empty state |\n| `<PostContentRenderer>` | Renders HTML or JSON post content with sanitizer hook |\n| `<GatedContent>` | Declarative wrapper for subscriber-gated content |\n| `<PremiumContent>` | Opinionated premium gate with `upgradePrompt` render prop |\n| `<SubscriberBadge>` | Renders a tier badge with optional headless mode |\n| `<TierBadge>` | Renders a tier name badge with free/premium styling |\n\n### Types\n\nAll types are exported from the package root:\n\n```ts\nimport type {\n  SubscriptionInfo,\n  PublicationInfo,\n  CustomFieldInfo,\n  PostInfo,\n  PostContent,\n  PostAudience,\n  AccessResult,\n  WebhookInfo,\n  BeehiivApiConfig,\n  BeehiivConfig,\n  Tier,\n  TierType,\n  Author,\n  BulkSubscriptionUpdateJob,\n  EngagementMetrics,\n} from 'beehiiv-react';\n```\n\n---\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/my-feature`)\n3. Write tests for your changes\n4. Ensure all tests pass (`npm test`)\n5. Commit your changes (`git commit -am 'Add my feature'`)\n6. Push to the branch (`git push origin feature/my-feature`)\n7. Open a Pull Request\n\nPlease follow the existing code style and include tests for any new functionality.\n\n---\n\n## License\n\nReleased under the [MIT License](LICENSE).\n\n","readmeFilename":"README.md"}