overtime-utils 0.1.65 → 0.1.67

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.65",
3
+ "version": "0.1.67",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -4323,6 +4323,10 @@ export const ONE_SIDE_PLAYER_PROPS_MARKET_TYPES = [
4323
4323
  MarketType.PLAYER_PROPS_LAST_SCORER,
4324
4324
  MarketType.PLAYER_PROPS_TO_SCORE_AND_ASSIST,
4325
4325
  MarketType.PLAYER_PROPS_TO_SCORE_OR_ASSIST,
4326
+ ];
4327
+
4328
+ export const ONE_SIDE_EXTENDED_PLAYER_PROPS_MARKET_TYPES = [
4329
+ ...ONE_SIDE_PLAYER_PROPS_MARKET_TYPES,
4326
4330
  MarketType.PLAYER_PROPS_OVER_GOALS,
4327
4331
  ];
4328
4332
 
@@ -99,6 +99,7 @@ export enum MollyPeriod {
99
99
  HALFTIME_FULLTIME = 'halftimeFulltime',
100
100
  CORNERS = 'corners',
101
101
  CORNERS_HALFTIME = 'cornersHalftime',
102
+ CARDS = 'cards',
102
103
  }
103
104
 
104
105
  export enum MollyTimePeriodType {
@@ -23,6 +23,7 @@ import {
23
23
  HOME_TEAM_MARKET_TYPES,
24
24
  HOME_TEAM_TOTAL_MARKET_TYPES,
25
25
  NINTH_PERIOD_MARKET_TYPES,
26
+ ONE_SIDE_EXTENDED_PLAYER_PROPS_MARKET_TYPES,
26
27
  ONE_SIDE_PLAYER_PROPS_MARKET_TYPES,
27
28
  OTHER_YES_NO_MARKET_TYPES,
28
29
  PERIOD_MARKET_TYPES,
@@ -77,6 +78,9 @@ export const isOneSideMarket = (league: League, marketType: MarketType) =>
77
78
  export const isOneSidePlayerPropsMarket = (marketType: MarketType) =>
78
79
  ONE_SIDE_PLAYER_PROPS_MARKET_TYPES.includes(marketType);
79
80
 
81
+ export const isOneSideExtendedPlayerPropsMarket = (marketType: MarketType) =>
82
+ ONE_SIDE_EXTENDED_PLAYER_PROPS_MARKET_TYPES.includes(marketType);
83
+
80
84
  export const isYesNoPlayerPropsMarket = (marketType: MarketType) =>
81
85
  YES_NO_PLAYER_PROPS_MARKET_TYPES.includes(marketType);
82
86