@kandy-io/link-config-emea
v2.0.0
Published
Kandy.js EMEA Configuration
Downloads
2
Readme
@kandy-io/link-config-emea
This package contains standard configuration for the Kandy Link JS SDK to connect to the Kandy platform in the EMEA region.
Installation
via npm:
$ npm install @kandy-io/link-config-emea
via yarn:
$ yarn add @kandy-io/link-config-emea
Usage
You can use the package simply by importing it and providing the configuration to the Kandy Link JS SDK.
import { config } from '@kandy-io/link-config-emea'
import { create } from '@kandy-io/link-sdk'
const client = create(config)
// Use the SDK.
The configuration object can also be used as a base for your own custom configuration.
import { config as defaultConfig } from '@kandy-io/link-config-emea'
import { create } from '@kandy-io/link-sdk'
const config = {
...defaultConfig,
logs: {
logLevel: 'debug'
}
}
const client = create(config)
// Use the SDK.