diff --git a/README.md b/README.md index 2e57256..f0c53d0 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,13 @@ Server side ```bash -$ deno run --allow-net https://deno.land/x/websocket@v0.0.4/example/server.ts +$ deno run --allow-net https://deno.land/x/websocket@v0.0.5/example/server.ts ``` Client side ```bash -$ deno run --allow-net https://deno.land/x/websocket@v0.0.4/example/client.ts +$ deno run --allow-net https://deno.land/x/websocket@v0.0.5/example/client.ts ws connected! (type 'close' to quit) > something ``` @@ -37,7 +37,7 @@ ws connected! (type 'close' to quit) Server side ```typescript -import { WebSocket, WebSocketServer } from "https://deno.land/x/websocket@v0.0.4/mod.ts"; +import { WebSocket, WebSocketServer } from "https://deno.land/x/websocket@v0.0.5/mod.ts"; const wss = new WebSocketServer(8080); wss.on("connection", function (ws: WebSocket) { @@ -52,7 +52,7 @@ wss.on("connection", function (ws: WebSocket) { Client side ```typescript -import { WebSocket } from "https://deno.land/x/websocket@v0.0.4/mod.ts"; +import { WebSocket } from "https://deno.land/x/websocket@v0.0.5/mod.ts"; const endpoint = "ws://127.0.0.1:8080"; const ws: WebSocket = new WebSocket(endpoint); ws.on("open", function() { diff --git a/egg.yml b/egg.yml index 7395e79..0d2ec1d 100644 --- a/egg.yml +++ b/egg.yml @@ -1,7 +1,7 @@ name: deno-websocket description: A simple WebSocket library like ws of node.js library for Deno stable: true -version: v0.0.4 +version: v0.0.5 repository: https://github.com/ryo-ma/deno-websocket files: ./mod.ts