be-components 7.4.8 → 7.5.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/lib/commonjs/ApiOverrides/index.js +4 -0
- package/lib/commonjs/ApiOverrides/index.js.map +1 -1
- package/lib/commonjs/BetRouter/api/index.js +884 -0
- package/lib/commonjs/BetRouter/api/index.js.map +1 -0
- package/lib/commonjs/BetRouter/api/types.js +2 -0
- package/lib/commonjs/BetRouter/api/types.js.map +1 -0
- package/lib/commonjs/BetRouter/components/AccountManager.js +592 -0
- package/lib/commonjs/BetRouter/components/AccountManager.js.map +1 -0
- package/lib/commonjs/BetRouter/components/AdminPortal.js +51 -0
- package/lib/commonjs/BetRouter/components/AdminPortal.js.map +1 -0
- package/lib/commonjs/BetRouter/components/BuyOpportunities.js +550 -0
- package/lib/commonjs/BetRouter/components/BuyOpportunities.js.map +1 -0
- package/lib/commonjs/BetRouter/components/BuyOpportunityCard.js +320 -0
- package/lib/commonjs/BetRouter/components/BuyOpportunityCard.js.map +1 -0
- package/lib/commonjs/BetRouter/components/ContestLiquidity.js +666 -0
- package/lib/commonjs/BetRouter/components/ContestLiquidity.js.map +1 -0
- package/lib/commonjs/BetRouter/components/ContestSelector.js +193 -0
- package/lib/commonjs/BetRouter/components/ContestSelector.js.map +1 -0
- package/lib/commonjs/BetRouter/components/MyOpportunities.js +332 -0
- package/lib/commonjs/BetRouter/components/MyOpportunities.js.map +1 -0
- package/lib/commonjs/BetRouter/components/MyOpportunities.tsx.bak +440 -0
- package/lib/commonjs/BetRouter/components/OpportunityDetailModal.js +545 -0
- package/lib/commonjs/BetRouter/components/OpportunityDetailModal.js.map +1 -0
- package/lib/commonjs/BetRouter/components/OpportunityHistory.js +489 -0
- package/lib/commonjs/BetRouter/components/OpportunityHistory.js.map +1 -0
- package/lib/commonjs/BetRouter/components/PartnerCredentials.js +229 -0
- package/lib/commonjs/BetRouter/components/PartnerCredentials.js.map +1 -0
- package/lib/commonjs/BetRouter/components/PlacedOpportunityModal.js +262 -0
- package/lib/commonjs/BetRouter/components/PlacedOpportunityModal.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/AutoFillView.js +380 -0
- package/lib/commonjs/BetRouter/components/admin/AutoFillView.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/ConfigManager.js +814 -0
- package/lib/commonjs/BetRouter/components/admin/ConfigManager.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/JobManager.js +895 -0
- package/lib/commonjs/BetRouter/components/admin/JobManager.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueContests.js +2844 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueContests.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueInfo.js +378 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueInfo.js.map +1 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueParticipants.js +795 -0
- package/lib/commonjs/BetRouter/components/admin/LeagueParticipants.js.map +1 -0
- package/lib/commonjs/BetRouter/index.js +411 -0
- package/lib/commonjs/BetRouter/index.js.map +1 -0
- package/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.js +312 -0
- package/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.js.map +1 -0
- package/lib/commonjs/BetRouter/layouts/DesktopLayout.js +271 -0
- package/lib/commonjs/BetRouter/layouts/DesktopLayout.js.map +1 -0
- package/lib/commonjs/BetRouter/layouts/MobileAdminLayout.js +435 -0
- package/lib/commonjs/BetRouter/layouts/MobileAdminLayout.js.map +1 -0
- package/lib/commonjs/BetRouter/layouts/MobileLayout.js +293 -0
- package/lib/commonjs/BetRouter/layouts/MobileLayout.js.map +1 -0
- package/lib/commonjs/BetRouter/types/ADMIN_PORTAL.md +863 -0
- package/lib/commonjs/BetRouter/types/ADMIN_PORTAL_SIMPLIFIED.md +1881 -0
- package/lib/commonjs/BetRouter/types/CREDENTIALS_EXAMPLE.md +350 -0
- package/lib/commonjs/BetRouter/types/LIQUIDITY_CLIENT_GUIDE.md +399 -0
- package/lib/commonjs/BetRouter/types/MARKET_LINKING_WORKFLOW.md +682 -0
- package/lib/commonjs/BetRouter/types/MARKET_LINKING_WORKFLOW_V2.md +627 -0
- package/lib/commonjs/BetRouter/types/README.md +249 -0
- package/lib/commonjs/BetRouter/types/accounts.js +2 -0
- package/lib/commonjs/BetRouter/types/accounts.js.map +1 -0
- package/lib/commonjs/BetRouter/types/api-contracts.js +776 -0
- package/lib/commonjs/BetRouter/types/api-contracts.js.map +1 -0
- package/lib/commonjs/BetRouter/types/config.js +2 -0
- package/lib/commonjs/BetRouter/types/config.js.map +1 -0
- package/lib/commonjs/BetRouter/types/contests.js +2 -0
- package/lib/commonjs/BetRouter/types/contests.js.map +1 -0
- package/lib/commonjs/BetRouter/types/credentials.js +90 -0
- package/lib/commonjs/BetRouter/types/credentials.js.map +1 -0
- package/lib/commonjs/BetRouter/types/index.js +149 -0
- package/lib/commonjs/BetRouter/types/index.js.map +1 -0
- package/lib/commonjs/BetRouter/types/jobs.js +2 -0
- package/lib/commonjs/BetRouter/types/jobs.js.map +1 -0
- package/lib/commonjs/BetRouter/types/leagues.js +2 -0
- package/lib/commonjs/BetRouter/types/leagues.js.map +1 -0
- package/lib/commonjs/BetRouter/types/liquidity.js +2 -0
- package/lib/commonjs/BetRouter/types/liquidity.js.map +1 -0
- package/lib/commonjs/BetRouter/types/markets.js +2 -0
- package/lib/commonjs/BetRouter/types/markets.js.map +1 -0
- package/lib/commonjs/BetRouter/types/opportunities.js +6 -0
- package/lib/commonjs/BetRouter/types/opportunities.js.map +1 -0
- package/lib/commonjs/BetRouter/types/orders.js +2 -0
- package/lib/commonjs/BetRouter/types/orders.js.map +1 -0
- package/lib/commonjs/BetRouter/types/participants.js +2 -0
- package/lib/commonjs/BetRouter/types/participants.js.map +1 -0
- package/lib/commonjs/BetRouter/types/partners.js +2 -0
- package/lib/commonjs/BetRouter/types/partners.js.map +1 -0
- package/lib/commonjs/Charts/README.md +310 -0
- package/lib/commonjs/Charts/adapters/TradeChartAdapter.js +406 -0
- package/lib/commonjs/Charts/adapters/TradeChartAdapter.js.map +1 -0
- package/lib/commonjs/Charts/components/BaseLineChart.js +307 -0
- package/lib/commonjs/Charts/components/BaseLineChart.js.map +1 -0
- package/lib/commonjs/Charts/components/LivePriceChart.js +509 -0
- package/lib/commonjs/Charts/components/LivePriceChart.js.map +1 -0
- package/lib/commonjs/Charts/index.js +126 -0
- package/lib/commonjs/Charts/index.js.map +1 -0
- package/lib/commonjs/Charts/themes/chartTheme.js +141 -0
- package/lib/commonjs/Charts/themes/chartTheme.js.map +1 -0
- package/lib/commonjs/Charts/types.js +2 -0
- package/lib/commonjs/Charts/types.js.map +1 -0
- package/lib/commonjs/Charts/utils/formatters.js +194 -0
- package/lib/commonjs/Charts/utils/formatters.js.map +1 -0
- package/lib/commonjs/Components/Dropdown.js +5 -3
- package/lib/commonjs/Components/Dropdown.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +24 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/index.js +34 -0
- package/lib/commonjs/Components/index.js.map +1 -1
- package/lib/commonjs/index.js +28 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types.d.js +16 -0
- package/lib/commonjs/types.d.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +4 -0
- package/lib/module/ApiOverrides/index.js.map +1 -1
- package/lib/module/BetRouter/api/index.js +873 -0
- package/lib/module/BetRouter/api/index.js.map +1 -0
- package/lib/module/BetRouter/api/types.js +2 -0
- package/lib/module/BetRouter/api/types.js.map +1 -0
- package/lib/module/BetRouter/components/AccountManager.js +584 -0
- package/lib/module/BetRouter/components/AccountManager.js.map +1 -0
- package/lib/module/BetRouter/components/AdminPortal.js +43 -0
- package/lib/module/BetRouter/components/AdminPortal.js.map +1 -0
- package/lib/module/BetRouter/components/BuyOpportunities.js +542 -0
- package/lib/module/BetRouter/components/BuyOpportunities.js.map +1 -0
- package/lib/module/BetRouter/components/BuyOpportunityCard.js +313 -0
- package/lib/module/BetRouter/components/BuyOpportunityCard.js.map +1 -0
- package/lib/module/BetRouter/components/ContestLiquidity.js +658 -0
- package/lib/module/BetRouter/components/ContestLiquidity.js.map +1 -0
- package/lib/module/BetRouter/components/ContestSelector.js +185 -0
- package/lib/module/BetRouter/components/ContestSelector.js.map +1 -0
- package/lib/module/BetRouter/components/MyOpportunities.js +324 -0
- package/lib/module/BetRouter/components/MyOpportunities.js.map +1 -0
- package/lib/module/BetRouter/components/MyOpportunities.tsx.bak +440 -0
- package/lib/module/BetRouter/components/OpportunityDetailModal.js +538 -0
- package/lib/module/BetRouter/components/OpportunityDetailModal.js.map +1 -0
- package/lib/module/BetRouter/components/OpportunityHistory.js +481 -0
- package/lib/module/BetRouter/components/OpportunityHistory.js.map +1 -0
- package/lib/module/BetRouter/components/PartnerCredentials.js +222 -0
- package/lib/module/BetRouter/components/PartnerCredentials.js.map +1 -0
- package/lib/module/BetRouter/components/PlacedOpportunityModal.js +255 -0
- package/lib/module/BetRouter/components/PlacedOpportunityModal.js.map +1 -0
- package/lib/module/BetRouter/components/admin/AutoFillView.js +372 -0
- package/lib/module/BetRouter/components/admin/AutoFillView.js.map +1 -0
- package/lib/module/BetRouter/components/admin/ConfigManager.js +806 -0
- package/lib/module/BetRouter/components/admin/ConfigManager.js.map +1 -0
- package/lib/module/BetRouter/components/admin/JobManager.js +888 -0
- package/lib/module/BetRouter/components/admin/JobManager.js.map +1 -0
- package/lib/module/BetRouter/components/admin/LeagueContests.js +2836 -0
- package/lib/module/BetRouter/components/admin/LeagueContests.js.map +1 -0
- package/lib/module/BetRouter/components/admin/LeagueInfo.js +372 -0
- package/lib/module/BetRouter/components/admin/LeagueInfo.js.map +1 -0
- package/lib/module/BetRouter/components/admin/LeagueParticipants.js +787 -0
- package/lib/module/BetRouter/components/admin/LeagueParticipants.js.map +1 -0
- package/lib/module/BetRouter/index.js +399 -0
- package/lib/module/BetRouter/index.js.map +1 -0
- package/lib/module/BetRouter/layouts/DesktopAdminLayout.js +304 -0
- package/lib/module/BetRouter/layouts/DesktopAdminLayout.js.map +1 -0
- package/lib/module/BetRouter/layouts/DesktopLayout.js +263 -0
- package/lib/module/BetRouter/layouts/DesktopLayout.js.map +1 -0
- package/lib/module/BetRouter/layouts/MobileAdminLayout.js +427 -0
- package/lib/module/BetRouter/layouts/MobileAdminLayout.js.map +1 -0
- package/lib/module/BetRouter/layouts/MobileLayout.js +285 -0
- package/lib/module/BetRouter/layouts/MobileLayout.js.map +1 -0
- package/lib/module/BetRouter/types/ADMIN_PORTAL.md +863 -0
- package/lib/module/BetRouter/types/ADMIN_PORTAL_SIMPLIFIED.md +1881 -0
- package/lib/module/BetRouter/types/CREDENTIALS_EXAMPLE.md +350 -0
- package/lib/module/BetRouter/types/LIQUIDITY_CLIENT_GUIDE.md +399 -0
- package/lib/module/BetRouter/types/MARKET_LINKING_WORKFLOW.md +682 -0
- package/lib/module/BetRouter/types/MARKET_LINKING_WORKFLOW_V2.md +627 -0
- package/lib/module/BetRouter/types/README.md +249 -0
- package/lib/module/BetRouter/types/accounts.js +2 -0
- package/lib/module/BetRouter/types/accounts.js.map +1 -0
- package/lib/module/BetRouter/types/api-contracts.js +770 -0
- package/lib/module/BetRouter/types/api-contracts.js.map +1 -0
- package/lib/module/BetRouter/types/config.js +2 -0
- package/lib/module/BetRouter/types/config.js.map +1 -0
- package/lib/module/BetRouter/types/contests.js +2 -0
- package/lib/module/BetRouter/types/contests.js.map +1 -0
- package/lib/module/BetRouter/types/credentials.js +78 -0
- package/lib/module/BetRouter/types/credentials.js.map +1 -0
- package/lib/module/BetRouter/types/index.js +17 -0
- package/lib/module/BetRouter/types/index.js.map +1 -0
- package/lib/module/BetRouter/types/jobs.js +2 -0
- package/lib/module/BetRouter/types/jobs.js.map +1 -0
- package/lib/module/BetRouter/types/leagues.js +2 -0
- package/lib/module/BetRouter/types/leagues.js.map +1 -0
- package/lib/module/BetRouter/types/liquidity.js +2 -0
- package/lib/module/BetRouter/types/liquidity.js.map +1 -0
- package/lib/module/BetRouter/types/markets.js +2 -0
- package/lib/module/BetRouter/types/markets.js.map +1 -0
- package/lib/module/BetRouter/types/opportunities.js +2 -0
- package/lib/module/BetRouter/types/opportunities.js.map +1 -0
- package/lib/module/BetRouter/types/orders.js +2 -0
- package/lib/module/BetRouter/types/orders.js.map +1 -0
- package/lib/module/BetRouter/types/participants.js +2 -0
- package/lib/module/BetRouter/types/participants.js.map +1 -0
- package/lib/module/BetRouter/types/partners.js +2 -0
- package/lib/module/BetRouter/types/partners.js.map +1 -0
- package/lib/module/Charts/README.md +310 -0
- package/lib/module/Charts/adapters/TradeChartAdapter.js +400 -0
- package/lib/module/Charts/adapters/TradeChartAdapter.js.map +1 -0
- package/lib/module/Charts/components/BaseLineChart.js +303 -0
- package/lib/module/Charts/components/BaseLineChart.js.map +1 -0
- package/lib/module/Charts/components/LivePriceChart.js +502 -0
- package/lib/module/Charts/components/LivePriceChart.js.map +1 -0
- package/lib/module/Charts/index.js +36 -0
- package/lib/module/Charts/index.js.map +1 -0
- package/lib/module/Charts/themes/chartTheme.js +134 -0
- package/lib/module/Charts/themes/chartTheme.js.map +1 -0
- package/lib/module/Charts/types.js +2 -0
- package/lib/module/Charts/types.js.map +1 -0
- package/lib/module/Charts/utils/formatters.js +178 -0
- package/lib/module/Charts/utils/formatters.js.map +1 -0
- package/lib/module/Components/Dropdown.js +5 -3
- package/lib/module/Components/Dropdown.js.map +1 -1
- package/lib/module/Components/Icons.js +24 -1
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/index.js +3 -0
- package/lib/module/Components/index.js.map +1 -1
- package/lib/module/index.js +5 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.d.js +16 -0
- package/lib/module/types.d.js.map +1 -1
- package/lib/typescript/lib/commonjs/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/BetRouter/api/index.d.ts +109 -0
- package/lib/typescript/lib/commonjs/BetRouter/api/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/api/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/api/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/AccountManager.d.ts +16 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/AccountManager.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/AdminPortal.d.ts +9 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/AdminPortal.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/BuyOpportunities.d.ts +16 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/BuyOpportunities.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/BuyOpportunityCard.d.ts +14 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/BuyOpportunityCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/ContestLiquidity.d.ts +11 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/ContestLiquidity.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/ContestSelector.d.ts +11 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/ContestSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/MyOpportunities.d.ts +8 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/MyOpportunities.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/OpportunityDetailModal.d.ts +14 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/OpportunityDetailModal.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/OpportunityHistory.d.ts +9 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/OpportunityHistory.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/PartnerCredentials.d.ts +10 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/PartnerCredentials.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/PlacedOpportunityModal.d.ts +11 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/PlacedOpportunityModal.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/AutoFillView.d.ts +4 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/AutoFillView.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/ConfigManager.d.ts +4 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/ConfigManager.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/JobManager.d.ts +4 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/JobManager.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueContests.d.ts +7 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueContests.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueInfo.d.ts +6 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueInfo.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueParticipants.d.ts +6 -0
- package/lib/typescript/lib/commonjs/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/index.d.ts +8 -0
- package/lib/typescript/lib/commonjs/BetRouter/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.d.ts +9 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/DesktopLayout.d.ts +20 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/DesktopLayout.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/MobileAdminLayout.d.ts +9 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/MobileLayout.d.ts +20 -0
- package/lib/typescript/lib/commonjs/BetRouter/layouts/MobileLayout.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/accounts.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/accounts.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/api-contracts.d.ts +743 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/api-contracts.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/config.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/config.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/contests.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/contests.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/credentials.d.ts +56 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/credentials.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/jobs.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/jobs.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/leagues.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/leagues.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/liquidity.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/liquidity.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/markets.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/markets.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/opportunities.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/opportunities.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/orders.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/orders.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/participants.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/participants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/partners.d.ts +2 -0
- package/lib/typescript/lib/commonjs/BetRouter/types/partners.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/adapters/TradeChartAdapter.d.ts +87 -0
- package/lib/typescript/lib/commonjs/Charts/adapters/TradeChartAdapter.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/components/BaseLineChart.d.ts +31 -0
- package/lib/typescript/lib/commonjs/Charts/components/BaseLineChart.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/components/LivePriceChart.d.ts +45 -0
- package/lib/typescript/lib/commonjs/Charts/components/LivePriceChart.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/index.d.ts +95 -0
- package/lib/typescript/lib/commonjs/Charts/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/themes/chartTheme.d.ts +106 -0
- package/lib/typescript/lib/commonjs/Charts/themes/chartTheme.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/Charts/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Charts/utils/formatters.d.ts +24 -0
- package/lib/typescript/lib/commonjs/Charts/utils/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Components/Dropdown.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Icons.d.ts +5 -0
- package/lib/typescript/lib/commonjs/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/api/index.d.ts +108 -0
- package/lib/typescript/lib/module/BetRouter/api/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/api/types.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/api/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/AccountManager.d.ts +16 -0
- package/lib/typescript/lib/module/BetRouter/components/AccountManager.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/AdminPortal.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/components/AdminPortal.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/BuyOpportunities.d.ts +16 -0
- package/lib/typescript/lib/module/BetRouter/components/BuyOpportunities.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/BuyOpportunityCard.d.ts +14 -0
- package/lib/typescript/lib/module/BetRouter/components/BuyOpportunityCard.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/ContestLiquidity.d.ts +11 -0
- package/lib/typescript/lib/module/BetRouter/components/ContestLiquidity.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/ContestSelector.d.ts +11 -0
- package/lib/typescript/lib/module/BetRouter/components/ContestSelector.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/MyOpportunities.d.ts +8 -0
- package/lib/typescript/lib/module/BetRouter/components/MyOpportunities.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/OpportunityDetailModal.d.ts +15 -0
- package/lib/typescript/lib/module/BetRouter/components/OpportunityDetailModal.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/OpportunityHistory.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/components/OpportunityHistory.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/PartnerCredentials.d.ts +11 -0
- package/lib/typescript/lib/module/BetRouter/components/PartnerCredentials.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/PlacedOpportunityModal.d.ts +12 -0
- package/lib/typescript/lib/module/BetRouter/components/PlacedOpportunityModal.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/AutoFillView.d.ts +4 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/AutoFillView.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/ConfigManager.d.ts +4 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/ConfigManager.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/JobManager.d.ts +4 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/JobManager.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueInfo.d.ts +6 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueInfo.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts +8 -0
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/index.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/layouts/DesktopAdminLayout.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/layouts/DesktopLayout.d.ts +20 -0
- package/lib/typescript/lib/module/BetRouter/layouts/DesktopLayout.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/layouts/MobileAdminLayout.d.ts +9 -0
- package/lib/typescript/lib/module/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/layouts/MobileLayout.d.ts +20 -0
- package/lib/typescript/lib/module/BetRouter/layouts/MobileLayout.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/accounts.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/accounts.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/api-contracts.d.ts +742 -0
- package/lib/typescript/lib/module/BetRouter/types/api-contracts.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/config.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/config.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/contests.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/contests.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/credentials.d.ts +55 -0
- package/lib/typescript/lib/module/BetRouter/types/credentials.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/index.d.ts +14 -0
- package/lib/typescript/lib/module/BetRouter/types/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/jobs.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/jobs.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/leagues.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/leagues.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/liquidity.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/liquidity.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/markets.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/markets.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/opportunities.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/opportunities.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/orders.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/orders.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/participants.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/participants.d.ts.map +1 -0
- package/lib/typescript/lib/module/BetRouter/types/partners.d.ts +2 -0
- package/lib/typescript/lib/module/BetRouter/types/partners.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/adapters/TradeChartAdapter.d.ts +81 -0
- package/lib/typescript/lib/module/Charts/adapters/TradeChartAdapter.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/components/BaseLineChart.d.ts +31 -0
- package/lib/typescript/lib/module/Charts/components/BaseLineChart.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/components/LivePriceChart.d.ts +41 -0
- package/lib/typescript/lib/module/Charts/components/LivePriceChart.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/index.d.ts +6 -0
- package/lib/typescript/lib/module/Charts/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/themes/chartTheme.d.ts +102 -0
- package/lib/typescript/lib/module/Charts/themes/chartTheme.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/types.d.ts +2 -0
- package/lib/typescript/lib/module/Charts/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/Charts/utils/formatters.d.ts +14 -0
- package/lib/typescript/lib/module/Charts/utils/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/module/Components/Dropdown.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Icons.d.ts +5 -0
- package/lib/typescript/lib/module/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/index.d.ts +1 -0
- package/lib/typescript/lib/module/Components/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts +3 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/src/BetRouter/api/index.d.ts +115 -0
- package/lib/typescript/src/BetRouter/api/index.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/api/types.d.ts +2 -0
- package/lib/typescript/src/BetRouter/api/types.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/AccountManager.d.ts +18 -0
- package/lib/typescript/src/BetRouter/components/AccountManager.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/AdminPortal.d.ts +15 -0
- package/lib/typescript/src/BetRouter/components/AdminPortal.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/BuyOpportunities.d.ts +24 -0
- package/lib/typescript/src/BetRouter/components/BuyOpportunities.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/BuyOpportunityCard.d.ts +19 -0
- package/lib/typescript/src/BetRouter/components/BuyOpportunityCard.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/ContestLiquidity.d.ts +15 -0
- package/lib/typescript/src/BetRouter/components/ContestLiquidity.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/ContestSelector.d.ts +13 -0
- package/lib/typescript/src/BetRouter/components/ContestSelector.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/MyOpportunities.d.ts +16 -0
- package/lib/typescript/src/BetRouter/components/MyOpportunities.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/OpportunityDetailModal.d.ts +21 -0
- package/lib/typescript/src/BetRouter/components/OpportunityDetailModal.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/OpportunityHistory.d.ts +20 -0
- package/lib/typescript/src/BetRouter/components/OpportunityHistory.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/PartnerCredentials.d.ts +12 -0
- package/lib/typescript/src/BetRouter/components/PartnerCredentials.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/PlacedOpportunityModal.d.ts +18 -0
- package/lib/typescript/src/BetRouter/components/PlacedOpportunityModal.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/AutoFillView.d.ts +4 -0
- package/lib/typescript/src/BetRouter/components/admin/AutoFillView.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/ConfigManager.d.ts +4 -0
- package/lib/typescript/src/BetRouter/components/admin/ConfigManager.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/JobManager.d.ts +4 -0
- package/lib/typescript/src/BetRouter/components/admin/JobManager.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueContests.d.ts +9 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueContests.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueInfo.d.ts +8 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueInfo.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueParticipants.d.ts +8 -0
- package/lib/typescript/src/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/index.d.ts +16 -0
- package/lib/typescript/src/BetRouter/index.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/layouts/DesktopAdminLayout.d.ts +15 -0
- package/lib/typescript/src/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/layouts/DesktopLayout.d.ts +44 -0
- package/lib/typescript/src/BetRouter/layouts/DesktopLayout.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/layouts/MobileAdminLayout.d.ts +15 -0
- package/lib/typescript/src/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/layouts/MobileLayout.d.ts +44 -0
- package/lib/typescript/src/BetRouter/layouts/MobileLayout.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/accounts.d.ts +19 -0
- package/lib/typescript/src/BetRouter/types/accounts.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/api-contracts.d.ts +1071 -0
- package/lib/typescript/src/BetRouter/types/api-contracts.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/config.d.ts +12 -0
- package/lib/typescript/src/BetRouter/types/config.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/contests.d.ts +34 -0
- package/lib/typescript/src/BetRouter/types/contests.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/credentials.d.ts +24 -0
- package/lib/typescript/src/BetRouter/types/credentials.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/index.d.ts +14 -0
- package/lib/typescript/src/BetRouter/types/index.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/jobs.d.ts +35 -0
- package/lib/typescript/src/BetRouter/types/jobs.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/leagues.d.ts +26 -0
- package/lib/typescript/src/BetRouter/types/leagues.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/liquidity.d.ts +14 -0
- package/lib/typescript/src/BetRouter/types/liquidity.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/markets.d.ts +87 -0
- package/lib/typescript/src/BetRouter/types/markets.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/opportunities.d.ts +88 -0
- package/lib/typescript/src/BetRouter/types/opportunities.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/orders.d.ts +34 -0
- package/lib/typescript/src/BetRouter/types/orders.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/participants.d.ts +33 -0
- package/lib/typescript/src/BetRouter/types/participants.d.ts.map +1 -0
- package/lib/typescript/src/BetRouter/types/partners.d.ts +11 -0
- package/lib/typescript/src/BetRouter/types/partners.d.ts.map +1 -0
- package/lib/typescript/src/Charts/adapters/TradeChartAdapter.d.ts +117 -0
- package/lib/typescript/src/Charts/adapters/TradeChartAdapter.d.ts.map +1 -0
- package/lib/typescript/src/Charts/components/BaseLineChart.d.ts +40 -0
- package/lib/typescript/src/Charts/components/BaseLineChart.d.ts.map +1 -0
- package/lib/typescript/src/Charts/components/LivePriceChart.d.ts +13 -0
- package/lib/typescript/src/Charts/components/LivePriceChart.d.ts.map +1 -0
- package/lib/typescript/src/Charts/index.d.ts +28 -0
- package/lib/typescript/src/Charts/index.d.ts.map +1 -0
- package/lib/typescript/src/Charts/themes/chartTheme.d.ts +78 -0
- package/lib/typescript/src/Charts/themes/chartTheme.d.ts.map +1 -0
- package/lib/typescript/src/Charts/types.d.ts +155 -0
- package/lib/typescript/src/Charts/types.d.ts.map +1 -0
- package/lib/typescript/src/Charts/utils/formatters.d.ts +66 -0
- package/lib/typescript/src/Charts/utils/formatters.d.ts.map +1 -0
- package/lib/typescript/src/Components/Dropdown.d.ts.map +1 -1
- package/lib/typescript/src/Components/Icons.d.ts +1 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/index.d.ts +1 -0
- package/lib/typescript/src/Components/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/ApiOverrides/index.ts +4 -0
- package/src/BetRouter/api/index.ts +854 -0
- package/src/BetRouter/api/types.ts +0 -0
- package/src/BetRouter/components/AccountManager.tsx +533 -0
- package/src/BetRouter/components/AdminPortal.tsx +44 -0
- package/src/BetRouter/components/BuyOpportunities.tsx +491 -0
- package/src/BetRouter/components/BuyOpportunityCard.tsx +331 -0
- package/src/BetRouter/components/ContestLiquidity.tsx +613 -0
- package/src/BetRouter/components/ContestSelector.tsx +179 -0
- package/src/BetRouter/components/MyOpportunities.tsx +279 -0
- package/src/BetRouter/components/MyOpportunities.tsx.bak +440 -0
- package/src/BetRouter/components/OpportunityDetailModal.tsx +360 -0
- package/src/BetRouter/components/OpportunityHistory.tsx +408 -0
- package/src/BetRouter/components/PartnerCredentials.tsx +212 -0
- package/src/BetRouter/components/PlacedOpportunityModal.tsx +192 -0
- package/src/BetRouter/components/admin/AutoFillView.tsx +275 -0
- package/src/BetRouter/components/admin/ConfigManager.tsx +596 -0
- package/src/BetRouter/components/admin/JobManager.tsx +758 -0
- package/src/BetRouter/components/admin/LeagueContests.tsx +2443 -0
- package/src/BetRouter/components/admin/LeagueInfo.tsx +253 -0
- package/src/BetRouter/components/admin/LeagueParticipants.tsx +662 -0
- package/src/BetRouter/index.tsx +453 -0
- package/src/BetRouter/layouts/DesktopAdminLayout.tsx +348 -0
- package/src/BetRouter/layouts/DesktopLayout.tsx +292 -0
- package/src/BetRouter/layouts/MobileAdminLayout.tsx +387 -0
- package/src/BetRouter/layouts/MobileLayout.tsx +325 -0
- package/src/BetRouter/types/ADMIN_PORTAL.md +863 -0
- package/src/BetRouter/types/ADMIN_PORTAL_SIMPLIFIED.md +1881 -0
- package/src/BetRouter/types/CREDENTIALS_EXAMPLE.md +350 -0
- package/src/BetRouter/types/LIQUIDITY_CLIENT_GUIDE.md +399 -0
- package/src/BetRouter/types/MARKET_LINKING_WORKFLOW.md +682 -0
- package/src/BetRouter/types/MARKET_LINKING_WORKFLOW_V2.md +627 -0
- package/src/BetRouter/types/README.md +249 -0
- package/src/BetRouter/types/accounts.ts +21 -0
- package/src/BetRouter/types/api-contracts.ts +1164 -0
- package/src/BetRouter/types/config.ts +12 -0
- package/src/BetRouter/types/contests.ts +37 -0
- package/src/BetRouter/types/credentials.ts +99 -0
- package/src/BetRouter/types/index.ts +16 -0
- package/src/BetRouter/types/jobs.ts +37 -0
- package/src/BetRouter/types/leagues.ts +29 -0
- package/src/BetRouter/types/liquidity.ts +15 -0
- package/src/BetRouter/types/markets.ts +94 -0
- package/src/BetRouter/types/opportunities.ts +107 -0
- package/src/BetRouter/types/orders.ts +51 -0
- package/src/BetRouter/types/participants.ts +34 -0
- package/src/BetRouter/types/partners.ts +10 -0
- package/src/Charts/README.md +310 -0
- package/src/Charts/adapters/TradeChartAdapter.ts +471 -0
- package/src/Charts/components/BaseLineChart.tsx +311 -0
- package/src/Charts/components/LivePriceChart.tsx +527 -0
- package/src/Charts/index.tsx +62 -0
- package/src/Charts/themes/chartTheme.ts +113 -0
- package/src/Charts/types.ts +160 -0
- package/src/Charts/utils/formatters.ts +182 -0
- package/src/Components/Dropdown.tsx +6 -3
- package/src/Components/Icons.tsx +12 -0
- package/src/Components/index.tsx +4 -0
- package/src/index.tsx +6 -0
- package/src/types.d.ts +410 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base Line Chart Component
|
|
3
|
+
* Cross-platform wrapper for gifted-charts
|
|
4
|
+
* Works on React Native (iOS/Android) and Web
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { TimeSeriesData } from '../types';
|
|
8
|
+
export interface BaseLineChartProps {
|
|
9
|
+
data: TimeSeriesData[];
|
|
10
|
+
height?: number;
|
|
11
|
+
width?: number;
|
|
12
|
+
spacing?: number;
|
|
13
|
+
yAxisPrefix?: string;
|
|
14
|
+
yAxisSuffix?: string;
|
|
15
|
+
yAxisLabelCount?: number;
|
|
16
|
+
xAxisLabelCount?: number;
|
|
17
|
+
showYAxis?: boolean;
|
|
18
|
+
showXAxis?: boolean;
|
|
19
|
+
yAxisColor?: string;
|
|
20
|
+
xAxisColor?: string;
|
|
21
|
+
yAxisThickness?: number;
|
|
22
|
+
xAxisThickness?: number;
|
|
23
|
+
yAxisTextColor?: string;
|
|
24
|
+
xAxisTextColor?: string;
|
|
25
|
+
gridColor?: string;
|
|
26
|
+
showGrid?: boolean;
|
|
27
|
+
yMin?: number;
|
|
28
|
+
yMax?: number;
|
|
29
|
+
backgroundColor?: string;
|
|
30
|
+
showLegend?: boolean;
|
|
31
|
+
animated?: boolean;
|
|
32
|
+
onDataPointClick?: (item: any, index: number) => void;
|
|
33
|
+
hideDataPointText?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* BaseLineChart - Cross-platform line chart wrapper
|
|
37
|
+
*/
|
|
38
|
+
declare const BaseLineChart: React.FC<BaseLineChartProps>;
|
|
39
|
+
export default BaseLineChart;
|
|
40
|
+
//# sourceMappingURL=BaseLineChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseLineChart.d.ts","sourceRoot":"","sources":["../../../../../src/Charts/components/BaseLineChart.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAQ/C,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoQ/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Live Price Chart Component
|
|
3
|
+
* Shows away/home side prices moving over time with live updates
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { LivePriceChartProps } from '../types';
|
|
7
|
+
/**
|
|
8
|
+
* LivePriceChart
|
|
9
|
+
* Beautiful real-time price chart showing away vs home odds movement
|
|
10
|
+
*/
|
|
11
|
+
declare const LivePriceChart: React.FC<LivePriceChartProps>;
|
|
12
|
+
export default LivePriceChart;
|
|
13
|
+
//# sourceMappingURL=LivePriceChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LivePriceChart.d.ts","sourceRoot":"","sources":["../../../../../src/Charts/components/LivePriceChart.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,KAAK,EAAE,mBAAmB,EAAyB,MAAM,UAAU,CAAC;AAI3E;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuZjD,CAAC;AAqGF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BettorEdge Charts Library
|
|
3
|
+
* Beautiful, cross-platform charts for React Native and Web
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import { LivePriceChart, TradeChartAdapter } from './Charts';
|
|
8
|
+
*
|
|
9
|
+
* // Convert your trades to chart data
|
|
10
|
+
* const chartData = TradeChartAdapter.toTimeSeriesData(trades);
|
|
11
|
+
*
|
|
12
|
+
* // Render the chart
|
|
13
|
+
* <LivePriceChart
|
|
14
|
+
* data={chartData}
|
|
15
|
+
* height={300}
|
|
16
|
+
* animated={true}
|
|
17
|
+
* showTooltip={true}
|
|
18
|
+
* />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export { default as LivePriceChart } from './components/LivePriceChart';
|
|
22
|
+
export { default as BaseLineChart } from './components/BaseLineChart';
|
|
23
|
+
export { TradeChartAdapter } from './adapters/TradeChartAdapter';
|
|
24
|
+
export type { Trade, TradeChartOptions, SideLabel, TimeRangeFilter } from './adapters/TradeChartAdapter';
|
|
25
|
+
export type { TimeSeriesPoint, TimeSeriesData, LivePriceChartProps, ChartTheme, TooltipConfig, TimeRangeFilterOption, } from './types';
|
|
26
|
+
export { defaultChartTheme, darkChartTheme, gradients, lineChartStyles, getAwayHomeGradients, chartDimensions, } from './themes/chartTheme';
|
|
27
|
+
export { formatTime, formatDate, formatPrice, formatCurrency, formatPercentage, formatROI, getSmartTimeLabel, formatLargeNumber, calculateNiceYBounds, generateYAxisLabels, } from './utils/formatters';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Charts/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAGzG,YAAY,EACR,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,qBAAqB,GACxB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACH,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,eAAe,EACf,oBAAoB,EACpB,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,GACtB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart Theme Configuration
|
|
3
|
+
* Beautiful color schemes and styling for charts
|
|
4
|
+
*/
|
|
5
|
+
import type { ChartTheme } from '../types';
|
|
6
|
+
/**
|
|
7
|
+
* Default chart theme with stunning gradients
|
|
8
|
+
*/
|
|
9
|
+
export declare const defaultChartTheme: ChartTheme;
|
|
10
|
+
/**
|
|
11
|
+
* Dark theme variant
|
|
12
|
+
*/
|
|
13
|
+
export declare const darkChartTheme: ChartTheme;
|
|
14
|
+
/**
|
|
15
|
+
* Gradient configurations for stunning visuals
|
|
16
|
+
*/
|
|
17
|
+
export declare const gradients: {
|
|
18
|
+
away: string[];
|
|
19
|
+
home: string[];
|
|
20
|
+
profit: string[];
|
|
21
|
+
loss: string[];
|
|
22
|
+
neutral: string[];
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Line chart styling presets
|
|
26
|
+
*/
|
|
27
|
+
export declare const lineChartStyles: {
|
|
28
|
+
default: {
|
|
29
|
+
thickness: number;
|
|
30
|
+
curved: boolean;
|
|
31
|
+
showDataPoints: boolean;
|
|
32
|
+
animationDuration: number;
|
|
33
|
+
};
|
|
34
|
+
bold: {
|
|
35
|
+
thickness: number;
|
|
36
|
+
curved: boolean;
|
|
37
|
+
showDataPoints: boolean;
|
|
38
|
+
animationDuration: number;
|
|
39
|
+
};
|
|
40
|
+
minimal: {
|
|
41
|
+
thickness: number;
|
|
42
|
+
curved: boolean;
|
|
43
|
+
showDataPoints: boolean;
|
|
44
|
+
animationDuration: number;
|
|
45
|
+
};
|
|
46
|
+
dots: {
|
|
47
|
+
thickness: number;
|
|
48
|
+
curved: boolean;
|
|
49
|
+
showDataPoints: boolean;
|
|
50
|
+
animationDuration: number;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Get away/home gradient colors
|
|
55
|
+
*/
|
|
56
|
+
export declare const getAwayHomeGradients: () => {
|
|
57
|
+
away: {
|
|
58
|
+
color: string;
|
|
59
|
+
gradient: boolean;
|
|
60
|
+
gradientColors: [string, string];
|
|
61
|
+
};
|
|
62
|
+
home: {
|
|
63
|
+
color: string;
|
|
64
|
+
gradient: boolean;
|
|
65
|
+
gradientColors: [string, string];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Chart spacing and dimensions
|
|
70
|
+
*/
|
|
71
|
+
export declare const chartDimensions: {
|
|
72
|
+
defaultHeight: number;
|
|
73
|
+
mobileHeight: number;
|
|
74
|
+
defaultSpacing: number;
|
|
75
|
+
xAxisLabelCount: number;
|
|
76
|
+
yAxisLabelCount: number;
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=chartTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chartTheme.d.ts","sourceRoot":"","sources":["../../../../../src/Charts/themes/chartTheme.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAgB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,UAa5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAyB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;wBAIS,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;wBAKhB,CAAC,MAAM,EAAE,MAAM,CAAC;;CAExD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart Type Definitions
|
|
3
|
+
* Generic data structures for all chart components
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Single data point in a time series
|
|
7
|
+
*/
|
|
8
|
+
export interface TimeSeriesPoint {
|
|
9
|
+
/** Unix timestamp in milliseconds */
|
|
10
|
+
timestamp: number;
|
|
11
|
+
/** Numeric value (e.g., price, count, percentage) */
|
|
12
|
+
value: number;
|
|
13
|
+
/** Optional label for display (e.g., "3:45 PM", "Jan 15") */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** Optional metadata for tooltips or click handlers */
|
|
16
|
+
metadata?: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A complete time series with styling
|
|
20
|
+
*/
|
|
21
|
+
export interface TimeSeriesData {
|
|
22
|
+
/** Series identifier (e.g., "Away", "Home", "ROI") */
|
|
23
|
+
series: string;
|
|
24
|
+
/** Line/bar color (hex or rgba) */
|
|
25
|
+
color: string;
|
|
26
|
+
/** Array of data points */
|
|
27
|
+
data: TimeSeriesPoint[];
|
|
28
|
+
/** Enable gradient fill under line */
|
|
29
|
+
gradient?: boolean;
|
|
30
|
+
/** Gradient colors [start, end] */
|
|
31
|
+
gradientColors?: [string, string];
|
|
32
|
+
/** Line thickness */
|
|
33
|
+
thickness?: number;
|
|
34
|
+
/** Show dots on data points */
|
|
35
|
+
showDataPoints?: boolean;
|
|
36
|
+
/** Curve the line (vs straight segments) */
|
|
37
|
+
curved?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Time range filter options
|
|
41
|
+
*/
|
|
42
|
+
export type TimeRangeFilterOption = 'today' | 'last_24h' | 'last_week' | 'last_month' | 'all_time';
|
|
43
|
+
/**
|
|
44
|
+
* Props for LivePriceChart component
|
|
45
|
+
*/
|
|
46
|
+
export interface LivePriceChartProps {
|
|
47
|
+
/** Array of time series to display */
|
|
48
|
+
data: TimeSeriesData[];
|
|
49
|
+
/** Chart height in pixels */
|
|
50
|
+
height?: number;
|
|
51
|
+
/** Chart width in pixels (undefined = full width) */
|
|
52
|
+
width?: number;
|
|
53
|
+
/** Enable animations on mount and updates */
|
|
54
|
+
animated?: boolean;
|
|
55
|
+
/** Show interactive tooltips on press/hover */
|
|
56
|
+
showTooltip?: boolean;
|
|
57
|
+
/** Show legend */
|
|
58
|
+
showLegend?: boolean;
|
|
59
|
+
/** Legend position: 'top' (default) or 'inline' (attached to last data point) */
|
|
60
|
+
legendPosition?: 'top' | 'inline';
|
|
61
|
+
/** Show time filter buttons */
|
|
62
|
+
showTimeFilter?: boolean;
|
|
63
|
+
/** Initial time filter selection */
|
|
64
|
+
initialTimeFilter?: TimeRangeFilterOption;
|
|
65
|
+
/** Y-axis label prefix (e.g., "$") */
|
|
66
|
+
yAxisPrefix?: string;
|
|
67
|
+
/** Y-axis label suffix (e.g., "%") */
|
|
68
|
+
yAxisSuffix?: string;
|
|
69
|
+
/** Number of Y-axis labels */
|
|
70
|
+
yAxisLabelCount?: number;
|
|
71
|
+
/** Number of X-axis labels */
|
|
72
|
+
xAxisLabelCount?: number;
|
|
73
|
+
/** Show Y-axis */
|
|
74
|
+
showYAxis?: boolean;
|
|
75
|
+
/** Show X-axis */
|
|
76
|
+
showXAxis?: boolean;
|
|
77
|
+
/** Y-axis color */
|
|
78
|
+
yAxisColor?: string;
|
|
79
|
+
/** X-axis color */
|
|
80
|
+
xAxisColor?: string;
|
|
81
|
+
/** Y-axis thickness */
|
|
82
|
+
yAxisThickness?: number;
|
|
83
|
+
/** X-axis thickness */
|
|
84
|
+
xAxisThickness?: number;
|
|
85
|
+
/** Y-axis text color */
|
|
86
|
+
yAxisTextColor?: string;
|
|
87
|
+
/** X-axis text color */
|
|
88
|
+
xAxisTextColor?: string;
|
|
89
|
+
/** Grid line color */
|
|
90
|
+
gridColor?: string;
|
|
91
|
+
/** Show grid lines */
|
|
92
|
+
showGrid?: boolean;
|
|
93
|
+
/** Time range filter */
|
|
94
|
+
timeRange?: {
|
|
95
|
+
start: number;
|
|
96
|
+
end: number;
|
|
97
|
+
};
|
|
98
|
+
/** Callback when user presses a data point */
|
|
99
|
+
onPointPress?: (point: TimeSeriesPoint, series: string) => void;
|
|
100
|
+
/** Minimum Y value (auto-calculated if not provided) */
|
|
101
|
+
yMin?: number;
|
|
102
|
+
/** Maximum Y value (auto-calculated if not provided) */
|
|
103
|
+
yMax?: number;
|
|
104
|
+
/** Use fixed Y-axis range (yMin and yMax) instead of auto-calculating from data */
|
|
105
|
+
useFixedYRange?: boolean;
|
|
106
|
+
/** Spacing between data points */
|
|
107
|
+
spacing?: number;
|
|
108
|
+
/** Background color */
|
|
109
|
+
backgroundColor?: string;
|
|
110
|
+
/** Display values as percentages (multiply by 100, add % suffix, scale 0-100) */
|
|
111
|
+
displayAsPercentage?: boolean;
|
|
112
|
+
/** Hide the data point text label on the last point */
|
|
113
|
+
hideDataPointText?: boolean;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Chart theme colors
|
|
117
|
+
*/
|
|
118
|
+
export interface ChartTheme {
|
|
119
|
+
/** Primary line color */
|
|
120
|
+
primary: string;
|
|
121
|
+
/** Secondary line color */
|
|
122
|
+
secondary: string;
|
|
123
|
+
/** Success/positive color */
|
|
124
|
+
success: string;
|
|
125
|
+
/** Error/negative color */
|
|
126
|
+
error: string;
|
|
127
|
+
/** Warning color */
|
|
128
|
+
warning: string;
|
|
129
|
+
/** Text color */
|
|
130
|
+
text: string;
|
|
131
|
+
/** Background color */
|
|
132
|
+
background: string;
|
|
133
|
+
/** Grid line color */
|
|
134
|
+
grid: string;
|
|
135
|
+
/** Away side color */
|
|
136
|
+
away: string;
|
|
137
|
+
/** Home side color */
|
|
138
|
+
home: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Tooltip configuration
|
|
142
|
+
*/
|
|
143
|
+
export interface TooltipConfig {
|
|
144
|
+
/** Show value in tooltip */
|
|
145
|
+
showValue?: boolean;
|
|
146
|
+
/** Show label in tooltip */
|
|
147
|
+
showLabel?: boolean;
|
|
148
|
+
/** Show series name in tooltip */
|
|
149
|
+
showSeries?: boolean;
|
|
150
|
+
/** Custom formatter for value */
|
|
151
|
+
valueFormatter?: (value: number) => string;
|
|
152
|
+
/** Custom formatter for label */
|
|
153
|
+
labelFormatter?: (label: string, timestamp: number) => string;
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/Charts/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,sDAAsD;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,sCAAsC;IACtC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CA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|
1
|
+
/**
|
|
2
|
+
* Formatting utilities for chart labels and tooltips
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Format Unix timestamp to time string
|
|
6
|
+
* @param timestamp Unix timestamp in milliseconds
|
|
7
|
+
* @param format 'short' | 'medium' | 'long'
|
|
8
|
+
* @returns Formatted time string
|
|
9
|
+
*/
|
|
10
|
+
export declare const formatTime: (timestamp: number, format?: "short" | "medium" | "long") => string;
|
|
11
|
+
/**
|
|
12
|
+
* Format Unix timestamp to date string
|
|
13
|
+
* @param timestamp Unix timestamp in milliseconds
|
|
14
|
+
* @param format 'short' | 'medium' | 'long'
|
|
15
|
+
* @returns Formatted date string
|
|
16
|
+
*/
|
|
17
|
+
export declare const formatDate: (timestamp: number, format?: "short" | "medium" | "long") => string;
|
|
18
|
+
/**
|
|
19
|
+
* Format price/odds value
|
|
20
|
+
* @param value Numeric value
|
|
21
|
+
* @param decimals Number of decimal places
|
|
22
|
+
* @returns Formatted price string
|
|
23
|
+
*/
|
|
24
|
+
export declare const formatPrice: (value: number, decimals?: number) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Format currency value
|
|
27
|
+
* @param value Numeric value
|
|
28
|
+
* @param currency Currency symbol (default: $)
|
|
29
|
+
* @returns Formatted currency string
|
|
30
|
+
*/
|
|
31
|
+
export declare const formatCurrency: (value: number, currency?: string) => string;
|
|
32
|
+
/**
|
|
33
|
+
* Format percentage value
|
|
34
|
+
* @param value Numeric value (e.g., 0.45 or 45)
|
|
35
|
+
* @param asDecimal Whether value is in decimal form (0.45) vs percentage (45)
|
|
36
|
+
* @returns Formatted percentage string
|
|
37
|
+
*/
|
|
38
|
+
export declare const formatPercentage: (value: number, asDecimal?: boolean) => string;
|
|
39
|
+
/**
|
|
40
|
+
* Format ROI value with + or - prefix
|
|
41
|
+
* @param value ROI value
|
|
42
|
+
* @returns Formatted ROI string
|
|
43
|
+
*/
|
|
44
|
+
export declare const formatROI: (value: number) => string;
|
|
45
|
+
/**
|
|
46
|
+
* Smart time label based on data range
|
|
47
|
+
* Automatically chooses appropriate format based on time span
|
|
48
|
+
*/
|
|
49
|
+
export declare const getSmartTimeLabel: (timestamp: number, minTime: number, maxTime: number) => string;
|
|
50
|
+
/**
|
|
51
|
+
* Format large numbers with K/M suffix
|
|
52
|
+
*/
|
|
53
|
+
export declare const formatLargeNumber: (value: number, decimals?: number) => string;
|
|
54
|
+
/**
|
|
55
|
+
* Calculate nice Y-axis bounds
|
|
56
|
+
* Finds clean min/max values for Y-axis
|
|
57
|
+
*/
|
|
58
|
+
export declare const calculateNiceYBounds: (values: number[]) => {
|
|
59
|
+
min: number;
|
|
60
|
+
max: number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Generate evenly spaced Y-axis labels
|
|
64
|
+
*/
|
|
65
|
+
export declare const generateYAxisLabels: (min: number, max: number, count?: number) => number[];
|
|
66
|
+
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../../src/Charts/utils/formatters.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,MAAM,EAAE,SAAQ,OAAO,GAAG,QAAQ,GAAG,MAAgB,KAAG,MAoB7F,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,MAAM,EAAE,SAAQ,OAAO,GAAG,QAAQ,GAAG,MAAiB,KAAG,MAmB9F,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,WAAU,MAAU,KAAG,MAEjE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,WAAU,MAAY,KAAG,MAWtE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,EAAE,YAAW,OAAe,KAAG,MAG5E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,KAAG,MAGzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,SAAS,MAAM,KAAG,MAmBvF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,EAAE,WAAU,MAAU,KAAG,MAWvE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,EAAE,KAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAajF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,QAAO,MAAU,KAAG,MAAM,EASvF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/Components/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAMvC,KAAK,aAAa,GAAG;IACjB,cAAc,EAAC,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,EAAE,CAAC;IACjB,gBAAgB,EAAE;QAAE,KAAK,EAAC,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;IAChE,SAAS,CAAC,EAAC,OAAO,CAAA;IAClB,cAAc,EAAE,CAAC,MAAM,EAAC,MAAM,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,QAAQ,GAAI,kFAAiF,aAAa,
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/Components/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAMvC,KAAK,aAAa,GAAG;IACjB,cAAc,EAAC,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,EAAE,CAAC;IACjB,gBAAgB,EAAE;QAAE,KAAK,EAAC,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;IAChE,SAAS,CAAC,EAAC,OAAO,CAAA;IAClB,cAAc,EAAE,CAAC,MAAM,EAAC,MAAM,KAAK,IAAI,CAAA;CAC1C,CAAA;AACD,QAAA,MAAM,QAAQ,GAAI,kFAAiF,aAAa,sBAiE/G,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -14,6 +14,7 @@ declare const _default: {
|
|
|
14
14
|
SearchIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
15
15
|
LiquidityIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
16
16
|
EyeOnIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
17
|
+
TargetIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
17
18
|
MarketClosedIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
18
19
|
AlertIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
19
20
|
GolferIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/Components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,SAAS,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;CACxC,CAAA;AAk5BD,KAAK,gBAAgB,GAAG,SAAS,GAAG;IAChC,Y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jB,SAAS;gCAZX,SAAS;uCAhkCA,SAAS;oCA0tCV,SAAS;iCAjPZ,SAAS;mCA76BT,SAAS;kCAwWZ,SAAS;mDA/QU,SAAS;iCAq0B1B,SAAS;gCAlBT,SAAS;2CA3BC,SAAS;kCAhBlB,SAAS;gCAtjBd,SAAS;4BAs4BV,SAAS;oCAhWD,SAAS;mCA5CV,SAAS;oCAn0BX,SAAS;uCAkzBH,SAAS;6BA1sBpB,SAAS;sCA8qBE,SAAS;0BA5dvB,SAAS;oCAi0BG,SAAS;2BAhXlB,SAAS;iCAhuBL,SAAS;8CAopBM,SAAS;oCAhOrB,SAAS;uCA6ML,SAAS;8BA6qBlB,SAAS;sCA32BF,SAAS;oCA5BX,SAAS;oCA+LR,SAAS;uCAhBN,SAAS;8BA1BlB,SAAS;sCAdD,SAAS;kCAdb,SAAS;oCAhBP,SAAS;6BAlejB,SAAS;mCAxGH,SAAS;kCA0hBT,SAAS;+BAxFZ,SAAS;iCA2ER,SAAS;kCA3GT,SAAS;qCA6CL,SAAS;iCAjPb,SAAS;gCAysCV,SAAS;6BA3oCZ,SAAS;uCA83BC,SAAS;iCAz9Bf,SAAS;uCA0KH,SAAS;gCAhShB,SAAS;iCAeR,SAAS;kCA6wBR,gBAAgB;qCAvef,SAAS;6BA1If,SAAS;mCArRL,SAAS;+BAwSX,SAAS;oDAzDY,SAAS;;AAy1C/D,wBAiGC"}
|
|
@@ -18,5 +18,6 @@ import PlayerLozenge from './PlayerLozenge';
|
|
|
18
18
|
import AutoPageFlatList from './AutoPageFlatList';
|
|
19
19
|
import CircularFadeOut from './CircularFadeOut';
|
|
20
20
|
import SearchBox from './SearchBox';
|
|
21
|
+
export * from '../Charts';
|
|
21
22
|
export { Button, Text, Spring, AutoScrollingFlatList, CircularFadeOut, AutoPageFlatList, Switch, SearchBox, MarketLozenge, TextInput, PlayerLozenge, AthleteLozenge, ProgressBar, Checkbox, Toggle, Icons, LeagueLozenge, PremiumIcons, ConfirmationModal, LinearDiagnal };
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,qBAAqB,MAAM,sBAAsB,CAAC;AACzD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,qBAAqB,MAAM,sBAAsB,CAAC;AACzD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,SAAS,MAAM,aAAa,CAAC;AAGpC,cAAc,WAAW,CAAC;AAE1B,OAAO,EACH,MAAM,EACN,IAAI,EACJ,MAAM,EACN,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,SAAS,EACT,aAAa,EACb,cAAc,EACd,WAAW,EACX,QAAQ,EACR,MAAM,EACN,KAAK,EACL,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,aAAa,EAChB,CAAA"}
|
|
@@ -70,5 +70,8 @@ import MyAction from './MyAction';
|
|
|
70
70
|
import BettorBotDashboard from './BettorBot';
|
|
71
71
|
import NotificationManager from './NotificationManager';
|
|
72
72
|
import { NotificationApi, NotificationHelpers } from './NotificationManager/api';
|
|
73
|
-
|
|
73
|
+
import BetRouter from './BetRouter/index';
|
|
74
|
+
export { LivePriceChart, BaseLineChart, TradeChartAdapter } from './Charts';
|
|
75
|
+
export type { Trade, TradeChartOptions, TimeSeriesPoint, TimeSeriesData, LivePriceChartProps } from './Charts';
|
|
76
|
+
export { Authenticator, Observer, MyAction, CreateEmbed, ReferralCodeManager, BetRouter, CreateEngagement, DiscordConnectionManager, BEEventApi, FlashCampaignManager, BettorBotDashboard, EmbedManager, RankingsCard, ManageFlashMarket, BELinkApi, PartnerPortal, SquaresManager, GuideView, BetMatch, ManageFilter, Ticker, Premium, CreateGroupWizard, LeaderboardCard, GroupComponent, LocationTracker, BEClarity, FlashMarket, ContactsCard, PlayerRecommender, GolfScoreboard, ContactsSelector, Campaign, BEPostHog, ManageBracketCompetitionForm, NotificationModule, FlashHolder, useNotifications, ClaritySmartEvents, ProfileManager, CompetitionManager, Components, SocialComponents, APIOverrides, LinearGradient, usePlayerLocation, BettorSearch, Colors, MyWallet, Share, Checkout, MarketComponents, EventComponents, PollCampaign, PollCampaignApi, PollApi, MarketMaker, CompetitionModule, SeasonManager, CreateCompetitionForm, CreateSeasonForm, SeasonModule, AdminCompetitionList, AdServer, Leaderboard, AdProvider, BracketRoom, SquaresModule, SocketManager, PromotedOrder, EngageModule, CompetitionCard, SquaresCompetitionCard, BracketCompetitionCard, SeasonCard, NotificationManager, NotificationApi, NotificationHelpers };
|
|
74
77
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,QAAQ,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,QAA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B,QAAQ,EACR,SAAS,EACT,4BAA4B,EAC5B,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EACf,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACpB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "be-components",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.2",
|
|
4
4
|
"description": "Components for BettorEdge Apps",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit",
|
|
33
33
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
34
34
|
"clean": "del-cli lib",
|
|
35
|
-
"prepare": "NODE_OPTIONS='--max-old-space-size=
|
|
35
|
+
"prepare": "NODE_OPTIONS='--max-old-space-size=7500' bob build",
|
|
36
36
|
"release": "release-it"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -210,7 +210,9 @@
|
|
|
210
210
|
"react-datetime-picker": "^6.0.1",
|
|
211
211
|
"react-device-detect": "^2.2.3",
|
|
212
212
|
"react-dom": "19.0.0",
|
|
213
|
+
"react-gifted-charts": "^0.0.12",
|
|
213
214
|
"react-native-base64": "^0.2.1",
|
|
215
|
+
"react-native-gifted-charts": "^1.4.65",
|
|
214
216
|
"react-native-svg": "15.11.2",
|
|
215
217
|
"react-native-uuid": "^2.0.3",
|
|
216
218
|
"react-native-web-linear-gradient": "^1.1.2",
|
|
@@ -16,6 +16,7 @@ const ENVIRONMENT_ENDPOINTS = {
|
|
|
16
16
|
EVENT_SVC_API: 'http://localhost:3002',
|
|
17
17
|
MK_SVC_API:'http://localhost:3001',
|
|
18
18
|
TP_SVC_API: 'http://localhost:3006',
|
|
19
|
+
BR_SVC_API: 'http://localhost:5001',
|
|
19
20
|
SOCIAL_SVC_API: 'http://localhost:3011',
|
|
20
21
|
WALLET_SVC_API: 'http://localhost:3012',
|
|
21
22
|
LOCATION_API: 'AIzaSyAZwcca9MedBHEedDdQmQG3AL9FMUwTvP0',
|
|
@@ -32,6 +33,7 @@ const ENVIRONMENT_ENDPOINTS = {
|
|
|
32
33
|
BOT_SVC_API: 'https://api.bot.bettoredge.com',
|
|
33
34
|
EVENT_SVC_API: 'https://stage-be-sr-svc.herokuapp.com',
|
|
34
35
|
MK_SVC_API:'https://stage-be-mk-svc.herokuapp.com',
|
|
36
|
+
BR_SVC_API: 'http://localhost:5001',
|
|
35
37
|
TP_SVC_API: 'https://stage-be-tp-svc.herokuapp.com',
|
|
36
38
|
SOCIAL_SVC_API: 'https://stage-be-soc-svc.herokuapp.com',
|
|
37
39
|
WALLET_SVC_API: 'https://stage-be-pay-svc.herokuapp.com',
|
|
@@ -48,6 +50,7 @@ const ENVIRONMENT_ENDPOINTS = {
|
|
|
48
50
|
VOUCHED_SANDBOX: false,
|
|
49
51
|
BOT_SVC_API: 'https://api.bot.bettoredge.com',
|
|
50
52
|
EVENT_SVC_API: 'https://api.events.bettoredge.com',
|
|
53
|
+
BR_SVC_API: 'https://bet-router-a021faa960bb.herokuapp.com',
|
|
51
54
|
MK_SVC_API: 'https://api.markets.bettoredge.com',
|
|
52
55
|
TP_SVC_API: 'https://be-tp-svc.herokuapp.com',
|
|
53
56
|
SOCIAL_SVC_API: 'https://api.social.bettoredge.com',
|
|
@@ -60,6 +63,7 @@ const ENVIRONMENT_ENDPOINTS = {
|
|
|
60
63
|
PRODUCTION_PROXY: {
|
|
61
64
|
AUTH_SVC_API: 'https://proxy.bettoredge.com/players',
|
|
62
65
|
CLIENT_API_KEY: 'mlOfTJPp4TdmppP9ajBmMVo2bO50O2G9',
|
|
66
|
+
BR_SVC_API: 'https://bet-router-a021faa960bb.herokuapp.com',
|
|
63
67
|
VOUCH_ID: 'Q3tmJ3r9FnkN*n-MqS-!j0NS*k!mdo',
|
|
64
68
|
VOUCHED_CALLBACK_URL: 'https://be-auth-svc.herokuapp.com/v1/players/vouch/hook',
|
|
65
69
|
VOUCHED_SANDBOX: false,
|