@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.366-dev-12",
3
+ "version": "1.1.366",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -69,10 +69,10 @@ export default {
69
69
  method: 'get',
70
70
  params: { rewardType },
71
71
  }),
72
- getRewardList: ({ rewardType, count, appSecret, orderColum, lang }) => ({
72
+ getRewardList: ({ rewardType, count, appSecret, orderColumn }) => ({
73
73
  url: 'activities/rewards',
74
74
  method: 'get',
75
- params: { rewardType, count, appSecret, orderColum, lang },
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: ({ appSecret }) => ({ url: 'activities/viptable', method: 'get', params: { appSecret } }),
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', params: { appSecret }, isPublic: true }),
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
  }
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  getPaymentHistory: (returnDays) => ({ url: 'payment/v2/history', method: 'post', params: { returnDays } }),
3
- getSpotMarket: () => ({ url: 'payment/v2/spotmarket', method: 'get' }),
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/v2/getBindingPaymentInfo`, method: 'get' }),
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/v2/getBindingPaymentList', method: 'get', params: { appSecret }, isPublic: true }),
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/v2/${paymentMethod}/checkTransaction`, method: 'post' }),
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/v2/mergeWallet', method: 'post' }),
84
+ mergeWallet: () => ({ url: 'payment/mergeWallet', method: 'post' }),
85
85
  getPaymentDetail: ({ transferType } = {}) => ({
86
86
  url: 'payment/v2/paymentDetail',
87
87
  method: 'post',
@@ -7,10 +7,10 @@ export default {
7
7
  isPublic: true,
8
8
  }),
9
9
  // 登入後排名預設期數資料
10
- getRankingOptions: ({ activityNo, appSecret }) => ({
10
+ getRankingOptions: ({ activityNo }) => ({
11
11
  url: 'ranking/detail/option',
12
12
  method: 'get',
13
- params: { activityNo, appSecret },
13
+ params: { activityNo },
14
14
  isPublic: true,
15
15
  }),
16
16
  // 登入後排名資料