@jetthai/cuora 1.1.366-v2api-2 → 1.1.367

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,18 +2,10 @@
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-v2api-2](https://github.com/jetthai/cuora-module/compare/v1.1.366-v2api-1...v1.1.366-v2api-2) (2025-07-18)
6
-
7
- ### [1.1.366-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.366...v1.1.366-v2api-1) (2025-07-18)
5
+ ### [1.1.367](https://github.com/jetthai/cuora-module/compare/v1.1.366...v1.1.367) (2025-07-22)
8
6
 
9
7
  ### [1.1.366](https://github.com/jetthai/cuora-module/compare/v1.1.365...v1.1.366) (2025-07-18)
10
8
 
11
- ### [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)
12
-
13
- ### [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)
14
-
15
- ### [1.1.365-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.365...v1.1.365-v2api-1) (2025-07-17)
16
-
17
9
  ### [1.1.365](https://github.com/jetthai/cuora-module/compare/v1.1.364...v1.1.365) (2025-07-08)
18
10
 
19
11
  ### [1.1.364](https://github.com/jetthai/cuora-module/compare/v1.1.363...v1.1.364) (2025-06-23)
@@ -22,28 +14,18 @@ All notable changes to this project will be documented in this file. See [standa
22
14
 
23
15
  ### [1.1.362](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.362) (2025-06-20)
24
16
 
25
- ### [1.1.361-v2api-1](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.361-v2api-1) (2025-06-05)
26
-
27
17
  ### [1.1.361](https://github.com/jetthai/cuora-module/compare/v1.1.360...v1.1.361) (2025-06-03)
28
18
 
29
19
  ### [1.1.360](https://github.com/jetthai/cuora-module/compare/v1.1.359...v1.1.360) (2025-06-03)
30
20
 
31
- ### [1.1.358-apiv2-2](https://github.com/jetthai/cuora-module/compare/v1.1.359...v1.1.358-apiv2-2) (2025-05-27)
32
-
33
21
  ### [1.1.359](https://github.com/jetthai/cuora-module/compare/v1.1.358...v1.1.359) (2025-05-23)
34
22
 
35
- ### [1.1.358-apiv2-1](https://github.com/jetthai/cuora-module/compare/v1.1.358...v1.1.358-apiv2-1) (2025-05-09)
36
-
37
23
  ### [1.1.358](https://github.com/jetthai/cuora-module/compare/v1.1.357...v1.1.358) (2025-05-09)
38
24
 
39
25
  ### [1.1.357](https://github.com/jetthai/cuora-module/compare/v1.1.356...v1.1.357) (2025-05-06)
40
26
 
41
27
  ### [1.1.356](https://github.com/jetthai/cuora-module/compare/v1.1.355...v1.1.356) (2025-04-29)
42
28
 
43
- ### [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)
44
-
45
- ### [1.1.355-apiv2-1](https://github.com/jetthai/cuora-module/compare/v1.1.355...v1.1.355-apiv2-1) (2025-05-05)
46
-
47
29
  ### [1.1.355](https://github.com/jetthai/cuora-module/compare/v1.1.353-data-1...v1.1.355) (2025-04-22)
48
30
 
49
31
  ### [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-v2api-2",
3
+ "version": "1.1.367",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -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,4 +99,16 @@ 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
+ }),
102
114
  }
@@ -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
  // 登入後排名資料