overtime-utils 0.2.44 → 0.2.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overtime-utils",
3
- "version": "0.2.44",
3
+ "version": "0.2.46",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -198,4 +198,11 @@ export const HOCKEY_LEAGUES: Partial<Record<League, LeagueInfo>> = {
198
198
  opticOddsName: 'France - Ligue Magnus',
199
199
  priority: 529,
200
200
  },
201
+ [League.RUSSIA_VHL]: {
202
+ ...HOCKEY_DEFAULTS,
203
+ id: League.RUSSIA_VHL,
204
+ label: 'Russia VHL',
205
+ opticOddsName: 'Russia - VHL',
206
+ priority: 530,
207
+ },
201
208
  };
@@ -2481,4 +2481,46 @@ export const SOCCER_LEAGUES: Partial<Record<League, LeagueInfo>> = {
2481
2481
  opticOddsName: 'ASEAN - Championship',
2482
2482
  priority: 187,
2483
2483
  },
2484
+ [League.ITALY_SERIE_C_CUP]: {
2485
+ ...SOCCER_DEFAULTS,
2486
+ id: League.ITALY_SERIE_C_CUP,
2487
+ label: 'Italy Serie C Cup',
2488
+ opticOddsName: 'Italy - Serie C Cup',
2489
+ priority: 150,
2490
+ },
2491
+ [League.AUSTRALIA_WESTERN_AUSTRALIA_NPL]: {
2492
+ ...SOCCER_DEFAULTS,
2493
+ id: League.AUSTRALIA_WESTERN_AUSTRALIA_NPL,
2494
+ label: 'Australia Western Australia NPL',
2495
+ opticOddsName: 'Australia - Western Australia NPL',
2496
+ priority: 197,
2497
+ },
2498
+ [League.JAPAN_LEAGUE_CUP]: {
2499
+ ...SOCCER_DEFAULTS,
2500
+ id: League.JAPAN_LEAGUE_CUP,
2501
+ label: 'Japan League Cup',
2502
+ opticOddsName: 'Japan - League Cup',
2503
+ priority: 184,
2504
+ },
2505
+ [League.IRELAND_FAI_CUP]: {
2506
+ ...SOCCER_DEFAULTS,
2507
+ id: League.IRELAND_FAI_CUP,
2508
+ label: 'Ireland FAI Cup',
2509
+ opticOddsName: 'Ireland - FAI Cup',
2510
+ priority: 150,
2511
+ },
2512
+ [League.AUSTRALIA_QUEENSLAND_NPL_WOMEN]: {
2513
+ ...SOCCER_DEFAULTS,
2514
+ id: League.AUSTRALIA_QUEENSLAND_NPL_WOMEN,
2515
+ label: 'Australia Queensland NPL Women',
2516
+ opticOddsName: 'Australia - Queensland NPL Women',
2517
+ priority: 197,
2518
+ },
2519
+ [League.URUGUAY_SEGUNDA_DIVISION]: {
2520
+ ...SOCCER_DEFAULTS,
2521
+ id: League.URUGUAY_SEGUNDA_DIVISION,
2522
+ label: 'Uruguay Segunda Division',
2523
+ opticOddsName: 'Uruguay - Segunda Division',
2524
+ priority: 177,
2525
+ },
2484
2526
  };
@@ -345,4 +345,11 @@ export const VOLLEYBALL_LEAGUES: Partial<Record<League, LeagueInfo>> = {
345
345
  opticOddsName: 'FIVB - World Championship',
346
346
  priority: 1346,
347
347
  },
348
+ [League.USA_NCAAWVB]: {
349
+ ...VOLLEYBALL_DEFAULTS,
350
+ id: League.USA_NCAAWVB,
351
+ label: 'USA NCAAWVB',
352
+ opticOddsName: 'USA - NCAAWVB',
353
+ priority: 1347,
354
+ },
348
355
  };
@@ -42,6 +42,80 @@ export const FOOTBALL_MARKET_TYPE_MAP: Partial<Record<MarketType, MarketTypeInfo
42
42
  name: 'Total touchdowns',
43
43
  resultType: ResultType.OVER_UNDER,
44
44
  },
45
+ [MarketType.TOTAL_RUSHING_TOUCHDOWNS]: {
46
+ id: MarketType.TOTAL_RUSHING_TOUCHDOWNS,
47
+ key: 'totalRushingTouchdowns',
48
+ name: 'Total rushing touchdowns',
49
+ resultType: ResultType.OVER_UNDER,
50
+ },
51
+ [MarketType.TOTAL_RECEIVING_TOUCHDOWNS]: {
52
+ id: MarketType.TOTAL_RECEIVING_TOUCHDOWNS,
53
+ key: 'totalReceivingTouchdowns',
54
+ name: 'Total receiving touchdowns',
55
+ resultType: ResultType.OVER_UNDER,
56
+ },
57
+
58
+ // Football totals per team
59
+ [MarketType.TOTAL_FIELD_GOALS_HOME_TEAM]: {
60
+ id: MarketType.TOTAL_FIELD_GOALS_HOME_TEAM,
61
+ key: 'totalFieldGoalsHomeTeam',
62
+ name: 'Total field goals',
63
+ resultType: ResultType.OVER_UNDER,
64
+ },
65
+ [MarketType.TOTAL_FIELD_GOALS_AWAY_TEAM]: {
66
+ id: MarketType.TOTAL_FIELD_GOALS_AWAY_TEAM,
67
+ key: 'totalFieldGoalsAwayTeam',
68
+ name: 'Total field goals',
69
+ resultType: ResultType.OVER_UNDER,
70
+ },
71
+ [MarketType.TOTAL_RUSHING_YARDS_HOME_TEAM]: {
72
+ id: MarketType.TOTAL_RUSHING_YARDS_HOME_TEAM,
73
+ key: 'totalRushingYardsHomeTeam',
74
+ name: 'Total rushing yards',
75
+ resultType: ResultType.OVER_UNDER,
76
+ },
77
+ [MarketType.TOTAL_RUSHING_YARDS_AWAY_TEAM]: {
78
+ id: MarketType.TOTAL_RUSHING_YARDS_AWAY_TEAM,
79
+ key: 'totalRushingYardsAwayTeam',
80
+ name: 'Total rushing yards',
81
+ resultType: ResultType.OVER_UNDER,
82
+ },
83
+ [MarketType.TOTAL_RECEIVING_YARDS_HOME_TEAM]: {
84
+ id: MarketType.TOTAL_RECEIVING_YARDS_HOME_TEAM,
85
+ key: 'totalReceivingYardsHomeTeam',
86
+ name: 'Total receiving yards',
87
+ resultType: ResultType.OVER_UNDER,
88
+ },
89
+ [MarketType.TOTAL_RECEIVING_YARDS_AWAY_TEAM]: {
90
+ id: MarketType.TOTAL_RECEIVING_YARDS_AWAY_TEAM,
91
+ key: 'totalReceivingYardsAwayTeam',
92
+ name: 'Total receiving yards',
93
+ resultType: ResultType.OVER_UNDER,
94
+ },
95
+ [MarketType.TOTAL_RUSHING_TOUCHDOWNS_HOME_TEAM]: {
96
+ id: MarketType.TOTAL_RUSHING_TOUCHDOWNS_HOME_TEAM,
97
+ key: 'totalRushingTouchdownsHomeTeam',
98
+ name: 'Total rushing touchdowns',
99
+ resultType: ResultType.OVER_UNDER,
100
+ },
101
+ [MarketType.TOTAL_RUSHING_TOUCHDOWNS_AWAY_TEAM]: {
102
+ id: MarketType.TOTAL_RUSHING_TOUCHDOWNS_AWAY_TEAM,
103
+ key: 'totalRushingTouchdownsAwayTeam',
104
+ name: 'Total rushing touchdowns',
105
+ resultType: ResultType.OVER_UNDER,
106
+ },
107
+ [MarketType.TOTAL_RECEIVING_TOUCHDOWNS_HOME_TEAM]: {
108
+ id: MarketType.TOTAL_RECEIVING_TOUCHDOWNS_HOME_TEAM,
109
+ key: 'totalReceivingTouchdownsHomeTeam',
110
+ name: 'Total receiving touchdowns',
111
+ resultType: ResultType.OVER_UNDER,
112
+ },
113
+ [MarketType.TOTAL_RECEIVING_TOUCHDOWNS_AWAY_TEAM]: {
114
+ id: MarketType.TOTAL_RECEIVING_TOUCHDOWNS_AWAY_TEAM,
115
+ key: 'totalReceivingTouchdownsAwayTeam',
116
+ name: 'Total receiving touchdowns',
117
+ resultType: ResultType.OVER_UNDER,
118
+ },
45
119
 
46
120
  // Period-specific football totals
47
121
  // First period
@@ -33,6 +33,12 @@ export const FUTURES_MARKET_TYPE_MAP: Partial<Record<MarketType, MarketTypeInfo>
33
33
  name: 'To make final four',
34
34
  resultType: ResultType.EXACT_POSITION,
35
35
  },
36
+ [MarketType.TO_MAKE_THE_FINALS]: {
37
+ id: MarketType.TO_MAKE_THE_FINALS,
38
+ key: 'toMakeTheFinals',
39
+ name: 'To make the finals',
40
+ resultType: ResultType.EXACT_POSITION,
41
+ },
36
42
  // Race
37
43
  [MarketType.RACE_WINNER]: {
38
44
  id: MarketType.RACE_WINNER,
@@ -377,4 +383,10 @@ export const FUTURES_MARKET_TYPE_MAP: Partial<Record<MarketType, MarketTypeInfo>
377
383
  name: 'Rushing yards leader',
378
384
  resultType: ResultType.EXACT_POSITION,
379
385
  },
386
+ [MarketType.ASSISTS_LEADER]: {
387
+ id: MarketType.ASSISTS_LEADER,
388
+ key: 'assistsLeader',
389
+ name: 'Assists leader',
390
+ resultType: ResultType.EXACT_POSITION,
391
+ },
380
392
  };
@@ -14,6 +14,7 @@ export { HANDICAP_MARKET_TYPE_MAP } from './handicap';
14
14
  export { OTHERS_MARKET_TYPE_MAP } from './others';
15
15
  export { OVERTIME_MARKET_TYPE_MAP } from './overtime';
16
16
  export { PLAYER_PROPS_MARKET_TYPE_MAP } from './playerProps';
17
+ export { RACE_TO_MARKET_TYPE_MAP } from './raceTo';
17
18
  export { SGP_MARKET_TYPE_MAP } from './sgp';
18
19
  export { SOCCER_MARKET_TYPE_MAP } from './soccer';
19
20
  export { TENNIS_MARKET_TYPE_MAP } from './tennis';
@@ -34,6 +35,7 @@ import { HANDICAP_MARKET_TYPE_MAP } from './handicap';
34
35
  import { OTHERS_MARKET_TYPE_MAP } from './others';
35
36
  import { OVERTIME_MARKET_TYPE_MAP } from './overtime';
36
37
  import { PLAYER_PROPS_MARKET_TYPE_MAP } from './playerProps';
38
+ import { RACE_TO_MARKET_TYPE_MAP } from './raceTo';
37
39
  import { SGP_MARKET_TYPE_MAP } from './sgp';
38
40
  import { SOCCER_MARKET_TYPE_MAP } from './soccer';
39
41
  import { TENNIS_MARKET_TYPE_MAP } from './tennis';
@@ -63,4 +65,5 @@ export const ALL_MARKET_TYPES: Partial<Record<MarketType, MarketTypeInfo>> = {
63
65
  ...DARTS_MARKET_TYPE_MAP,
64
66
  ...BASKETBALL_MARKET_TYPE_MAP,
65
67
  ...ESPORTS_MARKET_TYPE_MAP,
68
+ ...RACE_TO_MARKET_TYPE_MAP,
66
69
  };