diff options
author | Kaylee <34007889+KayleePop@users.noreply.github.com> | 2018-04-21 23:10:58 +0300 |
---|---|---|
committer | Kaylee <34007889+KayleePop@users.noreply.github.com> | 2018-04-21 23:10:58 +0300 |
commit | de2678e90988136bb7f5a98bcb685e33f43b9334 (patch) | |
tree | 8944089225439a2c276eaa7dc2a365bd28f0c238 /index.js | |
parent | 915207c68b77839d47f0579ad11ba726e4dd4220 (diff) |
expose webtorrent version
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -168,6 +168,7 @@ function WebTorrent (opts) { } WebTorrent.WEBRTC_SUPPORT = Peer.WEBRTC_SUPPORT +WebTorrent.VERSION = VERSION Object.defineProperty(WebTorrent.prototype, 'downloadSpeed', { get: function () { return this._downloadSpeed() } |