@globalid/verifier-toolkit
v1.1.0
Published
Library for verifiers integrated with GlobaliD
Downloads
46
Readme
Verifier Toolkit
This is the JavaScript library for verifiers integrated with GlobaliD.
Documentation
Check out our docs for usage information.
Development
The following NPM scripts are available for development:
build
– Runs theclean
,genver
,compile
,lint
, andformat:check
scripts to build the projectclean
– Removes the output directory for a clean buildcompile
– Compiles TypeScript files withtsc
format
– Formats the files with Prettierformat:check
– Checks the formatting of the files with Prettiergenver
- Generates a version module withgenversion
lint
– Lints the code with ESLintlint:fix
– Attempts to fix problems found by the lintertest
– Tests the code with Jesttest:watch
– Tests the code in watch mode
Environment Variables
The following environment variables can be used to override the base URLs used and generated by this library:
BASE_GID_API_URL
- Base URL of GlobaliD's API (default:https://api.global.id
)BASE_GID_CREDENTIALS_URL
- Base URL of GlobaliD's Credentials API (default:https://credentials.global.id
)BASE_GID_LINK_URL
- Base URL of the deep link into GlobaliD's mobile app (defaulthttps://link.global.id
)