diff --git a/lib/client/websocket-tracker.js b/lib/client/websocket-tracker.js index e577d3c3..bc9f29e0 100644 --- a/lib/client/websocket-tracker.js +++ b/lib/client/websocket-tracker.js @@ -1,6 +1,6 @@ import clone from 'clone' import Debug from 'debug' -import Peer from '@thaunknown/simple-peer' +import Peer from '@thaunknown/simple-peer/lite.js' import Socket from '@thaunknown/simple-websocket' import Socks from 'socks' import { arr2text, arr2hex, hex2bin, bin2hex, randomBytes } from 'uint8-util' diff --git a/package.json b/package.json index c2af2a71..d935dc0d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "type": "module", "dependencies": { - "@thaunknown/simple-peer": "^9.12.0", + "@thaunknown/simple-peer": "^9.12.1", "@thaunknown/simple-websocket": "^9.1.0", "bencode": "^3.0.3", "bittorrent-peerid": "^1.3.3",