perf: use peer/lite (#474)

This commit is contained in:
Cas 2023-06-16 23:05:28 +02:00 committed by GitHub
parent 0ddb991e3d
commit 7c845f030d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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",