@jetthai/cuora 1.1.439-dev.1 → 1.1.439-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,13 @@
|
|
|
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.2](https://github.com/jetthai/cuora-module/compare/v1.1.439-dev.1...v1.1.439-dev.2) (2026-05-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **withdraw:** 現金站雙錢包出款閘門改用 truthy 比較 enableWithdraw ([833764d](https://github.com/jetthai/cuora-module/commit/833764da303bca6935d8af43fd4c446f7ba2e5c2))
|
|
11
|
+
|
|
5
12
|
### [1.1.439-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.439-dev.0...v1.1.439-dev.1) (2026-05-27)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
|
@@ -247,8 +247,9 @@ export default function (request, context) {
|
|
|
247
247
|
let prefetchedRule = null
|
|
248
248
|
if (doubleWalletWithdrawLimitCheck === '2' || doubleWalletWithdrawLimitCheck === '1') {
|
|
249
249
|
const activityRule = await request.send(payment.getDoubleWalletWithdrawRule({ walletType: 'ACTIVITY' }))
|
|
250
|
-
// '1' 模式僅看 ACTIVITY,'2' 模式 ACTIVITY 不可提則 CASH 不參與閘門 — 兩種情況都用 activityRule
|
|
251
|
-
|
|
250
|
+
// '1' 模式僅看 ACTIVITY,'2' 模式 ACTIVITY 不可提則 CASH 不參與閘門 — 兩種情況都用 activityRule 為依據。
|
|
251
|
+
// enableWithdraw 用 truthy 比較對齊 client-pwa-ssr useWithdrawManual(!enableWithdraw.value),避免 backend 回傳非 boolean truthy 值(如 1)時誤判。
|
|
252
|
+
if (doubleWalletWithdrawLimitCheck === '1' || !activityRule?.enableWithdraw) {
|
|
252
253
|
prefetchedRule = activityRule
|
|
253
254
|
}
|
|
254
255
|
}
|