How to Build

Pack verifier-sdk Into Local NPM Package


  1. In your verifier-sdk root directory run the following command

./build-sdk-package
  1. It will produce tgz file {package-name}-{package-version}.tgz

Using the Package Locally


  1. From didPass root directory enter the client app that needs verifier-sdk package, ex:

cd verifier-demo
  1. Inside your client app package.json change the didpass/verifier-sdk dependency version into the new tgz filepath, ex:

"@didpass/verifier-sdk": "file:../verifier-sdk/{package-name}-{package-version}.tgz",
  1. Run npm install to install the package in your client app

Last updated