Skip to content

Commit 99b2a46

Browse files
authored
19123 add a flag to prevent testretroactive events from firing on activate hook (#19221)
* Update vbout and visitor_queue components to version 0.1.0, enhancing dependencies and fixing source hooks. Bump new-contact, new-contact-property-change, new-email-campaign, and new-social-media-message sources to version 0.0.4, ensuring consistency and improved functionality. * pnpm update * Bump new-lead component version from 0.0.3 to 0.0.4 to reflect recent updates and improvements.
1 parent 06100cb commit 99b2a46

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

components/vbout/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/vbout",
3-
"version": "0.0.3",
3+
"version": "0.1.0",
44
"description": "Pipedream VBOUT Components",
55
"main": "vbout.app.mjs",
66
"keywords": [
@@ -13,7 +13,7 @@
1313
"homepage": "https://pipedream.com/apps/vbout",
1414
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
1515
"dependencies": {
16-
"@pipedream/platform": "^1.6.8",
16+
"@pipedream/platform": "^3.1.1",
1717
"moment": "^2.29.4"
1818
},
1919
"publishConfig": {

components/vbout/sources/common/base.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
12
import moment from "moment";
23
import vbout from "../../vbout.app.mjs";
3-
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
44

55
export default {
66
props: {
@@ -46,7 +46,7 @@ export default {
4646
},
4747
},
4848
hooks: {
49-
async activate() {
49+
async deploy() {
5050
const datetimeField = this.getDatetimeField();
5151
let lastDatetime = this._getLastTime();
5252
const items = await this.vbout.fetchItems({

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import vbout from "../../vbout.app.mjs";
21
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
2+
import vbout from "../../vbout.app.mjs";
33

44
export default {
55
type: "source",
66
name: "New Contact Property Change",
77
key: "vbout-new-contact-property-change",
88
description: "Emit new event for each new property changed in a specific contact. [See docs here](https://developers.vbout.com/docs#emailmarketing_getcontact)",
9-
version: "0.0.3",
9+
version: "0.0.4",
1010
props: {
1111
vbout,
1212
db: "$.service.db",

components/vbout/sources/new-contact/new-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "New Contact",
77
key: "vbout-new-contact",
88
description: "Emit new event for each new contact. [See docs here](https://developers.vbout.com/docs#emailmarketing_getcontacts)",
9-
version: "0.0.3",
9+
version: "0.0.4",
1010
dedupe: "unique",
1111
props: {
1212
...common.props,

components/vbout/sources/new-email-campaign/new-email-campaign.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Email Campaign",
88
key: "vbout-new-email-campaign",
99
description: "Emit new event for each new email campaign. [See docs here](https://developers.vbout.com/docs#emailmarketing_campaigns)",
10-
version: "0.0.3",
10+
version: "0.0.4",
1111
dedupe: "unique",
1212
props: {
1313
...common.props,

components/vbout/sources/new-social-media-message/new-social-media-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Social Media Message",
88
key: "vbout-new-social-media-message",
99
description: "Emit new event for each new social media message. [See docs here](https://api.vbout.com/1/socialmedia/stats)",
10-
version: "0.0.3",
10+
version: "0.0.4",
1111
dedupe: "unique",
1212
props: {
1313
...common.props,

components/visitor_queue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/visitor_queue",
3-
"version": "0.0.4",
3+
"version": "0.1.0",
44
"description": "Pipedream Visitor Queue Components",
55
"main": "visitor_queue.app.mjs",
66
"keywords": [
@@ -13,7 +13,7 @@
1313
"homepage": "https://pipedream.com/apps/visitor-queue",
1414
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
1515
"dependencies": {
16-
"@pipedream/platform": "^1.6.8",
16+
"@pipedream/platform": "^3.1.1",
1717
"moment": "^2.29.4"
1818
},
1919
"publishConfig": {

components/visitor_queue/sources/new-lead/new-lead.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
12
import moment from "moment";
23
import visitor_queue from "../../visitor_queue.app.mjs";
3-
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
44

55
export default {
66
key: "visitor_queue-new-lead",
77
name: "New Lead",
88
description: "Emit new event when a new Waiver sign is received. [See docs here](https://docs.visitorqueue.com/#4f021159-baae-e19d-bb7f-91a915e5b4ea)",
9-
version: "0.0.3",
9+
version: "0.0.4",
1010
dedupe: "unique",
1111
type: "source",
1212
props: {
@@ -60,7 +60,7 @@ export default {
6060
},
6161
},
6262
hooks: {
63-
async activate() {
63+
async deploy() {
6464
const lastTime = this._getLastTime();
6565
const leads = await this.visitor_queue.listLeads({
6666
params: {

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)