sonic-widget 1.14.0 → 1.16.0
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 +3 -3
- package/dist/index.js +7148 -1890
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Use this script tag to get access to the widget.
|
|
6
6
|
|
|
7
|
-
**_`<script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.
|
|
7
|
+
**_`<script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.16.0/dist/index.min.js"></script>`_**
|
|
8
8
|
|
|
9
9
|
## Implementation:
|
|
10
10
|
|
|
@@ -27,7 +27,7 @@ Use this script tag to get access to the widget.
|
|
|
27
27
|
4. Add a Script tag to the head tag or body tag. And use the latest version.
|
|
28
28
|
|
|
29
29
|
```html
|
|
30
|
-
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.
|
|
30
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.16.0/dist/index.min.js"></script>
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
5. Next, add the script tag at a necessary place. But add below the widget script.
|
|
@@ -38,7 +38,7 @@ Use this script tag to get access to the widget.
|
|
|
38
38
|
baseurl: string, // the base url of the backend server
|
|
39
39
|
showPage: boolean, // used to show the page or not
|
|
40
40
|
ipInfoKey: string, // api key to detect vpn used or not from "ipInfo.io"
|
|
41
|
-
videoURL: string, // url of video to do (e.g: demo)
|
|
41
|
+
videoURL: string, // url of video to do (e.g: demo doing kyc)
|
|
42
42
|
accountId: string, // account can be taken from operator axiom account
|
|
43
43
|
userId: string, // user prospective data
|
|
44
44
|
userName: string, // user prospective data
|