fix(medley-router): add router name (#96)

pull/97/head
Yusuke Wada 2023-06-26 16:32:30 +09:00 committed by GitHub
parent fe125e02b3
commit f10afd4b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11451 additions and 15300 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/medley-router': patch
---
fix: add router name

View File

@ -28,7 +28,7 @@
"hono": "*" "hono": "*"
}, },
"devDependencies": { "devDependencies": {
"hono": "^3.1.6" "hono": "^3.2.6"
}, },
"dependencies": { "dependencies": {
"@medley/router": "^0.2.1" "@medley/router": "^0.2.1"

View File

@ -6,6 +6,7 @@ import type { Result, Router } from 'hono/dist/types/router'
export class MedleyRouter<T> implements Router<T> { export class MedleyRouter<T> implements Router<T> {
router: any router: any
name: string = 'MedleyRouter'
constructor() { constructor() {
this.router = new OriginalRouter() this.router = new OriginalRouter()

26741
yarn.lock

File diff suppressed because it is too large Load Diff