Skip to content

Commit

Permalink
fix: add type support for preview_timestamp and release_id in livePre…
Browse files Browse the repository at this point in the history
…viewQuery
  • Loading branch information
nadeem-cs committed Jul 4, 2024
1 parent 1de1335 commit 0140c84
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fileignoreconfig:
- filename: package-lock.json
checksum: 4ddadcdbbd39ead729f20a58ce15fbbf2c71b17edf300df82f51f4f73489e96c
checksum: 28f8e6d0e7856b4a568fd260dcc4deb531bcdbebbbff956b008ce7dd26a0475d
- filename: test/typescript/taxonomy.test.ts
checksum: e4bdf633e147fd60d929d379f20c814eed5f68b11421d7b53ec8826e9142de37
- filename: src/core/modules/taxonomy.js
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
##### Enhanncement:
- Adds Timeline Preview changes

### Version: 3.20.1
#### Date: July-09-2024
##### Fix:
- Type support for LivePreviewQuery method params

### Version: 3.19.3
#### Date: May-17-2024
##### Enhanncement:
Expand Down
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ export interface LivePreviewConfigWithPreviewToken {
export interface LivePreviewQuery {
live_preview: string
content_type_uid: string
preview_timestamp: string
release_id: string
}

export interface RetryDelayOption {
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contentstack",
"version": "3.20.0",
"version": "3.20.1",
"description": "Contentstack Javascript SDK",
"homepage": "https://www.contentstack.com/",
"author": {
Expand Down Expand Up @@ -99,7 +99,7 @@
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@contentstack/utils": "^1.3.3",
"@contentstack/utils": "^1.3.8",
"cheerio": "^1.0.0-rc.12",
"es6-promise": "^4.1.1",
"isomorphic-fetch": "^3.0.0",
Expand Down

0 comments on commit 0140c84

Please sign in to comment.