Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit c8a86d3

Browse files
authored
chore: bump hono (#529)
* chore: bump hono * chore: changesets
1 parent 2896df7 commit c8a86d3

File tree

9 files changed

+71
-64
lines changed

9 files changed

+71
-64
lines changed

.changeset/sharp-dolphins-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"frog": patch
3+
---
4+
5+
Bumped hono to the latest version.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"bun": "^1.0.28",
4343
"fast-glob": "^3.3.2",
4444
"fs-extra": "^11.2.0",
45-
"hono": "^4.4.4",
45+
"hono": "^4.6.13",
4646
"picocolors": "^1.0.0",
4747
"rimraf": "^5.0.5",
4848
"tsx": "^4.7.1",
@@ -52,7 +52,7 @@
5252
"packageManager": "[email protected]",
5353
"pnpm": {
5454
"overrides": {
55-
"hono": "4.4.4",
55+
"hono": "4.6.13",
5656
"typescript": "5.3.3"
5757
}
5858
}

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@hono/node-server": "^1.8.2",
1111
"frog": "workspace:*",
12-
"hono": "^4"
12+
"hono": "^4.6.13"
1313
},
1414
"devDependencies": {
1515
"tsx": "^4.7.1"

pnpm-lock.yaml

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dev/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,21 +186,21 @@ export function apiRoutes(
186186
speed,
187187
},
188188
response: response?.redirected
189-
? {
189+
? ({
190190
success: true,
191191
location: response.url,
192192
error: undefined,
193193
status: 302,
194194
statusText: 'Found',
195-
}
196-
: {
195+
} as const)
196+
: ({
197197
success: false,
198198
error: error?.cause
199199
? `${error.cause}`.replace('Error: ', '')
200200
: error?.message,
201201
status: response?.status ?? 500,
202202
statusText: response?.statusText ?? 'Internal Server Error',
203-
},
203+
} as const),
204204
sourceFrameId: json.sourceFrameId,
205205
url,
206206
} as const)

src/dev/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ export type FrameButton = {
3232
} & (
3333
| {
3434
type: 'link'
35-
postUrl: undefined
35+
postUrl?: undefined
3636
target: `http://${string}` | `https://${string}`
3737
}
3838
| {
3939
type: 'mint'
40-
postUrl: undefined
40+
postUrl?: undefined
4141
target: `eip155:${string}`
4242
}
4343
| {

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
}
9191
},
9292
"peerDependencies": {
93-
"hono": "^4.4.4",
93+
"hono": "^4.6.13",
9494
"typescript": ">=5.0.4"
9595
},
9696
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)