Skip to content

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

@platacard/verity-client

This library provides a client for the Verity that allows you to load dependencies.

Usage

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);

Methods

loadDependencies - Loads dependencies for current application version from the Verity API.

client
  .getDependencies()
  .then(() => {
    // Dependencies loaded
  })
  .catch((error) => {
    // Error loading dependencies
  });

Details


Assets

  • verity-client-1.13.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all