Skip to content

Commit 8110056

Browse files
authored
Hubspot - New or Updated Contact Source updates (#17143)
* update to new-or-updated-contact * pnpm-lock.yaml * versions
1 parent 31f21c9 commit 8110056

File tree

26 files changed

+33
-29
lines changed

26 files changed

+33
-29
lines changed

components/hubspot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/hubspot",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "Pipedream Hubspot Components",
55
"main": "hubspot.app.mjs",
66
"keywords": [

components/hubspot/sources/common/common.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ export default {
7979
}
8080

8181
for (const result of results) {
82-
if (await this.isRelevant(result, after)) {
83-
this.emitEvent(result);
84-
const ts = this.getTs(result);
82+
const ts = this.getTs(result);
83+
if (!after || ts > after) {
84+
if (await this.isRelevant(result, after, ts)) {
85+
this.emitEvent(result);
86+
}
8587
if (ts > maxTs) {
8688
maxTs = ts;
8789
this._setAfter(ts);

components/hubspot/sources/delete-blog-article/delete-blog-article.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-delete-blog-article",
77
name: "Deleted Blog Posts",
88
description: "Emit new event for each deleted blog post.",
9-
version: "0.0.22",
9+
version: "0.0.23",
1010
dedupe: "unique",
1111
type: "source",
1212
methods: {

components/hubspot/sources/new-company-property-change/new-company-property-change.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "hubspot-new-company-property-change",
88
name: "New Company Property Change",
99
description: "Emit new event when a specified property is provided or updated on a company. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies)",
10-
version: "0.0.15",
10+
version: "0.0.16",
1111
dedupe: "unique",
1212
type: "source",
1313
props: {

components/hubspot/sources/new-contact-property-change/new-contact-property-change.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "hubspot-new-contact-property-change",
88
name: "New Contact Property Change",
99
description: "Emit new event when a specified property is provided or updated on a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)",
10-
version: "0.0.17",
10+
version: "0.0.18",
1111
dedupe: "unique",
1212
type: "source",
1313
props: {

components/hubspot/sources/new-custom-object-property-change/new-custom-object-property-change.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-new-custom-object-property-change",
77
name: "New Custom Object Property Change",
88
description: "Emit new event when a specified property is provided or updated on a custom object.",
9-
version: "0.0.7",
9+
version: "0.0.8",
1010
dedupe: "unique",
1111
type: "source",
1212
props: {

components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
key: "hubspot-new-deal-in-stage",
1010
name: "New Deal In Stage",
1111
description: "Emit new event for each new deal in a stage.",
12-
version: "0.0.28",
12+
version: "0.0.29",
1313
dedupe: "unique",
1414
type: "source",
1515
props: {

components/hubspot/sources/new-deal-property-change/new-deal-property-change.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "hubspot-new-deal-property-change",
88
name: "New Deal Property Change",
99
description: "Emit new event when a specified property is provided or updated on a deal. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals)",
10-
version: "0.0.16",
10+
version: "0.0.17",
1111
dedupe: "unique",
1212
type: "source",
1313
props: {

components/hubspot/sources/new-email-event/new-email-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "hubspot-new-email-event",
99
name: "New Email Event",
1010
description: "Emit new event for each new Hubspot email event.",
11-
version: "0.0.25",
11+
version: "0.0.26",
1212
dedupe: "unique",
1313
type: "source",
1414
props: {

components/hubspot/sources/new-email-subscriptions-timeline/new-email-subscriptions-timeline.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-new-email-subscriptions-timeline",
77
name: "New Email Subscriptions Timeline",
88
description: "Emit new event when a new email timeline subscription is added for the portal.",
9-
version: "0.0.22",
9+
version: "0.0.23",
1010
dedupe: "unique",
1111
type: "source",
1212
methods: {

0 commit comments

Comments
 (0)