Skip to content

Commit

Permalink
chore: bump hono
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn committed Dec 8, 2024
1 parent 2896df7 commit 12e71ec
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 64 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"bun": "^1.0.28",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"hono": "^4.4.4",
"hono": "^4.6.13",
"picocolors": "^1.0.0",
"rimraf": "^5.0.5",
"tsx": "^4.7.1",
Expand All @@ -52,7 +52,7 @@
"packageManager": "pnpm@8.15.3",
"pnpm": {
"overrides": {
"hono": "4.4.4",
"hono": "4.6.13",
"typescript": "5.3.3"
}
}
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@hono/node-server": "^1.8.2",
"frog": "workspace:*",
"hono": "^4"
"hono": "^4.6.13"
},
"devDependencies": {
"tsx": "^4.7.1"
Expand Down
70 changes: 35 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/dev/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,21 +186,21 @@ export function apiRoutes(
speed,
},
response: response?.redirected
? {
? ({
success: true,
location: response.url,
error: undefined,
status: 302,
statusText: 'Found',
}
: {
} as const)
: ({
success: false,
error: error?.cause
? `${error.cause}`.replace('Error: ', '')
: error?.message,
status: response?.status ?? 500,
statusText: response?.statusText ?? 'Internal Server Error',
},
} as const),
sourceFrameId: json.sourceFrameId,
url,
} as const)
Expand Down
4 changes: 2 additions & 2 deletions src/dev/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export type FrameButton = {
} & (
| {
type: 'link'
postUrl: undefined
postUrl?: undefined
target: `http://${string}` | `https://${string}`
}
| {
type: 'mint'
postUrl: undefined
postUrl?: undefined
target: `eip155:${string}`
}
| {
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}
},
"peerDependencies": {
"hono": "^4.4.4",
"hono": "^4.6.13",
"typescript": ">=5.0.4"
},
"peerDependenciesMeta": {
Expand Down
Loading

0 comments on commit 12e71ec

Please sign in to comment.