overtime-utils 0.2.37 → 0.2.39

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,21 +1,21 @@
1
- {
2
- "name": "overtime-utils",
3
- "version": "0.2.37",
4
- "description": "",
5
- "main": "main.js",
6
- "scripts": {
7
- "pack": "webpack --mode production",
8
- "prepublish": "npm run pack"
9
- },
10
- "author": "",
11
- "license": "MIT",
12
- "dependencies": {
13
- "bytes32": "^0.0.3"
14
- },
15
- "devDependencies": {
16
- "ts-loader": "^9.5.0",
17
- "typescript": "^5.0.4",
18
- "webpack": "^5.89.0",
19
- "webpack-cli": "^5.1.4"
20
- }
21
- }
1
+ {
2
+ "name": "overtime-utils",
3
+ "version": "0.2.39",
4
+ "description": "",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "pack": "webpack --mode production",
8
+ "prepublish": "npm run pack"
9
+ },
10
+ "author": "",
11
+ "license": "MIT",
12
+ "dependencies": {
13
+ "bytes32": "^0.0.3"
14
+ },
15
+ "devDependencies": {
16
+ "ts-loader": "^9.5.0",
17
+ "typescript": "^5.0.4",
18
+ "webpack": "^5.89.0",
19
+ "webpack-cli": "^5.1.4"
20
+ }
21
+ }
@@ -251,6 +251,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
251
251
  id: League.UEFA_EL_FUTURES,
252
252
  initialSport: Sport.SOCCER,
253
253
  label: 'UEFA Europa League Futures',
254
+ logo: '/logos/leagueLogos/uel-white.webp',
254
255
  logoClass: 'icon-homepage league--uel',
255
256
  priority: 1816,
256
257
  },
@@ -259,6 +260,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
259
260
  id: League.UEFA_CONFERENCE_LEAGUE_FUTURES,
260
261
  initialSport: Sport.SOCCER,
261
262
  label: 'UEFA Conference League Futures',
263
+ logo: '/logos/leagueLogos/uecl-white.webp',
262
264
  logoClass: 'icon-homepage league--uefa',
263
265
  priority: 1817,
264
266
  },
@@ -267,6 +269,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
267
269
  id: League.EREDIVISIE_FUTURES,
268
270
  initialSport: Sport.SOCCER,
269
271
  label: 'Eredivisie Futures',
272
+ logo: '/logos/leagueLogos/eredivisie.webp',
270
273
  logoClass: 'icon-homepage league--eredivisie',
271
274
  priority: 1818,
272
275
  },
@@ -275,6 +278,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
275
278
  id: League.PRIMEIRA_LIGA_FUTURES,
276
279
  initialSport: Sport.SOCCER,
277
280
  label: 'Primeira Liga Futures',
281
+ logo: '/logos/leagueLogos/primeira-liga.webp',
278
282
  logoClass: 'icon-homepage league--portugal',
279
283
  priority: 1819,
280
284
  },
@@ -283,6 +287,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
283
287
  id: League.BELGIUM_LEAGUE_FUTURES,
284
288
  initialSport: Sport.SOCCER,
285
289
  label: 'Belgium Pro League Futures',
290
+ logo: '/logos/leagueLogos/jupiler-pro-league.webp',
286
291
  priority: 1820,
287
292
  },
288
293
  [League.ENGLAND_CHAMPIONSHIP_FUTURES]: {
@@ -290,6 +295,7 @@ export const FUTURES_LEAGUES: Partial<Record<League, LeagueInfo>> = {
290
295
  id: League.ENGLAND_CHAMPIONSHIP_FUTURES,
291
296
  initialSport: Sport.SOCCER,
292
297
  label: 'Championship Futures',
298
+ logo: '/logos/leagueLogos/efl-championship.webp',
293
299
  priority: 1821,
294
300
  },
295
301
  };
@@ -290,4 +290,82 @@ export const FUTURES_MARKET_TYPE_MAP: Partial<Record<MarketType, MarketTypeInfo>
290
290
  name: 'Team to be promoted',
291
291
  resultType: ResultType.EXACT_POSITION,
292
292
  },
293
+ [MarketType.MOST_REGULAR_SEASON_WINS]: {
294
+ id: MarketType.MOST_REGULAR_SEASON_WINS,
295
+ key: 'mostRegularSeasonWins',
296
+ name: 'Most regular season wins',
297
+ resultType: ResultType.EXACT_POSITION,
298
+ },
299
+ [MarketType.FEWEST_REGULAR_SEASON_WINS]: {
300
+ id: MarketType.FEWEST_REGULAR_SEASON_WINS,
301
+ key: 'fewestRegularSeasonWins',
302
+ name: 'Fewest regular season wins',
303
+ resultType: ResultType.EXACT_POSITION,
304
+ },
305
+ [MarketType.CONFERENCE_TOP_SEED]: {
306
+ id: MarketType.CONFERENCE_TOP_SEED,
307
+ key: 'conferenceTopSeed',
308
+ name: 'Conference top seed',
309
+ resultType: ResultType.EXACT_POSITION,
310
+ },
311
+ [MarketType.FINAL_MATCHUP]: {
312
+ id: MarketType.FINAL_MATCHUP,
313
+ key: 'finalMatchup',
314
+ name: 'Final matchup',
315
+ resultType: ResultType.EXACT_POSITION,
316
+ },
317
+ [MarketType.FINAL_EXACTA]: {
318
+ id: MarketType.FINAL_EXACTA,
319
+ key: 'finalExacta',
320
+ name: 'Final exacta',
321
+ resultType: ResultType.EXACT_POSITION,
322
+ },
323
+ [MarketType.REGULAR_SEASON_WINS]: {
324
+ id: MarketType.REGULAR_SEASON_WINS,
325
+ key: 'regularSeasonWins',
326
+ name: 'Regular season wins',
327
+ resultType: ResultType.EXACT_POSITION,
328
+ },
329
+ [MarketType.COACH_OF_THE_YEAR]: {
330
+ id: MarketType.COACH_OF_THE_YEAR,
331
+ key: 'coachOfTheYear',
332
+ name: 'Coach of the year',
333
+ resultType: ResultType.EXACT_POSITION,
334
+ },
335
+ [MarketType.DEFENSIVE_PLAYER_OF_THE_YEAR]: {
336
+ id: MarketType.DEFENSIVE_PLAYER_OF_THE_YEAR,
337
+ key: 'defensivePlayerOfTheYear',
338
+ name: 'Defensive player of the year',
339
+ resultType: ResultType.EXACT_POSITION,
340
+ },
341
+ [MarketType.OFFENSIVE_PLAYER_OF_THE_YEAR]: {
342
+ id: MarketType.OFFENSIVE_PLAYER_OF_THE_YEAR,
343
+ key: 'offensivePlayerOfTheYear',
344
+ name: 'Offensive player of the year',
345
+ resultType: ResultType.EXACT_POSITION,
346
+ },
347
+ [MarketType.PASSING_TOUCHDOWNS_LEADER]: {
348
+ id: MarketType.PASSING_TOUCHDOWNS_LEADER,
349
+ key: 'passingTouchdownsLeader',
350
+ name: 'Passing touchdowns leader',
351
+ resultType: ResultType.EXACT_POSITION,
352
+ },
353
+ [MarketType.PASSING_YARDS_LEADER]: {
354
+ id: MarketType.PASSING_YARDS_LEADER,
355
+ key: 'passingYardsLeader',
356
+ name: 'Passing yards leader',
357
+ resultType: ResultType.EXACT_POSITION,
358
+ },
359
+ [MarketType.RECEIVING_YARDS_LEADER]: {
360
+ id: MarketType.RECEIVING_YARDS_LEADER,
361
+ key: 'receivingYardsLeader',
362
+ name: 'Receiving yards leader',
363
+ resultType: ResultType.EXACT_POSITION,
364
+ },
365
+ [MarketType.RUSHING_YARDS_LEADER]: {
366
+ id: MarketType.RUSHING_YARDS_LEADER,
367
+ key: 'rushingYardsLeader',
368
+ name: 'Rushing yards leader',
369
+ resultType: ResultType.EXACT_POSITION,
370
+ },
293
371
  };
@@ -888,6 +888,19 @@ export const FUTURES_MARKET_TYPES = [
888
888
  MarketType.TOP_14_FINISHER,
889
889
  MarketType.TOP_15_FINISHER,
890
890
  MarketType.TEAMS_TO_BE_PROMOTED,
891
+ MarketType.MOST_REGULAR_SEASON_WINS,
892
+ MarketType.FEWEST_REGULAR_SEASON_WINS,
893
+ MarketType.CONFERENCE_TOP_SEED,
894
+ MarketType.FINAL_MATCHUP,
895
+ MarketType.FINAL_EXACTA,
896
+ MarketType.REGULAR_SEASON_WINS,
897
+ MarketType.COACH_OF_THE_YEAR,
898
+ MarketType.DEFENSIVE_PLAYER_OF_THE_YEAR,
899
+ MarketType.OFFENSIVE_PLAYER_OF_THE_YEAR,
900
+ MarketType.PASSING_TOUCHDOWNS_LEADER,
901
+ MarketType.PASSING_YARDS_LEADER,
902
+ MarketType.RECEIVING_YARDS_LEADER,
903
+ MarketType.RUSHING_YARDS_LEADER,
891
904
  ];
892
905
 
893
906
  export const ONE_SIDE_PLAYER_PROPS_MARKET_TYPES = [
@@ -429,6 +429,19 @@ export enum MarketType {
429
429
  TOP_14_FINISHER = 13046,
430
430
  TOP_15_FINISHER = 13047,
431
431
  TEAMS_TO_BE_PROMOTED = 13048,
432
+ MOST_REGULAR_SEASON_WINS = 13049,
433
+ FEWEST_REGULAR_SEASON_WINS = 13050,
434
+ CONFERENCE_TOP_SEED = 13051,
435
+ FINAL_MATCHUP = 13052,
436
+ FINAL_EXACTA = 13053,
437
+ REGULAR_SEASON_WINS = 13054,
438
+ COACH_OF_THE_YEAR = 13055,
439
+ DEFENSIVE_PLAYER_OF_THE_YEAR = 13056,
440
+ OFFENSIVE_PLAYER_OF_THE_YEAR = 13057,
441
+ PASSING_TOUCHDOWNS_LEADER = 13058,
442
+ PASSING_YARDS_LEADER = 13059,
443
+ RECEIVING_YARDS_LEADER = 13060,
444
+ RUSHING_YARDS_LEADER = 13061,
432
445
 
433
446
  // Spread (handicap) corners
434
447
  SPREAD_CORNERS = 10221,