Skip to content
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

Rc v3.3.0 #155

Merged
merged 4 commits into from
Apr 4, 2024
Merged

Rc v3.3.0 #155

merged 4 commits into from
Apr 4, 2024

Conversation

alplabin
Copy link
Contributor

@alplabin alplabin commented Apr 4, 2024

Added

  • Add Simple Earn endpoints:
    • GET /sapi/v1/simple-earn/flexible/list to query available Simple Earn flexible product list
    • GET /sapi/v1/simple-earn/locked/list to query available Simple Earn locked product list
    • POST /sapi/v1/simple-earn/flexible/subscribe to subscribe to a flexible product
    • POST /sapi/v1/simple-earn/locked/subscribe to subscribe to a locked product
    • POST /sapi/v1/simple-earn/flexible/redeem to redeem a flexible product
    • POST /sapi/v1/simple-earn/locked/redeem to redeem a locked product
    • GET /sapi/v1/simple-earn/flexible/position to get a flexible product position
    • GET /sapi/v1/simple-earn/locked/position to get a locked product position
    • GET /sapi/v1/simple-earn/account to get a simple account balances
    • GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord to get flexible subscription records
    • GET /sapi/v1/simple-earn/locked/history/subscriptionRecord to get locked subscription records
    • GET /sapi/v1/simple-earn/flexible/history/redemptionRecord to retrieve flexible redemption records
    • GET /sapi/v1/simple-earn/locked/history/redemptionRecord to retrieve locked redemption records
    • GET /sapi/v1/simple-earn/flexible/history/rewardsRecord to get flexible rewards history
    • GET /sapi/v1/simple-earn/locked/history/rewardsRecord to get locked rewards history
    • POST /sapi/v1/simple-earn/flexible/setAutoSubscribe to set an auto-subscription to a flexible product
    • POST /sapi/v1/simple-earn/locked/setAutoSubscribe to set an auto-subscription to a locked product
    • GET /sapi/v1/simple-earn/flexible/personalLeftQuota to get flexible personal left quota
    • GET /sapi/v1/simple-earn/locked/personalLeftQuota to get locked personal left quota
    • GET /sapi/v1/simple-earn/flexible/subscriptionPreview to get flexible subscription preview
    • GET /sapi/v1/simple-earn/locked/subscriptionPreview to get locked subscription previews
    • GET /sapi/v1/simple-earn/flexible/history/rateHistory to get a rate history
    • GET /sapi/v1/simple-earn/flexible/history/collateralRecord to get collateral records

Changed

  • Update dependencies

Copy link

github-actions bot commented Apr 4, 2024

Coverage report

Caution

Coverage does not meet threshold
Statements coverage not met for global: expected >=95%, but got 85.79387186629526%

St.
Category Percentage Covered / Total
🟢 Statements
85.79% (+0.84% 🔼)
616/718
🟢 Branches
83.94% (+1.2% 🔼)
277/330
🟢 Functions
90.65% (+0.79% 🔼)
281/310
🟢 Lines
85.48% (+0.89% 🔼)
577/675
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / simpleEarn.js
100% 100% 100% 100%

Test suite run success

630 tests passing in 230 suites.

Report generated by 🧪jest coverage report action from 2367915

@alplabin alplabin merged commit c778a4e into master Apr 4, 2024
6 checks passed
@alplabin alplabin deleted the rc-v3.3.0 branch April 4, 2024 10:03
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