Javascript

View the package on NPM and the open source code on Github.

Installation

$ npm install smile-identity-core

Require the package:

const smileIdentityCore = require("smile-identity-core");

and pull in any of the necessary classes that you will be using:

const WebApi = smileIdentityCore.WebApi;
const IDApi = smileIdentityCore.IDApi;
const Signature = smileIdentityCore.Signature;
const Utilities = smileIdentityCore.Utilities;

Please note that for versions older than 1.0.0, you would have imported as follows:

const WebApi = require("smile-identity-core");
const Signature = require('smile-identity-core/src/signature');
const Utilities = require('smile-identity-core/src/utilities');