UNPKG

onfido-sdk-ui

Version:

JavaScript SDK view layer for Onfido identity verification

16 lines (15 loc) 668 B
import type { SdkParameters } from './shared/SdkParameters'; import type { Handle, OnfidoApi } from './Onfido'; export type LoaderParameter = { /** * The version of the sdk to be loaded, by default v14 is used, which * is always fresh. Valid examples are 14 (default), 14.x (which pins the version to a minor version * and still accepts hotfixes or 14.x.y which pins it to exactly this version */ version?: string; }; export declare const prefixVersion: (version?: string) => string; export declare const Onfido: Omit<OnfidoApi, 'init'> & { init: (parameter: SdkParameters & LoaderParameter) => Handle; environment?: 'INSECURE'; };