@jetthai/cuora 1.1.361-dev-9 → 1.1.361-dev-11

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,23 +2,15 @@
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.361-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-8...v1.1.361-dev-9) (2025-06-19)
5
+ ### [1.1.361-dev-11](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-10...v1.1.361-dev-11) (2025-06-20)
6
6
 
7
- ### [1.1.361-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-7...v1.1.361-dev-8) (2025-06-19)
7
+ ### [1.1.361-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev...v1.1.361-dev-10) (2025-06-20)
8
8
 
9
- ### [1.1.361-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-6...v1.1.361-dev-7) (2025-06-19)
9
+ ### [1.1.361-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev...v1.1.361-dev-2) (2025-06-20)
10
10
 
11
- ### [1.1.361-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-5...v1.1.361-dev-6) (2025-06-19)
11
+ ### [1.1.361-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev...v1.1.361-dev-1) (2025-06-20)
12
12
 
13
- ### [1.1.361-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-4...v1.1.361-dev-5) (2025-06-17)
14
-
15
- ### [1.1.361-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-3...v1.1.361-dev-4) (2025-06-17)
16
-
17
- ### [1.1.361-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-2...v1.1.361-dev-3) (2025-06-16)
18
-
19
- ### [1.1.361-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.361-dev-1...v1.1.361-dev-2) (2025-06-11)
20
-
21
- ### [1.1.361-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.361-dev-1) (2025-06-09)
13
+ ### [1.1.361-dev](https://github.com/jetthai/cuora-module/compare/v1.1.361...v1.1.361-dev) (2025-06-20)
22
14
 
23
15
  ### [1.1.361](https://github.com/jetthai/cuora-module/compare/v1.1.360...v1.1.361) (2025-06-03)
24
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.361-dev-9",
3
+ "version": "1.1.361-dev-11",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
package/src/api/game.js CHANGED
@@ -7,7 +7,7 @@ export default {
7
7
  demoGame: (params) => ({ url: 'game/demo', method: 'get', params, isPublic: true }),
8
8
  logoutGame: ({ uid_site, provider_id }) => ({ url: 'game/logout', method: 'get', params: { uid_site, provider_id } }),
9
9
 
10
- getGameTags: ({ q, lang, limit = 20 }) => ({ url: 'game/search', method: 'get', params: { q, lang, limit } }),
10
+ getGameTags: ({ q, lang }) => ({ url: 'game/search', method: 'get', params: { q, lang } }),
11
11
  getGameSearchHome: () => ({ url: 'game/search/home', method: 'get' }),
12
12
  getGameSearchList: ({ id, index, q, click, clickDefault, providerName }) => ({
13
13
  url: 'game/search/list',
@@ -172,8 +172,8 @@ export default function (request) {
172
172
  return {
173
173
  hasAnyAccount: bankInfo.length > 0,
174
174
  holderName: bankInfo[0]?.holderName,
175
- firstNameLocale: bankInfo[0]?.firstNameLocale,
176
- lastNameLocale: bankInfo[0]?.lastNameLocale,
175
+ firstNameLocale: bankInfo[0]?.firstNameLocale || null,
176
+ lastNameLocale: bankInfo[0]?.lastNameLocale || null,
177
177
  paymentList,
178
178
  bank: null, // 不預選銀行,玩家可能不知道這裡可以選 by Gordan
179
179
  }