@azuro-org/toolkit 4.5.4 → 5.0.0-beta.1
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/README.md +3 -3
- package/dist/abis/{PrematchComboCore.d.ts → AzuroBet.d.ts} +158 -319
- package/dist/abis/Cashback.d.ts +302 -0
- package/dist/abis/Cashout.d.ts +424 -0
- package/dist/abis/{PrematchCore.d.ts → Core.d.ts} +548 -340
- package/dist/abis/LP.d.ts +218 -650
- package/dist/abis/Relayer.d.ts +393 -0
- package/dist/abis/index.d.ts +4 -4
- package/dist/config.d.ts +78 -15
- package/dist/docs/bets/bets.d.ts +64 -0
- package/dist/docs/bets/fragments/bet.d.ts +54 -0
- package/dist/docs/{prematch/fragments/liveBet.d.ts → bets/fragments/legacyLiveBet.d.ts} +2 -2
- package/dist/docs/{prematch/fragments/prematchBet.d.ts → bets/fragments/legacyPrematchBet.d.ts} +2 -2
- package/dist/docs/{prematch → bets}/gameBets.d.ts +2 -0
- package/dist/docs/{prematch/liveBets.d.ts → bets/legacyLiveBets.d.ts} +3 -3
- package/dist/docs/{prematch/prematchBets.d.ts → bets/legacyPrematchBets.d.ts} +3 -3
- package/dist/docs/{prematch → bets}/types.d.ts +1719 -15
- package/dist/docs/{prematch → feed}/condition.d.ts +6 -13
- package/dist/docs/{live → feed}/conditions.d.ts +10 -4
- package/dist/docs/{prematch → feed}/conditionsBatch.d.ts +4 -4
- package/dist/docs/{prematch → feed}/fragments/condition.d.ts +5 -12
- package/dist/docs/feed/fragments/gameInfo.d.ts +31 -0
- package/dist/docs/{prematch → feed}/game.d.ts +10 -10
- package/dist/docs/{prematch → feed}/games.d.ts +7 -7
- package/dist/docs/{prematch → feed}/navigation.d.ts +13 -6
- package/dist/docs/{prematch → feed}/sports.d.ts +7 -7
- package/dist/docs/{prematch → feed}/sportsNavigation.d.ts +3 -6
- package/dist/docs/{live → feed}/types.d.ts +1024 -462
- package/dist/docs/index.d.ts +21 -22
- package/dist/global.d.ts +16 -10
- package/dist/index.d.ts +9 -13
- package/dist/index.js +3817 -3199
- package/dist/utils/cashback/createCashbackTransaction.d.ts +0 -0
- package/dist/utils/cashback/getCashbackBalance.d.ts +0 -0
- package/dist/utils/createBet.d.ts +16 -0
- package/dist/utils/createComboBet.d.ts +16 -0
- package/dist/utils/getBet.d.ts +23 -0
- package/dist/utils/{getLiveBetFee.d.ts → getBetFee.d.ts} +2 -2
- package/dist/utils/getBetStatus.d.ts +6 -4
- package/dist/utils/getBetTypedData.d.ts +16 -0
- package/dist/utils/getComboBetTypedData.d.ts +16 -0
- package/dist/utils/getEndpoints.d.ts +4 -4
- package/dist/utils/getFreebets.d.ts +1 -1
- package/dist/utils/getIsPendingResolution.d.ts +7 -0
- package/dist/utils/getMaxBet.d.ts +17 -0
- package/dist/utils/groupConditionsByMarket.d.ts +13 -11
- package/dist/utils/setupContracts.d.ts +11 -24
- package/package.json +4 -4
- package/dist/abis/LiveCore.d.ts +0 -694
- package/dist/abis/ProxyFront.d.ts +0 -137
- package/dist/docs/live/condition.d.ts +0 -26
- package/dist/docs/live/fragments/condition.d.ts +0 -20
- package/dist/docs/prematch/conditions.d.ts +0 -42
- package/dist/utils/calcOdds.d.ts +0 -28
- package/dist/utils/createLiveBet.d.ts +0 -23
- package/dist/utils/deBridge/createDeBridgeBet.d.ts +0 -65
- package/dist/utils/deBridge/getDeBridgeOrder.d.ts +0 -39
- package/dist/utils/deBridge/getDeBridgeSupportedChains.d.ts +0 -11
- package/dist/utils/deBridge/getDeBridgeSupportedTokens.d.ts +0 -13
- package/dist/utils/getGameStatus.d.ts +0 -16
- package/dist/utils/getLiveBet.d.ts +0 -13
- package/dist/utils/getLiveBetTypedData.d.ts +0 -10
- package/dist/utils/getPrematchBetDataBytes.d.ts +0 -3
- package/dist/utils/groupByConditionId.d.ts +0 -5
- /package/dist/docs/{prematch → bets}/bettors.d.ts +0 -0
- /package/dist/docs/{prematch → bets}/fragments/bettor.d.ts +0 -0
- /package/dist/docs/{prematch → bets}/fragments/mainGameInfo.d.ts +0 -0
|
@@ -10,6 +10,7 @@ export type GameBetsQuery = {
|
|
|
10
10
|
rawAmount: string;
|
|
11
11
|
rawPotentialPayout: string;
|
|
12
12
|
result?: Types.BetResult | null;
|
|
13
|
+
isCashedOut: boolean;
|
|
13
14
|
selections: Array<{
|
|
14
15
|
__typename?: 'Selection';
|
|
15
16
|
rawOdds: string;
|
|
@@ -36,6 +37,7 @@ export type GameBetsQuery = {
|
|
|
36
37
|
rawAmount: string;
|
|
37
38
|
rawPotentialPayout: string;
|
|
38
39
|
result?: Types.BetResult | null;
|
|
40
|
+
isCashedOut: boolean;
|
|
39
41
|
selections: Array<{
|
|
40
42
|
__typename?: 'LiveSelection';
|
|
41
43
|
outcome: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Types from './types';
|
|
2
|
-
export type
|
|
2
|
+
export type LegacyLiveBetsQueryVariables = Types.Exact<{
|
|
3
3
|
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
4
|
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
5
|
where: Types.Bet_Filter;
|
|
6
6
|
orderBy?: Types.InputMaybe<Types.Bet_OrderBy>;
|
|
7
7
|
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
8
8
|
}>;
|
|
9
|
-
export type
|
|
9
|
+
export type LegacyLiveBetsQuery = {
|
|
10
10
|
__typename?: 'Query';
|
|
11
11
|
liveBets: Array<{
|
|
12
12
|
__typename?: 'LiveBet';
|
|
@@ -54,4 +54,4 @@ export type LiveBetsQuery = {
|
|
|
54
54
|
} | null;
|
|
55
55
|
}>;
|
|
56
56
|
};
|
|
57
|
-
export declare const
|
|
57
|
+
export declare const LegacyLiveBetsDocument: import("graphql/language/ast").DocumentNode;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Types from './types';
|
|
2
|
-
export type
|
|
2
|
+
export type LegacyPrematchBetsQueryVariables = Types.Exact<{
|
|
3
3
|
first?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
4
4
|
skip?: Types.InputMaybe<Types.Scalars['Int']['input']>;
|
|
5
5
|
where: Types.Bet_Filter;
|
|
6
6
|
orderBy?: Types.InputMaybe<Types.Bet_OrderBy>;
|
|
7
7
|
orderDirection?: Types.InputMaybe<Types.OrderDirection>;
|
|
8
8
|
}>;
|
|
9
|
-
export type
|
|
9
|
+
export type LegacyPrematchBetsQuery = {
|
|
10
10
|
__typename?: 'Query';
|
|
11
11
|
bets: Array<{
|
|
12
12
|
__typename?: 'Bet';
|
|
@@ -89,4 +89,4 @@ export type PrematchBetsQuery = {
|
|
|
89
89
|
} | null;
|
|
90
90
|
}>;
|
|
91
91
|
};
|
|
92
|
-
export declare const
|
|
92
|
+
export declare const LegacyPrematchBetsDocument: import("graphql/language/ast").DocumentNode;
|