diff --git a/index.js b/index.js index 3fa705e..78d2f0f 100644 --- a/index.js +++ b/index.js @@ -15,6 +15,6 @@ function loadAndValidateEnvironment (fastify, opts, done) { } module.exports = fp(loadAndValidateEnvironment, { - fastify: '3.x', - name: 'fastify-env' + fastify: '4.x', + name: '@fastify/env' }) diff --git a/package.json b/package.json index fca2a21..fa1494f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@types/node": "^17.0.0", "cross-env": "^7.0.2", - "fastify": "^3.0.0", + "fastify": "^4.0.0-rc.2", "pre-commit": "^1.2.2", "snazzy": "^9.0.0", "standard": "^17.0.0",