@jetthai/cuora 1.1.374-dev-2 → 1.1.374-dev-3
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/request/request.js +2 -3
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.374-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-2...v1.1.374-dev-3) (2025-09-09)
|
|
6
|
+
|
|
5
7
|
### [1.1.374-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.374-dev-1...v1.1.374-dev-2) (2025-09-02)
|
|
6
8
|
|
|
7
9
|
### [1.1.374-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.375...v1.1.374-dev-1) (2025-08-31)
|
package/package.json
CHANGED
package/src/request/request.js
CHANGED
|
@@ -251,9 +251,8 @@ export default class Request {
|
|
|
251
251
|
return supportedUrl === cleanUrl
|
|
252
252
|
})
|
|
253
253
|
|
|
254
|
-
//
|
|
255
|
-
|
|
256
|
-
const supportV2Toggle = ['ZAZA'].includes(this.config?.clientId)
|
|
254
|
+
// 目前全站都支援V2,若有需要限制為V1的站點可以填入,此段等轉換全部完成之後就可以移除了
|
|
255
|
+
const supportV2Toggle = [''].includes(this.config?.clientId)
|
|
257
256
|
|
|
258
257
|
if (isV2Supported && !supportV2Toggle) {
|
|
259
258
|
fullURL = fullURL.replace('/v1/', '/v2/')
|