@jetthai/cuora 1.1.338-dev-3 → 1.1.338-dev-4

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.338-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.338-dev-3...v1.1.338-dev-4) (2025-02-12)
6
+
5
7
  ### [1.1.338-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.338-dev-2...v1.1.338-dev-3) (2025-02-11)
6
8
 
7
9
  ### [1.1.338-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.338-dev-1...v1.1.338-dev-2) (2025-02-07)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.338-dev-3",
3
+ "version": "1.1.338-dev-4",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -408,7 +408,8 @@ export default function (request) {
408
408
  }
409
409
  }),
410
410
  updateWithdrawCondition: assign((context, event) => {
411
- const { enableWithdraw, enableWithdrawAmount, currentWithdrawLimit, targetWithdrawLimit, balance, freeGameDetail } = event.data
411
+ const { enableWithdraw, enableWithdrawAmount, currentWithdrawLimit, targetWithdrawLimit, balance, freeGameDetail, freeGameExpired } =
412
+ event.data
412
413
  const withdrawRules = event.data?.rules || []
413
414
  const rules = withdrawRules.filter((rule) => rule.maxWithdrawAmount > 0)
414
415
  const lastMatchedIndex = findLastIndex(rules, (rule) => balance >= rule.greaterEqualThen)
@@ -433,6 +434,7 @@ export default function (request) {
433
434
  enableWithdraw,
434
435
  withdrawRules,
435
436
  freeGameDetail,
437
+ freeGameExpired,
436
438
  }
437
439
  }),
438
440
  setWithdrawRulePreview: assign((context, event) => {