From f44c9573fd9ed3c828e677152103d4fcabf587ab Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Thu, 5 Sep 2024 16:41:20 +0200 Subject: [PATCH] Bumped v6.0.0 Signed-off-by: Matteo Collina --- package.json | 8 ++++---- types/index.test-d.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1921f78..b03aaa9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fastify/basic-auth", - "version": "6.0.0-pre.fv5.2", + "version": "6.0.0", "description": "Fastify basic auth plugin", "main": "index.js", "type": "commonjs", @@ -29,17 +29,17 @@ }, "homepage": "https://github.com/fastify/fastify-basic-auth#readme", "devDependencies": { - "@fastify/auth": "^5.0.0-pre.fv5.1", + "@fastify/auth": "^5.0.0", "@fastify/pre-commit": "^2.1.0", "@types/node": "^22.0.0", "c8": "^10.1.2", - "fastify": "^5.0.0-alpha.3", + "fastify": "^5.0.0-alpha.4", "standard": "^17.1.0", "tsd": "^0.31.1" }, "dependencies": { "@fastify/error": "^4.0.0", - "fastify-plugin": "^5.0.0-pre.fv5.1" + "fastify-plugin": "^5.0.0" }, "publishConfig": { "access": "public" diff --git a/types/index.test-d.ts b/types/index.test-d.ts index abae2e5..09a3b4c 100644 --- a/types/index.test-d.ts +++ b/types/index.test-d.ts @@ -63,7 +63,7 @@ app.register(fastifyBasicAuth, { app.register(fastifyBasicAuth, { validate: () => {}, authenticate: { realm: function realm(req) { - return req.routerPath + return req.url }} })