overtime-live-trading-utils 2.1.33 → 2.1.34

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": "2.1.33",
3
+ "version": "2.1.34",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -36,8 +36,8 @@ export enum SportPeriodType {
36
36
  * Period 2 = 2nd half
37
37
  */
38
38
  export const HALVES_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
39
- 1: [10021, 10031, 10041, 10051, 10061, 10071, 10081, 10111, 10112, 10121, 10163, 10200], // 1st half
40
- 2: [10022, 10032, 10042, 10052, 10062, 10072, 10082, 10211, 10212, 10122, 10164, 10201], // 2nd half
39
+ 1: [10021, 10031, 10041, 10051, 10061, 10071, 10081, 10111, 10112, 10121, 10163, 10200, 10101], // 1st half
40
+ 2: [10022, 10032, 10042, 10052, 10062, 10072, 10082, 10211, 10212, 10122, 10164, 10201, 10102], // 2nd half
41
41
  };
42
42
 
43
43
  /**
@@ -49,11 +49,11 @@ export const HALVES_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
49
49
  * Period 5+ = Overtime
50
50
  */
51
51
  export const QUARTERS_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
52
- 1: [10021, 10031, 10041, 10061, 10071, 10081, 10111, 10112, 10121, 10163], // 1st quarter
53
- 2: [10022, 10032, 10042, 10051, 10062, 10072, 10082, 10211, 10212, 10122, 10164], // 2nd quarter + 1st half
54
- 3: [10023, 10033, 10043, 10063, 10073, 10083, 10311, 10312, 10123, 10165], // 3rd quarter
55
- 4: [10024, 10034, 10044, 10052, 10064, 10074, 10084, 10411, 10412, 10124, 10166], // 4th quarter + 2nd half
56
- 5: [10025, 10035, 10045, 10055, 10065, 10075, 10085, 10511, 10512, 10167], // Overtime/5th period
52
+ 1: [10021, 10031, 10041, 10061, 10071, 10081, 10111, 10112, 10121, 10163, 10101], // 1st quarter
53
+ 2: [10022, 10032, 10042, 10051, 10062, 10072, 10082, 10211, 10212, 10122, 10164, 10102], // 2nd quarter + 1st half
54
+ 3: [10023, 10033, 10043, 10063, 10073, 10083, 10311, 10312, 10123, 10165, 10103], // 3rd quarter
55
+ 4: [10024, 10034, 10044, 10052, 10064, 10074, 10084, 10411, 10412, 10124, 10166, 10104], // 4th quarter + 2nd half
56
+ 5: [10025, 10035, 10045, 10055, 10065, 10075, 10085, 10511, 10512, 10167, 10105], // Overtime/5th period
57
57
  };
58
58
 
59
59
  /**
@@ -62,15 +62,15 @@ export const QUARTERS_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
62
62
  * Period 6-9 = Innings 6-9 (period 9 completes 2nd half - typeId 10052)
63
63
  */
64
64
  export const INNINGS_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
65
- 1: [10021, 10031, 10041, 10061, 10071, 10081, 10111, 10112, 10121, 10163], // 1st inning
66
- 2: [10022, 10032, 10042, 10062, 10072, 10082, 10211, 10212, 10122, 10164], // 2nd inning
67
- 3: [10023, 10033, 10043, 10063, 10073, 10083, 10311, 10312, 10123, 10165, 10170, 10171, 10172, 10173, 10174, 10201], // 3rd inning + first 3 innings
68
- 4: [10024, 10034, 10044, 10064, 10074, 10084, 10411, 10412, 10124, 10166], // 4th inning
69
- 5: [10025, 10035, 10045, 10051, 10065, 10075, 10085, 10511, 10512, 10167, 10200], // 5th inning + 1st half (first 5 innings)
70
- 6: [10026, 10036, 10046, 10056, 10066, 10076, 10086, 10611, 10612, 10168], // 6th inning
71
- 7: [10027, 10037, 10047, 10057, 10067, 10077, 10087, 10711, 10712, 10169, 10175, 10176, 10177, 10178, 10179, 10202], // 7th inning + first 7 innings
72
- 8: [10028, 10038, 10048, 10058, 10068, 10078, 10088, 10811, 10812, 10197], // 8th inning
73
- 9: [10029, 10039, 10049, 10052, 10069, 10079, 10089, 10198], // 9th inning
65
+ 1: [10021, 10031, 10041, 10061, 10071, 10081, 10111, 10112, 10121, 10163, 10101], // 1st inning
66
+ 2: [10022, 10032, 10042, 10062, 10072, 10082, 10211, 10212, 10122, 10164, 10102], // 2nd inning
67
+ 3: [10023, 10033, 10043, 10063, 10073, 10083, 10311, 10312, 10123, 10165, 10170, 10171, 10172, 10173, 10174, 10201, 10103], // 3rd inning + first 3 innings
68
+ 4: [10024, 10034, 10044, 10064, 10074, 10084, 10411, 10412, 10124, 10166, 10104], // 4th inning
69
+ 5: [10025, 10035, 10045, 10051, 10065, 10075, 10085, 10511, 10512, 10167, 10200, 10105], // 5th inning + 1st half (first 5 innings)
70
+ 6: [10026, 10036, 10046, 10056, 10066, 10076, 10086, 10611, 10612, 10168, 10106], // 6th inning
71
+ 7: [10027, 10037, 10047, 10057, 10067, 10077, 10087, 10711, 10712, 10169, 10175, 10176, 10177, 10178, 10179, 10202, 10107], // 7th inning + first 7 innings
72
+ 8: [10028, 10038, 10048, 10058, 10068, 10078, 10088, 10811, 10812, 10197, 10108], // 8th inning
73
+ 9: [10029, 10039, 10049, 10052, 10069, 10079, 10089, 10198, 10109], // 9th inning
74
74
  };
75
75
 
76
76
  /**
@@ -78,15 +78,15 @@ export const INNINGS_PERIOD_TYPE_ID_MAPPING: { [period: number]: number[] } = {
78
78
  * Excludes halves types (10051, 10052) and secondary moneyline types (ending in 11/12)
79
79
  */
80
80
  export const PERIOD_BASED_TYPE_ID_MAPPING: { [period: number]: number[] } = {
81
- 1: [10021, 10031, 10041, 10061, 10071, 10081, 10121, 10163], // 1st period
82
- 2: [10022, 10032, 10042, 10062, 10072, 10082, 10122, 10164], // 2nd period
83
- 3: [10023, 10033, 10043, 10063, 10073, 10083, 10123, 10165], // 3rd period
84
- 4: [10024, 10034, 10044, 10064, 10074, 10084, 10124, 10166], // 4th period
85
- 5: [10025, 10035, 10045, 10065, 10075, 10085, 10167], // 5th period
86
- 6: [10026, 10036, 10046, 10056, 10066, 10076, 10086, 10168], // 6th period
87
- 7: [10027, 10037, 10047, 10057, 10067, 10077, 10087, 10169], // 7th period
88
- 8: [10028, 10038, 10048, 10058, 10068, 10078, 10088, 10197], // 8th period
89
- 9: [10029, 10039, 10049, 10069, 10079, 10089, 10198], // 9th period
81
+ 1: [10021, 10031, 10041, 10061, 10071, 10081, 10121, 10163, 10101], // 1st period
82
+ 2: [10022, 10032, 10042, 10062, 10072, 10082, 10122, 10164, 10102], // 2nd period
83
+ 3: [10023, 10033, 10043, 10063, 10073, 10083, 10123, 10165, 10103], // 3rd period
84
+ 4: [10024, 10034, 10044, 10064, 10074, 10084, 10124, 10166, 10104], // 4th period
85
+ 5: [10025, 10035, 10045, 10065, 10075, 10085, 10167, 10105], // 5th period
86
+ 6: [10026, 10036, 10046, 10056, 10066, 10076, 10086, 10168, 10106], // 6th period
87
+ 7: [10027, 10037, 10047, 10057, 10067, 10077, 10087, 10169, 10107], // 7th period
88
+ 8: [10028, 10038, 10048, 10058, 10068, 10078, 10088, 10197, 10108], // 8th period
89
+ 9: [10029, 10039, 10049, 10069, 10079, 10089, 10198, 10109], // 9th period
90
90
  };
91
91
 
92
92
  /**