@jetthai/cuora 1.1.465-dev.4 → 1.1.466-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,33 @@
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.466-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.466...v1.1.466-dev.0) (2026-09-06)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deposit:** 移除 crypto_way_cash 未使用的 sourceAddress 欄位 ([18a0247](https://github.com/jetthai/cuora-module/commit/18a024776ae315c7a2b2ba9018e8fdce1b660f1a))
11
+
12
+ ### [1.1.465-dev.4](https://github.com/jetthai/cuora-module/compare/v1.1.465...v1.1.465-dev.4) (2026-08-24)
13
+
14
+
15
+ ### Features
16
+
17
+ * **api:** add GeeMee click-id & front-event fields to sendPixel builder ([d33e488](https://github.com/jetthai/cuora-module/commit/d33e488062f81976cff35ea43ea0f2c366a2a615))
18
+ * **payment:** 新增 getPaymentPromotions API 描述符 ([0319692](https://github.com/jetthai/cuora-module/commit/03196925d989333e4bdb11cd933c18b6ace65d83))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **auth:** 清除站台已停用登入方式殘留的記住帳號 ([2c6b965](https://github.com/jetthai/cuora-module/commit/2c6b96572108cfc977d7dc99635adebbee01db46))
24
+ * **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
25
+ * **release:** 拆分 branch/tag push 避免 tag 衝突導致 npm publish 被跳過 ([f2c4baa](https://github.com/jetthai/cuora-module/commit/f2c4baa7de0bfe50b6b0c70c5a2ed8749116d72a))
26
+ * **request:** 非 public 請求缺少 token 時提前返回,不再送出後端 ([065095e](https://github.com/jetthai/cuora-module/commit/065095e31ffe1cb640f9aaf6c76bbd5c6892355c))
27
+ * **request:** 非 public 請求缺少 token 時改為 reject ERR_A103,觸發登出流程 ([e46281f](https://github.com/jetthai/cuora-module/commit/e46281f3ea16679404160366e4532969c3bf02ff))
28
+ * **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
29
+
30
+ ### [1.1.466](https://github.com/jetthai/cuora-module/compare/v1.1.465...v1.1.466) (2026-08-31)
31
+
5
32
  ### [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)
6
33
 
7
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.465-dev.4",
3
+ "version": "1.1.466-dev.0",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -514,8 +514,6 @@ export default function (request) {
514
514
  nickname,
515
515
  }
516
516
 
517
- sentry?.captureMessage(`[Auth] RedirectTo3Party Data: ${JSON.stringify(messages)}`, { level: 'info' })
518
-
519
517
  // 空值一律不進 query。dt 與 fc 原本裸展開進 URLSearchParams,兩者為 undefined 時會被
520
518
  // 序列化成字面字串 dt=undefined / fc=undefined,後端收到的是 "undefined" 而非缺省
521
519
  const query = pickBy(
@@ -13,7 +13,6 @@ export default function (request, context) {
13
13
  selectedAmount,
14
14
 
15
15
  cryptos: [],
16
- sourceAddress: '',
17
16
  options: [],
18
17
 
19
18
  selectedCrypto: null,
@@ -110,10 +109,6 @@ export default function (request, context) {
110
109
  actions: 'setCrypto',
111
110
  internal: false,
112
111
  },
113
- SET_ADDRESS: {
114
- actions: 'setAddress',
115
- internal: false,
116
- },
117
112
  SET_AMOUNT: {
118
113
  target: '.debouncing',
119
114
  actions: 'setAmount',
@@ -179,11 +174,6 @@ export default function (request, context) {
179
174
  inputAmount: assign((context, event) => {
180
175
  return { selectedAmount: event.data }
181
176
  }),
182
- setAddress: assign((context, event) => {
183
- return {
184
- sourceAddress: event.data,
185
- }
186
- }),
187
177
  setCalculation: assign((context, event) => {
188
178
  // V2接口轉換中回傳的資料結構不同
189
179
  const { data } = event.data
@@ -260,7 +250,7 @@ export default function (request, context) {
260
250
  )
261
251
  },
262
252
  submitDeposit: async (context, event) => {
263
- const { selectedCrypto, selectedAmount, sourceAddress, promotion } = context
253
+ const { selectedCrypto, selectedAmount, promotion } = context
264
254
  // 防禦性檢查:將 amount 轉為數字型別,並驗證範圍合法性,避免非法金額送出 API
265
255
  const amount = +selectedAmount
266
256
  if (!amount || amount <= 0 || amount < selectedCrypto.minimum || amount > selectedCrypto.maximum) {
@@ -272,7 +262,6 @@ export default function (request, context) {
272
262
  amount: amount,
273
263
  cryptoCurrency: selectedCrypto.channel,
274
264
  cryptoNetwork: selectedCrypto.networkCode,
275
- sourceAddress: sourceAddress,
276
265
  promotionsNo: promotion?.promotionsNo,
277
266
  })
278
267
  )
@@ -208,10 +208,6 @@ export default function (request) {
208
208
  acSource: hasExplicitAc ? 'signUpData' : acRead.from,
209
209
  }
210
210
 
211
- // 因 client-pwa-cash PR #805 的問題,暫時註解此 Sentry 上報
212
- // https://github.com/jetthai/client-pwa-cash/pull/805
213
- // sentry?.captureMessage(`[SignUp] Authenticate Data: ${JSON.stringify(messages)}`, { level: 'info' })
214
-
215
211
  const referralObj = {}
216
212
  if (![undefined, 'undefined', null, 'null'].includes(affiliateCode)) {
217
213
  referralObj.ac = affiliateCode
@@ -1,45 +0,0 @@
1
- # Auto Git Flow
2
-
3
- 請依序執行每個步驟進行完整的清理流程,每步執行前先告知使用者當前進度。
4
-
5
- ---
6
-
7
- ## Phase 1: 清理
8
-
9
- ### Step 1 — 刪除已合併到 master 的分支
10
-
11
- ```bash
12
- git checkout master
13
- git fetch --prune
14
- ```
15
-
16
- 刪除已合併的 remote 分支(排除 master/dev/qa/HEAD):
17
-
18
- ```bash
19
- git branch -r --merged master | grep -v -E "(master|dev|qa|HEAD)" | sed 's/origin\///' | xargs -r -I {} git push origin --delete {}
20
- ```
21
-
22
- 刪除已合併的 local 分支(排除 master/dev/qa):
23
-
24
- ```bash
25
- git branch --merged master | grep -v -E "^\*?\s*(master|dev|qa)$" | xargs -r git branch -d
26
- ```
27
-
28
- > ⚠️ 衝突處理:如果刪除分支時遇到任何錯誤,立即暫停所有動作,列出錯誤訊息,等待使用者確認後再繼續。
29
-
30
- ---
31
-
32
- ## Phase 2: 完成
33
-
34
- ### Step 2 — 回報結果
35
-
36
- 切回 master 分支,顯示完成摘要:
37
-
38
- ```bash
39
- git checkout master
40
- ```
41
-
42
- 回報以下資訊:
43
-
44
- - 刪除了多少已合併分支
45
- - 當前所在分支