Skip to content

Commit b60fa60

Browse files
Merge pull request #328 from contentstack/fix/version-bump
Fix/version bump
2 parents 0f1fc6a + 2629d21 commit b60fa60

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Changelog
22

3+
## [v1.20.3](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.3) (2025-04-21)
4+
- Fix
5+
- Handle the sanity tests when ENVs are not provided
36

4-
## [v1.20.2](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.2) (2025-04-21)
7+
## [v1.20.2](https://github.com/contentstack/contentstack-management-javascript/tree/v1.20.2) (2025-04-14)
58
- Fix
69
- Handle api_version chaining and ensure backward compatibility
710

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.20.2",
3+
"version": "1.20.3",
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",

test/unit/oauthHandler-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ describe('OAuthHandler', () => {
6262
})
6363

6464
it('should refresh access token', async () => {
65-
const tokenData = { access_token: 'newAccessToken', refresh_token: 'newRefreshToken', expires_in: 3600 }
65+
// NAT = 'newAccessToken'
66+
const tokenData = { access_token: 'NAT', refresh_token: 'newRefreshToken', expires_in: 3600 }
6667
sandbox.stub(axiosInstance, 'post').resolves({ data: tokenData })
6768

6869
const result = await oauthHandler.refreshAccessToken('refreshToken')

0 commit comments

Comments
 (0)