sonic-widget 1.39.0 → 1.40.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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/index.js +1870 -1870
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Use this script tag to get access to the widget:
6
6
 
7
7
  ```html
8
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.39.0/dist/index.min.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.40.0/dist/index.min.js"></script>
9
9
  ```
10
10
 
11
11
  or
@@ -32,7 +32,7 @@ and adding path in `angular.json`
32
32
  2. Use this script tag to get access to the widget at initial html page:
33
33
 
34
34
  ```html
35
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.39.0/dist/index.min.js"></script>
35
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.40.0/dist/index.min.js"></script>
36
36
  ```
37
37
 
38
38
  or
@@ -73,7 +73,7 @@ ngOnInit(): void {
73
73
  videoURL: string, // url of video to do (e.g: demo doing kyc) (Optional)
74
74
  accountId: string, // account can be taken from operator axiom account
75
75
  userName: string, // user prospective data
76
- icNumber: string, // user document number to identity
76
+ userId: string, // user document number to identity
77
77
  email: string, // user prospective data
78
78
  phone: string, // user prospective data
79
79
  applicationNo: string, // user prospective data
@@ -113,7 +113,7 @@ ngOnInit(): void {
113
113
  4. Add a Script tag to the head tag or body tag. And use the latest version.
114
114
 
115
115
  ```html
116
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.39.0/dist/index.min.js"></script>
116
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.40.0/dist/index.min.js"></script>
117
117
  ```
118
118
 
119
119
  5. Next, add the script tag at a necessary place. But add below the widget script.
@@ -127,7 +127,7 @@ ngOnInit(): void {
127
127
  videoURL: string, // url of video to do (e.g: demo doing kyc) (Optional)
128
128
  accountId: string, // account can be taken from operator axiom account
129
129
  userName: string, // user prospective data
130
- icNumber: string, // user document number to identity
130
+ userId: string, // user document number to identity
131
131
  email: string, // user prospective data
132
132
  phone: string, // user prospective data
133
133
  applicationNo: string, // user prospective data
@@ -155,7 +155,7 @@ _Here, the config variable is used to pass the data. And the container variable
155
155
  - _**`accountId`** should pass as a string value. It is used to get the JWT token and proceed with the operator account._
156
156
  - _**`isMalay`** is used to pass a boolean value ( **`true`** or **`false`** ). To toggle the widget default language english or malay._
157
157
  - _**`userName`** should pass as a string value. It is used to create an application for onboard sonic kyc._
158
- - _**`icNumber`** should pass as a string value. It is used to create an application for onboard sonic kyc and to compare your identity with the document._
158
+ - _**`userId`** should pass as a string value. It is used to create an application for onboard sonic kyc and to compare your identity with the document._
159
159
  - _**`email`** should pass as a string value. It is used to create an application for onboard sonic kyc and it is optional._
160
160
  - _**`phone`** should pass as a string value. It is used to create an application for onboard sonic kyc and it is optional._
161
161
  - _**`applicationNo`** should pass as a string value. It is used to create an application for onboard sonic kyc._