Configuration options for BWellSDK
BWellConfig =
object
Configuration options for BWellSDK
Properties
clientKey
clientKey:
string
logLevel?
optionallogLevel:LogLevel
timeout?
optionaltimeout:number
retryPolicy?
optionalretryPolicy:Retry
telemetryEnabled?
optionaltelemetryEnabled:boolean
tokenStorage?
optionaltokenStorage:TokenStorage
language?
optionallanguage:Nullable<Language>
Language to be passed into the accept-language header into the sdk requests.
Supported values:
- "en": English [accept-language: 'en'].
- "es": Spanish. [accept-language: 'es']
null: Indicates no specific language preference. [noaccept-languagewil be set explicitly]
Limitation:
- Setting the language does not guarantee a response in the specified language, as not all queries support translation at the moment.
If null or the language property is not provided, the browser will automatically set the Accept-Language
header based on the user's language preferences
Default
nulloverrides?
optionaloverrides:object
apiUrl?
optionalapiUrl:Nullable<string>
Base URL for the BWell API. If not provided, the SDK will use the URL returned by remote configuration. NOTE: Changing this setting will override remote configuration.
