Skip to content
Myr

docs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated the corresponding test (#4618)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Min Chun Fu · committed by GitHub · parent 8139399 · Browse files · 2 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−5 removed

  • tests:+4 added−4 removed
  • other:+1 added−1 removed

2 files+5 added−5 removed

modified:src/adapter/bun/websocket.test.ts+4 added-4 removed
modified:src/adapter/bun/websocket.ts+1 added-1 removed
92 unmodified lines
93 },94}9596/**97 * @deprecated Import `createWebSocket` and `websocket` directly from `hono/bun` instead.97 * @deprecated Import `upgradeWebSocket` and `websocket` directly from `hono/bun` instead.98 * @returns A function to create a Bun WebSocket handler.99 */100export const createBunWebSocket = <T>(): CreateWebSocket<T> => ({101 upgradeWebSocket,
2 unmodified lines