From de2678e90988136bb7f5a98bcb685e33f43b9334 Mon Sep 17 00:00:00 2001 From: Kaylee <34007889+KayleePop@users.noreply.github.com> Date: Sat, 21 Apr 2018 15:10:58 -0500 Subject: [PATCH] expose webtorrent version --- index.js | 1 + 1 file changed, 1 insertion(+) 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() }