diff --git a/index.js b/index.js index 65dd70c4..9276897a 100644 --- a/index.js +++ b/index.js @@ -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() }