@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 +2 -0
- package/package.json +1 -1
- package/src/machine/auth.js +3 -1
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
package/src/machine/auth.js
CHANGED
|
@@ -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
|
-
|
|
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,
|