@jetthai/cuora 1.1.293-dev-1 → 1.1.293-dev-2

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.293-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev-1...v1.1.293-dev-2) (2024-08-16)
6
+
5
7
  ### [1.1.293-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev...v1.1.293-dev-1) (2024-08-15)
6
8
 
7
9
  ### [1.1.293-dev](https://github.com/jetthai/cuora-module/compare/v1.1.294...v1.1.293-dev) (2024-08-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.293-dev-1",
3
+ "version": "1.1.293-dev-2",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -501,8 +501,8 @@ export default function (request) {
501
501
  return !context.boundBanks?.length
502
502
  },
503
503
  isConvertible: (context, event) => {
504
- const { balance, enableWithdraw } = context
505
- return balance > 0 && enableWithdraw
504
+ const { enableWithdraw } = context
505
+ return enableWithdraw
506
506
  },
507
507
  isNotWithdrawable: (context, event) => {
508
508
  const { balance, enableWithdraw, paymentDetail } = context