verity-client 1.13.1
Install from the command line:
Learn more about npm packages
$ npm install @platacard/verity-client@1.13.1
Install via package.json:
"@platacard/verity-client": "1.13.1"
About this version
This library provides a client for the Verity that allows you to load dependencies.
Import and initiate the client with the following code:
import { VerityClient } from '@platacard/verity-client';
const config: VerityClientConfig = {
verityUrl: /* URL of the Verity API instance */,
applicationId: /* ID of the current application obtainable from Verity Admin panel */,
applicationVersion: /* Current version of the application */,
};
const client = new VerityClient(config);loadDependencies - Loads dependencies for current application version from the Verity API.
client
.getDependencies()
.then(() => {
// Dependencies loaded
})
.catch((error) => {
// Error loading dependencies
});Details
- verity-client
-
platacard
- over 1 year ago
- 1 dependencies
Assets
- verity-client-1.13.1.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0