Variable: constants

The constants object contains useful constants that can be used to configure the SDK. It can be imported as follows:

import { constants } from "@qonto/embed-sdk/common";

It includes the following properties:

ENVIRONMENTS

const ENVIRONMENTS: object

List of possible environments the SDK can be used in.

PRODUCTION

PRODUCTION: string = 'production'

STAGING

STAGING: string = 'staging'

BRANCHES

const BRANCHES: object

List of possible branches the SDK can be used in non-production environments.

MASTER

MASTER: string = 'master'

QA

QA: string = 'qa'

SANDBOX

SANDBOX: string = 'sandbox'