{"_id":"@ws-kit/zod","_rev":"17-f0c4615ca2b4ba71222d0d1da2131f4c","name":"@ws-kit/zod","dist-tags":{"latest":"0.10.2"},"versions":{"0.0.1":{"name":"@ws-kit/zod","version":"0.0.1","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.0.1","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"54513a9120a97310f82c953cfd69aae05b681021","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.0.1.tgz","fileCount":27,"integrity":"sha512-kUlaGecMGbJ5xRYimANtE4ogBoykg5a8MZ9wbLhNmUjfyucSZ0GABKbPso2SyIRVj0JdHaFdbr1+uB8BawuSJg==","signatures":[{"sig":"MEQCIB1ZJvRtKkM/m0cSklPGlz1izb7hYu/wL9briVPLiOypAiAcgHhwNzoGHnJg+byh/Eu4Lh4J1ubbDZehTRu8FK5VxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142115},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"b9c8c072c034be1fd4ee20cc455325a269b3339d","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"workspace:*"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.0.1_1761906589169_0.7534381238456909","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@ws-kit/zod","version":"0.1.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.1.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"317ce6c0247c3171a1e2591d0f8307e973d44eab","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.1.0.tgz","fileCount":27,"integrity":"sha512-9sEJgRxBdlUhGQumFkyHXqdBSwON2gKUFByW0IaqtnRyx10DpOFccJGDb+Wh6xsu3tGL4IhQpeYzKkHvML2KBw==","signatures":[{"sig":"MEUCIQDMdKTzkDWaHir529SmcOKzSwTQi4BMKeDVoRG6Mz55kQIgS17LfmvHVAYnUQesk0PAvbKcnLLlVEW8Qo3VpuV9sxQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142066},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"c672dd7f80c4d00adfebcb00047026dad644d772","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"workspace:*"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.1.0_1761922524342_0.681045078948809","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ws-kit/zod","version":"0.2.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.2.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"582709e3e551d5e01b1bbc1ba2d0b419379b4c0f","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.2.0.tgz","fileCount":27,"integrity":"sha512-VwtIZYZZ0KgDcKv0139UXunhASRFKludyI53fXvgWLNbAiUkDoJ+GfPHDHXIC4R6rvcqNvXNT7yiFd9CDRGeFw==","signatures":[{"sig":"MEUCIGozfBo1cBbLHjG93MhBXUY7ysqGuH6b8yZRhZHbmSU9AiEA6Bas/3v/4xJ8Wj6J0elNboUCCQYm0RCNjFN3xsV/StE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142596},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"74203ef33af9090627efc815ca51f0a9a4c7ddff","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"workspace:*"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.2.0_1762007502234_0.4120318061211068","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ws-kit/zod","version":"0.2.1","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.2.1","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"8f6f1c7ca4ce63d55cde310d46948db0b138c2b4","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.2.1.tgz","fileCount":27,"integrity":"sha512-D+1TUuh7weGiLTOK8YOhRcEMH5cBomTjhHdy8F84IRfsg7X02v+p6nQQ/t7Omp7dP03TjP5i2R3vBuTupxw4qg==","signatures":[{"sig":"MEUCIGdjCOftx3y0CWHuW2GpbIg/NyFu6KrbQxSMnDT1NTUQAiEA0tEEOdy3ItBb6e89xUa0AD3pLHMh06Vqu9Mchsvppl8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142596},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"a508fe35340aa4427f7d0db313189088a115a25e","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"workspace:*"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.2.1_1762038337143_0.10700446224164484","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ws-kit/zod","version":"0.2.2","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.2.2","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"fd561e0e5b0f51306f7c3e5cf584465cc593099b","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.2.2.tgz","fileCount":27,"integrity":"sha512-njDJTuk0F/wsGxqPKKBxpnR5jsmYfBYPqQMn5A1DgpkcgbMeCPHEjuL/eZLYA0EJ8Xm3n7SCAA0wnlT/EoPc7g==","signatures":[{"sig":"MEUCIQCXzUqHNbjzZzTrGKCxDe06Ndxl+eico++xyji5fIkLXgIgO6uPFW0rQXdH4snd04dqXMqWlIJ7DqsHkcP+AKmzI3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142596},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"bc8097c79ce8448fc61d06574c40a6d76bfb4547","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"workspace:^"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.2.2_1762080622576_0.2961869449976151","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ws-kit/zod","version":"0.3.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.3.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"4a4908f038a09d9374917c43bdabdd14afa0d2a8","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.3.0.tgz","fileCount":26,"integrity":"sha512-oMIB+BzhGSk682SePp0F1fTWHPSz+MW2YcMRDVtC0m11ZE3jMUwLw4MbtN2ODdsAfdI9uHxEP2Jq8iF4RIMzUA==","signatures":[{"sig":"MEYCIQDGWmuaoV3WsmX4/SIpGxZMnojO0EwjHznSHnCUXD8E0AIhAOc4GI91gnh2YsBs5ZlWIfUaQQXEMLhPt8Ze+Jx2ztIz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142353},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"f883719f2aa148907f6d11a70d54f0ffa3dcbba2","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"^0.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.3.0_1762098005901_0.3609411663154827","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@ws-kit/zod","version":"0.3.1","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.3.1","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"6b79a85087c4db4de9017ecb4c76a6bb02c90738","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.3.1.tgz","fileCount":28,"integrity":"sha512-cq/porX3+7f3s2vIeSSJMG8S8d7KI9LGNYh93PiDor82EGLr6jJR1glUjNP0i+eiqAgPUZI0cWYyK41YeUkp9Q==","signatures":[{"sig":"MEQCIGFw0/RMjWLtQ9CDiP5S1/3kON36o/LFc7Ry4ZYzo0R9AiAOqrMtSfO5xEOSVQooKHA4SeIkdqUR5eyXZtpbce2ICg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146186},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"5b2f4fded8a1649c1f9c614b9939ea1626653e36","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"^0.4.1"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.3.1_1762099023608_0.6927286987525283","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@ws-kit/zod","version":"0.3.2","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.3.2","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"1953fbaa0406f55f76da7c3f153a37ecb35afb82","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.3.2.tgz","fileCount":28,"integrity":"sha512-CEzk2DKsK3ytxsRQnjmYgWzNkusZB3bKqQaJNTO/7pidHL4yqUEK3e3ChKWFIh5ciaglSuzyx3gHrceJe1KtEw==","signatures":[{"sig":"MEQCIEoDB/M0q8AlVTxk3NTurm6v/AhSXg+pEWCgbbbUotz2AiAjJUR1orZy1UagEjwTn6nQgsoJ8WWh0Vraxm1PpOgNFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146186},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"b0cd18d7e3cc047c96ed89f30cf6e36a644471d0","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"^0.5.0"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.3.2_1762458967774_0.14621849702756928","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@ws-kit/zod","version":"0.3.3","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.3.3","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"eb4e304cf3f554ea1d5f2f250a8de4de62a42f3d","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.3.3.tgz","fileCount":28,"integrity":"sha512-2+ZYCFuR7NizCjk6w0Xz9ZtjiXAXcidhQCzmNgZxXO6A71Gc+k/o6c+eIOE69ubbfiD8YDXPKIrfF++NSdfxDQ==","signatures":[{"sig":"MEUCIHPfITHq4yYPclBuF8n0/ZK5eZs9qvfBVJaj/u9g3lVWAiEAqQmI65hRv2M+tYFJlzi/ifnq75Ahuw/SY3DVqdYQZ5w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146218},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"cc09904f7c67deaa4c45f93c5181916f92ea7112","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"^0.6.0"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.3.3_1762522381504_0.8398856783177706","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@ws-kit/zod","version":"0.3.4","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.3.4","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"fa12524a0650c4d595ad96d6d4c1780e997e4580","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.3.4.tgz","fileCount":28,"integrity":"sha512-qBBDLFNv3TxAmG/VM0UWjJo0AY1XjStrgKWPnBlQMz3Fyx5aNxRKdVV/RVFBHVJnT9gMesngDVWvBokaMEXWvg==","signatures":[{"sig":"MEYCIQC1JisuNexlHE2jkJ/1PuNs6JfiPUG2jUlKc7zCZfZN0wIhALJKFiq6B+jWp3gak35fIFnnBgHGrmwL+nRkCVCxNzN8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146674},"main":"./index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"570635e7dd40e411559a36f340d0e44a17f71388","_npmUser":{"name":"kriasoft-bot","email":"kriasoft@gmail.com"},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.1","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ws-kit/core":"^0.7.0"},"_hasShrinkwrap":false,"peerDependencies":{"zod":">=4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.3.4_1762643092150_0.240847893952012","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@ws-kit/zod","version":"0.8.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.8.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"fc22a3c0a1c286dd68edee845ad586fb9bfe5a75","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.8.0.tgz","fileCount":24,"integrity":"sha512-tWEtzVcKRcLixlwF4fZjwK2loCjemQ0FYX0ya9CjUAx9xt1d2DU8vdDeQ4YD82f4EVKsQj+OQSc1b1ndXel80A==","signatures":[{"sig":"MEUCIQCA8K+64G3T9NlRvJzTdmeG4ikw5IuWrWeZOFr6ISMcQwIgVBrQO7Km0CNTohdsxgCF0Wu8vEfyLGCQloUqXnbHT9Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":148206},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"b1d18ca9b170c34c784ff4b4d5b03d44e13148b3","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3","@ws-kit/core":"^0.8.0","@ws-kit/pubsub":"^0.8.0","@ws-kit/plugins":"^0.8.0"},"peerDependencies":{"zod":">=4.1.13","@ws-kit/core":"^0.8.0","@ws-kit/pubsub":"^0.8.0","@ws-kit/plugins":"^0.8.0"},"peerDependenciesMeta":{"@ws-kit/pubsub":{"optional":true},"@ws-kit/plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zod_0.8.0_1764547614655_0.2614981410362234","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@ws-kit/zod","version":"0.8.1","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.8.1","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"0b2677aa175bb83782260ba0dc68af9640654c21","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.8.1.tgz","fileCount":24,"integrity":"sha512-9CUgbBhsLYx1oDBEGLs73erS7HnMPK3mybjTloCPFdB4F3oMd3wRKZ1/cYKX7zEU4ocI/fqaj9R75aJ+I6h2DQ==","signatures":[{"sig":"MEUCIQCExXBOqX6JQWyBOl7XgerfHLIUDGBweBq1GcEd21aWBAIgbW+6NXxPGTeDJThY9BuJa9EnstqusDyobm4+EgDW+t4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":149852},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"7ba20c305112106486d082bd4241806667c98b8d","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3","@ws-kit/core":"^0.8.1","@ws-kit/pubsub":"^0.8.1","@ws-kit/plugins":"^0.8.1"},"peerDependencies":{"zod":">=4.1.13","@ws-kit/core":"^0.8.1","@ws-kit/pubsub":"^0.8.1","@ws-kit/plugins":"^0.8.1"},"peerDependenciesMeta":{"@ws-kit/pubsub":{"optional":true},"@ws-kit/plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zod_0.8.1_1764550070220_0.2132784660157243","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@ws-kit/zod","version":"0.8.2","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.8.2","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"75eb030fe18f5d17d2726a5cb230b5939b42ab28","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.8.2.tgz","fileCount":24,"integrity":"sha512-8vUzJBejqogebFgrLk+2M3dRJ6gtp08mpBO1JzFH4+QjbAN3n9BzMsjqLixnycg1atE05+V1C1+gqxJt1Jyt0g==","signatures":[{"sig":"MEQCIAu5cvqDJMXmi357QnPhR/8gnR20fZYEEtMx5b3c/NmOAiA5KPFBWBuCjCOWQyEuCVByvV8S6vamYvD2pHQvEb7rzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.8.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":149640},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"ed6167ca63746726a12b1421f5f26c0c036dc057","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"@ws-kit/core":"^0.8.1","@ws-kit/pubsub":"^0.8.1","@ws-kit/plugins":"^0.8.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3"},"peerDependencies":{"zod":">=4.1.13"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.8.2_1764551713583_0.009759644679510071","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@ws-kit/zod","version":"0.9.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.9.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"23200154124a39226922bd98a8de7e3bd4ed632a","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.9.0.tgz","fileCount":24,"integrity":"sha512-Of6uFx//AY6pk49mCOlfKuiAnbP2FjDS10uFgoDaU4xrzlXtuRt9HHcXHyF6ch44V943cvHX0V0fbKWw8RG9tQ==","signatures":[{"sig":"MEQCIERoMrdyPdJjTLy7Gcs4y03RkqIq+ZKFPs+yFgyy9F4oAiBxLRhdFHC/Q9dFEm3OOD2Y2aypc33Wjphs6UcBR9/Q4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151648},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"7f41d1c07b55142e2f575372066b7db0a6cc5362","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"@ws-kit/core":"^0.9.0","@ws-kit/pubsub":"^0.9.0","@ws-kit/plugins":"^0.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3"},"peerDependencies":{"zod":">=4.1.13"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.9.0_1764885625800_0.40277737225040133","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@ws-kit/zod","version":"0.10.0","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.10.0","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"d26b3c193de2100af6a1e61092acbbd5d1808bac","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.10.0.tgz","fileCount":24,"integrity":"sha512-SHBiH7d8KY0FXN7Ko5tW3TZ+dPzUr3c+tl0JygNRDn9I1El4vRsUzh4Q+/N8qcIJkOP8L5xauHNzKLZZ2JRrng==","signatures":[{"sig":"MEYCIQCHs8GxiayiGgFkDC+nBHeKNQcchIkR2RjGzAhh0GclNgIhAN12Pya4Dw1YDrqnwRRWTOIJO4cVfDGRzDfAIFCC9sL2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151736},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"b0a32263ddc6a0b9a54084519304f0bbb478538f","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"@ws-kit/core":"^0.10.0","@ws-kit/pubsub":"^0.10.0","@ws-kit/plugins":"^0.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3"},"peerDependencies":{"zod":">=4.1.13"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.10.0_1764943205005_0.8561135124033412","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@ws-kit/zod","version":"0.10.1","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"author":{"name":"Konstantin Tarkus"},"license":"MIT","_id":"@ws-kit/zod@0.10.1","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"dist":{"shasum":"a4d53ed7a4ab9a16d598b3a45efe128e29083afd","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.10.1.tgz","fileCount":24,"integrity":"sha512-YLybHLoW54ApNj+tv1U5nO+UHG2e0ecKsZ0H4PzuLHfPFdvQeGwZZKvm8lTXETMV6B0NQ2o7pjC9EZ/RmRiHuw==","signatures":[{"sig":"MEUCIEgbA12stRc7eaeVDr2q+vGPm8eqRlSdEEDkw0XVUu0WAiEApP6qbijjGkJehjXqpFcsuZfH/zjT2d1NgsKQcBvvPnU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.10.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151712},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/koistya","type":"github"},"gitHead":"ae81d17456776d492cd462c510166ab145176e8a","scripts":{"typecheck":"tsc --build tsconfig.check.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"repository":{"url":"git+https://github.com/kriasoft/ws-kit.git","type":"git","directory":"packages/zod"},"_npmVersion":"11.6.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"@ws-kit/core":"^0.10.0","@ws-kit/pubsub":"^0.10.1","@ws-kit/plugins":"^0.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","@types/bun":"^1.3.3"},"peerDependencies":{"zod":">=4.1.13"},"_npmOperationalInternal":{"tmp":"tmp/zod_0.10.1_1764946397439_0.8003219295127328","host":"s3://npm-registry-packages-npm-production"}},"0.10.2":{"name":"@ws-kit/zod","version":"0.10.2","description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","type":"module","sideEffects":false,"license":"MIT","author":{"name":"Konstantin Tarkus"},"homepage":"https://kriasoft.com/ws-kit/","bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"repository":{"type":"git","url":"git+https://github.com/kriasoft/ws-kit.git","directory":"packages/zod"},"funding":{"type":"github","url":"https://github.com/sponsors/koistya"},"keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@ws-kit/core":"^0.10.0","@ws-kit/plugins":"^0.10.1","@ws-kit/pubsub":"^0.10.1"},"peerDependencies":{"zod":">=4.1.13"},"devDependencies":{"@types/bun":"^1.3.3","zod":"^4.1.13"},"engines":{"node":">=22"},"publishConfig":{"access":"public"},"scripts":{"typecheck":"tsc --build tsconfig.check.json"},"gitHead":"b757f4b2bbc042869e2976c1ceb96b88244e1a1e","_id":"@ws-kit/zod@0.10.2","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-hz8Dfmyobs24sfodDP8H+8PNthwDZU/vH6fPJEl9JHFDda96hquC54Vit6aUaWY4uPU2oPm/rwTVev5h+hOSdA==","shasum":"a768e91677ad4fca7d6fdfd61bca5249756e674b","tarball":"https://registry.npmjs.org/@ws-kit/zod/-/zod-0.10.2.tgz","fileCount":24,"unpackedSize":151724,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ws-kit%2fzod@0.10.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDdWgtdBZMsTBl/OTd0b+SPmSLKm1lubgtru6cMunZ9rAIhAKo9rftjEJ9TEoPXJPdzOPWCoIUGv75wR2CeIsRdONNT"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae145cf-ab25-4c48-9ed7-e2ddb6df4a76"}},"directories":{},"maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zod_0.10.2_1767046211858_0.7399202885559246"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-31T10:29:49.107Z","modified":"2025-12-29T22:10:12.391Z","0.0.1":"2025-10-31T10:29:49.356Z","0.1.0":"2025-10-31T14:55:24.537Z","0.2.0":"2025-11-01T14:31:42.459Z","0.2.1":"2025-11-01T23:05:37.391Z","0.2.2":"2025-11-02T10:50:22.771Z","0.3.0":"2025-11-02T15:40:06.105Z","0.3.1":"2025-11-02T15:57:03.835Z","0.3.2":"2025-11-06T19:56:07.962Z","0.3.3":"2025-11-07T13:33:01.757Z","0.3.4":"2025-11-08T23:04:52.350Z","0.8.0":"2025-12-01T00:06:54.841Z","0.8.1":"2025-12-01T00:47:50.415Z","0.8.2":"2025-12-01T01:15:13.763Z","0.9.0":"2025-12-04T22:00:25.943Z","0.10.0":"2025-12-05T14:00:05.151Z","0.10.1":"2025-12-05T14:53:17.586Z","0.10.2":"2025-12-29T22:10:12.001Z"},"bugs":{"url":"https://github.com/kriasoft/ws-kit/issues"},"author":{"name":"Konstantin Tarkus"},"license":"MIT","homepage":"https://kriasoft.com/ws-kit/","keywords":["zod","validator","adapter","validation","schema","typescript","schema-validation","type-safety","websocket-validation","data-validation","runtime-validation","zod-integration","message-validation","websocket","type-inference","message-router"],"repository":{"type":"git","url":"git+https://github.com/kriasoft/ws-kit.git","directory":"packages/zod"},"description":"Zod validator adapter for WS-Kit with runtime schema validation and full TypeScript inference","maintainers":[{"name":"koistya","email":"hello@tarkus.me"},{"name":"kriasoft-bot","email":"kriasoft@gmail.com"}],"readme":"# @ws-kit/zod\n\n**Zod validator adapter for type-safe WebSocket routing with ws-kit.**\n\nAdds validation capability and RPC support to the core router via the `withZod()` plugin.\n\n## Quick Start\n\n```typescript\nimport { createRouter, z, message, rpc, withZod } from \"@ws-kit/zod\";\nimport { serve } from \"@ws-kit/bun\";\n\n// Define message schemas with type-safe payload inference\nconst Join = message(\"JOIN\", { roomId: z.string() });\nconst GetUser = rpc(\"GET_USER\", { id: z.string() }, \"USER\", {\n  id: z.string(),\n  name: z.string(),\n});\n\ninterface Connection {\n  userId?: string;\n}\n\nconst router = createRouter<Connection>()\n  .plugin(withZod())\n  .on(Join, (ctx) => {\n    // ctx.payload: { roomId: string } (validated)\n    ctx.send(Join, { roomId: \"42\" });\n  })\n  .rpc(GetUser, async (ctx) => {\n    // ctx.payload: { id: string } (validated)\n    ctx.reply({ id: ctx.payload.id, name: \"Alice\" });\n  });\n\nserve(router, { port: 3000 });\n```\n\n## What This Package Exports\n\n### Schema Builders\n\n- **`message(type, payload?)`** — Create event message schemas\n- **`rpc(requestType, requestPayload, responseType, responsePayload)`** — Create RPC schemas\n\n### Plugin\n\n- **`withZod()`** — Validation plugin that adds payload validation and RPC support\n\n### Type Inference\n\nExtract individual components from schemas with zero runtime cost:\n\n- **`InferType<T>`** — Extract message type literal (e.g., `\"JOIN\"`)\n- **`InferPayload<T>`** — Extract payload shape, or `never` if undefined\n- **`InferMeta<T>`** — Extract extended meta fields (excluding reserved keys)\n- **`InferMessage<T>`** — Full message type (equivalent to `z.infer<T>`)\n- **`InferResponse<T>`** — Extract response type from an RPC schema, or `never` if undefined\n\n**Example**:\n\n```typescript\nimport { z, message } from \"@ws-kit/zod\";\nimport type {\n  InferType,\n  InferPayload,\n  InferMeta,\n  InferResponse,\n} from \"@ws-kit/zod\";\n\nconst Join = message(\"JOIN\", { roomId: z.string() });\nconst GetUser = rpc(\"GET_USER\", { id: z.string() }, \"USER\", {\n  id: z.string(),\n  name: z.string(),\n});\n\ntype JoinType = InferType<typeof Join>; // \"JOIN\"\ntype JoinPayload = InferPayload<typeof Join>; // { roomId: string }\ntype GetUserResponse = InferResponse<typeof GetUser>; // { id: string; name: string }\n```\n\n### Re-exports\n\n- **`z`** — Canonical Zod instance\n- **`createRouter`** — Core router factory (from `@ws-kit/core`). Available from both `@ws-kit/core` and `@ws-kit/zod` for flexibility — choose whichever import source you prefer\n\n**Import patterns (both valid)**:\n\n```typescript\n// ✅ Single import source (recommended)\nimport { createRouter, z, message, withZod } from \"@ws-kit/zod\";\n\n// ✅ Also works\nimport { createRouter } from \"@ws-kit/core\";\nimport { z, message, withZod } from \"@ws-kit/zod\";\n```\n\n## Key Design Principles\n\n### Plugin-Based Architecture\n\nValidation is added via the `withZod()` plugin, not baked into the core:\n\n```typescript\n// Tiny router without validation\nconst router = createRouter();\n\n// Add validation plugin for full capability\nconst validated = router.plugin(withZod());\n\n// Now you have ctx.payload, ctx.send(), ctx.reply(), etc.\n```\n\n### Capability Gating\n\nMethods only exist when enabled:\n\n```typescript\nconst router = createRouter();\n\n// ❌ Type error: rpc() doesn't exist yet\nrouter.rpc(schema, handler);\n\nconst router2 = createRouter().plugin(withZod());\n\n// ✅ OK: rpc() is available after plugin\nrouter2.rpc(schema, handler);\n```\n\n### Single Canonical Import Source\n\nAll validator and helper imports come from one place to prevent dual-package hazards:\n\n```typescript\n// ✅ CORRECT: Single import source\nimport { z, message, rpc, withZod, createRouter } from \"@ws-kit/zod\";\n\n// ❌ AVOID: Dual imports (creates type mismatches)\nimport { z } from \"zod\"; // Different instance\nimport { message } from \"@ws-kit/zod\"; // Uses @ws-kit/zod's z\n```\n\n### Full Type Inference\n\nSchemas and payloads flow through handlers with complete type safety:\n\n```typescript\nconst Join = message(\"JOIN\", { roomId: z.string() });\n\nrouter.on(Join, (ctx) => {\n  ctx.payload; // ✅ { roomId: string } (inferred)\n  ctx.type; // ✅ \"JOIN\" (literal)\n  ctx.send; // ✅ Available in event handlers\n});\n\nconst GetUser = rpc(\"GET_USER\", { id: z.string() }, \"USER\", {\n  id: z.string(),\n  name: z.string(),\n});\n\nrouter.rpc(GetUser, async (ctx) => {\n  ctx.payload; // ✅ { id: string } (inferred)\n  ctx.reply; // ✅ Available in RPC handlers\n  ctx.progress; // ✅ For streaming updates\n});\n```\n\n## Real Zod Schemas with Strict Validation\n\nSchemas returned by `message()` and `rpc()` are real Zod objects, enabling full Zod capabilities:\n\n```typescript\nconst Join = message(\"JOIN\", { roomId: z.string() });\n\n// Use schemas for client-side validation before sending\nconst clientMsg = {\n  type: \"JOIN\" as const,\n  meta: {},\n  payload: { roomId: \"42\" },\n};\nconst result = Join.safeParse(clientMsg);\n\nif (!result.success) {\n  console.error(\"Invalid message:\", result.error);\n} else {\n  sendToServer(result.data);\n}\n```\n\n### Strict Validation by Default\n\nAll schemas enforce **strict mode**, rejecting unknown keys at every level:\n\n```typescript\nconst TestMsg = message(\"TEST\", { id: z.number() });\n\n// ✅ Valid: correct structure\nTestMsg.safeParse({\n  type: \"TEST\",\n  meta: {},\n  payload: { id: 123 },\n});\n\n// ❌ Invalid: unknown root key\nTestMsg.safeParse({\n  type: \"TEST\",\n  meta: {},\n  payload: { id: 123 },\n  extra: \"not allowed\", // Unknown key rejected\n});\n\n// ❌ Invalid: unknown payload key\nTestMsg.safeParse({\n  type: \"TEST\",\n  meta: {},\n  payload: { id: 123, extra: \"not allowed\" }, // Unknown key rejected\n});\n```\n\n### Extended Meta Fields\n\nMeta can be extended with application-specific fields:\n\n```typescript\nconst WithMeta = message(\n  \"TEST\",\n  { data: z.string() },\n  { roomId: z.string(), priority: z.number().optional() },\n);\n\n// ✅ Valid: required and optional extended fields\nWithMeta.safeParse({\n  type: \"TEST\",\n  meta: { roomId: \"room-1\", priority: 5 },\n  payload: { data: \"hello\" },\n});\n\n// ✅ Also valid: optional field omitted\nWithMeta.safeParse({\n  type: \"TEST\",\n  meta: { roomId: \"room-1\" },\n  payload: { data: \"hello\" },\n});\n```\n\n### Composable with Zod Ecosystem\n\nSince schemas are real Zod objects, you can use all Zod features:\n\n```typescript\n// Discriminated unions over message types\nconst MessageSchema = z.discriminatedUnion(\"type\", [\n  message(\"JOIN\", { roomId: z.string() }),\n  message(\"LEAVE\", { reason: z.string() }),\n  message(\"PING\"),\n]);\n\nconst result = MessageSchema.safeParse(incomingMsg);\n// Type narrowing works: result.data.type is \"JOIN\" | \"LEAVE\" | \"PING\"\n\n// Transformations and refinements\nconst ValidatedJoin = message(\"JOIN\", { roomId: z.string() }).transform(\n  (msg) => ({\n    ...msg,\n    meta: { ...msg.meta, timestamp: Date.now() },\n  }),\n);\n\n// RPC response validation\nconst GetUser = rpc(\"GET_USER\", { id: z.string() }, \"USER\", {\n  id: z.string(),\n  name: z.string(),\n});\n\n// Validate response independently\nconst response = {\n  type: \"USER\",\n  meta: {},\n  payload: { id: \"1\", name: \"Alice\" },\n};\nif (GetUser.response.safeParse(response).success) {\n  console.log(\"Response is valid\");\n}\n```\n\n## Platform Support\n\nThis adapter works with any ws-kit platform:\n\n- **`@ws-kit/bun`** — Bun WebSocket server (recommended)\n- **`@ws-kit/cloudflare`** — Cloudflare Durable Objects\n- Custom platforms via `@ws-kit/core`\n\n## Dependencies\n\n- **`@ws-kit/core`** (required) — Core router\n- **`zod`** (peer) — Validation library\n- **`@ws-kit/bun`** (optional) — Bun platform adapter with `serve()` helper\n- **`@ws-kit/cloudflare`** (optional) — Cloudflare Durable Objects adapter\n- **`@ws-kit/client`** (optional) — Type-safe browser client\n","readmeFilename":"README.md"}