@regulaforensics/vp-frontend-document-components 7.6.2050-nightly → 7.6.2052-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -64,7 +64,7 @@ import { defineComponents, DocumentReaderService } from './node_modules/@regulaf
64
64
 
65
65
  #### CDN
66
66
 
67
- Connect the script to your `.html` file. Use a CDN link in the following format: `unpkg.com/:package@:version/:file`.
67
+ 1\. Connect the script to your `.html` file. Use a CDN link in the following format: `unpkg.com/:package@:version/:file`.
68
68
 
69
69
  For example:
70
70
 
@@ -72,6 +72,12 @@ For example:
72
72
  <script src="https://unpkg.com/@regulaforensics/vp-frontend-document-components@latest/dist/main.iife.js"></script>
73
73
  ```
74
74
 
75
+ 2\. Import the function `defineComponents` and the class `DocumentReaderService` into your `.js` file:
76
+
77
+ ```javascript
78
+ const { defineComponents, DocumentReaderService } = window.Regula;
79
+ ```
80
+
75
81
  ### Step 2: Add Component
76
82
 
77
83
  * [Smart capture](#smart-capture-component)