@jetthai/cuora 1.1.381 → 1.1.382

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,8 @@
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.382](https://github.com/jetthai/cuora-module/compare/v1.1.381...v1.1.382) (2025-09-16)
6
+
5
7
  ### [1.1.381](https://github.com/jetthai/cuora-module/compare/v1.1.380...v1.1.381) (2025-09-15)
6
8
 
7
9
  ### [1.1.380](https://github.com/jetthai/cuora-module/compare/v1.1.379...v1.1.380) (2025-09-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.381",
3
+ "version": "1.1.382",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -295,7 +295,8 @@ export default function (request) {
295
295
  services: {
296
296
  fetchTags: async (context, event) => {
297
297
  const { keyword, lang } = context
298
- const { result } = await request.send(game.getGameTags({ q: keyword, lang }))
298
+ const encodedKeyword = encodeURIComponent(keyword)
299
+ const { result } = await request.send(game.getGameTags({ q: encodedKeyword, lang }))
299
300
  return {
300
301
  tagList: result,
301
302
  }
@@ -341,7 +341,8 @@ export default function (request) {
341
341
  services: {
342
342
  fetchTags: async (context, event) => {
343
343
  const { keyword, lang } = context
344
- const { result } = await request.send(game.getGameTags({ q: keyword, lang }))
344
+ const encodedKeyword = encodeURIComponent(keyword)
345
+ const { result } = await request.send(game.getGameTags({ q: encodedKeyword, lang }))
345
346
  return result
346
347
  },
347
348
  fetchInitialData: async (context, event) => {