@jetthai/cuora 1.1.266 → 1.1.267

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.267](https://github.com/jetthai/cuora-module/compare/v1.1.266...v1.1.267) (2024-05-14)
6
+
5
7
  ### [1.1.266](https://github.com/jetthai/cuora-module/compare/v1.1.265...v1.1.266) (2024-05-14)
6
8
 
7
9
  ### [1.1.265](https://github.com/jetthai/cuora-module/compare/v1.1.264...v1.1.265) (2024-05-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.266",
3
+ "version": "1.1.267",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -243,10 +243,8 @@ export default function (request, context) {
243
243
  },
244
244
  isSubmittable: (context, event) => {
245
245
  const { selectedCrypto, selectedAddress, selectedAmount, depositTime, receipt, calculation, siteConfig } = context
246
- const { bankDepositProofIsOptional = '0' } = siteConfig
247
- return (
248
- selectedCrypto && selectedAddress && selectedAmount && depositTime && calculation && (receipt || !(bankDepositProofIsOptional === '1'))
249
- )
246
+ const { bankDepositProofIsOptional = '1' } = siteConfig
247
+ return selectedCrypto && selectedAddress && selectedAmount && depositTime && calculation && (receipt || bankDepositProofIsOptional === '0')
250
248
  },
251
249
  },
252
250
  services: {