@jetthai/cuora 1.1.437-dev.0 → 1.1.438-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 +45 -0
- package/package.json +1 -1
- package/src/api/auth.js +2 -2
- package/src/machine/auth.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,51 @@
|
|
|
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.438-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.438...v1.1.438-dev.0) (2026-05-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **auth:** telegram login 新增 idToken 參數 ([77e870a](https://github.com/jetthai/cuora-module/commit/77e870a0e17082b9d80f97b65247386d9ccc8672))
|
|
11
|
+
|
|
12
|
+
### [1.1.437-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.437...v1.1.437-dev.0) (2026-05-15)
|
|
13
|
+
|
|
14
|
+
### [1.1.435-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.435-dev.0...v1.1.435-dev.1) (2026-05-14)
|
|
15
|
+
|
|
16
|
+
### [1.1.435-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.435...v1.1.435-dev.0) (2026-05-14)
|
|
17
|
+
|
|
18
|
+
### [1.1.434-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.434...v1.1.434-dev.0) (2026-05-14)
|
|
19
|
+
|
|
20
|
+
### [1.1.431-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.431-dev.0...v1.1.431-dev.1) (2026-05-01)
|
|
21
|
+
|
|
22
|
+
### [1.1.431-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.431...v1.1.431-dev.0) (2026-05-01)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **error:** 讓新錯誤可覆寫舊狀態避免 SET_ERROR 鎖死 ([4113751](https://github.com/jetthai/cuora-module/commit/4113751ee6cb4ced8fe1dc2fda0ce9fbac21ec06))
|
|
28
|
+
|
|
29
|
+
### [1.1.430-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.430-dev.0...v1.1.430-dev.1) (2026-04-30)
|
|
30
|
+
|
|
31
|
+
### [1.1.430-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.430...v1.1.430-dev.0) (2026-04-28)
|
|
32
|
+
|
|
33
|
+
### [1.1.429-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.429...v1.1.429-dev.0) (2026-04-14)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([a951ba8](https://github.com/jetthai/cuora-module/commit/a951ba803cccd1564a7dbe2645ea7c8d50f7da31))
|
|
39
|
+
|
|
40
|
+
### [1.1.428-dev.2](https://github.com/jetthai/cuora-module/compare/v1.1.428-dev.1...v1.1.428-dev.2) (2026-04-13)
|
|
41
|
+
|
|
42
|
+
### [1.1.428-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.428-dev.0...v1.1.428-dev.1) (2026-04-13)
|
|
43
|
+
|
|
44
|
+
### [1.1.428-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.428...v1.1.428-dev.0) (2026-04-13)
|
|
45
|
+
|
|
46
|
+
### [1.1.427-dev.5](https://github.com/jetthai/cuora-module/compare/v1.1.427-dev.4...v1.1.427-dev.5) (2026-04-12)
|
|
47
|
+
|
|
48
|
+
### [1.1.427-dev.4](https://github.com/jetthai/cuora-module/compare/v1.1.427...v1.1.427-dev.4) (2026-04-12)
|
|
49
|
+
|
|
5
50
|
### [1.1.437-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.435-dev.1...v1.1.437-dev.0) (2026-05-15)
|
|
6
51
|
|
|
7
52
|
### [1.1.435-dev.1](https://github.com/jetthai/cuora-module/compare/v1.1.435-dev.0...v1.1.435-dev.1) (2026-05-14)
|
package/package.json
CHANGED
package/src/api/auth.js
CHANGED
|
@@ -5,10 +5,10 @@ export default {
|
|
|
5
5
|
method: 'post',
|
|
6
6
|
isPublic: true,
|
|
7
7
|
}),
|
|
8
|
-
login: ({ username, password, provider, countryCode, phone, email, dt, reCaptchaToken, additionalUserInfo, loginType, isSignature }) => ({
|
|
8
|
+
login: ({ username, password, provider, countryCode, phone, email, dt, reCaptchaToken, additionalUserInfo, loginType, isSignature, idToken }) => ({
|
|
9
9
|
url: 'login',
|
|
10
10
|
method: 'post',
|
|
11
|
-
params: { username, password, provider, countryCode, phone, email, dt, additionalUserInfo, loginType, isSignature },
|
|
11
|
+
params: { username, password, provider, countryCode, phone, email, dt, additionalUserInfo, loginType, isSignature, idToken },
|
|
12
12
|
isPublic: true,
|
|
13
13
|
headers: { 'x-access-captcha': reCaptchaToken },
|
|
14
14
|
}),
|
package/src/machine/auth.js
CHANGED
|
@@ -394,13 +394,14 @@ export default function (request) {
|
|
|
394
394
|
}
|
|
395
395
|
}),
|
|
396
396
|
setLoginTelegram: assign((context, event) => {
|
|
397
|
-
const { loginType, additionalUserInfo, isSignature } = event.data
|
|
397
|
+
const { loginType, additionalUserInfo, isSignature, idToken } = event.data
|
|
398
398
|
return {
|
|
399
399
|
loginData: {
|
|
400
400
|
provider: 'telegram',
|
|
401
401
|
loginType,
|
|
402
402
|
additionalUserInfo,
|
|
403
403
|
isSignature,
|
|
404
|
+
idToken,
|
|
404
405
|
},
|
|
405
406
|
}
|
|
406
407
|
}),
|