@jetthai/cuora 1.1.344-vipCardPro-1 → 1.1.344-vipCardPro-3
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,10 @@
|
|
|
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.344-vipCardPro-3](https://github.com/jetthai/cuora-module/compare/v1.1.344-vipCardPro-2...v1.1.344-vipCardPro-3) (2025-03-25)
|
|
6
|
+
|
|
7
|
+
### [1.1.344-vipCardPro-2](https://github.com/jetthai/cuora-module/compare/v1.1.344-vipCardPro-1...v1.1.344-vipCardPro-2) (2025-03-24)
|
|
8
|
+
|
|
5
9
|
### [1.1.344-vipCardPro-1](https://github.com/jetthai/cuora-module/compare/v1.1.344...v1.1.344-vipCardPro-1) (2025-03-21)
|
|
6
10
|
|
|
7
11
|
### [1.1.344](https://github.com/jetthai/cuora-module/compare/v1.1.343-depositEvent-1...v1.1.344) (2025-03-18)
|
package/package.json
CHANGED
|
@@ -150,11 +150,11 @@ export default function (request) {
|
|
|
150
150
|
}),
|
|
151
151
|
setDuration: assign((context, event) => {
|
|
152
152
|
const { rewardPeriodSameAsAccumulationPeriod, accumulateEndTime, lastCycleCardEndTime } = context?.activityDetail
|
|
153
|
-
const { isAwardPeriod } = context
|
|
153
|
+
const { isAwardPeriod } = context
|
|
154
154
|
// 若為累積期,則倒數時間以累積期結束時間計算
|
|
155
155
|
let currentEndTime = accumulateEndTime
|
|
156
156
|
// 若為領獎期,則倒數時間以領獎期結束時間計算
|
|
157
|
-
if (!rewardPeriodSameAsAccumulationPeriod
|
|
157
|
+
if (!rewardPeriodSameAsAccumulationPeriod && isAwardPeriod) {
|
|
158
158
|
currentEndTime = lastCycleCardEndTime
|
|
159
159
|
}
|
|
160
160
|
return {
|