Skip to content

Commit 66a6c70

Browse files
authored
Merge pull request #317 from contentstack/development
Development to staging (07-04-2025)
2 parents 7d77085 + bdaed1a commit 66a6c70

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [v1.20.1](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.1) (2025-04-07)
3+
- Fix
4+
- Ensure 'api' is replaced with 'app' in uiHostName regardless of position
25

36
## [v1.20.0](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.0) (2025-04-01)
47
- Feature

Diff for: lib/core/contentstackHTTPClient.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function contentstackHttpClient (options) {
7272
uiHostName = uiHostName.replace('io', 'com')
7373
}
7474

75-
if (uiHostName?.startsWith('api')) {
75+
if (uiHostName) {
7676
uiHostName = uiHostName.replace('api', 'app')
7777
}
7878
const uiBaseUrl = config.endpoint || `${protocol}://${uiHostName}`

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.20.0",
3+
"version": "1.20.1",
44
"description": "The Content Management API is used to manage the content of your Contentstack account",
55
"main": "./dist/node/contentstack-management.js",
66
"browser": "./dist/web/contentstack-management.js",

0 commit comments

Comments
 (0)