Skip to content

Releases: Azuro-protocol/toolkit

v6.1.0

23 Apr 10:17

Choose a tag to compare

  • support new field isTopLeague for leagues from API
  • add new filter topLeagueFilter to getSports
  • add deprecation marks for discontinued envs

Full Changelog: v6.0.2...v6.1.0

v6.0.2

31 Mar 10:45

Choose a tag to compare

  • add hidden field to ConditionDetailedData type, pass it in groupConditionsByMarket
  • fix default sorting for getSports
  • pass environment in getConditionsState request for more accurate results in edge cases

Full Changelog: v6.0.1...v6.0.2

v6.0.0

16 Mar 11:17

Choose a tag to compare

Toolkit v6.0.0:

  • New Feed REST API utilities for fetching games and conditions that replace the deprecated and removed GraphQL feed queries:
    • getConditionsByGameIds - replaces Conditions query
    • getConditionsState - replaces ConditionsBatch query
    • getGamesByFilters - replaces Games query
    • getGamesByIds - replaces Game query and Games when you need to fetch multiple games by ID
    • getNavigation - replaces Navigation and NavigationSport queries
    • getSports - replaces Sports query
    • searchGames - new one to search games by text query
  • New getBetsByBettor method for v3 bets history, including preparing orders
  • getBetCalculation replaces the deprecated getMaxBet (it now requires user account address for accuracy and returns minBet and maxBet).
  • Improved typing system
  • Extended enum GameState
  • Extended enum BetStatus to include pending bet orders
  • Renamed and extended enum BetStateBetOrderState
  • Helper getBetStatus now requires BetOrderState from bet entity (in case of bets fetched from graphql feed, pass null)
  • Fixed typo: calcMindOddscalcMinOdds
  • Added field redeemedAt to legacy bets graphql doc
  • Removed Data Feed graphql documents and types

Full Changelog: v5.1.9...v6.0.0

Migration Guide

v5.1.8

30 Jan 10:35

Choose a tag to compare

Changed api and graph endpoints

v5.1.7

15 Dec 12:37

Choose a tag to compare

bump version (fixes v5.1.6 build)

v5.1.6

15 Dec 12:35

Choose a tag to compare

update calcMinOdds for combo bets

v5.1.5

03 Dec 11:11

Choose a tag to compare

  • Added BSC Mainnet.
  • Fixed env config for BSC Testnet.

v5.1.4

12 Nov 08:32

Choose a tag to compare

Add BSC testnet

v5.1.3

09 Sep 07:14

Choose a tag to compare

  • New BetState.Canceled bet's state
  • Upgraded dependencies

v5.1.2

26 Jun 14:40

Choose a tag to compare

  • Added new publicCustomData field for freebet's