upgrade/replace websocket.js to @gamestdio/websocket v2 (#12543)

* Update stream.js

* Update package.json

* Update yarn.lock

Co-authored-by: hina <hina@hinaloe.net>
This commit is contained in:
Shlee
2019-12-04 19:45:49 +08:00
committed by Yamagishi Kazutoshi
parent f682387aae
commit f92ed32df4
3 changed files with 7 additions and 21 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));