diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 24e7b44..1f0be5b 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -193,12 +193,6 @@ class Torrent extends EventEmitter { return numConns } - // TODO: remove in v1 - get swarm () { - console.warn('WebTorrent: `torrent.swarm` is deprecated. Use `torrent` directly instead.') - return this - } - _onTorrentId (torrentId) { if (this.destroyed) return |