diff options
author | Cas <6506529+ThaUnknown@users.noreply.github.com> | 2021-06-30 06:19:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 06:19:03 +0300 |
commit | 2bf6cf42e09c448cab0dddcd74ea9a49dc3f18a0 (patch) | |
tree | 66b0879597c008da2047820678860ccd879119dd /lib/torrent.js | |
parent | eb3aeff9cd17a85dc87f6fadee12d3c89e28d65b (diff) |
fix: remove deprecated functionality (#2118)
Diffstat (limited to 'lib/torrent.js')
-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 |