@jetthai/cuora 1.1.395 → 1.1.396

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.396](https://github.com/jetthai/cuora-module/compare/v1.1.395...v1.1.396) (2025-11-13)
6
+
5
7
  ### [1.1.395](https://github.com/jetthai/cuora-module/compare/v1.1.394...v1.1.395) (2025-11-11)
6
8
 
7
9
  ### [1.1.394](https://github.com/jetthai/cuora-module/compare/v1.1.393...v1.1.394) (2025-11-04)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.395",
3
+ "version": "1.1.396",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -466,7 +466,9 @@ export default function (request) {
466
466
  referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel
467
467
 
468
468
  // OZE、ZAZA 先使用 v2 測試 ,等待確認沒問題後再統一用 v2
469
- const fullURL = ['OZE', 'ZAZA'].includes(clientId) ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
469
+ // 但 ZALO 仍維持 v1
470
+ const fullURL =
471
+ ['OZE', 'ZAZA'].includes(clientId) && provider !== 'zalo' ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
470
472
 
471
473
  const redirectURL = urljoin(
472
474
  fullURL,