[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2

Port 80a3e8e0e4 to glitch-soc

Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Shlee 2019-12-04 19:45:49 +08:00 committed by Thibaut Girka
parent 2cc60e8b09
commit 1fb108c696

View file

@ -1,4 +1,4 @@
import WebSocketClient from 'websocket.js';
import WebSocketClient from '@gamestdio/websocket';
const randomIntUpTo = max => Math.floor(Math.random() * Math.floor(max));