Skip to content

Commit f44c957

Browse files
committed
Bumped v6.0.0
Signed-off-by: Matteo Collina <hello@matteocollina.com>
1 parent 4e761a9 commit f44c957

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fastify/basic-auth",
3-
"version": "6.0.0-pre.fv5.2",
3+
"version": "6.0.0",
44
"description": "Fastify basic auth plugin",
55
"main": "index.js",
66
"type": "commonjs",
@@ -29,17 +29,17 @@
2929
},
3030
"homepage": "https://github.com/fastify/fastify-basic-auth#readme",
3131
"devDependencies": {
32-
"@fastify/auth": "^5.0.0-pre.fv5.1",
32+
"@fastify/auth": "^5.0.0",
3333
"@fastify/pre-commit": "^2.1.0",
3434
"@types/node": "^22.0.0",
3535
"c8": "^10.1.2",
36-
"fastify": "^5.0.0-alpha.3",
36+
"fastify": "^5.0.0-alpha.4",
3737
"standard": "^17.1.0",
3838
"tsd": "^0.31.1"
3939
},
4040
"dependencies": {
4141
"@fastify/error": "^4.0.0",
42-
"fastify-plugin": "^5.0.0-pre.fv5.1"
42+
"fastify-plugin": "^5.0.0"
4343
},
4444
"publishConfig": {
4545
"access": "public"

types/index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ app.register(fastifyBasicAuth, {
6363
app.register(fastifyBasicAuth, {
6464
validate: () => {},
6565
authenticate: { realm: function realm(req) {
66-
return req.routerPath
66+
return req.url
6767
}}
6868
})
6969

0 commit comments

Comments
 (0)