@jetthai/cuora 1.1.383 → 1.1.384

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.384](https://github.com/jetthai/cuora-module/compare/v1.1.383...v1.1.384) (2025-09-16)
6
+
5
7
  ### [1.1.383](https://github.com/jetthai/cuora-module/compare/v1.1.382...v1.1.383) (2025-09-16)
6
8
 
7
9
  ### [1.1.382](https://github.com/jetthai/cuora-module/compare/v1.1.381...v1.1.382) (2025-09-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.383",
3
+ "version": "1.1.384",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -170,7 +170,7 @@ export default class Request {
170
170
  // 針對key為q的參數進行手動編碼,避免雙重編碼
171
171
  if (key === 'q' && typeof value === 'string') {
172
172
  // 處理其他需要編碼的字符
173
- value = value.replace(/[!'()*]/g, function (c) {
173
+ value = encodeURIComponent(value).replace(/[!'()*]/g, function (c) {
174
174
  return '%' + c.charCodeAt(0).toString(16).toUpperCase()
175
175
  })
176
176
  } else {