-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Type helpers assigned to ipfs-http-client constructor #3450
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Please can you try with the latest RC? $ npm install ipfs-http-client@next const {
create,
CID,
multiaddr
// ..etc
} = require('ipfs-http-client')
const client = create()
console.info(await client.id())
// ..etc |
Can I install this version's next without getting the following versions next if the package.json is left unchanged for a while? |
Not if you use $ npm install [email protected] Of course, if there's a subsequent RC you'll miss out on the changes. |
@achingbrain Got
You don't support node 12 anymore? |
No, only Current and Active LTS - https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md#supported-versions. Node 12 became Maintenance LTS at the end of last year. |
If possible do you know the last |
The It's possible you could transpile |
Right, probably the issue is that the various dependencies are not synced on the node version required. In my case it was |
js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here #4336 and read the migration guide. This issue has been resolved in Helia! if this does not address your concern please let us know by reopening this issue before 2023-06-05! |
Expected
The utilities assigned to the constructor should be typed as existing
Current
ipfsClient type does not include above utilities
The text was updated successfully, but these errors were encountered: