sonic-widget 2.4.5 → 2.4.6

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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/dist/index.js +1449 -1449
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  Use this script tag to get access to the widget:
17
17
 
18
18
  ```html
19
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.5/dist/index.min.js"></script>
19
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.6/dist/index.min.js"></script>
20
20
  ```
21
21
 
22
22
  or
@@ -43,7 +43,7 @@ and adding path in `angular.json`
43
43
  2. Use this script tag to get access to the widget at initial html page:
44
44
 
45
45
  ```html
46
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.5/dist/index.min.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.6/dist/index.min.js"></script>
47
47
  ```
48
48
 
49
49
  or
@@ -232,7 +232,7 @@ it can be added in `angular.json` by installing the npm package
232
232
  4. Add a Script tag to the head tag or body tag. And use the latest version.
233
233
 
234
234
  ```html
235
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.5/dist/index.min.js"></script>
235
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.4.6/dist/index.min.js"></script>
236
236
  ```
237
237
 
238
238
  5. Next, add the script tag at a necessary place. But add below the widget script.
@@ -306,7 +306,7 @@ Check with **`data.code`**_
306
306
  - _**`phone`** should pass as a string value. It is used to create an application for onboard sonic kyc._
307
307
  - _**`applicationNo`** should pass as a string value. It is used to create an application for onboard sonic kyc._
308
308
  - _**`sendLogsEmail`** is used to pass a boolean value. It is used to send logs to client email address._
309
- - _**`blinkThreshold`** is used to pass a numerical value. It is used to check the user blinks (range 0-1 and default 0.35)._
310
- - _**`objectPersonThreshold`** is used to pass a numerical value. It is used to check the image person as object found with required score as threshold (range 0-1 and default 0.95)._
309
+ - _**`blinkThreshold`** is used to pass a numerical value. It is used to check the user blinks (range 0-1 and default 0.5)._
310
+ - _**`objectPersonThreshold`** is used to pass a numerical value. It is used to check the image person as object found with required score as threshold (range 0-1 and default 0.925)._
311
311
  - _**`objectPhoneThreshold`** is used to pass a numerical value. It is used to check the image phone/laptop as object found with required score as threshold (range 0-1 and default 0.5)._
312
312
  - _**`onMessage`** is a callback function. It is getting called when the API gives a message or at any configuration error. Return data is an object with its API endpoint and result._