How to Build
Pack didPass Wallet sdk Into Local NPM Package
In your
didPass-Wallet/sdkdirectory run the following command
. build-sdk-package.shIt will produce
tgzfile{package-name}-{package-version}.tgz
Using the Package Locally
Move the
tgzfile into the directory of the project that requires that package.Inside your project (for example
didPass-Wallet/app)package.jsonchange the@didpasswallet/sdkdependency version into the newtgzfilepath
"@didpasswallet/sdk": "file:<path_to_tgz_file>"Run
npm installto 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