diff --git a/index.js b/index.js index 6944ae0..a87e8cc 100644 --- a/index.js +++ b/index.js @@ -43,4 +43,7 @@ function fastifyPostgres (fastify, options, next) { next() } -module.exports = fp(fastifyPostgres, '>=0.13.1') +module.exports = fp(fastifyPostgres, { + fastify: '>=0.39.1', + name: 'fastify-postgres' +}) diff --git a/package.json b/package.json index 9fd47c0..74d9f15 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "dependencies": { - "fastify-plugin": "^0.1.1", + "fastify-plugin": "^0.2.1", "pg": "^7.3.0" }, "devDependencies": { - "fastify": "^0.30.2", + "fastify": "^0.39.1", "pg-native": "^2.2.0", "standard": "^10.0.3", - "tap": "^10.7.2" + "tap": "^11.0.1" } }