@jetthai/cuora 1.1.374-dev-5 → 1.1.375-qa-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 CHANGED
@@ -2,29 +2,9 @@
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.374-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.380...v1.1.374-dev-5) (2025-09-11)
5
+ ### [1.1.375-qa-1](https://github.com/jetthai/cuora-module/compare/v1.1.375...v1.1.375-qa-1) (2025-09-09)
6
6
 
7
- ### [1.1.374-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-3...v1.1.374-dev-4) (2025-09-09)
8
-
9
- ### [1.1.374-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.376...v1.1.374-dev-3) (2025-09-09)
10
-
11
- ### [1.1.374-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-1...v1.1.374-dev-2) (2025-09-02)
12
-
13
- ### [1.1.374-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.375...v1.1.374-dev-1) (2025-08-31)
14
-
15
- ### [1.1.374-dev](https://github.com/jetthai/cuora-module/compare/v1.1.374...v1.1.374-dev) (2025-08-29)
16
-
17
- ### [1.1.374-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-3...v1.1.374-dev-4) (2025-09-09)
18
-
19
- ### [1.1.374-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-2...v1.1.374-dev-3) (2025-09-09)
20
-
21
- ### [1.1.374-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-1...v1.1.374-dev-2) (2025-09-02)
22
-
23
- ### [1.1.374-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.375...v1.1.374-dev-1) (2025-08-31)
24
-
25
- ### [1.1.374-dev](https://github.com/jetthai/cuora-module/compare/v1.1.374...v1.1.374-dev) (2025-08-29)
26
-
27
- ### [1.1.374-dev](https://github.com/jetthai/cuora-module/compare/v1.1.374...v1.1.374-dev) (2025-08-29)
7
+ ### [1.1.375](https://github.com/jetthai/cuora-module/compare/v1.1.374...v1.1.375) (2025-08-31)
28
8
 
29
9
  ### [1.1.374](https://github.com/jetthai/cuora-module/compare/v1.1.373...v1.1.374) (2025-08-28)
30
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.374-dev-5",
3
+ "version": "1.1.375-qa-1",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -85,7 +85,6 @@ export default {
85
85
  exchange: (data) => ({ url: 'activities/exchange', method: 'post', params: data }),
86
86
  collect: (data) => ({ url: 'activities/collect', method: 'post', params: data }),
87
87
  getVipTable: ({ appSecret }) => ({ url: 'activities/viptable', method: 'get', params: { appSecret } }),
88
- getLevelBonusInfo: () => ({ url: 'activities/level-bonus/info', method: 'get' }),
89
88
  getRankingList: () => ({ url: 'activities/ranking', method: 'get' }),
90
89
  exchangeDiamond: ({ activityNo, exchangeAward = [] }) => ({
91
90
  url: 'activities/exchange/diamond',
package/src/api/game.js CHANGED
@@ -90,10 +90,10 @@ export default {
90
90
  addListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/addMyFavorite', params: { games: [code] } }),
91
91
  removeListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/removeMyFavorite', params: { games: [code] } }),
92
92
  getGameInfo: ({ appSecret, gameCode }) => ({ method: 'get', url: 'game/info', params: { appSecret, gameCode } }),
93
- getGameReplayInfo: ({ providerId, seqNo, lang, appSecret }) => ({
93
+ getGameReplayInfo: ({ providerId, seqNo, lang }) => ({
94
94
  method: 'get',
95
95
  url: 'game/gameReplay',
96
- params: { providerId, seqNo, lang, appSecret },
96
+ params: { providerId, seqNo, lang },
97
97
  isPublic: true,
98
98
  }),
99
99
  getFreeGameList: () => ({ method: 'get', url: 'activities/getFreeGameRewardList' }),
package/src/api/user.js CHANGED
@@ -38,7 +38,7 @@ export default {
38
38
  isPublic: true,
39
39
  }),
40
40
  // passwordV2Abandon: ({ requestId, target }) => ({ url: 'recovery/v2/abandon', method: 'post', params: { requestId, target }, isPublic: true }), 平台版和現金網未使用
41
- passwordV2ResetOtp: ({ requestId, target, appSecret }) => ({
41
+ passwordV2ResetOtp: ({ requestId, target }) => ({
42
42
  url: 'recovery/v2/reset',
43
43
  method: 'post',
44
44
  params: { requestId, target, appSecret },
@@ -2,7 +2,7 @@ import { assign, createMachine } from 'xstate'
2
2
  import game from '../api/game.js'
3
3
 
4
4
  export default function (request, context) {
5
- const { appSecret } = request.config
5
+ // const { appSecret } = request.config
6
6
  const { providerId, seqNo, lang } = context
7
7
  return createMachine(
8
8
  {
@@ -38,7 +38,7 @@ export default function (request, context) {
38
38
  services: {
39
39
  // 取得遊戲重播資訊
40
40
  fetchGameReplayInfo: async (context, event) => {
41
- return await request.send(game.getGameReplayInfo({ providerId, seqNo, lang, appSecret }))
41
+ return await request.send(game.getGameReplayInfo({ providerId, seqNo, lang }))
42
42
  },
43
43
  },
44
44
  }
@@ -600,7 +600,6 @@ export default function (request) {
600
600
  categoryId: room.categoryId,
601
601
  end: index,
602
602
  timestamp: content.timestamp,
603
- appSecret,
604
603
  })
605
604
  ),
606
605
  ])
@@ -637,7 +636,6 @@ export default function (request) {
637
636
  mapping_id: mappingId,
638
637
  is_mobile: isMobile === 'mobile' ? 'y' : null,
639
638
  lang,
640
- appSecret,
641
639
  }
642
640
  const { type, redirect_url, gameToken, gameHtml, is_demo } = await request.send(api.demoGame(params))
643
641
  // 將 is_demo 設置到 context.game.isDemo
@@ -76,7 +76,6 @@ export default function (request) {
76
76
  }),
77
77
  setSignUpId: assign((context, event) => {
78
78
  const {
79
- email,
80
79
  username,
81
80
  nick_name,
82
81
  password,
@@ -94,7 +93,6 @@ export default function (request) {
94
93
  return {
95
94
  signUpData: {
96
95
  provider: 'local',
97
- email,
98
96
  username,
99
97
  nick_name,
100
98
  password,
@@ -113,7 +111,6 @@ export default function (request) {
113
111
  }),
114
112
  setSignUpPhone: assign((context, event) => {
115
113
  const {
116
- email,
117
114
  countryCode,
118
115
  phone,
119
116
  nick_name,
@@ -130,7 +127,6 @@ export default function (request) {
130
127
  return {
131
128
  signUpData: {
132
129
  provider: 'phone',
133
- email,
134
130
  countryCode,
135
131
  phone,
136
132
  nick_name,
@@ -111,7 +111,6 @@ const supportVersion2List = [
111
111
  'activities/types',
112
112
  'activities/promo',
113
113
  'activities/viptable',
114
- 'activities/level-bonus/info',
115
114
  'activities/numbers',
116
115
  'activities/honorBroadcast',
117
116
  'activities/exchange/diamond/max-amount',
@@ -135,11 +134,6 @@ const supportVersion2List = [
135
134
  'activities/activity/ranking',
136
135
  'activities/cashRain',
137
136
  'activities/jackpot/list',
138
- // 09/09
139
- 'getAnnouncements',
140
- 'game/list/v3/gameInfo',
141
- 'payment/v2/uploadCommonSlip',
142
- 'game/history/options',
143
137
  ]
144
138
 
145
139
  function isValid(value) {