From 6efd44645455e79c2d97dc2254ae3da01a803b1a Mon Sep 17 00:00:00 2001
From: muskaan123maheshwari
<48375030+muskaan123maheshwari@users.noreply.github.com>
Date: Fri, 20 May 2022 15:37:21 +0530
Subject: [PATCH 1/4] Update package.json
---
package.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 8ccfc537..7d4f03e7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,9 @@
{
"name": "sfmc-jb-custom-activity-example",
- "version": "0.0.1",
+ "version": "1.0.0",
+ "engines": {
+ "node": "6.11.1"
+ }
"main": "app.js",
"author": "Salesforce Marketing Cloud",
"description": "Journey Builder Custom Activities",
@@ -33,4 +36,5 @@
"postmonger": "0.0.16",
"serve-static": "^1.12.3"
}
+
}
From e9689837ee3c182141375c40998ae13b4de34aed Mon Sep 17 00:00:00 2001
From: muskaan123maheshwari
<48375030+muskaan123maheshwari@users.noreply.github.com>
Date: Fri, 20 May 2022 15:43:45 +0530
Subject: [PATCH 2/4] Update package.json
---
package.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 7d4f03e7..0f677a3b 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,8 @@
"version": "1.0.0",
"engines": {
"node": "6.11.1"
- }
+ },
+
"main": "app.js",
"author": "Salesforce Marketing Cloud",
"description": "Journey Builder Custom Activities",
From f82c802a5b402f4cbc214598677d090af1c39ade Mon Sep 17 00:00:00 2001
From: muskaan123maheshwari
<48375030+muskaan123maheshwari@users.noreply.github.com>
Date: Fri, 20 May 2022 17:06:31 +0530
Subject: [PATCH 3/4] Update config-json.js
---
modules/discount-code/config/config-json.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/discount-code/config/config-json.js b/modules/discount-code/config/config-json.js
index 0961819e..0455979c 100644
--- a/modules/discount-code/config/config-json.js
+++ b/modules/discount-code/config/config-json.js
@@ -3,8 +3,8 @@ module.exports = function configJSON(req) {
workflowApiVersion: '1.1',
metaData: {
// the location of our icon file
- icon: `images/icon.svg`,
- category: 'customer'
+ icon: `images/icon.png`,
+ category: 'message'
},
// For Custom Activity this must say, "REST"
type: 'REST',
@@ -50,7 +50,7 @@ module.exports = function configJSON(req) {
userInterfaces: {
configurationSupportsReadOnlyMode : true,
configInspector: {
- size: 'scm-lg',
+ size: 'medium',
emptyIframe: true
}
},
From e7ec9a77410b39dfb93087f80c7903e32302c8a3 Mon Sep 17 00:00:00 2001
From: muskaan123maheshwari
<48375030+muskaan123maheshwari@users.noreply.github.com>
Date: Fri, 20 May 2022 17:57:23 +0530
Subject: [PATCH 4/4] Update index.html
---
modules/discount-code/html/index.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/discount-code/html/index.html b/modules/discount-code/html/index.html
index b5717b47..9c51df27 100644
--- a/modules/discount-code/html/index.html
+++ b/modules/discount-code/html/index.html
@@ -28,5 +28,7 @@
+
+