Skip to main content

configuration/createConfig

Configuration

createConfig()

createConfig(params): {}

Create a new configuration.

Parameters

params: CreateConfigParameters

the parameters to create the configuration

Returns

{}

the configuration

Other

Config

Config: ReturnType\<typeof createConfig>


ExternalEventMap

ExternalEventMap: {appLoaded: void;disconnect: void;getCustomerStatusResponse: {status: CustomerStatus | null; };kycCompleted: any[];scenarioExecuted: ScenarioExecutionData;screenClosed: void;txAuthDataSignatureResponse: AnyTxAuthDataSignatureResponse; }

All events that can be emitted by the identity client.

Type declaration

appLoaded

appLoaded: void

The app has loaded

disconnect

disconnect: void

The user has disconnected

getCustomerStatusResponse

getCustomerStatusResponse: {status: CustomerStatus | null; }

The customer status has been received

getCustomerStatusResponse.status

status: CustomerStatus | null

kycCompleted

kycCompleted: any[]

The user has completed KYC

scenarioExecuted

scenarioExecuted: ScenarioExecutionData

A scenario has been executed

screenClosed

screenClosed: void

The screen has been closed

txAuthDataSignatureResponse

txAuthDataSignatureResponse: AnyTxAuthDataSignatureResponse

A transaction auth signature has been received