fansunited-sdk-esm 1.121.0-RC1 → 1.121.0

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": "fansunited-sdk-esm",
3
- "version": "1.121.0-RC1",
3
+ "version": "1.121.0",
4
4
  "description": "Javascript SDK implemented as a standard module system",
5
5
  "author": "fansunited",
6
6
  "license": "ISC",
@@ -41,7 +41,7 @@ export default class PredictorValidator {
41
41
  * @param playerId Optional. Used only for player markets.
42
42
  * @returns Specific type of fixture.
43
43
  */
44
- validateFixture: (matchId: string, market: MarketEnum, prediction: any, playerId?: string) => BothTeamsFixtureModel | CornersFixtureModel | CorrectScoreFixtureModel | HalfTimeFullTimeFixtureModel | DoubleChanceFixtureModel | OneXTwoFixtureModel | OverCornersFixtureModel | OverGoalsFixtureModel | PenaltyMatchFixtureModel | PlayerFixtureModel | RedCardFixtureModel;
44
+ validateFixture: (matchId: string, market: MarketEnum, prediction: any, playerId?: string) => BothTeamsFixtureModel | CornersFixtureModel | CorrectScoreFixtureModel | DoubleChanceFixtureModel | HalfTimeFullTimeFixtureModel | OneXTwoFixtureModel | OverCornersFixtureModel | OverGoalsFixtureModel | PenaltyMatchFixtureModel | PlayerFixtureModel | RedCardFixtureModel;
45
45
  /**
46
46
  * Validate fixture fields. Throws exception for the following cases:
47
47
  * 1. When invalid field is provided