overtime-live-trading-utils 3.0.0-rc.3 → 3.0.1
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/main.js +1 -1
- package/package.json +2 -2
- package/src/constants/common.ts +1 -1
- package/src/utils/odds.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "overtime-live-trading-utils",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@types/node": "^20.8.10",
|
|
16
16
|
"oddslib": "^2.1.1",
|
|
17
|
-
"overtime-utils": "^0.1.
|
|
17
|
+
"overtime-utils": "^0.1.50",
|
|
18
18
|
"react": "^17.0.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
package/src/constants/common.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const ZERO = 0;
|
|
2
2
|
export const DRAW = 'Draw';
|
|
3
3
|
export const MONEYLINE_TYPE_ID = 0;
|
|
4
|
-
export const MIN_ODDS_FOR_DIFF_CHECKING = 0.
|
|
4
|
+
export const MIN_ODDS_FOR_DIFF_CHECKING = 0.1;
|
|
5
5
|
export const MAX_IMPLIED_PERCENTAGE_DIFF = 20; // 20%
|
|
6
6
|
export const TAG_CHILD_SPREAD = 10001;
|
|
7
7
|
export const TAG_CHILD_TOTALS = 10002;
|
package/src/utils/odds.ts
CHANGED
|
@@ -141,9 +141,6 @@ export const getParentOdds = (
|
|
|
141
141
|
0 // typeId for moneyline
|
|
142
142
|
);
|
|
143
143
|
|
|
144
|
-
console.log('defaultProviders', liveOddsProviders);
|
|
145
|
-
console.log('bookmakers for moneyline', bookmakers);
|
|
146
|
-
|
|
147
144
|
const isValidLastPolled = isLastPolledForBookmakersValid(
|
|
148
145
|
lastPolledData,
|
|
149
146
|
maxAllowedProviderDataStaleDelay,
|