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

Port f92ed32df4 to glitch-soc

Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
rebase/4.0.0rc2
Shlee 2019-12-04 19:45:49 +08:00 committed by Thibaut Girka
parent abcba5c198
commit 176f1da267
1 changed files with 1 additions and 1 deletions

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)); const randomIntUpTo = max => Math.floor(Math.random() * Math.floor(max));