-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update types #302
chore: update types #302
Conversation
- Updates deps - Changes Blockstore.query return type based on query arg - Exports Blockstore type from index.js - Moves Config types from ipfs-core-types to ipfs-repo - Removes bignumber.js dep in favour of using `BigInt`s - Normalises type import style - Removes ts-ignores from modules with types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
getAll (options = {}) { // eslint-disable-line require-await | ||
return configStore.get(undefined, options) | ||
async getAll (options = {}) { // eslint-disable-line require-await | ||
// level-js@5.x cannot read keys from level-js@4.x dbs so fall back to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an issue to track this? If not, can you create one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do, but it's not something that's ever going to be fixed so the issue will hang around forever.
The level-js 4 -> 5 version bump was because of this breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok makes sense, so maybe not worth
BigInt
s