ggez-banking-sdk 0.1.32 → 0.1.33

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.
@@ -117,7 +117,7 @@ const Data = () => {
117
117
  customField.promotion_data.gift_data = [values.giftData];
118
118
  }
119
119
  let authentication = [];
120
- if (values.mobileAuthenticationCode) {
120
+ if (values.mobileAuthenticationCode && values?.isMobileConfirmed && values.isMobileConfirmed == true) {
121
121
  authentication = [
122
122
  {
123
123
  type: enum_1.SecurityAuthenticationTypes.SMS_Code,
@@ -242,7 +242,7 @@ const Data = () => {
242
242
  customField.promotion_data.gift_data = [values.giftData];
243
243
  }
244
244
  let authentication = [];
245
- if (values.mobileAuthenticationCode) {
245
+ if (values.mobileAuthenticationCode && values?.isMobileConfirmed && values.isMobileConfirmed == true) {
246
246
  authentication = [
247
247
  {
248
248
  type: enum_1.SecurityAuthenticationTypes.SMS_Code,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",