Toolkit v6 & SDK v7: Migrating to REST API
We’re excited to announce the release of Toolkit v6.0.0 and SDK v7.0.0!
These major updates bring a significant architectural change: we’re migrating from GraphQL feed to REST API for improved performance and reliability.
What’s New
Toolkit v6.0.0:
- 7 new feed REST API utilities for fetching games and conditions
- New
getBetsByBettormethod for v3 bets history, including preparing orders getBetCalculationreplaces the deprecatedgetMaxBet- Improved typing system
- Extended enum
GameState - Extended enum
BetStatusto include pending bet orders - Renamed and extended enum
BetState→BetOrderState - Fixed typo:
calcMindOdds→calcMinOdds
SDK v7.0.0:
- New
useSearchGameshook for enhanced game discovery - New
useBetCalculationhook replacesuseMaxBet - Full integration with Toolkit v6’s REST API methods
- Removed deprecated
useMaxBethook
Migration Guides
To ensure a smooth transition, please follow our comprehensive migration guides:
- Toolkit v6 Migration Guide: https://gem.azuro.org/hub/apps/toolkit/migration-v6
- SDK v7 Migration Guide: https://gem.azuro.org/hub/apps/sdk/migration-v7
These guides cover all breaking changes and provide step-by-step instructions for updating your integration.
Questions?
If you encounter any issues during migration or have questions, reach out to us on Telegram.