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,4 +1,4 @@
|
|
|
1
|
-
export declare type LangType =
|
|
2
|
-
export declare type IdSchemaType =
|
|
3
|
-
export declare type EnvironmentType =
|
|
4
|
-
export declare type ErrorHandlingModeType =
|
|
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": "
|
|
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()
|