be-components 7.4.7 → 7.5.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/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 +285 -0
- package/lib/commonjs/Charts/components/BaseLineChart.js.map +1 -0
- package/lib/commonjs/Charts/components/LivePriceChart.js +504 -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/LocationTracker/LocationStatus.js +5 -2
- package/lib/commonjs/LocationTracker/LocationStatus.js.map +1 -1
- package/lib/commonjs/LocationTracker/api/index.js +2 -2
- package/lib/commonjs/LocationTracker/api/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 +281 -0
- package/lib/module/Charts/components/BaseLineChart.js.map +1 -0
- package/lib/module/Charts/components/LivePriceChart.js +497 -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/LocationTracker/LocationStatus.js +5 -2
- package/lib/module/LocationTracker/LocationStatus.js.map +1 -1
- package/lib/module/LocationTracker/api/index.js +2 -2
- package/lib/module/LocationTracker/api/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/LocationTracker/LocationStatus.d.ts +2 -1
- package/lib/typescript/lib/commonjs/LocationTracker/LocationStatus.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/LocationTracker/api/index.d.ts +1 -1
- package/lib/typescript/lib/commonjs/LocationTracker/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/index.d.ts +6 -1
- 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/LocationTracker/LocationStatus.d.ts +2 -1
- package/lib/typescript/lib/module/LocationTracker/LocationStatus.d.ts.map +1 -1
- package/lib/typescript/lib/module/LocationTracker/api/index.d.ts +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/LocationTracker/LocationStatus.d.ts +2 -1
- package/lib/typescript/src/LocationTracker/LocationStatus.d.ts.map +1 -1
- package/lib/typescript/src/LocationTracker/api/index.d.ts +3 -1
- package/lib/typescript/src/LocationTracker/api/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 +293 -0
- package/src/Charts/components/LivePriceChart.tsx +521 -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/LocationTracker/LocationStatus.tsx +4 -3
- package/src/LocationTracker/api/index.tsx +2 -2
- package/src/index.tsx +6 -0
- package/src/types.d.ts +410 -2
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart Type Definitions
|
|
3
|
+
* Generic data structures for all chart components
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Single data point in a time series
|
|
8
|
+
*/
|
|
9
|
+
export interface TimeSeriesPoint {
|
|
10
|
+
/** Unix timestamp in milliseconds */
|
|
11
|
+
timestamp: number;
|
|
12
|
+
/** Numeric value (e.g., price, count, percentage) */
|
|
13
|
+
value: number;
|
|
14
|
+
/** Optional label for display (e.g., "3:45 PM", "Jan 15") */
|
|
15
|
+
label?: string;
|
|
16
|
+
/** Optional metadata for tooltips or click handlers */
|
|
17
|
+
metadata?: any;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* A complete time series with styling
|
|
22
|
+
*/
|
|
23
|
+
export interface TimeSeriesData {
|
|
24
|
+
/** Series identifier (e.g., "Away", "Home", "ROI") */
|
|
25
|
+
series: string;
|
|
26
|
+
/** Line/bar color (hex or rgba) */
|
|
27
|
+
color: string;
|
|
28
|
+
/** Array of data points */
|
|
29
|
+
data: TimeSeriesPoint[];
|
|
30
|
+
/** Enable gradient fill under line */
|
|
31
|
+
gradient?: boolean;
|
|
32
|
+
/** Gradient colors [start, end] */
|
|
33
|
+
gradientColors?: [string, string];
|
|
34
|
+
/** Line thickness */
|
|
35
|
+
thickness?: number;
|
|
36
|
+
/** Show dots on data points */
|
|
37
|
+
showDataPoints?: boolean;
|
|
38
|
+
/** Curve the line (vs straight segments) */
|
|
39
|
+
curved?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Time range filter options
|
|
44
|
+
*/
|
|
45
|
+
export type TimeRangeFilterOption = 'today' | 'last_24h' | 'last_week' | 'last_month' | 'all_time';
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Props for LivePriceChart component
|
|
49
|
+
*/
|
|
50
|
+
export interface LivePriceChartProps {
|
|
51
|
+
/** Array of time series to display */
|
|
52
|
+
data: TimeSeriesData[];
|
|
53
|
+
/** Chart height in pixels */
|
|
54
|
+
height?: number;
|
|
55
|
+
/** Chart width in pixels (undefined = full width) */
|
|
56
|
+
width?: number;
|
|
57
|
+
/** Enable animations on mount and updates */
|
|
58
|
+
animated?: boolean;
|
|
59
|
+
/** Show interactive tooltips on press/hover */
|
|
60
|
+
showTooltip?: boolean;
|
|
61
|
+
/** Show legend */
|
|
62
|
+
showLegend?: boolean;
|
|
63
|
+
/** Legend position: 'top' (default) or 'inline' (attached to last data point) */
|
|
64
|
+
legendPosition?: 'top' | 'inline';
|
|
65
|
+
/** Show time filter buttons */
|
|
66
|
+
showTimeFilter?: boolean;
|
|
67
|
+
/** Initial time filter selection */
|
|
68
|
+
initialTimeFilter?: TimeRangeFilterOption;
|
|
69
|
+
/** Y-axis label prefix (e.g., "$") */
|
|
70
|
+
yAxisPrefix?: string;
|
|
71
|
+
/** Y-axis label suffix (e.g., "%") */
|
|
72
|
+
yAxisSuffix?: string;
|
|
73
|
+
/** Number of Y-axis labels */
|
|
74
|
+
yAxisLabelCount?: number;
|
|
75
|
+
/** Number of X-axis labels */
|
|
76
|
+
xAxisLabelCount?: number;
|
|
77
|
+
/** Show Y-axis */
|
|
78
|
+
showYAxis?: boolean;
|
|
79
|
+
/** Show X-axis */
|
|
80
|
+
showXAxis?: boolean;
|
|
81
|
+
/** Y-axis color */
|
|
82
|
+
yAxisColor?: string;
|
|
83
|
+
/** X-axis color */
|
|
84
|
+
xAxisColor?: string;
|
|
85
|
+
/** Y-axis thickness */
|
|
86
|
+
yAxisThickness?: number;
|
|
87
|
+
/** X-axis thickness */
|
|
88
|
+
xAxisThickness?: number;
|
|
89
|
+
/** Y-axis text color */
|
|
90
|
+
yAxisTextColor?: string;
|
|
91
|
+
/** X-axis text color */
|
|
92
|
+
xAxisTextColor?: string;
|
|
93
|
+
/** Grid line color */
|
|
94
|
+
gridColor?: string;
|
|
95
|
+
/** Show grid lines */
|
|
96
|
+
showGrid?: boolean;
|
|
97
|
+
/** Time range filter */
|
|
98
|
+
timeRange?: {
|
|
99
|
+
start: number; // Unix timestamp
|
|
100
|
+
end: number; // Unix timestamp
|
|
101
|
+
};
|
|
102
|
+
/** Callback when user presses a data point */
|
|
103
|
+
onPointPress?: (point: TimeSeriesPoint, series: string) => void;
|
|
104
|
+
/** Minimum Y value (auto-calculated if not provided) */
|
|
105
|
+
yMin?: number;
|
|
106
|
+
/** Maximum Y value (auto-calculated if not provided) */
|
|
107
|
+
yMax?: number;
|
|
108
|
+
/** Use fixed Y-axis range (yMin and yMax) instead of auto-calculating from data */
|
|
109
|
+
useFixedYRange?: boolean;
|
|
110
|
+
/** Spacing between data points */
|
|
111
|
+
spacing?: number;
|
|
112
|
+
/** Background color */
|
|
113
|
+
backgroundColor?: string;
|
|
114
|
+
/** Display values as percentages (multiply by 100, add % suffix, scale 0-100) */
|
|
115
|
+
displayAsPercentage?: boolean;
|
|
116
|
+
/** Hide the data point text label on the last point */
|
|
117
|
+
hideDataPointText?: boolean;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Chart theme colors
|
|
122
|
+
*/
|
|
123
|
+
export interface ChartTheme {
|
|
124
|
+
/** Primary line color */
|
|
125
|
+
primary: string;
|
|
126
|
+
/** Secondary line color */
|
|
127
|
+
secondary: string;
|
|
128
|
+
/** Success/positive color */
|
|
129
|
+
success: string;
|
|
130
|
+
/** Error/negative color */
|
|
131
|
+
error: string;
|
|
132
|
+
/** Warning color */
|
|
133
|
+
warning: string;
|
|
134
|
+
/** Text color */
|
|
135
|
+
text: string;
|
|
136
|
+
/** Background color */
|
|
137
|
+
background: string;
|
|
138
|
+
/** Grid line color */
|
|
139
|
+
grid: string;
|
|
140
|
+
/** Away side color */
|
|
141
|
+
away: string;
|
|
142
|
+
/** Home side color */
|
|
143
|
+
home: string;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Tooltip configuration
|
|
148
|
+
*/
|
|
149
|
+
export interface TooltipConfig {
|
|
150
|
+
/** Show value in tooltip */
|
|
151
|
+
showValue?: boolean;
|
|
152
|
+
/** Show label in tooltip */
|
|
153
|
+
showLabel?: boolean;
|
|
154
|
+
/** Show series name in tooltip */
|
|
155
|
+
showSeries?: boolean;
|
|
156
|
+
/** Custom formatter for value */
|
|
157
|
+
valueFormatter?: (value: number) => string;
|
|
158
|
+
/** Custom formatter for label */
|
|
159
|
+
labelFormatter?: (label: string, timestamp: number) => string;
|
|
160
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formatting utilities for chart labels and tooltips
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Format Unix timestamp to time string
|
|
7
|
+
* @param timestamp Unix timestamp in milliseconds
|
|
8
|
+
* @param format 'short' | 'medium' | 'long'
|
|
9
|
+
* @returns Formatted time string
|
|
10
|
+
*/
|
|
11
|
+
export const formatTime = (timestamp: number, format: 'short' | 'medium' | 'long' = 'short'): string => {
|
|
12
|
+
const date = new Date(timestamp);
|
|
13
|
+
const hours = date.getHours();
|
|
14
|
+
const minutes = date.getMinutes();
|
|
15
|
+
const seconds = date.getSeconds();
|
|
16
|
+
|
|
17
|
+
const pad = (num: number) => String(num).padStart(2, '0');
|
|
18
|
+
const hour12 = hours % 12 || 12;
|
|
19
|
+
const ampm = hours >= 12 ? 'PM' : 'AM';
|
|
20
|
+
|
|
21
|
+
switch (format) {
|
|
22
|
+
case 'short':
|
|
23
|
+
return `${pad(hour12)}:${pad(minutes)}`;
|
|
24
|
+
case 'medium':
|
|
25
|
+
return `${pad(hour12)}:${pad(minutes)} ${ampm}`;
|
|
26
|
+
case 'long':
|
|
27
|
+
return `${pad(hour12)}:${pad(minutes)}:${pad(seconds)} ${ampm}`;
|
|
28
|
+
default:
|
|
29
|
+
return `${pad(hour12)}:${pad(minutes)}`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Format Unix timestamp to date string
|
|
35
|
+
* @param timestamp Unix timestamp in milliseconds
|
|
36
|
+
* @param format 'short' | 'medium' | 'long'
|
|
37
|
+
* @returns Formatted date string
|
|
38
|
+
*/
|
|
39
|
+
export const formatDate = (timestamp: number, format: 'short' | 'medium' | 'long' = 'medium'): string => {
|
|
40
|
+
const date = new Date(timestamp);
|
|
41
|
+
const month = date.getMonth() + 1;
|
|
42
|
+
const day = date.getDate();
|
|
43
|
+
const year = date.getFullYear();
|
|
44
|
+
|
|
45
|
+
const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
46
|
+
const monthName = monthNames[date.getMonth()];
|
|
47
|
+
|
|
48
|
+
switch (format) {
|
|
49
|
+
case 'short':
|
|
50
|
+
return `${month}/${day}`;
|
|
51
|
+
case 'medium':
|
|
52
|
+
return `${monthName} ${day}`;
|
|
53
|
+
case 'long':
|
|
54
|
+
return `${monthName} ${day}, ${year}`;
|
|
55
|
+
default:
|
|
56
|
+
return `${monthName} ${day}`;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Format price/odds value
|
|
62
|
+
* @param value Numeric value
|
|
63
|
+
* @param decimals Number of decimal places
|
|
64
|
+
* @returns Formatted price string
|
|
65
|
+
*/
|
|
66
|
+
export const formatPrice = (value: number, decimals: number = 2): string => {
|
|
67
|
+
return value.toFixed(decimals);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Format currency value
|
|
72
|
+
* @param value Numeric value
|
|
73
|
+
* @param currency Currency symbol (default: $)
|
|
74
|
+
* @returns Formatted currency string
|
|
75
|
+
*/
|
|
76
|
+
export const formatCurrency = (value: number, currency: string = '$'): string => {
|
|
77
|
+
const absValue = Math.abs(value);
|
|
78
|
+
const sign = value < 0 ? '-' : '';
|
|
79
|
+
|
|
80
|
+
if (absValue >= 1000000) {
|
|
81
|
+
return `${sign}${currency}${(absValue / 1000000).toFixed(2)}M`;
|
|
82
|
+
}
|
|
83
|
+
if (absValue >= 1000) {
|
|
84
|
+
return `${sign}${currency}${(absValue / 1000).toFixed(2)}K`;
|
|
85
|
+
}
|
|
86
|
+
return `${sign}${currency}${absValue.toFixed(2)}`;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Format percentage value
|
|
91
|
+
* @param value Numeric value (e.g., 0.45 or 45)
|
|
92
|
+
* @param asDecimal Whether value is in decimal form (0.45) vs percentage (45)
|
|
93
|
+
* @returns Formatted percentage string
|
|
94
|
+
*/
|
|
95
|
+
export const formatPercentage = (value: number, asDecimal: boolean = false): string => {
|
|
96
|
+
const percent = asDecimal ? value * 100 : value;
|
|
97
|
+
return `${percent.toFixed(2)}%`;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Format ROI value with + or - prefix
|
|
102
|
+
* @param value ROI value
|
|
103
|
+
* @returns Formatted ROI string
|
|
104
|
+
*/
|
|
105
|
+
export const formatROI = (value: number): string => {
|
|
106
|
+
const sign = value >= 0 ? '+' : '';
|
|
107
|
+
return `${sign}${value.toFixed(2)}%`;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Smart time label based on data range
|
|
112
|
+
* Automatically chooses appropriate format based on time span
|
|
113
|
+
*/
|
|
114
|
+
export const getSmartTimeLabel = (timestamp: number, minTime: number, maxTime: number): string => {
|
|
115
|
+
const range = maxTime - minTime;
|
|
116
|
+
const oneHour = 60 * 60 * 1000;
|
|
117
|
+
const oneDay = 24 * oneHour;
|
|
118
|
+
const oneWeek = 7 * oneDay;
|
|
119
|
+
|
|
120
|
+
if (range < oneHour) {
|
|
121
|
+
// Less than 1 hour: show time only
|
|
122
|
+
return formatTime(timestamp, 'short');
|
|
123
|
+
} else if (range < oneDay) {
|
|
124
|
+
// Less than 1 day: show time with AM/PM
|
|
125
|
+
return formatTime(timestamp, 'medium');
|
|
126
|
+
} else if (range < oneWeek) {
|
|
127
|
+
// Less than 1 week: show date + time
|
|
128
|
+
return `${formatDate(timestamp, 'short')} ${formatTime(timestamp, 'short')}`;
|
|
129
|
+
} else {
|
|
130
|
+
// More than 1 week: show date only
|
|
131
|
+
return formatDate(timestamp, 'medium');
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Format large numbers with K/M suffix
|
|
137
|
+
*/
|
|
138
|
+
export const formatLargeNumber = (value: number, decimals: number = 1): string => {
|
|
139
|
+
const absValue = Math.abs(value);
|
|
140
|
+
const sign = value < 0 ? '-' : '';
|
|
141
|
+
|
|
142
|
+
if (absValue >= 1000000) {
|
|
143
|
+
return `${sign}${(absValue / 1000000).toFixed(decimals)}M`;
|
|
144
|
+
}
|
|
145
|
+
if (absValue >= 1000) {
|
|
146
|
+
return `${sign}${(absValue / 1000).toFixed(decimals)}K`;
|
|
147
|
+
}
|
|
148
|
+
return `${sign}${absValue.toFixed(decimals)}`;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Calculate nice Y-axis bounds
|
|
153
|
+
* Finds clean min/max values for Y-axis
|
|
154
|
+
*/
|
|
155
|
+
export const calculateNiceYBounds = (values: number[]): { min: number; max: number } => {
|
|
156
|
+
if (values.length === 0) return { min: 0, max: 1 };
|
|
157
|
+
|
|
158
|
+
const dataMin = Math.min(...values);
|
|
159
|
+
const dataMax = Math.max(...values);
|
|
160
|
+
const range = dataMax - dataMin;
|
|
161
|
+
|
|
162
|
+
// Add 10% padding
|
|
163
|
+
const padding = range * 0.1;
|
|
164
|
+
const min = Math.floor((dataMin - padding) * 100) / 100;
|
|
165
|
+
const max = Math.ceil((dataMax + padding) * 100) / 100;
|
|
166
|
+
|
|
167
|
+
return { min: Math.max(0, min), max };
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Generate evenly spaced Y-axis labels
|
|
172
|
+
*/
|
|
173
|
+
export const generateYAxisLabels = (min: number, max: number, count: number = 6): number[] => {
|
|
174
|
+
const labels: number[] = [];
|
|
175
|
+
const step = (max - min) / (count - 1);
|
|
176
|
+
|
|
177
|
+
for (let i = 0; i < count; i++) {
|
|
178
|
+
labels.push(min + (step * i));
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
return labels;
|
|
182
|
+
};
|
|
@@ -16,10 +16,13 @@ const DropDown = ({ invalid, errors, read_only, selected_value, dropdown_options
|
|
|
16
16
|
const Colors = useColors();
|
|
17
17
|
const [ expanded, setExpanded ] = useState(false);
|
|
18
18
|
let options:string[] = []
|
|
19
|
+
|
|
20
|
+
if(dropdown_options){
|
|
21
|
+
dropdown_options.map(o => {
|
|
22
|
+
options = options.concat(o.eligible_options)
|
|
23
|
+
})
|
|
24
|
+
}
|
|
19
25
|
|
|
20
|
-
dropdown_options.map(o => {
|
|
21
|
-
options = options.concat(o.eligible_options)
|
|
22
|
-
})
|
|
23
26
|
|
|
24
27
|
const handleOptionSelect = (option:string) => {
|
|
25
28
|
setExpanded(false);
|
package/src/Components/Icons.tsx
CHANGED
|
@@ -1618,7 +1618,18 @@ const LocationIcon = ({ color, size }:IconProps) => {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
1620
|
//Premium!!
|
|
1621
|
+
const TargetIcon = ({ color, size }:IconProps) => {
|
|
1621
1622
|
|
|
1623
|
+
return (
|
|
1624
|
+
<Svg width={`${size ?? 18}`} height={`${size ?? 18}`} viewBox="0 0 40 40">
|
|
1625
|
+
<G id="app-icons" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
1626
|
+
<G id="target-82-svgrepo-com" fill={color ?? Colors.brand.midnight} fillRule="nonzero">
|
|
1627
|
+
<Path d="M22,20 C22,21.104 21.104,22 20,22 C18.896,22 18,21.104 18,20 C18,18.896 18.896,18 20,18 C21.104,18 22,18.896 22,20 M30,22 L31.82,22 C30.972,27.014 27.014,30.972 22,31.82 L22,30 C22,28.896 21.104,28 20,28 C18.896,28 18,28.896 18,30 L18,31.82 C12.986,30.972 9.028,27.014 8.18,22 L10,22 C11.104,22 12,21.104 12,20 C12,18.896 11.104,18 10,18 L8.18,18 C9.028,12.986 12.986,9.028 18,8.18 L18,10 C18,11.104 18.896,12 20,12 C21.104,12 22,11.104 22,10 L22,8.18 C27.014,9.028 30.972,12.986 31.82,18 L30,18 C28.896,18 28,18.896 28,20 C28,21.104 28.896,22 30,22 M38,18 L35.862,18 C34.958,10.766 29.234,5.042 22,4.138 L22,2 C22,0.896 21.104,0 20,0 C18.896,0 18,0.896 18,2 L18,4.138 C10.766,5.042 5.042,10.766 4.138,18 L2,18 C0.896,18 0,18.896 0,20 C0,21.104 0.896,22 2,22 L4.138,22 C5.042,29.234 10.766,34.958 18,35.862 L18,38 C18,39.104 18.896,40 20,40 C21.104,40 22,39.104 22,38 L22,35.862 C29.234,34.958 34.958,29.234 35.862,22 L38,22 C39.104,22 40,21.104 40,20 C40,18.896 39.104,18 38,18" id="target-[#82]"></Path>
|
|
1628
|
+
</G>
|
|
1629
|
+
</G>
|
|
1630
|
+
</Svg>
|
|
1631
|
+
)
|
|
1632
|
+
}
|
|
1622
1633
|
|
|
1623
1634
|
|
|
1624
1635
|
|
|
@@ -1626,6 +1637,7 @@ export default {
|
|
|
1626
1637
|
SearchIcon,
|
|
1627
1638
|
LiquidityIcon,
|
|
1628
1639
|
EyeOnIcon,
|
|
1640
|
+
TargetIcon,
|
|
1629
1641
|
MarketClosedIcon,
|
|
1630
1642
|
//BetScopeSuccessIcon,
|
|
1631
1643
|
AlertIcon,
|
package/src/Components/index.tsx
CHANGED
|
@@ -18,6 +18,10 @@ import PlayerLozenge from './PlayerLozenge';
|
|
|
18
18
|
import AutoPageFlatList from './AutoPageFlatList';
|
|
19
19
|
import CircularFadeOut from './CircularFadeOut';
|
|
20
20
|
import SearchBox from './SearchBox';
|
|
21
|
+
|
|
22
|
+
// Charts
|
|
23
|
+
export * from '../Charts';
|
|
24
|
+
|
|
21
25
|
export {
|
|
22
26
|
Button,
|
|
23
27
|
Text,
|
|
@@ -6,10 +6,11 @@ import { Platform } from 'react-native';
|
|
|
6
6
|
|
|
7
7
|
type UsePlayerLocationProps = {
|
|
8
8
|
player_id?:string,
|
|
9
|
-
distinct_id?:string
|
|
9
|
+
distinct_id?:string,
|
|
10
|
+
web_override?:boolean
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
export const usePlayerLocation = ({ player_id, distinct_id }:UsePlayerLocationProps) => {
|
|
13
|
+
export const usePlayerLocation = ({ player_id, distinct_id, web_override }:UsePlayerLocationProps) => {
|
|
13
14
|
const [ location, setLocation ] = useState<{
|
|
14
15
|
loading: boolean,
|
|
15
16
|
error?:string,
|
|
@@ -111,7 +112,7 @@ export const usePlayerLocation = ({ player_id, distinct_id }:UsePlayerLocationPr
|
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
//Shoot! Couldnt get it - lets now get a new one!
|
|
114
|
-
const addresses = await LocationApi.reverseCoordLookup(coordinates.latitude, coordinates.longitude);
|
|
115
|
+
const addresses = await LocationApi.reverseCoordLookup(coordinates.latitude, coordinates.longitude, { web_only: web_override });
|
|
115
116
|
const generated_address = LocationHelpers.getAddressFromGeoCodeResults(addresses, locations);
|
|
116
117
|
let new_loc = {
|
|
117
118
|
loading:false,
|
|
@@ -99,10 +99,10 @@ const LocationApi = {
|
|
|
99
99
|
accuracy: coords.accuracy
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
reverseCoordLookup : async(latitude:number, longitude:number) => {
|
|
102
|
+
reverseCoordLookup : async(latitude:number, longitude:number, options?:{ web_only?:boolean }) => {
|
|
103
103
|
try {
|
|
104
104
|
let addresses:Location.LocationGeocodedAddress[] = []
|
|
105
|
-
if(Platform.OS == 'web'){
|
|
105
|
+
if(Platform.OS == 'web' || options?.web_only){
|
|
106
106
|
const resp = await axios.get(`https://maps.googleapis.com/maps/api/geocode/json?latlng=${latitude},${longitude}&key=${LOCATION_API}`, {
|
|
107
107
|
headers: {
|
|
108
108
|
'Authorization': undefined,
|
package/src/index.tsx
CHANGED
|
@@ -72,6 +72,11 @@ import MyAction from './MyAction';
|
|
|
72
72
|
import BettorBotDashboard from './BettorBot';
|
|
73
73
|
import NotificationManager from './NotificationManager';
|
|
74
74
|
import { NotificationApi, NotificationHelpers } from './NotificationManager/api';
|
|
75
|
+
import BetRouter from './BetRouter/index';
|
|
76
|
+
|
|
77
|
+
// Charts
|
|
78
|
+
export { LivePriceChart, BaseLineChart, TradeChartAdapter } from './Charts';
|
|
79
|
+
export type { Trade, TradeChartOptions, TimeSeriesPoint, TimeSeriesData, LivePriceChartProps } from './Charts';
|
|
75
80
|
|
|
76
81
|
export {
|
|
77
82
|
Authenticator,
|
|
@@ -79,6 +84,7 @@ export {
|
|
|
79
84
|
MyAction,
|
|
80
85
|
CreateEmbed,
|
|
81
86
|
ReferralCodeManager,
|
|
87
|
+
BetRouter,
|
|
82
88
|
CreateEngagement,
|
|
83
89
|
DiscordConnectionManager,
|
|
84
90
|
BEEventApi,
|