diff --git a/index.js b/index.js index 16b0bc9..1868dca 100644 --- a/index.js +++ b/index.js @@ -191,6 +191,6 @@ function close (fastify, done) { } module.exports = fp(fastifyWebsocket, { - fastify: '>= 3.11.0', + fastify: '>= 4.0.0', name: '@fastify/websocket' }) diff --git a/package.json b/package.json index 7fc3621..af1e82f 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,9 @@ "@fastify/pre-commit": "^2.0.2", "@fastify/type-provider-typebox": "^2.3.0", "@sinclair/typebox": "^0.25.10", + "@types/node": "^18.15.0", "@types/ws": "^8.2.2", - "fastify": "^4.0.0-rc.2", + "fastify": "^4.0.0", "split2": "^4.1.0", "standard": "^17.0.0", "tap": "^16.0.0",