You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ipfs-http-client package is now shipped with types, and those types seem to conflict with the IPFS type we are using in this package.
Steps to Reproduce
importcreateIpfsfrom'ipfs-http-client'importOrbitDbfrom'orbit-db'typeIPFS=ReturnType<typeofcreateIpfs>// This line does not pass ts checkconstcreateOrbitDbInstance=(ipfs:IPFS)=>OrbitDb.createInstance(ipfs)
Possible Solutions
Since orbit db is able to consume an ipfs-http-client instance, this problem should be considered as a bug. Possible solutions are:
change the IPFS type to the minimum so that it does not cover anything non-compatible with the official IPFS types
Any more thoughts?
The text was updated successfully, but these errors were encountered:
@onichandame and @lmarianski . I have added a PR with a potential fix for this issue. Please let me know whether this looks okay to you and how to proceed from here.
Problem
The
ipfs-http-client
package is now shipped with types, and those types seem to conflict with theIPFS
type we are using in this package.Steps to Reproduce
Possible Solutions
Since orbit db is able to consume an
ipfs-http-client
instance, this problem should be considered as a bug. Possible solutions are:Any more thoughts?
The text was updated successfully, but these errors were encountered: