@jetthai/cuora 1.1.467-dev.2 → 1.1.468-dev.0

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,44 @@
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.468-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.468...v1.1.468-dev.0) (2026-09-12)
6
+
7
+ ### [1.1.467-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.467...v1.1.467-dev.2) (2026-09-10)
8
+
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+
12
+ * **export:** 移除頂層 export util 與 Request.sourceUpdate/sourceGenerate
13
+
14
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
15
+ * **api,machine:** 移除 39 個 api 方法、2 個常數與 14 個 machine 事件
16
+
17
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
18
+ * **machine:** 移除公開 export machine.bonus、machine.vip_table 與 util 的 max
19
+
20
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
21
+
22
+ ### Features
23
+
24
+ * **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * **auth:** 清除站台已停用登入方式殘留的記住帳號 ([2c6b965](https://github.com/jetthai/cuora-module/commit/2c6b96572108cfc977d7dc99635adebbee01db46))
30
+ * **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
31
+ * **machine:** user_sign_up 的 registrationData 補上 agentId ([833e8c9](https://github.com/jetthai/cuora-module/commit/833e8c90c0ff554cff651bdb7045ed514d42035e))
32
+ * **machine:** 移除三處幽靈 action 引用 ([49009da](https://github.com/jetthai/cuora-module/commit/49009dae604088b819134e0d40f7719fb8e8874d))
33
+ * **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
34
+ * **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
35
+ * **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
36
+ * **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
37
+
38
+
39
+ * **api,machine:** 移除 39 個零呼叫端 API 與 14 個無觸發來源的 machine 事件 ([14fa754](https://github.com/jetthai/cuora-module/commit/14fa75459aba9558cde1a3485d64cbdf2f8294b2))
40
+ * **export:** 移除四個無消費者的對外符號 ([55afe6f](https://github.com/jetthai/cuora-module/commit/55afe6fbfadca8944dd9820d6333ee5b93e0ed25))
41
+ * **machine:** 移除 client-pwa-cash 未使用的 bonus、vip_table 與 util/max ([f49977b](https://github.com/jetthai/cuora-module/commit/f49977bfd480d961f5dc37435b3c60447eb198c0))
42
+
5
43
  ### [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)
6
44
 
7
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.467-dev.2",
3
+ "version": "1.1.468-dev.0",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
package/src/api/user.js CHANGED
@@ -50,4 +50,14 @@ export default {
50
50
  getUserPhotoList: () => ({ url: 'getAllAvatar', method: 'get' }),
51
51
  updateUserPhoto: (data) => ({ url: 'updateUserAvatar', method: 'post', params: data }),
52
52
  getUserProfile: () => ({ url: 'user-info/get-profile', method: 'get' }),
53
+ subscribeStatus: ({ deviceTokenId, domain, appSecret }) => ({
54
+ url: 'notification-subscription/status',
55
+ method: 'post',
56
+ params: { deviceTokenId, domain, appSecret },
57
+ }),
58
+ subscribeUpdate: ({ deviceTokenId, domain, appSecret, action = 'subscribe' }) => ({
59
+ url: 'notification-subscription/update',
60
+ method: 'post',
61
+ params: { deviceTokenId, domain, action, appSecret },
62
+ }),
53
63
  }