@jetthai/cuora 1.1.373-dev-12 → 1.1.373-dev-13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.373-dev-13](https://github.com/jetthai/cuora-module/compare/v1.1.373-dev-12...v1.1.373-dev-13) (2025-08-28)
6
+
5
7
  ### [1.1.373-dev-12](https://github.com/jetthai/cuora-module/compare/v1.1.373-dev-11...v1.1.373-dev-12) (2025-08-27)
6
8
 
7
9
  ### [1.1.373-dev-11](https://github.com/jetthai/cuora-module/compare/v1.1.373-dev-10...v1.1.373-dev-11) (2025-08-27)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.373-dev-12",
3
+ "version": "1.1.373-dev-13",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -171,11 +171,11 @@ export default function (request) {
171
171
  setBanks: assign((context, event) => {
172
172
  const { paymentList = {}, paymentInfo = {} } = event.data
173
173
  const { bankInfo = [] } = paymentInfo
174
- const firstBank = bankInfo.find((b) => b.bindingType === 'BANK')
174
+ const firstBank = bankInfo.find((b) => b.bindingType === 'BANK' || b.bindingType === 'EWALLET')
175
175
 
176
176
  return {
177
177
  hasAnyAccount: bankInfo.length > 0,
178
- hasAnyBankAccount: bankInfo.some((b) => b.bindingType === 'BANK'),
178
+ hasAnyBankAccount: bankInfo.some((b) => b.bindingType === 'BANK' || b.bindingType === 'EWALLET'),
179
179
  holderName: bankInfo[0]?.holderName,
180
180
  cnicCode: firstBank?.ifscCode || '',
181
181
  firstNameLocale: bankInfo[0]?.firstNameLocale || null,