@jetthai/cuora 1.1.482 → 1.1.483-dev.1
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/.claude/commands/sync-ai-prompts.md +88 -1
- package/.claude/settings.local.json +3 -1
- package/.husky/post-checkout +3 -3
- package/.husky/pre-push +1 -1
- package/.prettierignore +2 -1
- package/CHANGELOG.md +335 -23
- package/package.json +1 -1
- package/scripts/auto-version.js +1 -0
- package/scripts/branch-auto-npm-publish.js +9 -2
- package/src/api/activity.js +2 -2
- package/src/api/payment.js +1 -0
- package/src/machine/auth_otp_v3.js +59 -20
- package/src/machine/honor_board_cash.js +15 -18
- package/src/machine/user_sign_up.js +3 -0
- package/src/request/request.js +77 -2
- package/src/util/constant.js +4 -0
- package/test/auth_otp_v3.test.js +323 -0
|
@@ -6,9 +6,96 @@
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## Step 0 — 分析專案並更新 AI_PROMPT_SOURCE.md
|
|
10
|
+
|
|
11
|
+
在同步之前,先掃描專案的實際狀態,確保 `AI_PROMPT_SOURCE.md` 中的數據與程式碼一致。
|
|
12
|
+
|
|
13
|
+
### Part A — 數據校準
|
|
14
|
+
|
|
15
|
+
驗證並更新文件中的統計數據,確保與程式碼一致:
|
|
16
|
+
|
|
17
|
+
1. **版本號**:讀取 `package.json` 的 `version` 欄位,更新文件中的版本號
|
|
18
|
+
2. **檔案數量統計**:
|
|
19
|
+
- `src/` 下的 `.js` 檔案總數
|
|
20
|
+
- `src/api/` 檔案數
|
|
21
|
+
- `src/machine/` 檔案總數(含子目錄),以及狀態機數量(= 總數 - index 檔案數)
|
|
22
|
+
- `src/machine/activity/`、`src/machine/deposit/`、`src/machine/withdraw/` 各自檔案數
|
|
23
|
+
- `src/util/` 檔案數
|
|
24
|
+
3. **API 函式數量**:對每個 `src/api/*.js` 模組,計算 `=>` 的出現次數以統計函式數
|
|
25
|
+
4. **行數驗證**:驗證以下檔案的實際行數:
|
|
26
|
+
- `src/request/request.js`、`src/request/config.js`
|
|
27
|
+
- 所有超過 300 行的狀態機檔案(用於「大型狀態機檔案」表格)
|
|
28
|
+
5. **supportVersion2List 端點數**:計算 `request.js` 中 `supportVersion2List` 陣列的實際項目數
|
|
29
|
+
6. **specifyingPath 映射數**:計算 `_convertUrlToKebabCase` 中 `specifyingPath` 的 key 數量
|
|
30
|
+
7. **關鍵行號參照**:驗證文件中引用的行號(如 `request.js:207`、`request.js:254` 等)是否仍然正確,若偏移則更新
|
|
31
|
+
8. **依賴套件版本**:讀取 `package.json` 的 `dependencies`,更新版本號
|
|
32
|
+
|
|
33
|
+
### Part B — Know-How 與架構驗證
|
|
34
|
+
|
|
35
|
+
檢查 `1.7 核心業務流程與關鍵 Know-How` 章節的內容是否仍然反映程式碼的實際行為:
|
|
36
|
+
|
|
37
|
+
1. **認證流程**:讀取 `src/machine/auth.js`,驗證:
|
|
38
|
+
|
|
39
|
+
- Token TTL、輪詢間隔、延展機制是否有變
|
|
40
|
+
- inline vs login 狀態判斷邏輯(`rank >= 0`)是否有變
|
|
41
|
+
- 登入方式是否有新增或移除(檢查全域 `on:` 事件列表)
|
|
42
|
+
- OTP 流程是否有調整
|
|
43
|
+
|
|
44
|
+
2. **存款流程**:抽樣讀取 2-3 個 deposit 狀態機,驗證:
|
|
45
|
+
|
|
46
|
+
- canonical 流程(loading → promotion → loaded → debouncing → calculating → submitting → submitted)是否有變
|
|
47
|
+
- Cash vs Non-Cash 變體的差異描述是否仍然正確
|
|
48
|
+
- 是否有新增的存款類型或支付方式
|
|
49
|
+
|
|
50
|
+
3. **提款流程**:讀取 `src/machine/withdraw/withdraw_manual.js`,驗證:
|
|
51
|
+
|
|
52
|
+
- 五步驟資格驗證鏈是否有調整
|
|
53
|
+
- OTP 平行狀態是否有變
|
|
54
|
+
|
|
55
|
+
4. **WebSocket**:讀取 `src/machine/websocket.js`,驗證:
|
|
56
|
+
|
|
57
|
+
- 連線參數、重連策略是否有變
|
|
58
|
+
- 事件轉發映射表是否有新增事件
|
|
59
|
+
|
|
60
|
+
5. **Error Machine**:讀取 `src/machine/error.js`,驗證:
|
|
61
|
+
|
|
62
|
+
- 錯誤代碼分類是否有新增
|
|
63
|
+
- 路由邏輯是否有調整
|
|
64
|
+
|
|
65
|
+
6. **Common Machine**:讀取 `src/machine/common.js`,驗證:
|
|
66
|
+
|
|
67
|
+
- 4 個平行子機器的結構是否有變
|
|
68
|
+
- siteConfig 解碼方式是否有變
|
|
69
|
+
|
|
70
|
+
7. **API 請求生命週期**:讀取 `src/request/request.js`,驗證:
|
|
71
|
+
|
|
72
|
+
- 攔截器邏輯、V2 轉換流程是否有變
|
|
73
|
+
- isBlocked 維護模式機制是否有變
|
|
74
|
+
|
|
75
|
+
8. **新增狀態機**:比對 `src/machine/` 目錄與文件中的狀態機分類表,若有新增檔案:
|
|
76
|
+
- 判斷歸類(核心/存款/提款/活動/遊戲/使用者/UI)
|
|
77
|
+
- 更新分類表中的數量與代表檔案
|
|
78
|
+
|
|
79
|
+
### Part C — Clean Code 規範驗證
|
|
80
|
+
|
|
81
|
+
檢查「二、程式碼品質標準」中列出的問題是否已修正:
|
|
82
|
+
|
|
83
|
+
1. **已修正的問題**:若問題已被修正(如 HTTP 方法大小寫已統一),將該項標記為已修正或移除
|
|
84
|
+
2. **新增的問題**:若發現新的程式碼品質問題,添加到對應章節
|
|
85
|
+
|
|
86
|
+
### 執行方式
|
|
87
|
+
|
|
88
|
+
- 使用 shell 指令(`wc -l`、`grep -c`、`find` 等)取得實際數據
|
|
89
|
+
- 使用 Agent subagent 平行分析多個核心檔案
|
|
90
|
+
- 將每項差異直接修正到 `AI_PROMPT_SOURCE.md` 中
|
|
91
|
+
- 若無差異則跳過,不做無意義修改
|
|
92
|
+
- 完成後簡短回報哪些項目有更新
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
9
96
|
## Step 1 — 讀取來源檔
|
|
10
97
|
|
|
11
|
-
讀取 `AI_PROMPT_SOURCE.md`
|
|
98
|
+
讀取 `AI_PROMPT_SOURCE.md` 完整內容(此時已是 Step 0 更新後的最新版本)。
|
|
12
99
|
|
|
13
100
|
---
|
|
14
101
|
|
package/.husky/post-checkout
CHANGED
|
@@ -19,14 +19,14 @@ if [ "$match" = "1" ]; then
|
|
|
19
19
|
# 檢查本地是否有尚未推送的 commit,有的話跳過自動拉取(避免覆蓋本地變更)
|
|
20
20
|
LOCAL_AHEAD=$(git rev-list --count origin/"$CURRENT_BRANCH"..HEAD 2>/dev/null || echo 0)
|
|
21
21
|
if [ "$LOCAL_AHEAD" -gt 0 ]; then
|
|
22
|
-
echo "
|
|
22
|
+
echo "You have $LOCAL_AHEAD unpushed commit(s) on '$CURRENT_BRANCH'. Skipping auto-pull."
|
|
23
23
|
exit 0
|
|
24
24
|
fi
|
|
25
25
|
|
|
26
26
|
# 自動從遠端拉取最新程式碼(使用 rebase 保持線性歷史)
|
|
27
|
-
echo "
|
|
27
|
+
echo "Auto pulling '$CURRENT_BRANCH' from remote..."
|
|
28
28
|
git pull --rebase origin "$CURRENT_BRANCH" || {
|
|
29
|
-
echo "
|
|
29
|
+
echo "Failed to pull '$CURRENT_BRANCH'. Please resolve manually."
|
|
30
30
|
exit 1
|
|
31
31
|
}
|
|
32
32
|
fi
|
package/.husky/pre-push
CHANGED
|
@@ -21,7 +21,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
21
21
|
|
|
22
22
|
# 在 dev/qa 分支的 force push 跳過所有 pre-push hook(避免干擾強制推送)
|
|
23
23
|
if [ "$IS_FORCE" = true ] && { [ "$BRANCH" = "dev" ] || [ "$BRANCH" = "qa" ]; }; then
|
|
24
|
-
echo "
|
|
24
|
+
echo "Force push detected on $BRANCH, skipping pre-push hooks."
|
|
25
25
|
exit 0
|
|
26
26
|
fi
|
|
27
27
|
|
package/.prettierignore
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
dist/
|
|
1
|
+
dist/
|
|
2
|
+
CHANGELOG.md
|
package/CHANGELOG.md
CHANGED
|
@@ -2,50 +2,94 @@
|
|
|
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.
|
|
5
|
+
### [1.1.483-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.483-dev.0...v1.1.483-dev.1) (2026-11-12)
|
|
6
|
+
|
|
7
|
+
### [1.1.483-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.481-dev.1...v1.1.483-dev.0) (2026-11-11)
|
|
8
|
+
|
|
6
9
|
|
|
7
10
|
### Bug Fixes
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
* **otp:** confirm auto verification from user status ([6adee39](https://github.com/jetthai/cuora-module/commit/6adee399a61ec5ac81c89a30036f89b222cf3920))
|
|
13
|
+
* **otp:** require contact data before provider completion ([03b2ee3](https://github.com/jetthai/cuora-module/commit/03b2ee306b4380103133d3709892341aca7db393))
|
|
14
|
+
|
|
15
|
+
### [1.1.481-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.481-dev.0...v1.1.481-dev.1) (2026-10-28)
|
|
16
|
+
|
|
17
|
+
### [1.1.481-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.481...v1.1.481-dev.0) (2026-10-28)
|
|
18
|
+
|
|
19
|
+
### [1.1.477-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.477...v1.1.477-dev.1) (2026-10-16)
|
|
10
20
|
|
|
11
|
-
### [1.1.481](https://github.com/jetthai/cuora-module/compare/v1.1.480...v1.1.481) (2026-10-20)
|
|
12
21
|
|
|
13
22
|
### ⚠ BREAKING CHANGES
|
|
14
23
|
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
* 下游在 OTP 關卡送出 OTP_VERIFIED / OTP_SKIP 後,必須在 bindBankChecking 送出
|
|
25
|
+
BIND_BANK_DONE 或 BIND_BANK_SKIP,否則會停在此關卡。目前僅 client-pwa-cash 使用本套件。
|
|
17
26
|
|
|
18
27
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
19
28
|
|
|
20
|
-
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
32
|
+
* **payment:** 恢復 setBonusSetting API ([ba1118d](https://github.com/jetthai/cuora-module/commit/ba1118dabbdd6ae5ca2b68ddf281c8dd6d67a59d))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
38
|
+
* **otp:** confirm auto verification from user status ([b3b40d8](https://github.com/jetthai/cuora-module/commit/b3b40d8dd42d438486a2110f85564ab3d839ea72))
|
|
39
|
+
* **otp:** require contact data before provider completion ([f70058b](https://github.com/jetthai/cuora-module/commit/f70058b6bcbbc6d048049326700a79249d043a03))
|
|
40
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
41
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
42
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
43
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
* [JT-1784011020] feat(auth): 新增 bindBankChecking 關卡,綁銀行完成前不進入 loginSuccess ([2b26e99](https://github.com/jetthai/cuora-module/commit/2b26e99eba3d37e8f954724b53da8ee3f75bec18))
|
|
47
|
+
|
|
48
|
+
### [1.1.477-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.477-dev.0...v1.1.477-dev.1) (2026-10-16)
|
|
49
|
+
|
|
50
|
+
### [1.1.477-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.477...v1.1.477-dev.0) (2026-10-16)
|
|
51
|
+
|
|
52
|
+
### [1.1.476-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.476...v1.1.476-dev.1) (2026-10-14)
|
|
21
53
|
|
|
22
|
-
### [1.1.480](https://github.com/jetthai/cuora-module/compare/v1.1.479...v1.1.480) (2026-10-19)
|
|
23
54
|
|
|
24
55
|
### ⚠ BREAKING CHANGES
|
|
25
56
|
|
|
26
|
-
|
|
57
|
+
* 下游在 OTP 關卡送出 OTP_VERIFIED / OTP_SKIP 後,必須在 bindBankChecking 送出
|
|
58
|
+
BIND_BANK_DONE 或 BIND_BANK_SKIP,否則會停在此關卡。目前僅 client-pwa-cash 使用本套件。
|
|
59
|
+
|
|
60
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
61
|
+
* **export:** 移除頂層 export util 與 Request.sourceUpdate/sourceGenerate
|
|
27
62
|
|
|
28
63
|
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
64
|
+
* **api,machine:** 移除 39 個 api 方法、2 個常數與 14 個 machine 事件
|
|
29
65
|
|
|
30
|
-
-
|
|
66
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
67
|
+
* **machine:** 移除公開 export machine.bonus、machine.vip_table 與 util 的 max
|
|
31
68
|
|
|
32
69
|
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
33
70
|
|
|
34
|
-
|
|
71
|
+
### Features
|
|
35
72
|
|
|
36
|
-
|
|
73
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
74
|
+
* **payment:** 恢復 setBonusSetting API ([ba1118d](https://github.com/jetthai/cuora-module/commit/ba1118dabbdd6ae5ca2b68ddf281c8dd6d67a59d))
|
|
37
75
|
|
|
38
|
-
### Bug Fixes
|
|
39
76
|
|
|
40
|
-
|
|
77
|
+
### Bug Fixes
|
|
41
78
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
79
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
80
|
+
* **machine:** 移除三處幽靈 action 引用 ([49009da](https://github.com/jetthai/cuora-module/commit/49009dae604088b819134e0d40f7719fb8e8874d))
|
|
81
|
+
* **otp:** confirm auto verification from user status ([b3b40d8](https://github.com/jetthai/cuora-module/commit/b3b40d8dd42d438486a2110f85564ab3d839ea72))
|
|
82
|
+
* **otp:** require contact data before provider completion ([f70058b](https://github.com/jetthai/cuora-module/commit/f70058b6bcbbc6d048049326700a79249d043a03))
|
|
83
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
84
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
85
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
86
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
45
87
|
|
|
46
|
-
### [1.1.479](https://github.com/jetthai/cuora-module/compare/v1.1.478...v1.1.479) (2026-10-19)
|
|
47
88
|
|
|
48
|
-
|
|
89
|
+
* [JT-1784011020] feat(auth): 新增 bindBankChecking 關卡,綁銀行完成前不進入 loginSuccess ([2b26e99](https://github.com/jetthai/cuora-module/commit/2b26e99eba3d37e8f954724b53da8ee3f75bec18))
|
|
90
|
+
* **api,machine:** 移除 39 個零呼叫端 API 與 14 個無觸發來源的 machine 事件 ([14fa754](https://github.com/jetthai/cuora-module/commit/14fa75459aba9558cde1a3485d64cbdf2f8294b2))
|
|
91
|
+
* **export:** 移除四個無消費者的對外符號 ([55afe6f](https://github.com/jetthai/cuora-module/commit/55afe6fbfadca8944dd9820d6333ee5b93e0ed25))
|
|
92
|
+
* **machine:** 移除 client-pwa-cash 未使用的 bonus、vip_table 與 util/max ([f49977b](https://github.com/jetthai/cuora-module/commit/f49977bfd480d961f5dc37435b3c60447eb198c0))
|
|
49
93
|
|
|
50
94
|
### [1.1.477](https://github.com/jetthai/cuora-module/compare/v1.1.476...v1.1.477) (2026-10-16)
|
|
51
95
|
|
|
@@ -53,6 +97,69 @@ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
|
53
97
|
|
|
54
98
|
- **activity:** activity_cash 明細略過(resolve null)時 setProgressSummary 不再拋錯卡死 machine ([67cd813](https://github.com/jetthai/cuora-module/commit/67cd8137f1cbb310d43d02c068ed0a896e2c6623))
|
|
55
99
|
|
|
100
|
+
### [1.1.476-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.476-dev.0...v1.1.476-dev.1) (2026-10-14)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Bug Fixes
|
|
104
|
+
|
|
105
|
+
* **activity:** activity_cash 明細略過(resolve null)時 setProgressSummary 不再拋錯卡死 machine ([67cd813](https://github.com/jetthai/cuora-module/commit/67cd8137f1cbb310d43d02c068ed0a896e2c6623))
|
|
106
|
+
|
|
107
|
+
### [1.1.476](https://github.com/jetthai/cuora-module/compare/v1.1.475...v1.1.476) (2026-10-13)
|
|
108
|
+
|
|
109
|
+
### [1.1.475](https://github.com/jetthai/cuora-module/compare/v1.1.473...v1.1.475) (2026-10-12)
|
|
110
|
+
|
|
111
|
+
### [1.1.476-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.473-dev.0...v1.1.476-dev.0) (2026-10-13)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### ⚠ BREAKING CHANGES
|
|
115
|
+
|
|
116
|
+
* 下游在 OTP 關卡送出 OTP_VERIFIED / OTP_SKIP 後,必須在 bindBankChecking 送出
|
|
117
|
+
BIND_BANK_DONE 或 BIND_BANK_SKIP,否則會停在此關卡。目前僅 client-pwa-cash 使用本套件。
|
|
118
|
+
|
|
119
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
120
|
+
|
|
121
|
+
* [JT-1784011020] feat(auth): 新增 bindBankChecking 關卡,綁銀行完成前不進入 loginSuccess ([2b26e99](https://github.com/jetthai/cuora-module/commit/2b26e99eba3d37e8f954724b53da8ee3f75bec18))
|
|
122
|
+
|
|
123
|
+
### [1.1.473-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.473...v1.1.473-dev.0) (2026-10-07)
|
|
124
|
+
|
|
125
|
+
### [1.1.472-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.472...v1.1.472-dev.2) (2026-10-01)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### ⚠ BREAKING CHANGES
|
|
129
|
+
|
|
130
|
+
* **export:** 移除頂層 export util 與 Request.sourceUpdate/sourceGenerate
|
|
131
|
+
|
|
132
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
133
|
+
* **api,machine:** 移除 39 個 api 方法、2 個常數與 14 個 machine 事件
|
|
134
|
+
|
|
135
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
136
|
+
* **machine:** 移除公開 export machine.bonus、machine.vip_table 與 util 的 max
|
|
137
|
+
|
|
138
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
143
|
+
* **payment:** 恢復 setBonusSetting API ([ba1118d](https://github.com/jetthai/cuora-module/commit/ba1118dabbdd6ae5ca2b68ddf281c8dd6d67a59d))
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
* **activity:** activity_cash 列表與明細回應格式異常時改走 onError,避免 machine 卡死 ([fea8494](https://github.com/jetthai/cuora-module/commit/fea8494d8c0ff084f8994cb58b8f1f7e3800024a))
|
|
149
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
150
|
+
* **machine:** 移除三處幽靈 action 引用 ([49009da](https://github.com/jetthai/cuora-module/commit/49009dae604088b819134e0d40f7719fb8e8874d))
|
|
151
|
+
* **otp:** confirm auto verification from user status ([b3b40d8](https://github.com/jetthai/cuora-module/commit/b3b40d8dd42d438486a2110f85564ab3d839ea72))
|
|
152
|
+
* **otp:** require contact data before provider completion ([f70058b](https://github.com/jetthai/cuora-module/commit/f70058b6bcbbc6d048049326700a79249d043a03))
|
|
153
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
154
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
155
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
156
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
* **api,machine:** 移除 39 個零呼叫端 API 與 14 個無觸發來源的 machine 事件 ([14fa754](https://github.com/jetthai/cuora-module/commit/14fa75459aba9558cde1a3485d64cbdf2f8294b2))
|
|
160
|
+
* **export:** 移除四個無消費者的對外符號 ([55afe6f](https://github.com/jetthai/cuora-module/commit/55afe6fbfadca8944dd9820d6333ee5b93e0ed25))
|
|
161
|
+
* **machine:** 移除 client-pwa-cash 未使用的 bonus、vip_table 與 util/max ([f49977b](https://github.com/jetthai/cuora-module/commit/f49977bfd480d961f5dc37435b3c60447eb198c0))
|
|
162
|
+
|
|
56
163
|
### [1.1.476](https://github.com/jetthai/cuora-module/compare/v1.1.475...v1.1.476) (2026-10-13)
|
|
57
164
|
|
|
58
165
|
### Bug Fixes
|
|
@@ -65,27 +172,135 @@ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
|
65
172
|
|
|
66
173
|
### [1.1.473](https://github.com/jetthai/cuora-module/compare/v1.1.472...v1.1.473) (2026-10-05)
|
|
67
174
|
|
|
175
|
+
### [1.1.472-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.472-dev.1...v1.1.472-dev.2) (2026-10-01)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### Bug Fixes
|
|
179
|
+
|
|
180
|
+
* **otp:** confirm auto verification from user status ([b3b40d8](https://github.com/jetthai/cuora-module/commit/b3b40d8dd42d438486a2110f85564ab3d839ea72))
|
|
181
|
+
* **otp:** require contact data before provider completion ([f70058b](https://github.com/jetthai/cuora-module/commit/f70058b6bcbbc6d048049326700a79249d043a03))
|
|
182
|
+
|
|
183
|
+
### [1.1.472-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.472-dev.0...v1.1.472-dev.1) (2026-10-01)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
### Bug Fixes
|
|
187
|
+
|
|
188
|
+
* **activity:** activity_cash 列表與明細回應格式異常時改走 onError,避免 machine 卡死 ([fea8494](https://github.com/jetthai/cuora-module/commit/fea8494d8c0ff084f8994cb58b8f1f7e3800024a))
|
|
189
|
+
|
|
68
190
|
### [1.1.472](https://github.com/jetthai/cuora-module/compare/v1.1.471...v1.1.472) (2026-09-24)
|
|
69
191
|
|
|
70
192
|
### [1.1.471](https://github.com/jetthai/cuora-module/compare/v1.1.470...v1.1.471) (2026-09-23)
|
|
71
193
|
|
|
194
|
+
### [1.1.472-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.471-dev.1...v1.1.472-dev.0) (2026-09-29)
|
|
195
|
+
|
|
196
|
+
### [1.1.471-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.471-dev.0...v1.1.471-dev.1) (2026-09-24)
|
|
197
|
+
|
|
198
|
+
### [1.1.471-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.470-dev.2...v1.1.471-dev.0) (2026-09-23)
|
|
199
|
+
|
|
72
200
|
### [1.1.470](https://github.com/jetthai/cuora-module/compare/v1.1.469...v1.1.470) (2026-09-14)
|
|
73
201
|
|
|
202
|
+
### [1.1.469](https://github.com/jetthai/cuora-module/compare/v1.1.468...v1.1.469) (2026-09-13)
|
|
203
|
+
|
|
204
|
+
### [1.1.470-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.470-dev.1...v1.1.470-dev.2) (2026-09-17)
|
|
205
|
+
|
|
206
|
+
### [1.1.470-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.470-dev.0...v1.1.470-dev.1) (2026-09-17)
|
|
207
|
+
|
|
208
|
+
### Features
|
|
209
|
+
|
|
210
|
+
* **payment:** 恢復 setBonusSetting API ([ba1118d](https://github.com/jetthai/cuora-module/commit/ba1118dabbdd6ae5ca2b68ddf281c8dd6d67a59d))
|
|
211
|
+
|
|
212
|
+
### [1.1.470-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.468-dev.1...v1.1.470-dev.0) (2026-09-14)
|
|
213
|
+
|
|
214
|
+
### [1.1.468-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.468-dev.0...v1.1.468-dev.1) (2026-09-13)
|
|
215
|
+
|
|
216
|
+
### [1.1.468-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.468...v1.1.468-dev.0) (2026-09-12)
|
|
217
|
+
|
|
218
|
+
### [1.1.467-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.467...v1.1.467-dev.2) (2026-09-10)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### ⚠ BREAKING CHANGES
|
|
222
|
+
|
|
223
|
+
* **export:** 移除頂層 export util 與 Request.sourceUpdate/sourceGenerate
|
|
224
|
+
|
|
225
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
226
|
+
* **api,machine:** 移除 39 個 api 方法、2 個常數與 14 個 machine 事件
|
|
227
|
+
|
|
228
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
229
|
+
* **machine:** 移除公開 export machine.bonus、machine.vip_table 與 util 的 max
|
|
230
|
+
|
|
231
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
232
|
+
|
|
233
|
+
### Features
|
|
234
|
+
|
|
235
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
236
|
+
|
|
237
|
+
|
|
74
238
|
### Bug Fixes
|
|
75
239
|
|
|
76
|
-
|
|
240
|
+
* **auth:** 清除站台已停用登入方式殘留的記住帳號 ([2c6b965](https://github.com/jetthai/cuora-module/commit/2c6b96572108cfc977d7dc99635adebbee01db46))
|
|
241
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
242
|
+
* **machine:** user_sign_up 的 registrationData 補上 agentId ([833e8c9](https://github.com/jetthai/cuora-module/commit/833e8c90c0ff554cff651bdb7045ed514d42035e))
|
|
243
|
+
* **machine:** 移除三處幽靈 action 引用 ([49009da](https://github.com/jetthai/cuora-module/commit/49009dae604088b819134e0d40f7719fb8e8874d))
|
|
244
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
245
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
246
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
247
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
77
248
|
|
|
78
|
-
|
|
249
|
+
|
|
250
|
+
* **api,machine:** 移除 39 個零呼叫端 API 與 14 個無觸發來源的 machine 事件 ([14fa754](https://github.com/jetthai/cuora-module/commit/14fa75459aba9558cde1a3485d64cbdf2f8294b2))
|
|
251
|
+
* **export:** 移除四個無消費者的對外符號 ([55afe6f](https://github.com/jetthai/cuora-module/commit/55afe6fbfadca8944dd9820d6333ee5b93e0ed25))
|
|
252
|
+
* **machine:** 移除 client-pwa-cash 未使用的 bonus、vip_table 與 util/max ([f49977b](https://github.com/jetthai/cuora-module/commit/f49977bfd480d961f5dc37435b3c60447eb198c0))
|
|
253
|
+
|
|
254
|
+
### [1.1.467-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.467-dev.1...v1.1.467-dev.2) (2026-09-10)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Bug Fixes
|
|
258
|
+
|
|
259
|
+
* **machine:** user_sign_up 的 registrationData 補上 agentId ([833e8c9](https://github.com/jetthai/cuora-module/commit/833e8c90c0ff554cff651bdb7045ed514d42035e))
|
|
260
|
+
|
|
261
|
+
### [1.1.467-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.467-dev.0...v1.1.467-dev.1) (2026-09-09)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
### ⚠ BREAKING CHANGES
|
|
265
|
+
|
|
266
|
+
* **export:** 移除頂層 export util 與 Request.sourceUpdate/sourceGenerate
|
|
267
|
+
|
|
268
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
269
|
+
* **api,machine:** 移除 39 個 api 方法、2 個常數與 14 個 machine 事件
|
|
270
|
+
|
|
271
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
272
|
+
* **machine:** 移除公開 export machine.bonus、machine.vip_table 與 util 的 max
|
|
273
|
+
|
|
274
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
79
275
|
|
|
80
276
|
### Bug Fixes
|
|
81
277
|
|
|
82
|
-
|
|
278
|
+
* **machine:** 移除三處幽靈 action 引用 ([49009da](https://github.com/jetthai/cuora-module/commit/49009dae604088b819134e0d40f7719fb8e8874d))
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
* **api,machine:** 移除 39 個零呼叫端 API 與 14 個無觸發來源的 machine 事件 ([14fa754](https://github.com/jetthai/cuora-module/commit/14fa75459aba9558cde1a3485d64cbdf2f8294b2))
|
|
282
|
+
* **export:** 移除四個無消費者的對外符號 ([55afe6f](https://github.com/jetthai/cuora-module/commit/55afe6fbfadca8944dd9820d6333ee5b93e0ed25))
|
|
283
|
+
* **machine:** 移除 client-pwa-cash 未使用的 bonus、vip_table 與 util/max ([f49977b](https://github.com/jetthai/cuora-module/commit/f49977bfd480d961f5dc37435b3c60447eb198c0))
|
|
284
|
+
|
|
285
|
+
### [1.1.467-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.467...v1.1.467-dev.0) (2026-09-09)
|
|
286
|
+
|
|
287
|
+
### [1.1.466-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.466...v1.1.466-dev.0) (2026-09-06)
|
|
83
288
|
|
|
84
|
-
### [1.1.468](https://github.com/jetthai/cuora-module/compare/v1.1.467...v1.1.468) (2026-09-11)
|
|
85
289
|
|
|
86
290
|
### Features
|
|
87
291
|
|
|
88
|
-
|
|
292
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
293
|
+
* **payment:** 新增 getPaymentPromotions API 描述符 ([0319692](https://github.com/jetthai/cuora-module/commit/03196925d989333e4bdb11cd933c18b6ace65d83))
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
### Bug Fixes
|
|
297
|
+
|
|
298
|
+
* **auth:** 清除站台已停用登入方式殘留的記住帳號 ([2c6b965](https://github.com/jetthai/cuora-module/commit/2c6b96572108cfc977d7dc99635adebbee01db46))
|
|
299
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
300
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
301
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
302
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
303
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
89
304
|
|
|
90
305
|
### [1.1.467](https://github.com/jetthai/cuora-module/compare/v1.1.466...v1.1.467) (2026-09-06)
|
|
91
306
|
|
|
@@ -95,15 +310,74 @@ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
|
95
310
|
|
|
96
311
|
### [1.1.466](https://github.com/jetthai/cuora-module/compare/v1.1.465...v1.1.466) (2026-08-31)
|
|
97
312
|
|
|
313
|
+
### [1.1.465-dev.4](https://github.com/jetthai/cuora-module/compare/v1.1.465-dev.3...v1.1.465-dev.4) (2026-08-24)
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Bug Fixes
|
|
317
|
+
|
|
318
|
+
* **auth:** 清除站台已停用登入方式殘留的記住帳號 ([2c6b965](https://github.com/jetthai/cuora-module/commit/2c6b96572108cfc977d7dc99635adebbee01db46))
|
|
319
|
+
|
|
320
|
+
### [1.1.465-dev.3](https://github.com/jetthai/cuora-module/compare/v1.1.465-dev.2...v1.1.465-dev.3) (2026-08-19)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### Bug Fixes
|
|
324
|
+
|
|
325
|
+
* **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
|
|
326
|
+
|
|
327
|
+
### [1.1.465-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.465-dev.1...v1.1.465-dev.2) (2026-08-19)
|
|
328
|
+
|
|
329
|
+
### [1.1.465-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.465-dev.0...v1.1.465-dev.1) (2026-08-19)
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
### Features
|
|
333
|
+
|
|
334
|
+
* **payment:** 新增 getPaymentPromotions API 描述符 ([0319692](https://github.com/jetthai/cuora-module/commit/03196925d989333e4bdb11cd933c18b6ace65d83))
|
|
335
|
+
|
|
98
336
|
### [1.1.465](https://github.com/jetthai/cuora-module/compare/v1.1.464...v1.1.465) (2026-08-17)
|
|
99
337
|
|
|
100
338
|
### [1.1.464](https://github.com/jetthai/cuora-module/compare/v1.1.463...v1.1.464) (2026-08-16)
|
|
101
339
|
|
|
340
|
+
### [1.1.465-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.463-dev.3...v1.1.465-dev.0) (2026-08-17)
|
|
341
|
+
|
|
342
|
+
### [1.1.465](https://github.com/jetthai/cuora-module/compare/v1.1.464...v1.1.465) (2026-08-17)
|
|
343
|
+
|
|
344
|
+
### [1.1.463-dev.3](https://github.com/jetthai/cuora-module/compare/v1.1.463-dev.2...v1.1.463-dev.3) (2026-08-17)
|
|
345
|
+
|
|
346
|
+
### [1.1.464](https://github.com/jetthai/cuora-module/compare/v1.1.463...v1.1.464) (2026-08-16)
|
|
347
|
+
|
|
348
|
+
|
|
102
349
|
### Bug Fixes
|
|
103
350
|
|
|
104
351
|
- **deposit:** 切換存款活動不再重設使用者已選的通道 ([b9c1de2](https://github.com/jetthai/cuora-module/commit/b9c1de2f3665c56f52d7b074e892837e836d02fa))
|
|
105
352
|
- **user_sign_up:** 明確輸入判定改用 !== undefined,修復三層解析成為死碼 ([770450e](https://github.com/jetthai/cuora-module/commit/770450e6065d42d497504d2f8630c6740ec1e7c4))
|
|
106
353
|
|
|
354
|
+
### [1.1.463-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.463-dev.1...v1.1.463-dev.2) (2026-08-16)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
### Bug Fixes
|
|
358
|
+
|
|
359
|
+
* **deposit:** 切換存款活動不再重設使用者已選的通道 ([b9c1de2](https://github.com/jetthai/cuora-module/commit/b9c1de2f3665c56f52d7b074e892837e836d02fa))
|
|
360
|
+
|
|
361
|
+
### [1.1.463-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.463-dev.0...v1.1.463-dev.1) (2026-08-13)
|
|
362
|
+
|
|
363
|
+
### [1.1.463-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.463...v1.1.463-dev.0) (2026-08-13)
|
|
364
|
+
|
|
365
|
+
### [1.1.455-dev.8](https://github.com/jetthai/cuora-module/compare/v1.1.455...v1.1.455-dev.8) (2026-08-09)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### Features
|
|
369
|
+
|
|
370
|
+
* **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
### Bug Fixes
|
|
374
|
+
|
|
375
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
376
|
+
* **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
377
|
+
* **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
378
|
+
* **user_sign_up:** 明確輸入判定改用 !== undefined,修復三層解析成為死碼 ([770450e](https://github.com/jetthai/cuora-module/commit/770450e6065d42d497504d2f8630c6740ec1e7c4))
|
|
379
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
380
|
+
|
|
107
381
|
### [1.1.463](https://github.com/jetthai/cuora-module/compare/v1.1.462...v1.1.463) (2026-08-12)
|
|
108
382
|
|
|
109
383
|
### [1.1.462](https://github.com/jetthai/cuora-module/compare/v1.1.461...v1.1.462) (2026-08-10)
|
|
@@ -120,6 +394,44 @@ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
|
120
394
|
|
|
121
395
|
### [1.1.456](https://github.com/jetthai/cuora-module/compare/v1.1.455...v1.1.456) (2026-08-09)
|
|
122
396
|
|
|
397
|
+
### [1.1.455-dev.8](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.7...v1.1.455-dev.8) (2026-08-09)
|
|
398
|
+
|
|
399
|
+
### [1.1.455-dev.7](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.6...v1.1.455-dev.7) (2026-08-07)
|
|
400
|
+
|
|
401
|
+
### [1.1.455-dev.6](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.5...v1.1.455-dev.6) (2026-08-07)
|
|
402
|
+
|
|
403
|
+
### [1.1.455-dev.5](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.4...v1.1.455-dev.5) (2026-08-07)
|
|
404
|
+
|
|
405
|
+
### [1.1.455-dev.4](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.3...v1.1.455-dev.4) (2026-08-07)
|
|
406
|
+
|
|
407
|
+
### [1.1.455-dev.3](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.2...v1.1.455-dev.3) (2026-08-07)
|
|
408
|
+
|
|
409
|
+
### [1.1.455-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.1...v1.1.455-dev.2) (2026-08-06)
|
|
410
|
+
|
|
411
|
+
### [1.1.455-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.455-dev.0...v1.1.455-dev.1) (2026-08-04)
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
### Bug Fixes
|
|
415
|
+
|
|
416
|
+
- **user_sign_up:** 明確輸入判定改用 !== undefined,修復三層解析成為死碼 ([770450e](https://github.com/jetthai/cuora-module/commit/770450e6065d42d497504d2f8630c6740ec1e7c4))
|
|
417
|
+
|
|
418
|
+
### [1.1.455-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.455...v1.1.455-dev.0) (2026-08-04)
|
|
419
|
+
|
|
420
|
+
### [1.1.454-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.453...v1.1.454-dev.0) (2026-07-29)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Features
|
|
424
|
+
|
|
425
|
+
- **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
### Bug Fixes
|
|
429
|
+
|
|
430
|
+
- **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
431
|
+
- **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
|
|
432
|
+
- **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
|
|
433
|
+
- **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
434
|
+
|
|
123
435
|
### [1.1.455](https://github.com/jetthai/cuora-module/compare/v1.1.453...v1.1.455) (2026-08-03)
|
|
124
436
|
|
|
125
437
|
### Bug Fixes
|
package/package.json
CHANGED
package/scripts/auto-version.js
CHANGED
|
@@ -14,8 +14,15 @@ const { version } = JSON.parse(readFileSync('package.json', 'utf8'))
|
|
|
14
14
|
console.log(`Branch: ${branch}`)
|
|
15
15
|
console.log(`Version: ${version}`)
|
|
16
16
|
|
|
17
|
-
// 推送 commit
|
|
18
|
-
execSync(`git push --no-verify
|
|
17
|
+
// 推送 commit 到遠端(--no-verify 避免觸發 pre-push hook 造成無限迴圈)
|
|
18
|
+
execSync(`git push --no-verify ${remote} ${branch}`, { stdio: 'inherit' })
|
|
19
|
+
|
|
20
|
+
// 單獨推送 tag;tag 已存在於 remote 時視為成功(不中斷 npm publish)
|
|
21
|
+
try {
|
|
22
|
+
execSync(`git push --no-verify ${remote} refs/tags/v${version}`, { stdio: 'inherit' })
|
|
23
|
+
} catch {
|
|
24
|
+
console.warn(`⚠ tag v${version} push 失敗(可能已存在),繼續 npm publish`)
|
|
25
|
+
}
|
|
19
26
|
|
|
20
27
|
// 發布到 npm,使用分支名稱作為 dist-tag(例如 npm install @jetthai/cuora@dev)
|
|
21
28
|
try {
|
package/src/api/activity.js
CHANGED
|
@@ -44,10 +44,10 @@ export default {
|
|
|
44
44
|
method: 'get',
|
|
45
45
|
params: { rewardType },
|
|
46
46
|
}),
|
|
47
|
-
getRewardList: ({ rewardType, count, appSecret,
|
|
47
|
+
getRewardList: ({ rewardType, count, appSecret, orderColum, lang }) => ({
|
|
48
48
|
url: 'activities/rewards',
|
|
49
49
|
method: 'get',
|
|
50
|
-
params: { rewardType, count, appSecret,
|
|
50
|
+
params: { rewardType, count, appSecret, orderColum, lang },
|
|
51
51
|
}),
|
|
52
52
|
getCashRainReward: ({ activityNo, appSecret }) => ({
|
|
53
53
|
url: `activities/cashRain`,
|