@jetthai/cuora 1.1.400-dev-6 → 1.1.400-dev-9
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 +6 -0
- package/package.json +1 -1
- package/src/machine/auth.js +3 -4
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.400-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.400-dev-8...v1.1.400-dev-9) (2025-12-17)
|
|
6
|
+
|
|
7
|
+
### [1.1.400-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.400-dev-7...v1.1.400-dev-8) (2025-12-16)
|
|
8
|
+
|
|
9
|
+
### [1.1.400-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.400-dev-6...v1.1.400-dev-7) (2025-12-16)
|
|
10
|
+
|
|
5
11
|
### [1.1.400-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.400-dev-5...v1.1.400-dev-6) (2025-12-16)
|
|
6
12
|
|
|
7
13
|
### [1.1.400-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.400-dev-4...v1.1.400-dev-5) (2025-12-16)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -465,10 +465,9 @@ export default function (request) {
|
|
|
465
465
|
referralObj.channel = storage.get('channel') || defaultChannel || channel
|
|
466
466
|
referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel
|
|
467
467
|
|
|
468
|
-
// OZE
|
|
469
|
-
// 但 ZALO 仍維持 v1
|
|
470
|
-
const fullURL =
|
|
471
|
-
['OZE', 'ZAZA'].includes(clientId) && provider !== 'zalo' ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
|
|
468
|
+
// OZE 先使用 v2 測試 ,等待確認沒問題後,所有站點再統一用 v2
|
|
469
|
+
// 但 OZE ZALO 仍維持 v1
|
|
470
|
+
const fullURL = ['OZE'].includes(clientId) && provider !== 'zalo' ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
|
|
472
471
|
|
|
473
472
|
const redirectURL = urljoin(
|
|
474
473
|
fullURL,
|