[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>
lolsob-rspec
Shlee 2019-12-04 19:45:49 +08:00 committed by Thibaut Girka
parent 2cc60e8b09
commit 1fb108c696
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));