sonic-widget 2.0.4 → 2.0.5
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 +14 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<center>
|
|
2
|
+
|
|
3
|
+
<h1> SONIC WIDGET </h1>
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/sonic-widget)
|
|
6
|
+
[](https://www.npmjs.com/package/sonic-widget)
|
|
7
|
+
[](https://www.jsdelivr.com/package/npm/sonic-widget)
|
|
8
|
+
[](https://www.jsdelivr.com/package/npm/sonic-widget)
|
|
9
|
+
|
|
10
|
+
</center>
|
|
11
|
+
|
|
1
12
|
## Installation:
|
|
2
13
|
|
|
3
14
|
**Sonic Widget** - _used to show the onboard kyc at your web page itself._
|
|
@@ -5,7 +16,7 @@
|
|
|
5
16
|
Use this script tag to get access to the widget:
|
|
6
17
|
|
|
7
18
|
```html
|
|
8
|
-
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.
|
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.5/dist/index.min.js"></script>
|
|
9
20
|
```
|
|
10
21
|
|
|
11
22
|
or
|
|
@@ -32,7 +43,7 @@ and adding path in `angular.json`
|
|
|
32
43
|
2. Use this script tag to get access to the widget at initial html page:
|
|
33
44
|
|
|
34
45
|
```html
|
|
35
|
-
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.
|
|
46
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.5/dist/index.min.js"></script>
|
|
36
47
|
```
|
|
37
48
|
|
|
38
49
|
or
|
|
@@ -117,7 +128,7 @@ ngOnInit(): void {
|
|
|
117
128
|
4. Add a Script tag to the head tag or body tag. And use the latest version.
|
|
118
129
|
|
|
119
130
|
```html
|
|
120
|
-
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.
|
|
131
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.0.5/dist/index.min.js"></script>
|
|
121
132
|
```
|
|
122
133
|
|
|
123
134
|
5. Next, add the script tag at a necessary place. But add below the widget script.
|