@jetthai/cuora 1.1.332 → 1.1.333-dev-2

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,34 @@
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.333-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.333-dev-1...v1.1.333-dev-2) (2025-01-10)
6
+
7
+ ### [1.1.333-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.333...v1.1.333-dev-1) (2025-01-09)
8
+
9
+ ### [1.1.332-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-7...v1.1.332-dev-8) (2025-01-03)
10
+
11
+ ### [1.1.332-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-6...v1.1.332-dev-7) (2025-01-03)
12
+
13
+ ### [1.1.332-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-5...v1.1.332-dev-6) (2024-12-29)
14
+
15
+ ### [1.1.332-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-4...v1.1.332-dev-5) (2024-12-28)
16
+
17
+ ### [1.1.332-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.332-tg...v1.1.332-dev-4) (2024-12-28)
18
+
19
+ ### [1.1.332-tg](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-tg) (2024-12-25)
20
+
21
+ ### [1.1.332-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-7...v1.1.332-dev-8) (2025-01-03)
22
+
23
+ ### [1.1.332-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-6...v1.1.332-dev-7) (2025-01-03)
24
+
25
+ ### [1.1.332-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-5...v1.1.332-dev-6) (2024-12-29)
26
+
27
+ ### [1.1.332-tg](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-tg) (2024-12-25)
28
+
29
+ ### [1.1.332-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-4...v1.1.332-dev-5) (2024-12-28)
30
+
31
+ ### [1.1.332-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-dev-4) (2024-12-28)
32
+
5
33
  ### [1.1.332](https://github.com/jetthai/cuora-module/compare/v1.1.331...v1.1.332) (2024-12-24)
6
34
 
7
35
  ### [1.1.331](https://github.com/jetthai/cuora-module/compare/v1.1.330...v1.1.331) (2024-12-24)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.332",
3
+ "version": "1.1.333-dev-2",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -25,6 +25,7 @@
25
25
  "ua-parser-js": "^0.7.34",
26
26
  "universal-cookie": "^4.0.4",
27
27
  "url-join": "^4.0.1",
28
- "xstate": "^4.25.0"
28
+ "xstate": "^4.25.0",
29
+ "socket.io-client": "^4.8.0"
29
30
  }
30
31
  }
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 }) => ({
8
+ login: ({ username, password, provider, countryCode, phone, email, dt, reCaptchaToken, additionalUserInfo, loginType, isSignature }) => ({
9
9
  url: 'login',
10
10
  method: 'post',
11
- params: { username, password, provider, countryCode, phone, email, dt },
11
+ params: { username, password, provider, countryCode, phone, email, dt, additionalUserInfo, loginType, isSignature },
12
12
  isPublic: true,
13
13
  headers: { 'x-access-captcha': reCaptchaToken },
14
14
  }),
package/src/api/common.js CHANGED
@@ -6,4 +6,5 @@ export default {
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 }),
9
+ getSiteInfoConfig: ({ appSecret, config }) => ({ url: 'get-site-config', method: 'get', params: { appSecret, config }, isPublic: true }),
9
10
  }
package/src/api/game.js CHANGED
@@ -92,4 +92,12 @@ export default {
92
92
  addListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/addMyFavorite', params: { games: [code] } }),
93
93
  removeListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/removeMyFavorite', params: { games: [code] } }),
94
94
  getGameInfo: ({ appSecret, gameCode }) => ({ method: 'get', url: 'game/info', params: { appSecret, gameCode } }),
95
+ getGameReplayInfo: ({ providerId, seqNo, lang }) => ({
96
+ method: 'get',
97
+ url: 'game/gameReplay',
98
+ params: { providerId, seqNo, lang },
99
+ isPublic: true,
100
+ }),
101
+ getFreeGameList: () => ({ method: 'get', url: 'activities/getFreeGameRewardList' }),
102
+ getFreeGameReward: ({ activityNo, receiveNo }) => ({ method: 'post', url: 'activities/getFreeGameReward', params: { activityNo, receiveNo } }),
95
103
  }