Skip to content

Commit be3de81

Browse files
authored
Merge pull request #58 from thefrontside/tm/v4-websockets
Upgrade WebSockets to v4
2 parents 9df0cb6 + 5ba8b19 commit be3de81

File tree

4 files changed

+11
-70
lines changed

4 files changed

+11
-70
lines changed

websocket/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effection-contrib/websocket",
3-
"version": "1.0.1",
3+
"version": "2.0.0",
44
"exports": "./mod.ts",
55
"license": "MIT"
66
}

websocket/websocket.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
type Subscription,
1010
suspend,
1111
useScope,
12-
} from "npm:effection@3.0.3";
12+
} from "npm:effection@4.0.0-alpha.6";
1313

1414
import { useWebSocket, type WebSocketResource } from "./websocket.ts";
1515

websocket/websocket.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
import { createSignal, once, race, resource, spawn } from "npm:effection@3.0.3";
2-
import type { Operation, Stream } from "npm:effection@3.0.3";
3-
import { withResolvers } from "./with-resolvers.ts";
1+
import {
2+
createSignal,
3+
once,
4+
race,
5+
resource,
6+
spawn,
7+
withResolvers,
8+
} from "npm:effection@4.0.0-alpha.6";
9+
import type { Operation, Stream } from "npm:effection@4.0.0-alpha.6";
410

511
/**
612
* Handle to a

websocket/with-resolvers.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)