open-index/open-npm huggingface dataset:
npm package: @identance/websdk
Description: Identity verification application
Latest version: 3.0.14

# Identace websdk

## Installation
```bash
npm i @identance/websdk
```

## Counfigureation
```javascript
import render from '@identance/websdk';

// config example
const config = {
  baseUrl: 'https://your-website.com/verification-route',
  backUrl: 'https://your-website.com',
  requestToken: 'your jwt token',
  appConfig: {
    api: 'https://api.identance.com',
  },
  theme: {
    config: {
      components: {
        navigation: {
          backgroundColor: '#f8fafe',
      },
    },
  },
};

// mount node
const element = document.getElementById('#example');

// event handler
const handler = (eventName, payload) => {
  console.log(eventName, payload)
}

// render verification application 
render(config, element, handler);
```

## Additional documentation

Check out the guide for further integration https://docs.identance.com