8.2.0 • Published 12 months ago
@miracl/client-js v8.2.0
Headless MFA Client Library
Installation
npm install
npm run build
Running Tests
Install development dependencies:
npm install
npm test
Available options
var options = {
projectId: "projectId", // required
seed: "hexEncodedRandomNumberGeneratorSeed", // required
userStorage: localStorage, // required
deviceName: "Name of Device"
}
var client = new MIRACLTrust(options);
Build in Docker image
docker run -v $PWD:/src -w /src node:alpine npm run build