From af1ddf69fa85968ba71c16355578b981d92a89b4 Mon Sep 17 00:00:00 2001 From: Mitra Ardron Date: Thu, 12 Sep 2019 09:35:53 +1000 Subject: [PATCH] Move WebTorrent dependency to consumer --- TransportWEBTORRENT.js | 3 ++- package.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TransportWEBTORRENT.js b/TransportWEBTORRENT.js index 2bc0eaa..0656547 100644 --- a/TransportWEBTORRENT.js +++ b/TransportWEBTORRENT.js @@ -6,7 +6,8 @@ Y Lists have listeners and generate events - see docs at ... // WebTorrent components -const WebTorrent = require('webtorrent'); +//Require in consumer; +//const WebTorrent = require('webtorrent'); const stream = require('readable-stream'); const Url = require('url'); const path = require('path'); diff --git a/package.json b/package.json index 40e97f8..0773928 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "node-fetch": "^2.3.0", "readable-stream": "^3.3.0", "webpack": "^4.29.3", - "webtorrent": "^0.107.3", "wolkjs": "git://github.com/wolkdb/wolkjs.git#master", "y-array": "^10.1.4", "y-indexeddb": "^8.1.9",