mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-24 22:32:16 +00:00
Updated, webpacked and deployed
This commit is contained in:
parent
cc03e4334c
commit
77cadef28a
@ -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
|
||||
|
@ -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();
|
||||
|
24
dist/dweb-transports-bundle.js
vendored
24
dist/dweb-transports-bundle.js
vendored
File diff suppressed because one or more lines are too long
10
package.json
10
package.json
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user