@jetthai/cuora 1.1.366-dev-12 → 1.1.366
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 +0 -54
- package/package.json +1 -1
- package/src/api/activity.js +3 -3
- package/src/api/common.js +1 -1
- package/src/api/game.js +0 -12
- package/src/api/payment.js +5 -5
- package/src/api/ranking.js +2 -2
- package/src/lib/{fingerprint_v3_11_12.js → fingerprint_v3_11_5.js} +4205 -3742
- package/src/machine/auth.js +4 -7
- package/src/machine/common.js +2 -3
- package/src/machine/honor_board_cash.js +1 -1
- package/src/machine/inbox.js +2 -13
- package/src/machine/index.js +0 -2
- package/src/machine/ranking.js +1 -2
- package/src/machine/reward.js +5 -15
- package/src/machine/reward_cash.js +3 -15
- package/src/machine/user_sign_up.js +2 -2
- package/src/machine/vip_table.js +4 -11
- package/src/request/request.js +7 -215
- package/src/util/deviceToken.js +2 -26
- package/src/util/index.js +2 -2
- package/src/util/storage.js +4 -18
- package/src/machine/game_betslip.js +0 -46
- package/src/util/sessionStorage.js +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -2,52 +2,8 @@
|
|
|
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.366-dev-12](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-11...v1.1.366-dev-12) (2025-08-01)
|
|
6
|
-
|
|
7
|
-
### [1.1.366-dev-11](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-10...v1.1.366-dev-11) (2025-08-01)
|
|
8
|
-
|
|
9
|
-
### [1.1.366-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-9...v1.1.366-dev-10) (2025-08-01)
|
|
10
|
-
|
|
11
|
-
### [1.1.366-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-8...v1.1.366-dev-9) (2025-08-01)
|
|
12
|
-
|
|
13
|
-
### [1.1.366-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-7...v1.1.366-dev-8) (2025-07-31)
|
|
14
|
-
|
|
15
|
-
### [1.1.366-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-6...v1.1.366-dev-7) (2025-07-31)
|
|
16
|
-
|
|
17
|
-
### [1.1.366-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-5...v1.1.366-dev-6) (2025-07-31)
|
|
18
|
-
|
|
19
|
-
### [1.1.368](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-4...v1.1.368) (2025-07-28)
|
|
20
|
-
|
|
21
|
-
### [1.1.367](https://github.com/jetthai/cuora-module/compare/v1.1.366-v2api-2...v1.1.367) (2025-07-22)
|
|
22
|
-
|
|
23
|
-
### [1.1.366-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-4...v1.1.366-dev-5) (2025-07-29)
|
|
24
|
-
|
|
25
|
-
### [1.1.366-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.366-v2api-2...v1.1.366-dev-4) (2025-07-25)
|
|
26
|
-
|
|
27
|
-
### [1.1.366-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-2...v1.1.366-dev-3) (2025-07-18)
|
|
28
|
-
|
|
29
|
-
### [1.1.366-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-1...v1.1.366-dev-2) (2025-07-18)
|
|
30
|
-
|
|
31
|
-
### [1.1.366-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.366...v1.1.366-dev-1) (2025-07-18)
|
|
32
|
-
|
|
33
|
-
### [1.1.366-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-2...v1.1.366-dev-3) (2025-07-18)
|
|
34
|
-
|
|
35
|
-
### [1.1.366-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.366-dev-1...v1.1.366-dev-2) (2025-07-18)
|
|
36
|
-
|
|
37
|
-
### [1.1.366-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.366...v1.1.366-dev-1) (2025-07-18)
|
|
38
|
-
|
|
39
|
-
### [1.1.366-v2api-2](https://github.com/jetthai/cuora-module/compare/v1.1.366-v2api-1...v1.1.366-v2api-2) (2025-07-18)
|
|
40
|
-
|
|
41
|
-
### [1.1.366-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.366...v1.1.366-v2api-1) (2025-07-18)
|
|
42
|
-
|
|
43
5
|
### [1.1.366](https://github.com/jetthai/cuora-module/compare/v1.1.365...v1.1.366) (2025-07-18)
|
|
44
6
|
|
|
45
|
-
### [1.1.365-v2api-3](https://github.com/jetthai/cuora-module/compare/v1.1.365-v2api-2...v1.1.365-v2api-3) (2025-07-18)
|
|
46
|
-
|
|
47
|
-
### [1.1.365-v2api-2](https://github.com/jetthai/cuora-module/compare/v1.1.365-v2api-1...v1.1.365-v2api-2) (2025-07-17)
|
|
48
|
-
|
|
49
|
-
### [1.1.365-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.365...v1.1.365-v2api-1) (2025-07-17)
|
|
50
|
-
|
|
51
7
|
### [1.1.365](https://github.com/jetthai/cuora-module/compare/v1.1.364...v1.1.365) (2025-07-08)
|
|
52
8
|
|
|
53
9
|
### [1.1.364](https://github.com/jetthai/cuora-module/compare/v1.1.363...v1.1.364) (2025-06-23)
|
|
@@ -56,28 +12,18 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
56
12
|
|
|
57
13
|
### [1.1.362](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.362) (2025-06-20)
|
|
58
14
|
|
|
59
|
-
### [1.1.361-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.361-v2api-1) (2025-06-05)
|
|
60
|
-
|
|
61
15
|
### [1.1.361](https://github.com/jetthai/cuora-module/compare/v1.1.360...v1.1.361) (2025-06-03)
|
|
62
16
|
|
|
63
17
|
### [1.1.360](https://github.com/jetthai/cuora-module/compare/v1.1.359...v1.1.360) (2025-06-03)
|
|
64
18
|
|
|
65
|
-
### [1.1.358-apiv2-2](https://github.com/jetthai/cuora-module/compare/v1.1.359...v1.1.358-apiv2-2) (2025-05-27)
|
|
66
|
-
|
|
67
19
|
### [1.1.359](https://github.com/jetthai/cuora-module/compare/v1.1.358...v1.1.359) (2025-05-23)
|
|
68
20
|
|
|
69
|
-
### [1.1.358-apiv2-1](https://github.com/jetthai/cuora-module/compare/v1.1.358...v1.1.358-apiv2-1) (2025-05-09)
|
|
70
|
-
|
|
71
21
|
### [1.1.358](https://github.com/jetthai/cuora-module/compare/v1.1.357...v1.1.358) (2025-05-09)
|
|
72
22
|
|
|
73
23
|
### [1.1.357](https://github.com/jetthai/cuora-module/compare/v1.1.356...v1.1.357) (2025-05-06)
|
|
74
24
|
|
|
75
25
|
### [1.1.356](https://github.com/jetthai/cuora-module/compare/v1.1.355...v1.1.356) (2025-04-29)
|
|
76
26
|
|
|
77
|
-
### [1.1.355-apiv2-2](https://github.com/jetthai/cuora-module/compare/v1.1.355-apiv2-1...v1.1.355-apiv2-2) (2025-05-07)
|
|
78
|
-
|
|
79
|
-
### [1.1.355-apiv2-1](https://github.com/jetthai/cuora-module/compare/v1.1.355...v1.1.355-apiv2-1) (2025-05-05)
|
|
80
|
-
|
|
81
27
|
### [1.1.355](https://github.com/jetthai/cuora-module/compare/v1.1.353-data-1...v1.1.355) (2025-04-22)
|
|
82
28
|
|
|
83
29
|
### [1.1.354](https://github.com/jetthai/cuora-module/compare/v1.1.353...v1.1.354) (2025-04-14)
|
package/package.json
CHANGED
package/src/api/activity.js
CHANGED
|
@@ -69,10 +69,10 @@ export default {
|
|
|
69
69
|
method: 'get',
|
|
70
70
|
params: { rewardType },
|
|
71
71
|
}),
|
|
72
|
-
getRewardList: ({ rewardType, count, appSecret,
|
|
72
|
+
getRewardList: ({ rewardType, count, appSecret, orderColumn }) => ({
|
|
73
73
|
url: 'activities/rewards',
|
|
74
74
|
method: 'get',
|
|
75
|
-
params: { rewardType, count, appSecret,
|
|
75
|
+
params: { rewardType, count, appSecret, orderColumn },
|
|
76
76
|
}),
|
|
77
77
|
getCashRainReward: ({ activityNo, appSecret }) => ({
|
|
78
78
|
url: `activities/cashRain`,
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
83
83
|
settleAmount: (data) => ({ url: 'activities/exchange/diamond/settle', method: 'post', params: data }),
|
|
84
84
|
exchange: (data) => ({ url: 'activities/exchange', method: 'post', params: data }),
|
|
85
85
|
collect: (data) => ({ url: 'activities/collect', method: 'post', params: data }),
|
|
86
|
-
getVipTable: (
|
|
86
|
+
getVipTable: () => ({ url: 'activities/viptable', method: 'get' }),
|
|
87
87
|
getRankingList: () => ({ url: 'activities/ranking', method: 'get' }),
|
|
88
88
|
exchangeDiamond: ({ activityNo, exchangeAward = [] }) => ({
|
|
89
89
|
url: 'activities/exchange/diamond',
|
package/src/api/common.js
CHANGED
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
getConfig: ({ appSecret }) => ({ url: 'getConfig', method: 'get', params: { appSecret }, isPublic: true }),
|
|
3
3
|
getLayoutConfig: ({ appSecret }) => ({ url: 'getQuickLayout', method: 'get', params: { appSecret }, isPublic: true }),
|
|
4
4
|
feeds: ({ appSecret }) => ({ url: 'feeds', method: 'get', params: { appSecret }, isPublic: true }),
|
|
5
|
-
broadcast: () => ({ url: 'broadcast', method: 'get',
|
|
5
|
+
broadcast: () => ({ url: 'broadcast', method: 'get', isPublic: true }),
|
|
6
6
|
getAnnouncements: ({ appSecret }) => ({ url: 'getAnnouncements', params: { appSecret }, method: 'get', isPublic: true }),
|
|
7
7
|
getNavbar: ({ appSecret } = {}) => ({ url: 'getNavbarSetting', params: { appSecret }, method: 'get', isPublic: true }),
|
|
8
8
|
getDefaultAffiliateCode: ({ appSecret }) => ({ url: 'getAffiliateCode', params: { appSecret }, method: 'get', isPublic: true }),
|
package/src/api/game.js
CHANGED
|
@@ -99,16 +99,4 @@ export default {
|
|
|
99
99
|
getFreeGameList: () => ({ method: 'get', url: 'activities/getFreeGameRewardList' }),
|
|
100
100
|
getFreeGameReward: ({ activityNo, receiveNo }) => ({ method: 'post', url: 'activities/getFreeGameReward', params: { activityNo, receiveNo } }),
|
|
101
101
|
getV3GameInfo: ({ appSecret, gameCodes }) => ({ method: 'post', url: 'game/list/v3/gameInfo', params: { appSecret, gameCodes } }),
|
|
102
|
-
getProvableResult: ({ providerId, seqNo, lang, uidSite, appSecret }) => ({
|
|
103
|
-
method: 'get',
|
|
104
|
-
url: 'game/provable-result',
|
|
105
|
-
params: { providerId, seqNo, lang, uidSite, appSecret },
|
|
106
|
-
isPublic: true,
|
|
107
|
-
}),
|
|
108
|
-
getBetslip: ({ providerId, seqNo, lang, appSecret }) => ({
|
|
109
|
-
method: 'get',
|
|
110
|
-
url: 'game/betslip',
|
|
111
|
-
params: { providerId, seqNo, lang, appSecret },
|
|
112
|
-
isPublic: true,
|
|
113
|
-
}),
|
|
114
102
|
}
|
package/src/api/payment.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
getPaymentHistory: (returnDays) => ({ url: 'payment/v2/history', method: 'post', params: { returnDays } }),
|
|
3
|
-
getSpotMarket: () => ({ url: 'payment/
|
|
3
|
+
getSpotMarket: () => ({ url: 'payment/spotmarket', method: 'get' }),
|
|
4
4
|
getTransactionHistory: (payload) => ({
|
|
5
5
|
url: 'payment/v2/transactionHistory',
|
|
6
6
|
method: 'post',
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
}),
|
|
9
9
|
getTransactionHistoryOptions: () => ({ url: 'payment/v2/category/options', method: 'get' }),
|
|
10
10
|
getPaymentInfo: () => ({ url: `payment/v2/paymentInfo`, method: 'get' }),
|
|
11
|
-
getBindingPaymentInfo: () => ({ url: `payment/
|
|
11
|
+
getBindingPaymentInfo: () => ({ url: `payment/getBindingPaymentInfo`, method: 'get' }),
|
|
12
12
|
updatePaymentInfo: ({
|
|
13
13
|
bankCode,
|
|
14
14
|
branch,
|
|
@@ -58,7 +58,7 @@ export default {
|
|
|
58
58
|
}),
|
|
59
59
|
getBankList: (paymentMethod) => ({ url: `payment/v2/${paymentMethod}/getBankList`, method: 'get' }),
|
|
60
60
|
getBindingBankList: ({ appSecret }) => ({ url: 'payment/v2/getBindingBankList', method: 'get', params: { appSecret }, isPublic: true }),
|
|
61
|
-
getBindingPaymentList: ({ appSecret }) => ({ url: 'payment/
|
|
61
|
+
getBindingPaymentList: ({ appSecret }) => ({ url: 'payment/getBindingPaymentList', method: 'get', params: { appSecret }, isPublic: true }),
|
|
62
62
|
getWithdrawBankList: () => ({ url: 'payment/v2/getWithdrawBankList', method: 'get' }),
|
|
63
63
|
makeTransaction: ({ type, payload, paymentMethod }) => ({
|
|
64
64
|
url: `payment/v2/${paymentMethod}/transaction`,
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
...payload,
|
|
69
69
|
},
|
|
70
70
|
}),
|
|
71
|
-
checkTransaction: (paymentMethod) => ({ url: `payment
|
|
71
|
+
checkTransaction: (paymentMethod) => ({ url: `payment/${paymentMethod}/checkTransaction`, method: 'post' }),
|
|
72
72
|
setBonusSetting: ({ bonus }) => ({ url: 'payment/v2/setting', method: 'post', params: { bonus } }),
|
|
73
73
|
getCurrentWithdrawRule: () => ({ url: 'payment/v2/getCurrentWithdrawRule', method: 'get' }),
|
|
74
74
|
getDoubleWalletWithdrawRule: ({ walletType }) => ({
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
method: 'post',
|
|
82
82
|
params: { exchangeType, cryptoNetwork, targetAddress },
|
|
83
83
|
}),
|
|
84
|
-
mergeWallet: () => ({ url: 'payment/
|
|
84
|
+
mergeWallet: () => ({ url: 'payment/mergeWallet', method: 'post' }),
|
|
85
85
|
getPaymentDetail: ({ transferType } = {}) => ({
|
|
86
86
|
url: 'payment/v2/paymentDetail',
|
|
87
87
|
method: 'post',
|
package/src/api/ranking.js
CHANGED
|
@@ -7,10 +7,10 @@ export default {
|
|
|
7
7
|
isPublic: true,
|
|
8
8
|
}),
|
|
9
9
|
// 登入後排名預設期數資料
|
|
10
|
-
getRankingOptions: ({ activityNo
|
|
10
|
+
getRankingOptions: ({ activityNo }) => ({
|
|
11
11
|
url: 'ranking/detail/option',
|
|
12
12
|
method: 'get',
|
|
13
|
-
params: { activityNo
|
|
13
|
+
params: { activityNo },
|
|
14
14
|
isPublic: true,
|
|
15
15
|
}),
|
|
16
16
|
// 登入後排名資料
|