fansunited-sdk-esm 1.22.0 → 1.23.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.
@@ -1,5 +1,6 @@
1
1
  export declare enum LangEnum {
2
2
  EN = "en",
3
3
  BG = "bg",
4
- RO = "ro"
4
+ RO = "ro",
5
+ EL = "el"
5
6
  }
@@ -1,4 +1,4 @@
1
- export declare type LangType = 'bg' | 'en' | 'ro';
2
- export declare type IdSchemaType = 'native' | 'enetpulse' | 'sportal365' | 'sportradar';
3
- export declare type EnvironmentType = 'dev' | 'prod' | 'staging';
4
- export declare type ErrorHandlingModeType = 'default' | 'standard';
1
+ export declare type LangType = "bg" | "en" | "ro" | "el";
2
+ export declare type IdSchemaType = "native" | "enetpulse" | "sportal365" | "sportradar";
3
+ export declare type EnvironmentType = "dev" | "prod" | "staging";
4
+ export declare type ErrorHandlingModeType = "default" | "standard";
package/README.md CHANGED
@@ -44,7 +44,7 @@ const fansUnitedSdk = FansUnitedSDK({
44
44
  "apiKey": "your-api-key-here",
45
45
  "environment": "dev|prod|staging", // default: prod
46
46
  "clientId": "your-client-id-here",
47
- "lang": "BG|EN|RO", // default: EN
47
+ "lang": "bg|en|ro|el", // default: en
48
48
  "idSchema": "native|enetpulse|sportradar|sportal365", // default: native
49
49
  "errorHandlingMode": "default|standard", // default: default
50
50
  "authProvider": new myTokenProvider()