mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-05-20 23:39:26 +00:00
perf: use peer/lite (#474)
This commit is contained in:
parent
0ddb991e3d
commit
7c845f030d
@ -1,6 +1,6 @@
|
|||||||
import clone from 'clone'
|
import clone from 'clone'
|
||||||
import Debug from 'debug'
|
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 Socket from '@thaunknown/simple-websocket'
|
||||||
import Socks from 'socks'
|
import Socks from 'socks'
|
||||||
import { arr2text, arr2hex, hex2bin, bin2hex, randomBytes } from 'uint8-util'
|
import { arr2text, arr2hex, hex2bin, bin2hex, randomBytes } from 'uint8-util'
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@thaunknown/simple-peer": "^9.12.0",
|
"@thaunknown/simple-peer": "^9.12.1",
|
||||||
"@thaunknown/simple-websocket": "^9.1.0",
|
"@thaunknown/simple-websocket": "^9.1.0",
|
||||||
"bencode": "^3.0.3",
|
"bencode": "^3.0.3",
|
||||||
"bittorrent-peerid": "^1.3.3",
|
"bittorrent-peerid": "^1.3.3",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user