Eris
Eris
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
'Twas merged and works well!
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
so it's fixed™️ now?
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
imo I dont mind the spam, it's nice to see to know my project is still running
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
yeah, there's just a minor console spam issue since Deno didn't implement a certain Websocket function yet, but there's a fallback it uses instead so it still works just fine
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
alright, awesome! I'll keep an eye on @discordjs/ws and once the patch is in I'll just make my project use dev somehow. thanks for keeping us informed!
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
from what I see: - Deno is following web specifications which @discordjs/ws doesn't implement right - Node uses something nonstandard (?) [the ws module] that doesn't include the protocol value, which is what causes the issues here - Bun is idk
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
bun has no API documentation whatsoever so we will ignore it
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
node, by the looks of it, uses the ws module which... well, doesn't do that
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
const connection = new WebSocketConstructor(url, { handshakeTimeout: this.strategy.options.handshakeTimeout ?? void 0 }); deno recently made a change (?) that made arg #2 the protocol, in line with web standards. arg #3 should be ops now
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
OK now I know half what I'm doing here
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
wait, all old versions had void 0, nevermind dead end
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
wait no
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
handshakeTimeout: this.strategy.options.handshakeTimeout ?? void 0
handshakeTimeout: this.strategy.options.handshakeTimeout ?? void 0
this was previously
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
FOUND IT
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
ok no it doesn't pin to 1.0.2, likely a ws update broke it
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
What if I pin it to use 1.0.2
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
Things I know: - This happened after a package code purge. Did a ws update break this? - Deno was not updated when it broke, Deno is not the issue here
39 replies
DIAdiscord.js - Imagine an app
Created by DarkstarDraconis on 5/7/2024 in #djs-questions
Deno / Websocket error
Having the same issue on a deeply Deno project (using their KV store, custom flags for workers...) and I'm searching for a solution
39 replies