@azuro-org/toolkit 4.2.1 → 4.2.2
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/config.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/config.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { type Address } from 'viem';
|
|
|
3
3
|
import { Environment } from './envs';
|
|
4
4
|
import { type Contracts } from './utils/setupContracts';
|
|
5
5
|
export declare const ODDS_DECIMALS = 12;
|
|
6
|
+
export declare const MARGIN_DECIMALS = 12;
|
|
6
7
|
export declare const MIN_LIVE_BET_AMOUNT = 1;
|
|
7
8
|
export declare const deBridgeUrl = "https://api.dln.trade/v1.0";
|
|
8
9
|
export declare const deBridgeTxUrl = "https://stats-api.dln.trade/api";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { environments, Environment } from './envs';
|
|
2
|
-
export { ODDS_DECIMALS, MIN_LIVE_BET_AMOUNT, deBridgeUrl, deBridgeTxUrl, liveHostAddress, liveSupportedChains, type ChainData, chainsData, chainsDataByEnv, type ChainId, } from './config';
|
|
2
|
+
export { ODDS_DECIMALS, MARGIN_DECIMALS, MIN_LIVE_BET_AMOUNT, deBridgeUrl, deBridgeTxUrl, liveHostAddress, liveSupportedChains, type ChainData, chainsData, chainsDataByEnv, type ChainId, } from './config';
|
|
3
3
|
export * from './global';
|
|
4
4
|
export * from './abis';
|
|
5
5
|
export * from './docs';
|
package/dist/index.js
CHANGED
|
@@ -3930,6 +3930,7 @@ const getApiEndpoint = (chainId) => {
|
|
|
3930
3930
|
}
|
|
3931
3931
|
return 'https://api.azuro.org/api/v1/public';
|
|
3932
3932
|
};const ODDS_DECIMALS = 12;
|
|
3933
|
+
const MARGIN_DECIMALS = 12;
|
|
3933
3934
|
const MIN_LIVE_BET_AMOUNT = 1;
|
|
3934
3935
|
const deBridgeUrl = 'https://api.dln.trade/v1.0';
|
|
3935
3936
|
const deBridgeTxUrl = 'https://stats-api.dln.trade/api';
|
|
@@ -5778,4 +5779,4 @@ const getDeBridgeOrder = async (orderId) => {
|
|
|
5778
5779
|
}
|
|
5779
5780
|
const data = await response.json();
|
|
5780
5781
|
return data;
|
|
5781
|
-
};export{BetResult,BetStatus,Bet_OrderBy,BettorFragmentDoc,BettorsDocument,ConditionStatus$1 as ConditionStatus,DeBridgeExternalCallStatus,DeBridgeOrderStatus,Environment,FreeBetStatus,GameBetsDocument,GameDocument,GameStatus,Game_OrderBy$1 as Game_OrderBy,GamesDocument,BetStatus$1 as GraphBetStatus,LiveBetFragmentDoc,LiveBetsDocument,LiveConditionDocument,LiveConditionFragmentDoc,LiveConditionsDocument,GameStatus$1 as LiveGraphGameStatus,MIN_LIVE_BET_AMOUNT,MainGameInfoFragmentDoc,NavigationDocument,ODDS_DECIMALS,OrderDirection$1 as OrderDirection,PrematchBetFragmentDoc,PrematchBetsDocument,PrematchConditionDocument,PrematchConditionFragmentDoc,PrematchConditionsBatchDocument,PrematchConditionsDocument,GameStatus$2 as PrematchGraphGameStatus,SelectionResult$1 as SelectionResult,SportsDocument,SportsNavigationDocument,WaveLevelName,activateWave,calcLiveOdds,calcMindOdds,calcPrematchOdds,chainsData,chainsDataByEnv,createDeBridgeBet,deBridgeTxUrl,deBridgeUrl,environments,FreeBet as freeBetAbi,getApiEndpoint,getBetStatus,getDeBridgeOrder,getDeBridgeSupportedChains,getDeBridgeSupportedTokens,getFreeBets,getGameStatus,getLiveBetFee,getLiveGraphqlEndpoint,getPrematchBetDataBytes,getPrematchGraphqlEndpoint,getSocketEndpoint,getWaveLeaderBoard,getWaveLevels,getWavePeriods,getWaveStats,groupByConditionId,groupConditionsByMarket,liveCoreAbi,liveHostAddress,liveSupportedChains,lpAbi,prematchComboCoreAbi,prematchCoreAbi,proxyFrontAbi,setupContracts};
|
|
5782
|
+
};export{BetResult,BetStatus,Bet_OrderBy,BettorFragmentDoc,BettorsDocument,ConditionStatus$1 as ConditionStatus,DeBridgeExternalCallStatus,DeBridgeOrderStatus,Environment,FreeBetStatus,GameBetsDocument,GameDocument,GameStatus,Game_OrderBy$1 as Game_OrderBy,GamesDocument,BetStatus$1 as GraphBetStatus,LiveBetFragmentDoc,LiveBetsDocument,LiveConditionDocument,LiveConditionFragmentDoc,LiveConditionsDocument,GameStatus$1 as LiveGraphGameStatus,MARGIN_DECIMALS,MIN_LIVE_BET_AMOUNT,MainGameInfoFragmentDoc,NavigationDocument,ODDS_DECIMALS,OrderDirection$1 as OrderDirection,PrematchBetFragmentDoc,PrematchBetsDocument,PrematchConditionDocument,PrematchConditionFragmentDoc,PrematchConditionsBatchDocument,PrematchConditionsDocument,GameStatus$2 as PrematchGraphGameStatus,SelectionResult$1 as SelectionResult,SportsDocument,SportsNavigationDocument,WaveLevelName,activateWave,calcLiveOdds,calcMindOdds,calcPrematchOdds,chainsData,chainsDataByEnv,createDeBridgeBet,deBridgeTxUrl,deBridgeUrl,environments,FreeBet as freeBetAbi,getApiEndpoint,getBetStatus,getDeBridgeOrder,getDeBridgeSupportedChains,getDeBridgeSupportedTokens,getFreeBets,getGameStatus,getLiveBetFee,getLiveGraphqlEndpoint,getPrematchBetDataBytes,getPrematchGraphqlEndpoint,getSocketEndpoint,getWaveLeaderBoard,getWaveLevels,getWavePeriods,getWaveStats,groupByConditionId,groupConditionsByMarket,liveCoreAbi,liveHostAddress,liveSupportedChains,lpAbi,prematchComboCoreAbi,prematchCoreAbi,proxyFrontAbi,setupContracts};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azuro-org/toolkit",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "Set of helpers to work with Azuro protocol",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@apollo/client": "^3.10.8",
|
|
43
43
|
"@azuro-org/dictionaries": "^3.0.16",
|
|
44
|
-
"viem": "^2.
|
|
45
|
-
"@wagmi/core": "^2.
|
|
44
|
+
"viem": "^2.21.7",
|
|
45
|
+
"@wagmi/core": "^2.13.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@graphql-codegen/cli": "^4.0.1",
|