File tree Expand file tree Collapse file tree 12 files changed +8458
-479
lines changed Expand file tree Collapse file tree 12 files changed +8458
-479
lines changed Original file line number Diff line number Diff line change 1212 env :
1313 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
1414 with :
15- args : --all-projects --fail-on=all
15+ args : --all-projects --fail-on=all
Original file line number Diff line number Diff line change 11fileignoreconfig:
22- filename: package-lock.json
3- checksum: 227057b277330f78f01b86fbcb7cc622036cd9eebd5ad3c60b19f6b58e94ed91
3+ checksum: b55c22a1b5dca347c79fea4cac3a0a3ea7487180cb21e4e3d5b2bbdf1981cebe
44- filename: test/typescript/taxonomy.test.ts
55 checksum: e4bdf633e147fd60d929d379f20c814eed5f68b11421d7b53ec8826e9142de37
66- filename: src/core/modules/taxonomy.js
@@ -11,6 +11,4 @@ fileignoreconfig:
1111 checksum: c88b336f9a271397ffedcf8c5085941ceb0bd1cd7e25ed9ada3acd8ce4f8970c
1212- filename: test/typescript/stack.test.ts
1313 checksum: bbb3c425f8e1a63d4793f69ee9eaba9559294ff53f163a28f70ae54b1792276a
14- - filename: test/typescript/live-preview.test.ts
15- checksum: 57c355f5ad4070cbc3c35a2867487bef80c71be27079496e6997e0d2baec26ab
1614version: ""
Original file line number Diff line number Diff line change 11## Change log
22
33### Version: 3.18.0
4- #### Date: January-24 -2024
4+ #### Date: January-15 -2024
55##### New Features:
66 - added taxonomy support
77 - X-User-Agent updated
88 - added region gcp_na
9- ##### Update api and enhancement:
10- - live preview support for rest api support
119### Version: 3.17.2
1210#### Date: November-15-2023
1311##### Bug fix:
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const config = {
1313 } ,
1414 live_preview : {
1515 enable : false ,
16- host : 'rest-preview .contentstack.com '
16+ host : 'api .contentstack.io '
1717 }
1818} ;
1919
Original file line number Diff line number Diff line change @@ -72,21 +72,10 @@ export interface ContentTypeCollection {
7272 count ?: number
7373}
7474
75- export type LivePreview = {
76- host ?: string
75+ export interface LivePreview {
76+ host : string
77+ management_token : string
7778 enable : boolean
78- } & ( LivePreivewConfigWithManagementToken | LivePreviewConfigWithPreviewToken )
79-
80- export interface LivePreivewConfigWithManagementToken {
81- /**
82- * @deprecated Please use `preview_token` instead to enable live preview.
83- * The `management_token` will be removed in future releases.
84- */
85- management_token : string ;
86- }
87-
88- export interface LivePreviewConfigWithPreviewToken {
89- preview_token : string ;
9079}
9180
9281export interface LivePreviewQuery {
You can’t perform that action at this time.
0 commit comments