Closed lidel closed 5 years ago
https://github.com/ipld/js-ipld-dag-pb/blob/d02c65918e537380ad2844b2573283def30098b4/src/dag-node/addNamedLink.js#L14 should be Object.keys(object)
not Object.keys(this)
.
@hugomrdias any chance you can look into why this wasn't caught in our browser tests?
I've opened https://github.com/ipfs/aegir/issues/362 to track the issue on Browser tests not running against the same code as the dist bundle contains.
ipfs.add
Type: Bug
Severity: High
Description:
ipfs.add
with prebuilt bundle for use in browser produces error:Steps to reproduce the error:
I prepared two apps to demonstrate the issue:
ipfs.add
under 0.35.0 using Buffer: demo works okipfs.add
under 0.36.0 using File: demo fails