@jetthai/cuora 1.1.439-dev.6 → 1.1.439-dev.7

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.439-dev.7](https://github.com/jetthai/cuora-module/compare/v1.1.439-dev.6...v1.1.439-dev.7) (2026-06-03)
6
+
5
7
  ### [1.1.439-dev.6](https://github.com/jetthai/cuora-module/compare/v1.1.439-dev.5...v1.1.439-dev.6) (2026-06-01)
6
8
 
7
9
  ### [1.1.439-dev.5](https://github.com/jetthai/cuora-module/compare/v1.1.439-dev.4...v1.1.439-dev.5) (2026-05-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.439-dev.6",
3
+ "version": "1.1.439-dev.7",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -164,7 +164,7 @@ export default function (request, context) {
164
164
  selectedCrypto: defaultCrypto[0],
165
165
  selectedAddress: defaultAddresses[0],
166
166
  options: cryptoBank.optional,
167
- selectedAmount: max(context.promotion?.minimumAmount, defaultCrypto[0]?.minimum, context.selectedAmount, 0),
167
+ selectedAmount: max(context.promotion?.minimumAmount, defaultCrypto[0]?.minimum || cryptoBank?.minimum, context.selectedAmount, 0),
168
168
  }
169
169
  }),
170
170
  setCrypto: assign((context, event) => {
@@ -183,7 +183,7 @@ export default function (request, context) {
183
183
  addresses,
184
184
  selectedCrypto: selectedCrypto,
185
185
  selectedAddress: addresses[0],
186
- selectedAmount: max(context.promotion?.minimumAmount, selectedCrypto?.minimum, 0),
186
+ selectedAmount: max(context.promotion?.minimumAmount, selectedCrypto?.minimum || cryptoBank?.minimum, 0),
187
187
  calculation: null,
188
188
  options: cryptoBank.optional,
189
189
  }