sonic-widget 2.9.3 → 2.9.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.
- package/README.md +3 -5
- package/dist/index.js +631 -631
- 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.9.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.9.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.9.
|
|
42
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.9.4/dist/index.min.js"></script>
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
or
|
|
@@ -84,7 +84,6 @@ ngOnInit(): void {
|
|
|
84
84
|
ipInfoKey: string, // the ip info key
|
|
85
85
|
googleMapKey: string, // the google map key
|
|
86
86
|
googleCaptchaKey: string, // the google reCAPTCHA site key for production
|
|
87
|
-
googleCaptchaMobileWidgetKey: string // the google reCAPTCHA site key for dev environment
|
|
88
87
|
passphrase: string, // the encryption key
|
|
89
88
|
showPage: boolean, // used to show the page or not
|
|
90
89
|
speedCheckURL: string, // public URL of the internet speed check
|
|
@@ -240,7 +239,7 @@ it can be added in `angular.json` by installing the npm package
|
|
|
240
239
|
4. Add a Script tag to the head tag or body tag. And use the latest version.
|
|
241
240
|
|
|
242
241
|
```html
|
|
243
|
-
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.9.
|
|
242
|
+
<script src="https://cdn.jsdelivr.net/npm/sonic-widget@2.9.4/dist/index.min.js"></script>
|
|
244
243
|
```
|
|
245
244
|
|
|
246
245
|
5. Next, add the script tag at a necessary place. But add below the widget script.
|
|
@@ -258,7 +257,6 @@ it can be added in `angular.json` by installing the npm package
|
|
|
258
257
|
ipInfoKey: string, // the ip info key
|
|
259
258
|
googleMapKey: string, // the google map key
|
|
260
259
|
googleCaptchaKey: string, // the google reCAPTCHA site key
|
|
261
|
-
googleCaptchaMobileWidgetKey: string // the google reCAPTCHA site key for mobile widget flow
|
|
262
260
|
passphrase: string, // the encryption key
|
|
263
261
|
showPage: boolean, // used to show the page or not
|
|
264
262
|
speedCheckURL: string, // public URL of the internet speed check
|