ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
811 stars 81 forks source link

fix: docs/example #560

Open kristian-nygaard-jensen opened 1 week ago

kristian-nygaard-jensen commented 1 week ago

fs.add is not a function "Invalid key type" key type must be specified

https://github.com/libp2p/js-libp2p/blob/main/packages/keychain/src/keychain.ts#L157

fix: docs/example

Description

Two function calls need to be modified for the examples to work.

Notes & open questions

I will try to write tests that prove the issues

Change checklist