overtime-utils 0.1.87 → 0.1.89

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.1.87",
3
+ "version": "0.1.89",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -57,6 +57,15 @@ export const BASKETBALL_LEAGUES: Partial<Record<League, LeagueInfo>> = {
57
57
  logoClass: 'icon-homepage league--nba',
58
58
  priority: 301,
59
59
  },
60
+ [League.NBA_ALL_STAR]: {
61
+ ...BASKETBALL_DEFAULTS,
62
+ id: League.NBA_ALL_STAR,
63
+ label: 'NBA All Star',
64
+ opticOddsName: 'USA - NBA All Star',
65
+ logo: `/logos/leagueLogos/nba.webp`,
66
+ logoClass: 'icon-homepage league--nba',
67
+ priority: 305,
68
+ },
60
69
  [League.SUMMER_OLYMPICS_BASKETBALL]: {
61
70
  ...BASKETBALL_DEFAULTS,
62
71
  id: League.SUMMER_OLYMPICS_BASKETBALL,
@@ -191,6 +191,15 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
191
191
  logoClass: 'icon-homepage league--pga',
192
192
  priority: 1850,
193
193
  },
194
+ [League.USA_THE_GOLF_LEAGUE]: {
195
+ ...FUTURES_DEFAULTS,
196
+ id: League.USA_THE_GOLF_LEAGUE,
197
+ initialSport: Sport.GOLF,
198
+ label: 'USA The Golf League',
199
+ opticOddsName: 'USA - The Golf League',
200
+ logoClass: 'icon-homepage league--pga',
201
+ priority: 1851,
202
+ },
194
203
  [League.FORMULA1_FUTURES]: {
195
204
  ...FUTURES_DEFAULTS,
196
205
  id: League.FORMULA1_FUTURES,
@@ -1325,6 +1325,13 @@ export const SOCCER_LEAGUES: Partial<Record<League, LeagueInfo>> = {
1325
1325
  opticOddsName: 'Switzerland - Cup',
1326
1326
  priority: 150,
1327
1327
  },
1328
+ [League.SINGAPORE_PREMIER_LEAGUE]: {
1329
+ ...SOCCER_DEFAULTS,
1330
+ id: League.SINGAPORE_PREMIER_LEAGUE,
1331
+ label: 'Singapore Premier League',
1332
+ opticOddsName: 'Singapore - Premier League',
1333
+ priority: 150,
1334
+ },
1328
1335
  [League.JAPAN_EMPEROR_CUP]: {
1329
1336
  ...SOCCER_DEFAULTS,
1330
1337
  id: League.JAPAN_EMPEROR_CUP,
@@ -868,6 +868,13 @@ export const MarketTypeMap: Record<MarketType, MarketTypeInfo> = {
868
868
  resultType: ResultType.COMBINED_POSITIONS,
869
869
  },
870
870
 
871
+ // Who will advance
872
+ [MarketType.WHO_WILL_ADVANCE]: {
873
+ id: MarketType.WHO_WILL_ADVANCE,
874
+ key: 'whoWillAdvance',
875
+ name: 'Who will qualify for the next round',
876
+ resultType: ResultType.EXACT_POSITION,
877
+ },
871
878
  // Who will qualify for the next round
872
879
  [MarketType.WHO_WILL_QUALIFY]: {
873
880
  id: MarketType.WHO_WILL_QUALIFY,
@@ -183,6 +183,8 @@ export enum MarketType {
183
183
  GOALS = 10007,
184
184
  HALFTIME_FULLTIME_GOALS = 10008,
185
185
 
186
+ // Who will advance
187
+ WHO_WILL_ADVANCE = 10129,
186
188
  // Who will qualify for the next round
187
189
  WHO_WILL_QUALIFY = 10130,
188
190
  // Will there be overtime in the game
@@ -55,7 +55,7 @@ export enum OpticOddsSport {
55
55
  WATER_POLO = 'Water Polo',
56
56
  WRESTLING = 'Wrestling',
57
57
  CURLING = 'Curling',
58
- EFOOTBALL =`eFootball`,
58
+ EFOOTBALL = `eFootball`,
59
59
  EBASKETALL = `eBasket`,
60
60
  ESOCCER = `eSoccer`,
61
61
  }
@@ -65,6 +65,7 @@ export enum League {
65
65
  NFL = 2,
66
66
  MLB = 3,
67
67
  NBA = 4,
68
+ NBA_ALL_STAR = 405,
68
69
  NCAAB = 5,
69
70
  NHL = 6,
70
71
  UFC = 7,
@@ -466,11 +467,14 @@ export enum League {
466
467
  MEXICO_LIGA_DE_EXPANSION = 20727,
467
468
  SPAIN_RFEF_PRIMERA = 20728,
468
469
  SWITZERLAND_CUP = 20729,
470
+ SINGAPORE_PREMIER_LEAGUE = 20676,
469
471
 
470
472
  OLYMPICS_CURLING_MEN = 1000,
471
473
  OLYMPICS_CURLING_WOMEN = 1001,
472
474
  OLYMPICS_CURLING_MIXED = 1002,
473
475
 
476
+ USA_THE_GOLF_LEAGUE = 29999,
477
+
474
478
  NCAAF_FUTURES = 30001,
475
479
  NFL_FUTURES = 30002,
476
480
  MLB_FUTURES = 30003,
@@ -494,7 +498,6 @@ export enum League {
494
498
  FIBA_EUROBASKET_FUTURES = 30224,
495
499
  GOLF_H2H = 100021,
496
500
  GOLF_WINNER = 100121,
497
-
498
501
  }
499
502
 
500
503
  export enum ScoringType {