fansunited-sdk-esm 1.42.2 → 1.43.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.
@@ -2,5 +2,6 @@ export declare enum IdSchemaEnum {
2
2
  NATIVE = "native",
3
3
  ENETPULSE = "enetpulse",
4
4
  SPORTRADAR = "sportradar",
5
- SPORTAL_365 = "sportal365"
5
+ SPORTAL_365 = "sportal365",
6
+ API_FOOTBALL = "api_football"
6
7
  }
@@ -3,6 +3,7 @@ export declare const ID_TYPES: {
3
3
  sportradar: string;
4
4
  sportal365: string;
5
5
  enetpulse: string;
6
+ api_football: string;
6
7
  };
7
8
  export declare const documentationLinks: {
8
9
  PREDICTOR_USER_RELATED_OPERATION: string;
@@ -53,3 +53,14 @@ export declare const SDK_CONFIG_SPORTRADAR: {
53
53
  getIdToken: () => string;
54
54
  };
55
55
  };
56
+ export declare const SDK_CONFIG_API_FOOTBALL: {
57
+ apiKey: string;
58
+ environment: string;
59
+ idSchema: string;
60
+ clientId: string;
61
+ lang: string;
62
+ errorHandlingMode: string;
63
+ authProvider: {
64
+ getIdToken: () => string;
65
+ };
66
+ };
@@ -3,5 +3,6 @@ export default class IdMappingModel {
3
3
  enetpulse_id: string;
4
4
  sportal365_id: string;
5
5
  sportradar_id: string;
6
+ api_football_id: string;
6
7
  resource: string;
7
8
  }
package/README.md CHANGED
@@ -45,7 +45,7 @@ const fansUnitedSdk = FansUnitedSDK({
45
45
  "environment": "dev|prod|staging", // default: prod
46
46
  "clientId": "your-client-id-here",
47
47
  "lang": "bg|en|ro|el|sk|pt|sr|hu|sv|es|fr|nl|de|it", // default: en
48
- "idSchema": "native|enetpulse|sportradar|sportal365", // default: native
48
+ "idSchema": "native|enetpulse|sportradar|sportal365|api_football", // default: native
49
49
  "errorHandlingMode": "default|standard", // default: default
50
50
  "authProvider": new myTokenProvider()
51
51
  });