Updated, webpacked and deployed

This commit is contained in:
Mitra Ardron 2018-08-15 13:22:50 +10:00
parent cc03e4334c
commit 77cadef28a
4 changed files with 23 additions and 15 deletions

View File

@ -380,7 +380,7 @@ class TransportIPFS extends Transport {
:returns stream: The readable stream.
FOR IPFS this is copied and adapted from git repo js-ipfs/examples/browser-readablestream/index.js
*/
debugipfs("createReadStream %o %o", multihash, opts || "" );
debugipfs("reading from stream %o %o", multihash, opts || "" );
const start = opts ? opts.start : 0
// The videostream library does not always pass an end byte but when

View File

@ -261,7 +261,7 @@ class TransportWEBTORRENT extends Transport {
:param opts: { start: byte to start from; end: optional end byte }
:returns stream: The readable stream.
*/
debugwt("createReadStream %s %o", file.name, opts);
debugwt("reading from stream %s %o", file.name, opts);
let through;
try {
through = new stream.PassThrough();

File diff suppressed because one or more lines are too long

View File

@ -12,12 +12,12 @@
},
"dependencies": {
"cids": "latest",
"gun": "latest",
"gun": "^0.9.9998",
"ipfs": "latest",
"ipfs-unixfs": "^0.1.15",
"node-fetch": "^2.2.0",
"readable-stream": "latest",
"webpack": "^4.16.3",
"readable-stream": "^3.0.1",
"webpack": "^4.16.5",
"webtorrent": "^0.99.3",
"y-array": "latest",
"y-indexeddb": "latest",
@ -31,7 +31,7 @@
"devDependencies": {
"browserify": "^14.5.0",
"chai": "latest",
"uglifyjs-webpack-plugin": "latest",
"uglifyjs-webpack-plugin": "^1.3.0",
"watchify": "^3.11.0",
"webpack-cli": "^3.1.0"
},
@ -49,5 +49,5 @@
"test": "cd src; node ./test.js",
"help": "echo 'test (test it)'; echo 'build (creates dweb-transports-bundle)'"
},
"version": "0.1.9"
"version": "0.1.10"
}