@jetthai/cuora 1.1.394-dev-6 → 1.1.394-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 +18 -0
- package/package.json +1 -1
- package/src/machine/bank_binding.js +0 -1
- package/src/machine/roulette_v2.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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.394-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.399...v1.1.394-dev-7) (2025-11-20)
|
|
6
|
+
|
|
7
|
+
### [1.1.394-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.396...v1.1.394-dev-6) (2025-11-13)
|
|
8
|
+
|
|
9
|
+
### [1.1.394-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-4...v1.1.394-dev-5) (2025-11-11)
|
|
10
|
+
|
|
11
|
+
### [1.1.394-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-3...v1.1.394-dev-4) (2025-11-11)
|
|
12
|
+
|
|
13
|
+
### [1.1.394-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-2...v1.1.394-dev-3) (2025-11-10)
|
|
14
|
+
|
|
15
|
+
### [1.1.394-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-1...v1.1.394-dev-2) (2025-11-10)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- 新增活動週期自動更新檢查機制 ([d80ff18](https://github.com/jetthai/cuora-module/commit/d80ff188b25fb1576fd25edc8ed985ae1f1b6af6))
|
|
20
|
+
|
|
21
|
+
### [1.1.394-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.394...v1.1.394-dev-1) (2025-11-10)
|
|
22
|
+
|
|
5
23
|
### [1.1.394-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-5...v1.1.394-dev-6) (2025-11-13)
|
|
6
24
|
|
|
7
25
|
### [1.1.394-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.394-dev-4...v1.1.394-dev-5) (2025-11-11)
|
package/package.json
CHANGED
|
@@ -258,6 +258,10 @@ export default function (request) {
|
|
|
258
258
|
services: {
|
|
259
259
|
fetchActivityDetail: async (context, event) => {
|
|
260
260
|
const { activityNo, activityDetail = {} } = context
|
|
261
|
+
// 當活動資料已存在時避免重複呼叫 api
|
|
262
|
+
if (Object.keys(activityDetail).length > 0) {
|
|
263
|
+
return activityDetail
|
|
264
|
+
}
|
|
261
265
|
const { data } = await request.send(api.getActivityDetail({ activityNo, appSecret }))
|
|
262
266
|
return data.activityNo ? data : activityDetail
|
|
263
267
|
},
|