Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

    1. npm - @Ondato-public/idv-sdk

    2. 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
namescript_example.html

npm (React example):

  1. specify registry in .npmrc

    1. Code Block
      @ondato-public:registry=https://pkgs.dev.azure.com/Ondato/PublicNPM/_packaging/ondato-public-npm/npm/registry/ 
      
  2. in package.json specify version “@ondato-public/idv-sdk": "1.0.0" and npm install

  3. Example import can be found in App.tsx in idv_sdk_npm_example zip

View file
nameidv_sdk_npm_example.zip

Extra

Interfaces and declarations files

...