diff --git a/README.md b/README.md index e015c20d..28fc42a0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ const config: VerifyFirebaseAuthConfig = { } // Or you can specify here the extended VerifyFirebaseAuthEnv type. -const app = new Hono() +const app = new Hono<{ Bindings: VerifyFirebaseAuthEnv }>() // set middleware app.use("*", verifyFirebaseAuth(config)); diff --git a/package.json b/package.json index 6ea97763..85f32806 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "firebase-auth-cloudflare-workers": "^1.0.0", - "hono": "^2.0.5" + "hono": "^2.1.3" }, "devDependencies": { "@cloudflare/workers-types": "^3.14.1", diff --git a/yarn.lock b/yarn.lock index 73be20e6..d945a76d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3245,10 +3245,10 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hono@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/hono/-/hono-2.0.5.tgz#a40355f5fddb287f631c3953828b834c2775cb45" - integrity sha512-Vuwj2Qbk94y6NSTzaMo2eYHLyX0OpKmTONKOhUYUK6Lx6L/IRsDJ37aBY+7wi3oli7Sez792cAuZ5vdSt/Qt+g== +hono@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/hono/-/hono-2.1.3.tgz#51cc616ffadd5ad279ca3129f1328d77fa180c7d" + integrity sha512-+GV1f19Vx4E76+8cYGUJit0pxu1oA2lvUE3ctxf4eg3Ov7OlmldZhdnH5EjLNzbgQOcBo8wZV6izRa5lHa4fmg== html-escaper@^2.0.0: version "2.0.2"