@jetthai/cuora 1.1.332 → 1.1.333-dev-1
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 +26 -0
- package/package.json +3 -2
- package/src/api/auth.js +2 -2
- package/src/api/common.js +1 -0
- package/src/api/game.js +8 -0
- package/src/lib/{fingerprint_v3_11_2.js → fingerprint_v3_11_5.js} +4658 -2482
- package/src/machine/auth.js +16 -0
- package/src/machine/deposit/index.js +4 -0
- package/src/machine/deposit/virtual_bank_cash.js +201 -0
- package/src/machine/deposit/virtual_bank_vn.js +289 -0
- package/src/machine/game_replay.js +46 -0
- package/src/machine/index.js +4 -0
- package/src/machine/websocket.js +368 -0
- package/src/machine/withdraw/withdraw_krway.js +22 -20
- package/src/machine/withdraw/withdraw_manual.js +22 -22
- package/src/machine/withdraw/withdraw_vn.js +22 -20
- package/src/machine/withdraw/withdraw_vn2.js +22 -20
- package/src/request/config.js +16 -1
- package/src/request/request.js +0 -1
- package/src/util/deviceToken.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
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-1](https://github.com/jetthai/cuora-module/compare/v1.1.333...v1.1.333-dev-1) (2025-01-09)
|
|
6
|
+
|
|
7
|
+
### [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)
|
|
8
|
+
|
|
9
|
+
### [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)
|
|
10
|
+
|
|
11
|
+
### [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)
|
|
12
|
+
|
|
13
|
+
### [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)
|
|
14
|
+
|
|
15
|
+
### [1.1.332-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.332-tg...v1.1.332-dev-4) (2024-12-28)
|
|
16
|
+
|
|
17
|
+
### [1.1.332-tg](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-tg) (2024-12-25)
|
|
18
|
+
|
|
19
|
+
### [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)
|
|
20
|
+
|
|
21
|
+
### [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)
|
|
22
|
+
|
|
23
|
+
### [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)
|
|
24
|
+
|
|
25
|
+
### [1.1.332-tg](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-tg) (2024-12-25)
|
|
26
|
+
|
|
27
|
+
### [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)
|
|
28
|
+
|
|
29
|
+
### [1.1.332-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-dev-4) (2024-12-28)
|
|
30
|
+
|
|
5
31
|
### [1.1.332](https://github.com/jetthai/cuora-module/compare/v1.1.331...v1.1.332) (2024-12-24)
|
|
6
32
|
|
|
7
33
|
### [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.
|
|
3
|
+
"version": "1.1.333-dev-1",
|
|
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
|
}
|