diff --git a/CHANGELOG.md b/CHANGELOG.md index 914e5e5..1239334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Replace `gramps` with `websocks` package - Remove alias names for internal stream modules - Improve script that change documentation +- Move `gleam_crypto` package as dev dependency # v2.0.2 diff --git a/autobahn/config.json b/autobahn/config.json index d051301..10f44b0 100644 --- a/autobahn/config.json +++ b/autobahn/config.json @@ -3,16 +3,13 @@ "servers": [ { "url": "ws://localhost:8080", - "agent": "unreleased" + "agent": "ewe" } ], "cases": [ "*" ], - "exclude-cases": [ - "12.*", - "13.*" - ], + "exclude-cases": [], "exclude-agent-cases": {}, "optioms": { "failByDrop": false diff --git a/gleam.toml b/gleam.toml index 32a43ea..33ceabd 100644 --- a/gleam.toml +++ b/gleam.toml @@ -17,15 +17,14 @@ gleam_otp = ">= 1.1.0 and < 2.0.0" gleam_http = ">= 4.3.0 and < 5.0.0" logging = ">= 1.3.0 and < 2.0.0" gleam_erlang = ">= 1.3.0 and < 2.0.0" -gleam_crypto = ">= 1.5.1 and < 2.0.0" compresso = "0.1.0" -websocks = ">= 1.0.0 and < 2.0.0" -# gramps = ">= 6.0.0 and < 7.0.0" +websocks = ">= 2.0.0 and < 3.0.0" [dev-dependencies] gleeunit = ">= 1.0.0 and < 2.0.0" gleam_httpc = ">= 5.0.0 and < 6.0.0" gleam_json = ">= 3.0.2 and < 4.0.0" +gleam_crypto = ">= 1.5.1 and < 2.0.0" [erlang] application_start_module = "ewe@internal@clock" diff --git a/manifest.toml b/manifest.toml index 81eacdd..ed3b77a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,12 +16,11 @@ packages = [ { name = "glisten", version = "8.0.1", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_otp", "gleam_stdlib", "logging", "telemetry"], otp_app = "glisten", source = "hex", outer_checksum = "534BB27C71FB9E506345A767C0D76B17A9E9199934340C975DC003C710E3692D" }, { name = "logging", version = "1.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "logging", source = "hex", outer_checksum = "1098FBF10B54B44C2C7FDF0B01C1253CAFACDACABEFB4B0D027803246753E06D" }, { name = "telemetry", version = "1.3.0", build_tools = ["rebar3"], requirements = [], otp_app = "telemetry", source = "hex", outer_checksum = "7015FC8919DBE63764F4B4B87A95B7C0996BD539E0D499BE6EC9D7F3875B79E6" }, - { name = "websocks", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_crypto", "gleam_erlang", "gleam_stdlib"], otp_app = "websocks", source = "hex", outer_checksum = "2046226F484F61D284879080AD2B968E57F411FDE8701C182E47DE85153C4B6B" }, + { name = "websocks", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_crypto", "gleam_erlang", "gleam_stdlib"], otp_app = "websocks", source = "hex", outer_checksum = "A13BF89A8AC63C478C0E9FE502C81A6CBB0513F427FA5C1DFD96383BF46D501D" }, ] [requirements] compresso = { version = "0.1.0" } -gleam_crypto = { version = ">= 1.5.1 and < 2.0.0" } gleam_erlang = { version = ">= 1.3.0 and < 2.0.0" } gleam_http = { version = ">= 4.3.0 and < 5.0.0" } gleam_httpc = { version = ">= 5.0.0 and < 6.0.0" } @@ -31,4 +30,5 @@ gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" } gleeunit = { version = ">= 1.0.0 and < 2.0.0" } glisten = { version = ">= 8.0.1 and < 9.0.0" } logging = { version = ">= 1.3.0 and < 2.0.0" } -websocks = { version = ">= 1.0.0 and < 2.0.0" } +websocks = { version = ">= 2.0.0 and < 3.0.0" } +gleam_crypto = { version = ">= 1.5.1 and < 2.0.0" } diff --git a/src/ewe/internal/stream/websocket.gleam b/src/ewe/internal/stream/websocket.gleam index ca97264..5f6a188 100644 --- a/src/ewe/internal/stream/websocket.gleam +++ b/src/ewe/internal/stream/websocket.gleam @@ -274,7 +274,7 @@ fn handle_valid_packet( ) -> ActorNext(user_state, user_message) { let conn = WebsocketConnection(transport, socket, state.context) let result = - websocks.process_incomming_frames( + websocks.process_incoming_frames( data, state.context, ResolveState(