-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ipfs-core-types@0.9.0 - Out of date types for BWOptions #3985
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. |
I think it needs to be If that works for you, would you like to open a PR that fixes the issue? |
@SgtPooki : are you ok to open a PR to fix the issue? |
@BigLep for sure. I can get a PR out really quick |
fix #3985 Co-authored-by: achingbrain <alex@achingbrain.net>
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
ipfs-core-types@0.9.0
for the project I'm working on.A number is no longer valid for the
interval
property ofBWOptions
. In order to successfully call theipfs.stats.bw
endpoint with TypeScript, you must either//@ts-ignore
or avoid passinginterval
.See https://docs.ipfs.io/reference/http/api/#api-v0-stats-bw
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: