@jetthai/cuora 1.1.394 → 1.1.395
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 +4 -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.395](https://github.com/jetthai/cuora-module/compare/v1.1.394...v1.1.395) (2025-11-11)
|
|
6
|
+
|
|
5
7
|
### [1.1.394](https://github.com/jetthai/cuora-module/compare/v1.1.393...v1.1.394) (2025-11-04)
|
|
6
8
|
|
|
7
9
|
### [1.1.393](https://github.com/jetthai/cuora-module/compare/v1.1.392...v1.1.393) (2025-10-17)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -465,8 +465,11 @@ 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、ZAZA 先使用 v2 測試 ,等待確認沒問題後再統一用 v2
|
|
469
|
+
const fullURL = ['OZE', 'ZAZA'].includes(clientId) ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
|
|
470
|
+
|
|
468
471
|
const redirectURL = urljoin(
|
|
469
|
-
|
|
472
|
+
fullURL,
|
|
470
473
|
'login?' +
|
|
471
474
|
new URLSearchParams({
|
|
472
475
|
provider,
|