dcent-web-connector

0.16.0 • Public • Published

dcent-web-connector

This is package for connecting WEB and D'CENT biometric wallet.
dcent-web-connector is modules for easy integration of D'CENT into 3rd party services.
User interface is presented in a popup window served from https://bridge.dcentwallet.com/v2.

Installation

Node.js

npm i dcent-web-connector

Usage

// in Node.js
const DcentWebConnector = require('dcent-web-connector')

var result
try{
    result = await DcentWebConnector.info()
    // If you want to close the popup window.
    DcentWebConnector.popupWindowClose()
}catch(e){
    result = e
}

Preparence

Test

  • tests/unit/0_mock_test is mockup test.

  • tests/unit/1_bridge_test is test for real D'CENT Device.

Preparence

If you want to test tests/unit/1_bridge_test,

  • run test-server
npm run dev

Run

npm run test

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.16.041latest

Version History

VersionDownloads (Last 7 Days)Published
0.16.041
0.15.01
0.14.20
0.14.13
0.14.00
0.13.10
0.13.00
0.12.20
0.12.10
0.12.00
0.11.4157
0.11.33
0.11.20
0.11.10
0.11.00
0.10.522
0.10.40
0.10.30
0.10.20
0.10.10
0.10.00
0.9.10
0.9.01
0.8.21
0.8.10
0.8.00
0.7.2-beta8
0.7.1-beta0
0.7.0-beta0
0.6.4-beta1
0.6.3-beta0
0.6.2-beta0

Package Sidebar

Install

npm i dcent-web-connector

Weekly Downloads

238

Version

0.16.0

License

MIT

Unpacked Size

1.07 MB

Total Files

63

Last publish

Collaborators

  • ke.kim
  • dcent.dev