sonic-widget 2.5.2 → 2.5.4

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 +6 -3
  2. package/dist/index.js +117 -117
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  Use this script tag to get access to the widget:
13
13
 
14
14
  ```html
15
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.2/dist/index.min.js"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.4/dist/index.min.js"></script>
16
16
  ```
17
17
 
18
18
  or
@@ -39,7 +39,7 @@ and adding path in `angular.json`
39
39
  2. Use this script tag to get access to the widget at initial html page:
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.2/dist/index.min.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.4/dist/index.min.js"></script>
43
43
  ```
44
44
 
45
45
  or
@@ -231,7 +231,7 @@ it can be added in `angular.json` by installing the npm package
231
231
  4. Add a Script tag to the head tag or body tag. And use the latest version.
232
232
 
233
233
  ```html
234
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.2/dist/index.min.js"></script>
234
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.5.4/dist/index.min.js"></script>
235
235
  ```
236
236
 
237
237
  5. Next, add the script tag at a necessary place. But add below the widget script.
@@ -315,3 +315,6 @@ Check with **`data.code`**_
315
315
  - _**`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)._
316
316
  - _**`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)._
317
317
  - _**`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._
318
+
319
+
320
+ <!-- use node 18 and install packages using yarn and do yarn dev -->