Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

fix: upgrade for 0.34 #7

Merged
merged 1 commit into from
Jan 18, 2019
Merged

Conversation

alanshaw
Copy link

JS IPFS v0.34 is coming out soon. It has breaking changes. This PR addresses those issues. I've tested this against v0.34.0-rc.1 in the browser video streaming example and it all works.

This PR also improves the code by actually streaming the file using catReadableStream over cat (which buffers content in memory).

JS IPFS v0.34 is coming out soon. It has breaking changes. This PR addresses those issues. I've tested this against v0.34.0-rc.1 in the [browser video streaming example](https://github.com/ipfs/js-ipfs/tree/master/examples/browser-video-streaming) and it all works.

This PR also improves the code by actually streaming the file using `catReadableStream` over `cat` (which buffers content in memory).

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@alanshaw
Copy link
Author

ping @moshisushi - JS IPFS 0.34 is now out - it would be good to get this merged so it works with the latest version.

@pgc-13 pgc-13 merged commit 4a9f4d5 into pgc-13:master Jan 18, 2019
@pgc-13
Copy link
Owner

pgc-13 commented Jan 18, 2019

Thanks, looks good! Nice getting rid of the lodash dep. :)

Will get a new release out asap.

@pgc-13
Copy link
Owner

pgc-13 commented Jan 18, 2019

Tested and works fine! 0.1.3 published to npm. Thanks again!

@alanshaw alanshaw deleted the fix/upgrade-for-0.34 branch January 18, 2019 11:31
alanshaw pushed a commit to ipfs/js-ipfs that referenced this pull request Jan 18, 2019
pgc-13/hlsjs-ipfs-loader#7 was merged and released so this can now be fixed.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
alanshaw pushed a commit to ipfs/js-ipfs that referenced this pull request Jan 21, 2019
pgc-13/hlsjs-ipfs-loader#7 was merged and released so this can now be fixed.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
alanshaw pushed a commit to ipfs/js-ipfs that referenced this pull request Jan 21, 2019
pgc-13/hlsjs-ipfs-loader#7 was merged and released so this can now be fixed.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
oliveriosousa pushed a commit to ipfs-examples/js-ipfs-examples that referenced this pull request Jul 26, 2021
pgc-13/hlsjs-ipfs-loader#7 was merged and released so this can now be fixed.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants