@pipedream/brevo 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ export default {
4
4
  key: "brevo-add-or-update-contact",
5
5
  name: "Add or Update a contact",
6
6
  description: "Add or Update a contact",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  brevo,
@@ -51,7 +51,7 @@ export default {
51
51
  return dynamicProps;
52
52
  },
53
53
  async run({ $ }) {
54
- let identifier = this.providedIdentifier;
54
+ let identifier = this.providedIdentifier || this.email;
55
55
  const listIds = Object.keys(this.listIds).map((key) => parseInt(this.listIds[key], 10));
56
56
  let contact = null;
57
57
  if (identifier) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/brevo",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Pipedream Brevo Components",
5
5
  "main": "brevo.app.mjs",
6
6
  "keywords": [