overtime-live-trading-utils 0.0.79 → 0.0.80

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-live-trading-utils",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
package/src/utils/odds.ts CHANGED
@@ -301,7 +301,7 @@ export const formatSpreadOdds = (
301
301
  typeId,
302
302
  defaultSpreadForLiveMarkets
303
303
  ) => {
304
- const validSpreadOdds = spreadOdds.filter((odd) => odd && Math.abs(odd.selection_points % 1) === 0.5);
304
+ const validSpreadOdds = spreadOdds.filter((odd) => odd && Math.abs(odd.selection_points % 1) === 0.5) as any;
305
305
 
306
306
  const formattedSpreadOdds = groupAndFormatSpreadOdds(validSpreadOdds, commonData);
307
307