@segment/action-destinations 3.230.0-linkedin.0 → 3.330.1-staging.0
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.
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.d.ts +1 -1
- package/dist/destinations/criteo-audiences/addUserToAudience/index.js +8 -8
- package/dist/destinations/criteo-audiences/addUserToAudience/index.js.map +1 -1
- package/dist/destinations/criteo-audiences/criteo-audiences.d.ts +5 -6
- package/dist/destinations/criteo-audiences/criteo-audiences.js +66 -53
- package/dist/destinations/criteo-audiences/criteo-audiences.js.map +1 -1
- package/dist/destinations/criteo-audiences/removeUserFromAudience/index.js +8 -8
- package/dist/destinations/criteo-audiences/removeUserFromAudience/index.js.map +1 -1
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +9 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +1 -1
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js +9 -0
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +1 -1
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js +9 -0
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +1 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js +9 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +1 -1
- package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +1 -1
- package/dist/destinations/engage/utils/EngageStats.js +5 -1
- package/dist/destinations/engage/utils/EngageStats.js.map +1 -1
- package/dist/destinations/engage/utils/track.d.ts +17 -17
- package/dist/destinations/klaviyo/functions.d.ts +8 -0
- package/dist/destinations/klaviyo/functions.js +34 -1
- package/dist/destinations/klaviyo/functions.js.map +1 -1
- package/dist/destinations/klaviyo/index.js +1 -1
- package/dist/destinations/klaviyo/index.js.map +1 -1
- package/dist/destinations/klaviyo/types.d.ts +42 -0
- package/dist/destinations/klaviyo/upsertProfile/generated-types.d.ts +1 -0
- package/dist/destinations/klaviyo/upsertProfile/index.js +32 -1
- package/dist/destinations/klaviyo/upsertProfile/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/api.test.js +2 -2
- package/dist/destinations/linkedin-conversions/api/api.test.js.map +1 -1
- package/dist/destinations/linkedin-conversions/api/index.d.ts +1 -1
- package/dist/destinations/linkedin-conversions/api/index.js +2 -2
- package/dist/destinations/linkedin-conversions/api/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/generated-types.d.ts +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/index.js +10 -28
- package/dist/destinations/linkedin-conversions/streamConversion/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/addToAudience/generated-types.d.ts +2 -0
- package/dist/destinations/tiktok-audiences/addToAudience/index.js +2 -0
- package/dist/destinations/tiktok-audiences/addToAudience/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/addUser/generated-types.d.ts +2 -0
- package/dist/destinations/tiktok-audiences/addUser/index.js +2 -0
- package/dist/destinations/tiktok-audiences/addUser/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/functions.js +17 -2
- package/dist/destinations/tiktok-audiences/functions.js.map +1 -1
- package/dist/destinations/tiktok-audiences/properties.d.ts +2 -0
- package/dist/destinations/tiktok-audiences/properties.js +28 -7
- package/dist/destinations/tiktok-audiences/properties.js.map +1 -1
- package/dist/destinations/tiktok-audiences/removeFromAudience/generated-types.d.ts +2 -0
- package/dist/destinations/tiktok-audiences/removeFromAudience/index.js +2 -0
- package/dist/destinations/tiktok-audiences/removeFromAudience/index.js.map +1 -1
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.d.ts +2 -0
- package/dist/destinations/tiktok-audiences/removeUser/index.js +2 -0
- package/dist/destinations/tiktok-audiences/removeUser/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-audi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GAAG,EAAE,CAAA;YACjB,IAAI,OAAO,CAAC,KAAK,EAAE;gBACjB,QAAQ,GAAG;oBACT,EAAE,EAAE,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;oBAC5D,YAAY,EAAE,CAAC,oBAAoB,CAAC;iBACrC,CAAA;aACF;YACD,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;SACxB;QAED,IAAI,OAAO,CAAC,mBAAmB,KAAK,IAAI,EAAE;YACxC,IAAI,cAAc,GAAG,EAAE,CAAA;YACvB,IAAI,OAAO,CAAC,cAAc,EAAE;gBAC1B,cAAc,GAAG;oBACf,EAAE,EAAE,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;oBACrE,YAAY,EAAE,CAAC,oBAAoB,CAAC;iBACrC,CAAA;aACF;YACD,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;SAC9B;QAED,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC3B,CAAC,CAAC,CAAA;IACF,OAAO,UAAU,CAAA;AACnB,CAAC;AA5DD,oCA4DC"}
|
|
@@ -5,6 +5,8 @@ export declare const audience_id: InputField;
|
|
|
5
5
|
export declare const custom_audience_name: InputField;
|
|
6
6
|
export declare const email: InputField;
|
|
7
7
|
export declare const send_email: InputField;
|
|
8
|
+
export declare const phone: InputField;
|
|
9
|
+
export declare const send_phone: InputField;
|
|
8
10
|
export declare const advertising_id: InputField;
|
|
9
11
|
export declare const send_advertising_id: InputField;
|
|
10
12
|
export declare const event_name: InputField;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.external_audience_id = exports.enable_batching = exports.event_name = exports.send_advertising_id = exports.advertising_id = exports.send_email = exports.email = exports.custom_audience_name = exports.audience_id = exports.id_type = exports.selected_advertiser_id = void 0;
|
|
3
|
+
exports.external_audience_id = exports.enable_batching = exports.event_name = exports.send_advertising_id = exports.advertising_id = exports.send_phone = exports.phone = exports.send_email = exports.email = exports.custom_audience_name = exports.audience_id = exports.id_type = exports.selected_advertiser_id = void 0;
|
|
4
4
|
exports.selected_advertiser_id = {
|
|
5
5
|
label: 'Advertiser ID',
|
|
6
6
|
description: 'The advertiser ID to use when syncing audiences.',
|
|
@@ -37,28 +37,48 @@ exports.email = {
|
|
|
37
37
|
label: 'User Email',
|
|
38
38
|
description: "The user's email address to send to TikTok.",
|
|
39
39
|
type: 'string',
|
|
40
|
-
unsafe_hidden: true,
|
|
41
40
|
default: {
|
|
42
|
-
'@
|
|
41
|
+
'@if': {
|
|
42
|
+
exists: { '@path': '$.context.traits.email' },
|
|
43
|
+
then: { '@path': '$.context.traits.email' },
|
|
44
|
+
else: { '@path': '$.properties.email' }
|
|
45
|
+
}
|
|
43
46
|
}
|
|
44
47
|
};
|
|
45
48
|
exports.send_email = {
|
|
46
|
-
label: 'Send Email',
|
|
49
|
+
label: 'Send Email?',
|
|
47
50
|
description: 'Send email to TikTok. Segment will hash this value before sending',
|
|
48
51
|
type: 'boolean',
|
|
49
52
|
default: true
|
|
50
53
|
};
|
|
54
|
+
exports.phone = {
|
|
55
|
+
label: 'User Phone Number',
|
|
56
|
+
description: "The user's phone number to send to TikTok.",
|
|
57
|
+
type: 'string',
|
|
58
|
+
default: {
|
|
59
|
+
'@if': {
|
|
60
|
+
exists: { '@path': '$.context.traits.phone' },
|
|
61
|
+
then: { '@path': '$.context.traits.phone' },
|
|
62
|
+
else: { '@path': '$.properties.phone' }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.send_phone = {
|
|
67
|
+
label: 'Send Phone Number?',
|
|
68
|
+
description: 'Send phone number to TikTok. Segment will hash this value before sending',
|
|
69
|
+
type: 'boolean',
|
|
70
|
+
default: true
|
|
71
|
+
};
|
|
51
72
|
exports.advertising_id = {
|
|
52
73
|
label: 'User Advertising ID',
|
|
53
74
|
description: "The user's mobile advertising ID to send to TikTok. This could be a GAID, IDFA, or AAID",
|
|
54
75
|
type: 'string',
|
|
55
|
-
unsafe_hidden: true,
|
|
56
76
|
default: {
|
|
57
77
|
'@path': '$.context.device.advertisingId'
|
|
58
78
|
}
|
|
59
79
|
};
|
|
60
80
|
exports.send_advertising_id = {
|
|
61
|
-
label: 'Send Mobile Advertising ID',
|
|
81
|
+
label: 'Send Mobile Advertising ID?',
|
|
62
82
|
description: 'Send mobile advertising ID (IDFA, AAID or GAID) to TikTok. Segment will hash this value before sending.',
|
|
63
83
|
type: 'boolean',
|
|
64
84
|
default: true
|
|
@@ -76,7 +96,8 @@ exports.enable_batching = {
|
|
|
76
96
|
label: 'Enable Batching',
|
|
77
97
|
description: 'Enable batching of requests to the TikTok Audiences.',
|
|
78
98
|
type: 'boolean',
|
|
79
|
-
default: true
|
|
99
|
+
default: true,
|
|
100
|
+
unsafe_hidden: true
|
|
80
101
|
};
|
|
81
102
|
exports.external_audience_id = {
|
|
82
103
|
label: 'External Audience ID',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-audiences/properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAe;IAChD,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EACT,qHAAqH;IACvH,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE;QACzC,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,aAAa,EAAE;QACxD,EAAE,KAAK,EAAE,wBAAwB,EAAE,KAAK,EAAE,aAAa,EAAE;QACzD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,aAAa,EAAE;KACtD;IACD,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,WAAW,GAAe;IACrC,KAAK,EAAE,aAAa;IACpB,WAAW,EACT,sLAAsL;IACxL,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,oBAAoB,GAAe;IAC9C,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EACT,mJAAmJ;IACrJ,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,KAAK,GAAe;IAC/B,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,6CAA6C;IAC1D,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/destinations/tiktok-audiences/properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAe;IAChD,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACf,CAAA;AAEY,QAAA,OAAO,GAAe;IACjC,KAAK,EAAE,SAAS;IAChB,WAAW,EACT,qHAAqH;IACvH,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE;QACzC,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,aAAa,EAAE;QACxD,EAAE,KAAK,EAAE,wBAAwB,EAAE,KAAK,EAAE,aAAa,EAAE;QACzD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,aAAa,EAAE;KACtD;I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AAA,cAAc,GAAe;IACxC,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,yFAAyF;IACtG,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,OAAO,EAAE,gCAAgC;KAC1C;CACF,CAAA;AAEY,QAAA,mBAAmB,GAAe;IAC7C,KAAK,EAAE,6BAA6B;IACpC,WAAW,EACT,yGAAyG;IAC3G,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;CACd,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,wCAAwC;IACrD,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,IAAI;IACnB,OAAO,EAAE;QACP,OAAO,EAAE,SAAS;KACnB;CACF,CAAA;AAEY,QAAA,eAAe,GAAe;IACzC,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,sDAAsD;IACnE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;IACb,aAAa,EAAE,IAAI;CACpB,CAAA;AAEY,QAAA,oBAAoB,GAAe;IAC9C,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,iCAAiC;IAC9C,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,IAAI;IACnB,OAAO,EAAE;QACP,OAAO,EAAE,yCAAyC;KACnD;CACF,CAAA"}
|
|
@@ -9,8 +9,10 @@ const action = {
|
|
|
9
9
|
defaultSubscription: 'event = "Audience Exited"',
|
|
10
10
|
fields: {
|
|
11
11
|
email: { ...properties_1.email },
|
|
12
|
+
phone: { ...properties_1.phone },
|
|
12
13
|
advertising_id: { ...properties_1.advertising_id },
|
|
13
14
|
send_email: { ...properties_1.send_email },
|
|
15
|
+
send_phone: { ...properties_1.send_phone },
|
|
14
16
|
send_advertising_id: { ...properties_1.send_advertising_id },
|
|
15
17
|
event_name: { ...properties_1.event_name },
|
|
16
18
|
enable_batching: { ...properties_1.enable_batching },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeFromAudience/index.ts"],"names":[],"mappings":";;AAGA,4CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeFromAudience/index.ts"],"names":[],"mappings":";;AAGA,4CAA6C;AAC7C,8CAUsB;AACtB,wDAAwD;AAExD,MAAM,MAAM,GAA0D;IACpE,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,uEAAuE;IACpF,mBAAmB,EAAE,2BAA2B;IAChD,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,cAAc,EAAE,EAAE,GAAG,2BAAc,EAAE;QACrC,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,mBAAmB,EAAE,EAAE,GAAG,gCAAmB,EAAE;QAC/C,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,eAAe,EAAE,EAAE,GAAG,4BAAe,EAAE;QACvC,oBAAoB,EAAE,EAAE,GAAG,iCAAoB,EAAE;KAClD;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QACtE,MAAM,WAAW,GAAG,YAAY,EAAE,WAAW,CAAA;QAC7C,MAAM,QAAQ,GAAG,YAAY,EAAE,IAAI,CAAA;QAEnC,IAAI,CAAC,gBAAgB,EAAE;YACrB,MAAM,IAAI,+BAAgB,CAAC,yCAAyC,EAAE,sBAAsB,EAAE,GAAG,CAAC,CAAA;SACnG;QAED,WAAW,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAA;QACpD,OAAO,0BAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAA;IACvE,CAAC;IACD,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3E,MAAM,WAAW,GAAG,YAAY,EAAE,WAAW,CAAA;QAC7C,MAAM,QAAQ,GAAG,YAAY,EAAE,IAAI,CAAA;QAEnC,IAAI,CAAC,gBAAgB,EAAE;YACrB,MAAM,IAAI,+BAAgB,CAAC,yCAAyC,EAAE,sBAAsB,EAAE,GAAG,CAAC,CAAA;SACnG;QAED,WAAW,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAA;QACpD,OAAO,0BAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IACrE,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -2,8 +2,10 @@ export interface Payload {
|
|
|
2
2
|
selected_advertiser_id: string;
|
|
3
3
|
audience_id: string;
|
|
4
4
|
email?: string;
|
|
5
|
+
phone?: string;
|
|
5
6
|
advertising_id?: string;
|
|
6
7
|
send_email?: boolean;
|
|
8
|
+
send_phone?: boolean;
|
|
7
9
|
send_advertising_id?: boolean;
|
|
8
10
|
event_name?: string;
|
|
9
11
|
enable_batching?: boolean;
|
|
@@ -11,8 +11,10 @@ const action = {
|
|
|
11
11
|
selected_advertiser_id: { ...properties_1.selected_advertiser_id },
|
|
12
12
|
audience_id: { ...properties_1.audience_id },
|
|
13
13
|
email: { ...properties_1.email },
|
|
14
|
+
phone: { ...properties_1.phone },
|
|
14
15
|
advertising_id: { ...properties_1.advertising_id },
|
|
15
16
|
send_email: { ...properties_1.send_email },
|
|
17
|
+
send_phone: { ...properties_1.send_phone },
|
|
16
18
|
send_advertising_id: { ...properties_1.send_advertising_id },
|
|
17
19
|
event_name: { ...properties_1.event_name },
|
|
18
20
|
enable_batching: { ...properties_1.enable_batching }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeUser/index.ts"],"names":[],"mappings":";;AAGA,4CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-audiences/removeUser/index.ts"],"names":[],"mappings":";;AAGA,4CAA6C;AAC7C,8CAWsB;AACtB,gCAAwC;AAMxC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,uEAAuE;IACpF,mBAAmB,EAAE,2BAA2B;IAChD,MAAM,EAAE;QACN,sBAAsB,EAAE,EAAE,GAAG,mCAAsB,EAAE;QACrD,WAAW,EAAE,EAAE,GAAG,wBAAW,EAAE;QAC/B,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,cAAc,EAAE,EAAE,GAAG,2BAAc,EAAE;QACrC,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,mBAAmB,EAAE,EAAE,GAAG,gCAAmB,EAAE;QAC/C,UAAU,EAAE,EAAE,GAAG,uBAAU,EAAE;QAC7B,eAAe,EAAE,EAAE,GAAG,4BAAe,EAAE;KACxC;IACD,aAAa,EAAE;QACb,sBAAsB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;YACtD,IAAI;gBACF,MAAM,MAAM,GAAG,IAAI,qBAAe,CAAC,OAAO,CAAC,CAAA;gBAC3C,IAAI,QAAQ,CAAC,cAAc,EAAE;oBAC3B,OAAO,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;iBACxD;gBAED,OAAO;oBACL,OAAO,EAAE,EAAE;oBACX,KAAK,EAAE;wBACL,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC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,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAC7D,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.330.1-staging.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|