{"_id":"@12degrees/stateful-fastify","_rev":"10-69adad0709af913c3ec0540ad910e62c","name":"@12degrees/stateful-fastify","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.2":{"name":"@12degrees/stateful-fastify","version":"0.1.2","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.1.2","maintainers":[{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"18b125c06baa0bc829683e91e6fa85e6ca08cda0","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.1.2.tgz","fileCount":19,"integrity":"sha512-0qv5BUMFYC0cnkmq0Y41J0jU7KMOxwAfZd/DfhS8o0Jzw7B0TK9OWJES5NAtfT6ei3dac+nzRGgYwvJIteM0Xg==","signatures":[{"sig":"MEQCIHDsLwMZ3HHKpI99K0h0P4IqPcBU8KgTbBV6IssWD9OFAiAomH3huTiFnotGjTPX1HFzGe4kXy6G9dZybx8p9ytpLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79916},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.1.2.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/ed8fc344ab1d17fb85a4a11244f45ed6/12degrees-stateful-fastify-0.1.2.tgz","_integrity":"sha512-0qv5BUMFYC0cnkmq0Y41J0jU7KMOxwAfZd/DfhS8o0Jzw7B0TK9OWJES5NAtfT6ei3dac+nzRGgYwvJIteM0Xg==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@12degrees/stateful-core":"0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.1.2","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","eslint-config-custom":"0.1.2","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.1.2_1726512967998_0.021771340424153296","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@12degrees/stateful-fastify","version":"0.1.3","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.1.3","maintainers":[{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"c90b3bedf719c5d87aca36a24b4a2b20c6e93504","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.1.3.tgz","fileCount":19,"integrity":"sha512-i62dtNImv+gpLZexxSyQ1pvWv1m+U3p8lknEAi2lA9DZZrsf+hx2Z9kUajU0DmM52ZMlQdf9VzkZ70886qGxcw==","signatures":[{"sig":"MEYCIQD+PFQq/thkZoDkqE5JwH+6Tmn2+C3Kqy9I2+tz0ilbYgIhAJ0ghp7VccZzZJc087vdUEYIiFTFcYEjrnxIBxoL4+M6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81512},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.1.3.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/a793c892ded6af9ee32828f61ea5e547/12degrees-stateful-fastify-0.1.3.tgz","_integrity":"sha512-i62dtNImv+gpLZexxSyQ1pvWv1m+U3p8lknEAi2lA9DZZrsf+hx2Z9kUajU0DmM52ZMlQdf9VzkZ70886qGxcw==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@12degrees/stateful-core":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.1.3","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","eslint-config-custom":"0.1.3","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.1.3_1726555244242_0.1412209378435778","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@12degrees/stateful-fastify","version":"0.1.4","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.1.4","maintainers":[{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"45ee0825cc20f475f4e2d7a38a41ac94b9734463","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.1.4.tgz","fileCount":19,"integrity":"sha512-2tnF7se39zU7tAybYRuj5jyttDIGHjSTO9uQzVf0p0jbknWIbOOugNQVMCr+XccG/XIS+4IUo+DsTXe5FcvM5Q==","signatures":[{"sig":"MEQCIFxaLoMCkFtfr6xX09tkMtt9ofKWohO3jMzj9vODuSRIAiAMr5fTzk4pWFSN/+/PzHIjo/B275O31UATD24h/ZwoiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81829},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.1.4.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/5ff26987a63360467eb18debf885f268/12degrees-stateful-fastify-0.1.4.tgz","_integrity":"sha512-2tnF7se39zU7tAybYRuj5jyttDIGHjSTO9uQzVf0p0jbknWIbOOugNQVMCr+XccG/XIS+4IUo+DsTXe5FcvM5Q==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@12degrees/stateful-core":"0.1.4"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.1.4","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","eslint-config-custom":"0.1.4","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.1.4_1726577134747_0.1771298892101545","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@12degrees/stateful-fastify","version":"0.2.0","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.2.0","maintainers":[{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"6a21bae89aa9d420238c9b3f4f5710ec60fa4f3c","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.2.0.tgz","fileCount":19,"integrity":"sha512-QPa2D7LUSEP6TeBnMTdnc1pcnHAWym/i6aJ1bHMQs2R84fAbqYdej3bi9ti4EmiF5ht0RPZE4SDiRm3YbVLtdg==","signatures":[{"sig":"MEUCIE6zlpXJWfPQ1iMB28XxhhRYe2wEwBaiu8semxwQBULaAiEAl0YLvAVEdlfvGOFWIcbsGRF7bTiKvXzCNSuVWWMPzKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79147},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.2.0.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/8cb86beca6278334922876b58097c3ec/12degrees-stateful-fastify-0.2.0.tgz","_integrity":"sha512-QPa2D7LUSEP6TeBnMTdnc1pcnHAWym/i6aJ1bHMQs2R84fAbqYdej3bi9ti4EmiF5ht0RPZE4SDiRm3YbVLtdg==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@12degrees/stateful-core":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.2.0","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","eslint-config-custom":"0.2.0","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.2.0_1726585246652_0.30165764994267774","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@12degrees/stateful-fastify","version":"0.3.0","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.3.0","maintainers":[{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"6577ce8faf549cb9c5845d7f83104209d0ff9869","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.3.0.tgz","fileCount":53,"integrity":"sha512-n4K4PyvSpeKZ+h6EImnGWUXecEbw4ZTWHVC6nkBICIlyyxxVRhes6EPR4xaHVF7DHqjpkh5gI5wd8eY1joO+XQ==","signatures":[{"sig":"MEUCIQCl+G3ZIOmMI3Uh5B3D/CJJIcxo59u8iy+eRVOLNeX58gIgbQRnpqcC42ZV9rc5Wx9BSJagi3Axs8fh3fRCbQX0kks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137320},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.3.0.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/9f27333d89bc48129cc8c1ac897ea10f/12degrees-stateful-fastify-0.3.0.tgz","_integrity":"sha512-n4K4PyvSpeKZ+h6EImnGWUXecEbw4ZTWHVC6nkBICIlyyxxVRhes6EPR4xaHVF7DHqjpkh5gI5wd8eY1joO+XQ==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@12degrees/stateful-core":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.3.0","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","supertokens-node":">=14.1.3","fastify-event-bus":"1.0.1","eslint-config-custom":"0.3.0","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","supertokens-node":">=14.1.3","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.3.0_1727869112082_0.5185577615955193","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@12degrees/stateful-fastify","version":"0.3.1","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.3.1","maintainers":[{"name":"suvashvishowkarma","email":"suvash@dzangolab.com"},{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"olivier12deg","email":"olivier@12deg.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"9d9261e4afc8532f2ec7a05f9ffdd7a6fe27ddb9","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.3.1.tgz","fileCount":53,"integrity":"sha512-wo57IEEdORDu+jfVJgu2+2ez0Lul/NvNqyroQzEDAG1y2IrcQptRrNCeer1UOa8rRZKoBtCrNYimbaHcUUkIjg==","signatures":[{"sig":"MEQCIArzalX23B3AibCVAhSkbB3hP3bmy12m76xAdz115ZrzAiBydHd2JK+qQ7LIdpLRiv3cQwb/owkHh+7Uf97XZH8maw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136566},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.3.1.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/869effb484c2c8d5aabfaecd968a9abb/12degrees-stateful-fastify-0.3.1.tgz","_integrity":"sha512-wo57IEEdORDu+jfVJgu2+2ez0Lul/NvNqyroQzEDAG1y2IrcQptRrNCeer1UOa8rRZKoBtCrNYimbaHcUUkIjg==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@12degrees/stateful-core":"0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"5.4.5","eslint":"8.57.0","slonik":">=38.0.0","vitest":"2.1.1","fastify":"4.28.1","prettier":"3.3.3","tsconfig":"0.3.1","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","supertokens-node":">=14.1.3","fastify-event-bus":"1.0.1","eslint-config-custom":"0.3.1","@dzangolab/fastify-config":"0.72.1","@dzangolab/fastify-slonik":"0.72.1","@vitest/coverage-istanbul":"2.1.1"},"peerDependencies":{"zod":">=3.23.8","slonik":">=38.0.0","fastify":">=4.10.2","fastify-plugin":">=4.5.1","supertokens-node":">=14.1.3","@dzangolab/fastify-config":"^0.72.1","@dzangolab/fastify-slonik":"^0.72.1"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.3.1_1730103735764_0.7516175337535262","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@12degrees/stateful-fastify","version":"0.3.2","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.3.2","maintainers":[{"name":"olivier12deg","email":"olivier@12deg.com"},{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"suvashvishowkarma","email":"suvash@dzangolab.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"e225d0179902bbf9d904cece554b2e8ef7eb8650","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.3.2.tgz","fileCount":53,"integrity":"sha512-bIyCcFxl8CdArj4P9xjtdgWiEfMyUQ9ezSP3kKsLkBs4OAxXDznkhQyFE/Vq48RyeG9k5td/l1b/HjxSHAXZDw==","signatures":[{"sig":"MEUCIQCU6Jiw5WK7mvQMYarihSTjnnfgqdPCiCP2b1RrTjpyyQIgT8Hg7nL4kjbo0DM985BxTR0Hl/Guy93mnGRcjskti/I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136705},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.3.2.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20","pnpm":">=8"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/8cd90e6088704c193597dbb79e9b963a/12degrees-stateful-fastify-0.3.2.tgz","_integrity":"sha512-bIyCcFxl8CdArj4P9xjtdgWiEfMyUQ9ezSP3kKsLkBs4OAxXDznkhQyFE/Vq48RyeG9k5td/l1b/HjxSHAXZDw==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.18.3","dependencies":{"@12degrees/stateful-core":"0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"6.0.11","eslint":"8.57.0","slonik":">=46.1.0","vitest":"3.0.6","fastify":"4.29.0","prettier":"3.3.3","tsconfig":"0.3.2","typescript":"5.5.4","@types/node":"22.5.5","fastify-plugin":"4.5.1","supertokens-node":">=14.1.3","fastify-event-bus":"1.0.1","eslint-config-custom":"0.3.2","@dzangolab/fastify-config":"0.79.0","@dzangolab/fastify-slonik":"0.79.0","@vitest/coverage-istanbul":"3.0.6"},"peerDependencies":{"zod":">=3.23.8","slonik":">=46.1.0","fastify":">=4.29.0","fastify-plugin":">=4.5.1","supertokens-node":">=14.1.3","@dzangolab/fastify-config":"^0.79.0","@dzangolab/fastify-slonik":"^0.79.0"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.3.2_1741772862319_0.3942434522928746","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@12degrees/stateful-fastify","version":"0.4.0","author":{"url":"https://12deg.com","name":"12 Degrés SAS","email":"info@12deg.com"},"_id":"@12degrees/stateful-fastify@0.4.0","maintainers":[{"name":"olivier12deg","email":"olivier@12deg.com"},{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"suvashvishowkarma","email":"suvash@dzangolab.com"}],"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","bugs":{"url":"https://github.com/12deg/stateful/issues"},"dist":{"shasum":"311f566f444905a22aecb22e0e54af7cb95dd7fe","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.4.0.tgz","fileCount":59,"integrity":"sha512-ZtpxcF8QLbliNkK+h6yRmSq7Ig1+H7QY5efqjCGi5CHzpPTStvuUj8gP3yy4W2QfSub5tO9sZDI7o7obUArkTg==","signatures":[{"sig":"MEQCIDzf8K7ymHtXLn5+YzYEtfFoXMrj4NkAxuOg3m6IY6rsAiBxUaosllobU7+E3IRaQMJyE173BKJs5FkqPbjkpbj3Tw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137811},"main":"./dist/12degrees-stateful-fastify.umd.cjs","type":"module","_from":"file:12degrees-stateful-fastify-0.4.0.tgz","types":"./dist/types/index.d.ts","module":"./dist/12degrees-stateful-fastify.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"scripts":{"lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","test":"vitest run --coverage --pass-with-no-tests","build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","typecheck":"tsc --noEmit -p tsconfig.json --composite false","sort-package":"npx sort-package-json"},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"_resolved":"/tmp/85ba0b4de40e1f924996b05a18700111/12degrees-stateful-fastify-0.4.0.tgz","_integrity":"sha512-ZtpxcF8QLbliNkK+h6yRmSq7Ig1+H7QY5efqjCGi5CHzpPTStvuUj8gP3yy4W2QfSub5tO9sZDI7o7obUArkTg==","repository":{"url":"git+https://github.com/12deg/stateful.git","type":"git","directory":"packages/fastify"},"_npmVersion":"10.8.2","description":"A fastify plugin for the stateful library","directories":{},"_nodeVersion":"20.19.1","dependencies":{"@12degrees/stateful-core":"0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.23.8","vite":"6.0.11","eslint":"8.57.0","slonik":"46.1.0","vitest":"3.0.6","fastify":"5.3.2","prettier":"3.3.3","tsconfig":"0.4.0","typescript":"5.8.3","@types/node":"22.5.5","js-event-bus":"1.1.1","fastify-plugin":"5.0.1","supertokens-node":"14.1.3","eslint-config-custom":"0.4.0","@dzangolab/fastify-config":"0.83.0","@dzangolab/fastify-slonik":"0.83.0","@vitest/coverage-istanbul":"3.0.6"},"peerDependencies":{"zod":"3.23.8","slonik":"46.1.0","fastify":"5.3.2","fastify-plugin":"5.0.1","supertokens-node":"14.1.3","@dzangolab/fastify-config":"0.83.0","@dzangolab/fastify-slonik":"0.83.0"},"_npmOperationalInternal":{"tmp":"tmp/stateful-fastify_0.4.0_1747044346656_0.07856985666395899","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@12degrees/stateful-fastify","version":"0.4.1","description":"A fastify plugin for the stateful library","homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","repository":{"type":"git","url":"git+https://github.com/12deg/stateful.git","directory":"packages/fastify"},"author":{"name":"12 Degrés SAS","email":"info@12deg.com","url":"https://12deg.com"},"type":"module","exports":{".":{"import":"./dist/12degrees-stateful-fastify.js","require":"./dist/12degrees-stateful-fastify.umd.cjs"}},"main":"./dist/12degrees-stateful-fastify.umd.cjs","module":"./dist/12degrees-stateful-fastify.js","types":"./dist/types/index.d.ts","dependencies":{"@12degrees/stateful-core":"0.4.1"},"devDependencies":{"@prefabs.tech/fastify-config":"0.88.0","@prefabs.tech/fastify-slonik":"0.88.0","@types/node":"22.16.5","@vitest/coverage-istanbul":"3.0.6","eslint":"8.57.0","eslint-config-custom":"0.4.1","fastify":"5.3.2","fastify-plugin":"5.0.1","js-event-bus":"1.1.1","prettier":"3.3.3","slonik":"46.1.0","supertokens-node":"14.1.3","tsconfig":"0.4.1","typescript":"5.8.3","vite":"6.0.11","vitest":"3.0.6","zod":"3.23.8"},"peerDependencies":{"@prefabs.tech/fastify-config":"0.88.0","@prefabs.tech/fastify-slonik":"0.88.0","fastify":"5.3.2","fastify-plugin":"5.0.1","slonik":"46.1.0","supertokens-node":"14.1.3","zod":"3.23.8"},"engines":{"node":">=20"},"scripts":{"build":"vite build && tsc --emitDeclarationOnly && mv dist/src dist/types","lint":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore","lint:fix":"eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore","sort-package":"npx sort-package-json","test":"vitest run --coverage --pass-with-no-tests","typecheck":"tsc --noEmit -p tsconfig.json --composite false"},"_id":"@12degrees/stateful-fastify@0.4.1","bugs":{"url":"https://github.com/12deg/stateful/issues"},"_integrity":"sha512-Knm7tIy1v4g9Hr5oGiohEzwqWEBqEafb/EOOA6r4F3MfV7MszFZaTsUy/DcKW62BmT6lxTiNEtitW+/Kt2VkYQ==","_resolved":"/tmp/b6d1e36942fd73e81226a6214ad2f71a/12degrees-stateful-fastify-0.4.1.tgz","_from":"file:12degrees-stateful-fastify-0.4.1.tgz","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Knm7tIy1v4g9Hr5oGiohEzwqWEBqEafb/EOOA6r4F3MfV7MszFZaTsUy/DcKW62BmT6lxTiNEtitW+/Kt2VkYQ==","shasum":"78a76af2137cd1adfd531f50e4127909149a956f","tarball":"https://registry.npmjs.org/@12degrees/stateful-fastify/-/stateful-fastify-0.4.1.tgz","fileCount":59,"unpackedSize":140999,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDT/sfacuzsNIHIsG0Pcsfi7T90QldbwLBVEjulA2ST9AIgITAFXxgZRSmoNhKNhXYkfq5Pg+6e5mqhkqUzh5bMfX0="}]},"_npmUser":{"name":"olivier12deg","email":"olivier@12deg.com"},"directories":{},"maintainers":[{"name":"olivier12deg","email":"olivier@12deg.com"},{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"suvashvishowkarma","email":"suvash@dzangolab.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stateful-fastify_0.4.1_1753680597158_0.9279164755975189"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-16T18:56:07.855Z","modified":"2025-07-28T05:29:57.575Z","0.1.2":"2024-09-16T18:56:08.182Z","0.1.3":"2024-09-17T06:40:44.383Z","0.1.4":"2024-09-17T12:45:34.923Z","0.2.0":"2024-09-17T15:00:46.793Z","0.3.0":"2024-10-02T11:38:32.249Z","0.3.1":"2024-10-28T08:22:15.978Z","0.3.2":"2025-03-12T09:47:42.485Z","0.4.0":"2025-05-12T10:05:46.887Z","0.4.1":"2025-07-28T05:29:57.340Z"},"bugs":{"url":"https://github.com/12deg/stateful/issues"},"author":{"name":"12 Degrés SAS","email":"info@12deg.com","url":"https://12deg.com"},"homepage":"https://github.com/12deg/stateful/tree/main/packages/fastify#readme","repository":{"type":"git","url":"git+https://github.com/12deg/stateful.git","directory":"packages/fastify"},"description":"A fastify plugin for the stateful library","maintainers":[{"name":"olivier12deg","email":"olivier@12deg.com"},{"name":"uddhabks","email":"uddhab@dzangolab.com"},{"name":"suvashvishowkarma","email":"suvash@dzangolab.com"}],"readme":"# @12degrees/stateful/fastify\n\nA fastify plugin for implementing a state machine.\n\n## Requirements\n\nA [fastify](https://fastify.dev) server.\n\n## Installation\n\nInstall with npm:\n\n```bash\nnpm install @12degrees/stateful-fastify\n```\n\nInstall with pnpm:\n\n```bash\npnpm add --filter \"@scope/project\" @12degrees/stateful-fastify\n```\n\n## Usage\n\n### Register the stateful plugin in your fastify server instace\n\nRegister the plugin with your fastify instance:\n\n```typescript\nimport plugin from \"@12degrees/stateful-fastify\";\nimport Fastify from \"fastify\";\n\nconst start = async () => {\n  const fastify = await Fastify();\n\n  // Register state-machine-fastify plugin\n  await fastify.register(plugin, { ... });\n\n  try {\n    await fastify.listen({\n      port: 3000,\n      host: \"0.0.0.0\",\n    });\n  } catch (error) {\n    fastify.log.error(error);\n  }\n};\n\nstart();\n```\n\n## Register the stateful plugin in your entity controller\n\n```\n# ThingController.ts\nimport statefulPlugin from \"@12degrees/stateful-fastify\";\n...\n\nconst plugin = async (\n  fastify: FastifyInstance,\n  options: Records<string, any>\n) => {\n  ...\n\n  fastify.get(\"/things, {\n    ...\n  });\n\n  fastify.post(\"/things/:id\", {\n    ...\n  });\n\n  // Register stateful plugin\n  await fastify.register(\n    StatefulPlugin,\n    {\n      prefix: ...,\n      entity: {\n        dropTables: true,\n        field: \"status\",\n        name: \"thing\",\n        table: \"things\",\n        users: \"users\",\n      },\n    }\n  );\n}\n```\n\n## Options\n\nThe Stateful plugin suports the standard [Fastify plugin](https://fastify.dev/docs/latest/Reference/Plugins/) options:\n\n  * `logLevel`\n  * `logSerializers`\n  * `prefix`\n\nAn additional `entity: StatefulPluginOptions` option is requred: \n\n\n| Option     | Type    | Required | Default  | Description |\n|------------|---------|----------|----------|-------------|\n| dropTables | boolean | no       | false    | Whether to drop all generated tables before running migrations. |\n| field      | string  | yes      | `status` | The name of the attribute representing the state in the entity concerned. |\n| name       | string  | yes      |          | The name of the entity for which to create a state machine. Will be used as the prefix of all generated tables. |\n| table      | string  | yes      |          | The name of the table for the  entities in question. |\n| users      | string  | no       | `users`  | The name of the table containing user records. |","readmeFilename":"README.md"}