...
Current flow only allows to use SDK by installing through npm or use it as a script. See examples.
How to install
SDK flow explained in a sandbox environment:
2 ways how to use IDV SDK.
npm - @Ondato-public/idv-sdk
Add script to an application
<script src="build/index.1.0.0.min.js"></script>
SDK can be used by generating idv ID or using idv setupId(idv id is generated automatically)
...
View file | ||
---|---|---|
|
npm (React example):
specify registry in .npmrc
Code Block @ondato-public:registry=https://pkgs.dev.azure.com/Ondato/PublicNPM/_packaging/ondato-public-npm/npm/registry/
in package.json specify version
“@ondato-public/idv-sdk": "1.0.0"
and npm installExample import can be found in App.tsx in idv_sdk_npm_example zip
View file | ||
---|---|---|
|
Extra
Interfaces and declarations files
...