How to Build

Pack issuer-sdk Into Local NPM Package


  1. In your issuer-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 issuer-sdk package, ex:

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

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

Last updated