Skip to content

Conversation

@jayantk
Copy link
Contributor

@jayantk jayantk commented Nov 1, 2021

We've been telling users that they need to check the status of the price before consuming it. However, most users are not checking the status field, because our client libraries don't make this easy. I'm changing the default behavior in all of client libraries to do the right thing so that the easiest usage is also correct.

Note that this PR makes a breaking change to the public interface of this library. LMK if you think we should do something special to warn users about this breaking change before we release this.

},
"dependencies": {
"@solana/web3.js": "^1.10.1",
"@solana/web3.js": "^1.30.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drive-by: bump the solana web3 version. I fixed a memory leak in the websocket RPC library that solana web3 is using, so bumping this version incorporates that change.

@evan-gray
Copy link
Contributor

@jayantk looks reasonable, given the breaking change you probably want to increment the minor version number.

@jayantk jayantk merged commit 93bdedc into main Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants