Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaylee <34007889+KayleePop@users.noreply.github.com>2018-04-21 23:10:58 +0300
committerKaylee <34007889+KayleePop@users.noreply.github.com>2018-04-21 23:10:58 +0300
commitde2678e90988136bb7f5a98bcb685e33f43b9334 (patch)
tree8944089225439a2c276eaa7dc2a365bd28f0c238 /index.js
parent915207c68b77839d47f0579ad11ba726e4dd4220 (diff)
expose webtorrent version
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 65dd70c..9276897 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() }