Skip to content

Commit 3a17f66

Browse files
committed
Done requests changes
1 parent 5f4d07e commit 3a17f66

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

components/engage/actions/add-event/add-event.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "engage-add-event",
55
name: "Add Event",
66
description: "Adds user events to Engage. [See the documentation](https://docs.engage.so/en-us/a/62bbdd015bfea4dca4834042-users#track-user-event)",
7-
version: "0.0.1",
7+
version: "0.0.21",
88
type: "action",
99
props: {
1010
app,
@@ -20,6 +20,12 @@ export default {
2020
"event",
2121
],
2222
},
23+
value: {
24+
propDefinition: [
25+
app,
26+
"value",
27+
],
28+
},
2329
timestamp: {
2430
propDefinition: [
2531
app,
@@ -39,6 +45,7 @@ export default {
3945
uid: this.uid,
4046
data: {
4147
event: this.event,
48+
value: this.value,
4249
timestamp: this.timestamp,
4350
properties: this.properties,
4451
},

components/engage/engage.app.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,18 @@ export default {
7373
type: "string",
7474
label: "Timestamp",
7575
description: "Timestamp of the event. If none is provided, the current time is used",
76+
optional: true,
7677
},
7778
properties: {
7879
type: "object",
7980
label: "Properties",
8081
description: "The properties of the event",
82+
optional: true,
83+
},
84+
value: {
85+
type: "string",
86+
label: "Value",
87+
description: "The event value",
8188
},
8289
},
8390
methods: {

0 commit comments

Comments
 (0)