2.0.0 • Published 2 years ago

@kandy-io/link-config-uae v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@kandy-io/link-config-uae

This package contains standard configuration for the Kandy Link JS SDK to connect to the Kandy platform in the UEA region.

Installation

via npm:

$ npm install @kandy-io/link-config-uae

via yarn:

$ yarn add @kandy-io/link-config-uae

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-uae'
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-uae'
import { create } from '@kandy-io/link-sdk'

const config = {
  ...defaultConfig,
  logs: {
    logLevel: 'debug'
  }
}

const client = create(config)

// Use the SDK.

See Also