@azuro-org/toolkit 6.0.0-beta.7 → 6.0.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7658,7 +7658,7 @@ const getBetStatus = (props) => {
7658
7658
  || lastGames.some((game) => getIsPendingResolution(game))) {
7659
7659
  return BetStatus.PendingResolution;
7660
7660
  }
7661
- const isLive = games.some(game => game.state === GameState.Live);
7661
+ const isLive = games?.some(game => game.state === GameState.Live);
7662
7662
  if (isLive) {
7663
7663
  return BetStatus.Live;
7664
7664
  }
@@ -99,6 +99,7 @@ export type BetOrderConditionData = {
99
99
  potentialLoss: string | null;
100
100
  };
101
101
  export type BetOrderData = {
102
+ /** bettorAddressLowerCase_nonce */
102
103
  id: string;
103
104
  state: BetOrderState;
104
105
  environment: Environment;
@@ -112,6 +113,7 @@ export type BetOrderData = {
112
113
  odds: number;
113
114
  bonusId: string | null;
114
115
  isFreebet: boolean;
116
+ isSponsoredBetReturnable?: boolean;
115
117
  betId: number | null;
116
118
  txHash: Hex | null;
117
119
  margin: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "6.0.0-beta.7",
3
+ "version": "6.0.0-beta.8",
4
4
  "description": "This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",