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
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
I tried using an instance of the https client using TS just like how it's in the docs. When I did create the instance my IDE complained about type errors.
Steps to reproduce the error:
I created the instance like this by looking at the README const client = create("https://ipfs.provider.io:5001/api/v0");
Turns out create() only accepts Options | undefined as params.
So I had to pass the URL like this: const client = create({ url: "https://ipfs.provider.io:5001/api/v0" });
Should I raise a PR to update the examples in the README?