From 7a536156e1ec9a0c9f449879c9b8faa269b928c3 Mon Sep 17 00:00:00 2001 From: Amitkanswal Date: Mon, 22 Jan 2024 16:57:58 +0530 Subject: [PATCH 1/2] fix: updated contentstack branch Signed-off-by: Amitkanswal --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b3ec84..d925369 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@contentstack/live-preview-utils": "^1.4.0", "@contentstack/utils": "^1.3.1", "@textea/json-viewer": "^3.3.0", - "contentstack": "github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "contentstack": "github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "html-react-parser": "^3.0.16", "moment": "^2.30.1", "next": "^14.0.4", @@ -3604,8 +3604,8 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/contentstack": { - "version": "3.17.2", - "resolved": "git+ssh://git@github.com/Deepak-Kharah/contentstack-javascript.git#d0d2bbd3a330d8a15f851e42692aef44cb760de4", + "version": "3.18.0", + "resolved": "git+ssh://git@github.com/contentstack/contentstack-javascript.git#f2fc054aef70af5683c43ec1e764d984f4579496", "license": "MIT", "dependencies": { "@contentstack/utils": "^1.2.0", @@ -10903,8 +10903,8 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "contentstack": { - "version": "git+ssh://git@github.com/Deepak-Kharah/contentstack-javascript.git#d0d2bbd3a330d8a15f851e42692aef44cb760de4", - "from": "contentstack@github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "version": "git+ssh://git@github.com/contentstack/contentstack-javascript.git#f2fc054aef70af5683c43ec1e764d984f4579496", + "from": "contentstack@github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "requires": { "@contentstack/utils": "^1.2.0", "es6-promise": "^4.1.1", diff --git a/package.json b/package.json index b137603..d151f0d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@contentstack/live-preview-utils": "^1.4.0", "@contentstack/utils": "^1.3.1", "@textea/json-viewer": "^3.3.0", - "contentstack": "github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "contentstack": "github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "html-react-parser": "^3.0.16", "moment": "^2.30.1", "next": "^14.0.4", From 9541fbf48153161456624384d48d323db830461c Mon Sep 17 00:00:00 2001 From: Amitkanswal Date: Mon, 22 Jan 2024 16:59:38 +0530 Subject: [PATCH 2/2] doc:updated env Signed-off-by: Amitkanswal --- .env.local.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.local.sample b/.env.local.sample index 0489e8a..67337c9 100644 --- a/.env.local.sample +++ b/.env.local.sample @@ -4,7 +4,7 @@ CONTENTSTACK_API_KEY=your_stack_api_key CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token -CONTENTSTACK_ENVIRONMENT=your_environment_token +CONTENTSTACK_ENVIRONMENT=your_environment_name # Below config options are for enabling live preview/live edit tags for the starter app @@ -17,7 +17,7 @@ CONTENTSTACK_LIVE_EDIT_TAGS= false #site-map NEXT_PUBLIC_HOSTED_URL=http://localhost:3000 -# CONTENTSTACK_API_HOST=api.contentstack.com +# CONTENTSTACK_API_HOST=api.contentstack.io # CONTENTSTACK_REGION=eu # CONTENTSTACK_BRANCH=main