How to Build
Pack didPass Wallet sdk Into Local NPM Package
In your
didPass-Wallet/sdk
directory run the following command
. build-sdk-package.sh
It will produce
tgz
file{package-name}-{package-version}.tgz
Using the Package Locally
Move the
tgz
file into the directory of the project that requires that package.Inside your project (for example
didPass-Wallet/app
)package.json
change the@didpasswallet/sdk
dependency version into the newtgz
filepath
"@didpasswallet/sdk": "file:<path_to_tgz_file>"
Run
npm install
to install the package in your client app
If the project doesn't have a dependency reference to @didpasswallet/sdk
in its package.json, manually install the package using the following command:
npm install <path_to_tgz_file>
Last updated