@jetthai/cuora 1.1.233 → 1.1.234

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,12 @@
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.234](https://github.com/jetthai/cuora-module/compare/v1.1.233...v1.1.234) (2024-03-13)
6
+
7
+ ### Bug Fixes
8
+
9
+ - game search ([1184b7c](https://github.com/jetthai/cuora-module/commit/1184b7cd9fcd16f6b3273477b1232a14604efe6b))
10
+
5
11
  ### [1.1.233](https://github.com/jetthai/cuora-module/compare/v1.1.232...v1.1.233) (2024-03-12)
6
12
 
7
13
  ### [1.1.232](https://github.com/jetthai/cuora-module/compare/v1.1.231...v1.1.232) (2024-03-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.233",
3
+ "version": "1.1.234",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -255,9 +255,9 @@ export default function (request) {
255
255
  } else {
256
256
  const { tagId, recentlyGame, youMayLike } = context
257
257
  let gameList = []
258
- if (tagId === 'RECENTLY') {
258
+ if (tagId === 'Recently') {
259
259
  gameList = recentlyGame
260
- } else if (tagId === 'YOU MAY LIKE') {
260
+ } else if (tagId === 'You may like') {
261
261
  gameList = youMayLike
262
262
  }
263
263
  return {
@@ -323,7 +323,7 @@ export default function (request) {
323
323
  guards: {
324
324
  isRecentlyYouMayLike: (context, event) => {
325
325
  const { tagId } = context
326
- return tagId === 'RECENTLY' || tagId === 'YOU MAY LIKE'
326
+ return tagId === 'Recently' || tagId === 'You may like'
327
327
  },
328
328
  hasTagList: (context, event) => {
329
329
  const { tagList } = context
@@ -368,7 +368,7 @@ export default function (request) {
368
368
  isRecentlySearch,
369
369
  } = context
370
370
  let id = tagId
371
- if (tagId === 'RECENTLY' || tagId === 'YOU MAY LIKE') {
371
+ if (tagId === 'Recently' || tagId === 'You may like') {
372
372
  id = null
373
373
  }
374
374
  return await request.send(