sonic-widget 1.63.0 → 1.65.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 +1603 -1603
  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.63.0/dist/index.min.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.65.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.63.0/dist/index.min.js"></script>
35
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.65.0/dist/index.min.js"></script>
36
36
  ```
37
37
 
38
38
  or
@@ -81,7 +81,7 @@ ngOnInit(): void {
81
81
  applicationNo: string, // user prospective data
82
82
  isMalay: boolean, //used to change the default language english to malay
83
83
  branchId: string, //used to identify the bank branch
84
- sendLogsToDev: boolean, //used to send logs to backend
84
+ sendLogsEmail: boolean, //used to send logs through email
85
85
  onMessage: function (data) {}, // callback function, when api response message or error or any other actions
86
86
  };
87
87
 
@@ -117,7 +117,7 @@ ngOnInit(): void {
117
117
  4. Add a Script tag to the head tag or body tag. And use the latest version.
118
118
 
119
119
  ```html
120
- <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.63.0/dist/index.min.js"></script>
120
+ <script src="https://cdn.jsdelivr.net/npm/sonic-widget@1.65.0/dist/index.min.js"></script>
121
121
  ```
122
122
 
123
123
  5. Next, add the script tag at a necessary place. But add below the widget script.
@@ -139,7 +139,7 @@ ngOnInit(): void {
139
139
  applicationNo: string, // user prospective data
140
140
  isMalay: boolean, //used to change the default language english to malay
141
141
  branchId: string, // branch id to identify the branch of the bank
142
- sendLogsToDev: boolean, //used to send logs to backend
142
+ sendLogsEmail: boolean, //used to send logs through email
143
143
  onMessage: function (data) {}, // callback function, when api response message or error or any other actions
144
144
  };
145
145
  // get the element used in the action button
@@ -183,5 +183,5 @@ Check with **`data.code`**_
183
183
  - _**`email`** should pass as a string value. It is used to create an application for onboard sonic kyc._
184
184
  - _**`phone`** should pass as a string value. It is used to create an application for onboard sonic kyc._
185
185
  - _**`applicationNo`** should pass as a string value. It is used to create an application for onboard sonic kyc._
186
- - _**`sendLogsToDev`** is used to pass a boolean value. It is used to send logs to backend services._
186
+ - _**`sendLogsEmail`** is used to pass a boolean value. It is used to send logs to client email address._
187
187
  - _**`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._