@jetthai/cuora 1.1.332-dev-8 → 1.1.332
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 -12
- package/package.json +2 -3
- package/src/api/auth.js +2 -2
- package/src/api/common.js +0 -1
- package/src/api/game.js +0 -8
- package/src/lib/{fingerprint_v3_11_5.js → fingerprint_v3_11_2.js} +2480 -4656
- package/src/machine/auth.js +0 -16
- package/src/machine/index.js +0 -4
- package/src/machine/withdraw/withdraw_krway.js +20 -22
- package/src/machine/withdraw/withdraw_manual.js +22 -22
- package/src/machine/withdraw/withdraw_vn.js +20 -22
- package/src/machine/withdraw/withdraw_vn2.js +20 -22
- package/src/request/config.js +1 -16
- package/src/request/request.js +1 -0
- package/src/util/deviceToken.js +2 -1
- package/src/machine/game_replay.js +0 -46
- package/src/machine/websocket.js +0 -368
package/CHANGELOG.md
CHANGED
|
@@ -2,18 +2,6 @@
|
|
|
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.332-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.332-dev-7...v1.1.332-dev-8) (2025-01-03)
|
|
6
|
-
|
|
7
|
-
### [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)
|
|
8
|
-
|
|
9
|
-
### [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)
|
|
10
|
-
|
|
11
|
-
### [1.1.332-tg](https://github.com/jetthai/cuora-module/compare/v1.1.332...v1.1.332-tg) (2024-12-25)
|
|
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...v1.1.332-dev-4) (2024-12-28)
|
|
16
|
-
|
|
17
5
|
### [1.1.332](https://github.com/jetthai/cuora-module/compare/v1.1.331...v1.1.332) (2024-12-24)
|
|
18
6
|
|
|
19
7
|
### [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.332",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,6 @@
|
|
|
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"
|
|
29
|
-
"socket.io-client": "^4.8.0"
|
|
28
|
+
"xstate": "^4.25.0"
|
|
30
29
|
}
|
|
31
30
|
}
|
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 }) => ({
|
|
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 },
|
|
12
12
|
isPublic: true,
|
|
13
13
|
headers: { 'x-access-captcha': reCaptchaToken },
|
|
14
14
|
}),
|
package/src/api/common.js
CHANGED
|
@@ -6,5 +6,4 @@ 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 }),
|
|
10
9
|
}
|
package/src/api/game.js
CHANGED
|
@@ -92,12 +92,4 @@ 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 } }),
|
|
103
95
|
}
|