-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix fetch token price to Binance API-2 #526
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
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.
🙏
PR Type
Bug fix, Tests
Description
nearPrice
function to consolidate API fetch logic into a singlefetchPrice
function.Changes walkthrough 📝
nearPrice.test.ts
Update nearPrice tests for improved API failure handling
packages/data/src/api/nearPrice/nearPrice.test.ts
beforeEach
to reset mocks before each test.nearPrice.ts
Refactor and improve error handling in nearPrice API
packages/data/src/api/nearPrice/nearPrice.ts
fetchPrice
function.