@segment/action-destinations 3.268.0 → 3.268.1-staging.5
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/amazon-ads/utils.d.ts +31 -0
- package/dist/destinations/amazon-ads/utils.js +18 -0
- package/dist/destinations/amazon-ads/utils.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.d.ts +1 -1
- package/dist/destinations/engage/utils/track.d.ts +17 -17
- package/dist/destinations/klaviyo/functions.d.ts +3 -1
- package/dist/destinations/klaviyo/functions.js +23 -2
- package/dist/destinations/klaviyo/functions.js.map +1 -1
- package/dist/destinations/klaviyo/types.d.ts +4 -0
- package/dist/destinations/klaviyo/types.js.map +1 -1
- package/dist/destinations/klaviyo/upsertProfile/generated-types.d.ts +1 -0
- package/dist/destinations/klaviyo/upsertProfile/index.js +15 -7
- package/dist/destinations/klaviyo/upsertProfile/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HTTPError } from '@segment/actions-core';
|
|
2
|
+
export declare class AmazonAdsError extends HTTPError {
|
|
3
|
+
response: Response & {
|
|
4
|
+
data: {
|
|
5
|
+
status: string;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface AudiencePayload {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
countryCode: string;
|
|
14
|
+
targetResource: {
|
|
15
|
+
advertiserId: string;
|
|
16
|
+
};
|
|
17
|
+
metadata: {
|
|
18
|
+
externalAudienceId: string;
|
|
19
|
+
ttl?: number;
|
|
20
|
+
audienceFees?: {
|
|
21
|
+
cpmCents: number;
|
|
22
|
+
currency: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare const AUTHORIZATION_URL: any;
|
|
27
|
+
export declare const CONSTANTS: {
|
|
28
|
+
CREATE: string;
|
|
29
|
+
DELETE: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const CURRENCY: string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CURRENCY = exports.CONSTANTS = exports.AUTHORIZATION_URL = exports.AmazonAdsError = void 0;
|
|
4
|
+
const actions_core_1 = require("@segment/actions-core");
|
|
5
|
+
class AmazonAdsError extends actions_core_1.HTTPError {
|
|
6
|
+
}
|
|
7
|
+
exports.AmazonAdsError = AmazonAdsError;
|
|
8
|
+
exports.AUTHORIZATION_URL = {
|
|
9
|
+
'https://advertising-api.amazon.com': 'https://api.amazon.com/auth/o2/token',
|
|
10
|
+
'https://advertising-api-eu.amazon.com': 'https://api.amazon.co.uk/auth/o2/token',
|
|
11
|
+
'https://advertising-api-fe.amazon.com': 'https://api.amazon.co.jp/auth/o2/token'
|
|
12
|
+
};
|
|
13
|
+
exports.CONSTANTS = {
|
|
14
|
+
CREATE: 'CREATE',
|
|
15
|
+
DELETE: 'DELETE'
|
|
16
|
+
};
|
|
17
|
+
exports.CURRENCY = ['USD', 'CAD', 'JPY', 'GBP', 'EUR', 'SAR', 'AUD', 'AED', 'CNY', 'MXN', 'INR', 'SEK', 'TRY'];
|
|
18
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/destinations/amazon-ads/utils.ts"],"names":[],"mappings":";;;AAAA,wDAAiD;AAEjD,MAAa,cAAe,SAAQ,wBAAS;CAO5C;AAPD,wCAOC;AAmBY,QAAA,iBAAiB,GAAQ;IACpC,oCAAoC,EAAE,sCAAsC;IAC5E,uCAAuC,EAAE,wCAAwC;IACjF,uCAAuC,EAAE,wCAAwC;CAClF,CAAA;AACY,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACjB,CAAA;AACY,QAAA,QAAQ,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA"}
|
|
@@ -9,7 +9,7 @@ export declare const dateStringToFuzzyDate: (dateString: string | number) => fal
|
|
|
9
9
|
y: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const augmentFieldsWithConstituentFields: (fields: Record<string, InputField>) => Record<string, InputField>;
|
|
12
|
-
export declare const splitConstituentPayload: (payload: CreateOrUpdateIndividualConstituentPayload) => (Partial<
|
|
12
|
+
export declare const splitConstituentPayload: (payload: CreateOrUpdateIndividualConstituentPayload) => (Partial<Phone> | Partial<Constituent> | Partial<Address> | Partial<OnlinePresence>)[];
|
|
13
13
|
export declare const buildConstituentPayloadFromPayload: (payload: StringIndexedObject) => Partial<CreateOrUpdateIndividualConstituentPayload>;
|
|
14
14
|
export declare const buildGiftDataFromPayload: (constituentId: string, payload: CreateGiftPayload) => Partial<Gift>;
|
|
15
15
|
export declare const buildConstituentActionDataFromPayload: (constituentId: string, payload: CreateConstituentAction) => Partial<ConstituentAction>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ContextFromDecorator } from './operationTracking';
|
|
2
2
|
export declare const track: ((decoratorArgs?: ({
|
|
3
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
4
|
+
} & {
|
|
3
5
|
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
4
|
-
} &
|
|
6
|
+
} & {
|
|
5
7
|
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
6
8
|
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
7
|
-
} & {
|
|
8
|
-
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
9
|
-
} & {
|
|
9
|
+
} & import("./operationTracking").OperationLoggerDecoratorArgs & {
|
|
10
10
|
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | [message: string, code: string, status: number]) | undefined;
|
|
11
11
|
}) | undefined) => import("./operationTracking").GenericMethodDecorator<(this: any, ...args: any[]) => any>) & {
|
|
12
12
|
getCurrentOperation(classInstance: any): (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & {
|
|
@@ -15,8 +15,13 @@ export declare const track: ((decoratorArgs?: ({
|
|
|
15
15
|
}) | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
_contextType: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
tags: string[];
|
|
19
|
+
sharedContext: {
|
|
20
|
+
tags: string[];
|
|
21
|
+
};
|
|
22
|
+
decoratorArgs?: {
|
|
23
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
24
|
+
} | undefined;
|
|
20
25
|
} & {
|
|
21
26
|
decoratorArgs?: {
|
|
22
27
|
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
@@ -25,10 +30,8 @@ export declare const track: ((decoratorArgs?: ({
|
|
|
25
30
|
parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined;
|
|
26
31
|
sharedContext: {};
|
|
27
32
|
} & {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs | undefined;
|
|
31
|
-
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
33
|
+
start?: number | undefined;
|
|
34
|
+
duration?: number | undefined;
|
|
32
35
|
} & {
|
|
33
36
|
onFinally: (() => void)[];
|
|
34
37
|
decoratorArgs?: {
|
|
@@ -36,13 +39,10 @@ export declare const track: ((decoratorArgs?: ({
|
|
|
36
39
|
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
37
40
|
} | undefined;
|
|
38
41
|
} & {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
decoratorArgs?: {
|
|
44
|
-
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
45
|
-
} | undefined;
|
|
42
|
+
logs: string[];
|
|
43
|
+
logMetadata?: Record<string, unknown> | undefined;
|
|
44
|
+
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs | undefined;
|
|
45
|
+
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
46
46
|
} & {
|
|
47
47
|
decoratorArgs?: {
|
|
48
48
|
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | [message: string, code: string, status: number]) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RequestClient, DynamicFieldResponse } from '@segment/actions-core';
|
|
2
|
-
import { ImportJobPayload, SubscribeProfile, SubscribeEventData, UnsubscribeProfile, UnsubscribeEventData } from './types';
|
|
2
|
+
import { ImportJobPayload, SubscribeProfile, SubscribeEventData, UnsubscribeProfile, UnsubscribeEventData, GroupedProfiles } from './types';
|
|
3
3
|
import { Payload } from './upsertProfile/generated-types';
|
|
4
4
|
export declare function getListIdDynamicData(request: RequestClient): Promise<DynamicFieldResponse>;
|
|
5
5
|
export declare function addProfileToList(request: RequestClient, id: string, list_id: string | undefined): Promise<import("@segment/actions-core").ModifiedResponse<unknown>>;
|
|
@@ -22,3 +22,5 @@ export declare function formatSubscribeProfile(email: string | undefined, phone_
|
|
|
22
22
|
export declare function formatSubscribeRequestBody(profiles: SubscribeProfile | SubscribeProfile[], list_id: string | undefined, custom_source: string | undefined): SubscribeEventData;
|
|
23
23
|
export declare function formatUnsubscribeRequestBody(profiles: UnsubscribeProfile | UnsubscribeProfile[], list_id: string | undefined): UnsubscribeEventData;
|
|
24
24
|
export declare function formatUnsubscribeProfile(email: string | undefined, phone_number: string | undefined): UnsubscribeProfile;
|
|
25
|
+
export declare function groupByListId(profiles: Payload[]): GroupedProfiles;
|
|
26
|
+
export declare function processProfilesByGroup(request: RequestClient, groupedProfiles: GroupedProfiles): Promise<import("@segment/actions-core").ModifiedResponse<unknown>[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatUnsubscribeProfile = exports.formatUnsubscribeRequestBody = exports.formatSubscribeRequestBody = exports.formatSubscribeProfile = exports.getProfiles = exports.sendImportJobRequest = exports.createImportJobPayload = exports.buildHeaders = exports.createProfile = exports.removeProfileFromList = exports.addProfileToList = exports.getListIdDynamicData = void 0;
|
|
3
|
+
exports.processProfilesByGroup = exports.groupByListId = exports.formatUnsubscribeProfile = exports.formatUnsubscribeRequestBody = exports.formatSubscribeRequestBody = exports.formatSubscribeProfile = exports.getProfiles = exports.sendImportJobRequest = exports.createImportJobPayload = exports.buildHeaders = exports.createProfile = exports.removeProfileFromList = exports.addProfileToList = exports.getListIdDynamicData = void 0;
|
|
4
4
|
const config_1 = require("./config");
|
|
5
5
|
async function getListIdDynamicData(request) {
|
|
6
6
|
try {
|
|
@@ -94,7 +94,7 @@ const createImportJobPayload = (profiles, listId) => ({
|
|
|
94
94
|
type: 'profile-bulk-import-job',
|
|
95
95
|
attributes: {
|
|
96
96
|
profiles: {
|
|
97
|
-
data: profiles.map(({ list_id, enable_batching, batch_size, ...attributes }) => ({
|
|
97
|
+
data: profiles.map(({ list_id, enable_batching, batch_size, override_list_id, ...attributes }) => ({
|
|
98
98
|
type: 'profile',
|
|
99
99
|
attributes
|
|
100
100
|
}))
|
|
@@ -244,4 +244,25 @@ function formatUnsubscribeProfile(email, phone_number) {
|
|
|
244
244
|
return profileToSubscribe;
|
|
245
245
|
}
|
|
246
246
|
exports.formatUnsubscribeProfile = formatUnsubscribeProfile;
|
|
247
|
+
function groupByListId(profiles) {
|
|
248
|
+
const grouped = {};
|
|
249
|
+
for (const profile of profiles) {
|
|
250
|
+
const listId = profile.override_list_id || profile.list_id;
|
|
251
|
+
if (!grouped[listId]) {
|
|
252
|
+
grouped[listId] = [];
|
|
253
|
+
}
|
|
254
|
+
grouped[listId].push(profile);
|
|
255
|
+
}
|
|
256
|
+
return grouped;
|
|
257
|
+
}
|
|
258
|
+
exports.groupByListId = groupByListId;
|
|
259
|
+
async function processProfilesByGroup(request, groupedProfiles) {
|
|
260
|
+
const importResponses = await Promise.all(Object.keys(groupedProfiles).map(async (listId) => {
|
|
261
|
+
const profiles = groupedProfiles[listId];
|
|
262
|
+
const importJobPayload = exports.createImportJobPayload(profiles, listId);
|
|
263
|
+
return await exports.sendImportJobRequest(request, importJobPayload);
|
|
264
|
+
}));
|
|
265
|
+
return importResponses;
|
|
266
|
+
}
|
|
267
|
+
exports.processProfilesByGroup = processProfilesByGroup;
|
|
247
268
|
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/destinations/klaviyo/functions.ts"],"names":[],"mappings":";;;AACA,qCAAiD;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/destinations/klaviyo/functions.ts"],"names":[],"mappings":";;;AACA,qCAAiD;AAiB1C,KAAK,UAAU,oBAAoB,CAAC,OAAsB;IAC/D,IAAI;QACF,MAAM,MAAM,GAAmB,MAAM,OAAO,CAAC,GA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AAe,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,CAAA;QACxC,MAAM,gBAAgB,GAAG,8BAAsB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;QACjE,OAAO,MAAM,4BAAoB,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAC9D,CAAC,CAAC,CACH,CAAA;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AATD,wDASC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HTTPError } from '@segment/actions-core';
|
|
2
|
+
import { Payload } from './upsertProfile/generated-types';
|
|
2
3
|
export declare class KlaviyoAPIError extends HTTPError {
|
|
3
4
|
response: Response & {
|
|
4
5
|
data: {
|
|
@@ -193,3 +194,6 @@ export interface UnsubscribeEventData {
|
|
|
193
194
|
};
|
|
194
195
|
};
|
|
195
196
|
}
|
|
197
|
+
export interface GroupedProfiles {
|
|
198
|
+
[listId: string]: Payload[];
|
|
199
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/klaviyo/types.ts"],"names":[],"mappings":";;;AAAA,wDAAiD;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/klaviyo/types.ts"],"names":[],"mappings":";;;AAAA,wDAAiD;AAEjD,MAAa,eAAgB,SAAQ,wBAAS;CAmB7C;AAnBD,0CAmBC"}
|
|
@@ -128,9 +128,17 @@ const action = {
|
|
|
128
128
|
label: 'List',
|
|
129
129
|
description: `The Klaviyo list to add the profile to.`,
|
|
130
130
|
type: 'string',
|
|
131
|
-
dynamic: true
|
|
131
|
+
dynamic: true,
|
|
132
|
+
default: ''
|
|
132
133
|
},
|
|
133
|
-
batch_size: { ...properties_1.batch_size }
|
|
134
|
+
batch_size: { ...properties_1.batch_size },
|
|
135
|
+
override_list_id: {
|
|
136
|
+
unsafe_hidden: true,
|
|
137
|
+
label: 'List ID Override',
|
|
138
|
+
description: 'Klaviyo list ID to override the default list ID when provided in an event payload. Added to support backward compatibility with klaviyo(classic) and facilitate a seamless migration.',
|
|
139
|
+
type: 'string',
|
|
140
|
+
default: { '@path': '$.integrations.Klaviyo.listId' }
|
|
141
|
+
}
|
|
134
142
|
},
|
|
135
143
|
dynamicFields: {
|
|
136
144
|
list_id: async (request) => {
|
|
@@ -138,7 +146,8 @@ const action = {
|
|
|
138
146
|
}
|
|
139
147
|
},
|
|
140
148
|
perform: async (request, { payload }) => {
|
|
141
|
-
const { email, external_id, phone_number,
|
|
149
|
+
const { email, external_id, phone_number, enable_batching, batch_size, list_id: otherListId, override_list_id, ...otherAttributes } = payload;
|
|
150
|
+
const list_id = override_list_id || otherListId;
|
|
142
151
|
if (!email && !phone_number && !external_id) {
|
|
143
152
|
throw new actions_core_1.PayloadValidationError('One of External ID, Phone Number and Email is required.');
|
|
144
153
|
}
|
|
@@ -187,14 +196,13 @@ const action = {
|
|
|
187
196
|
},
|
|
188
197
|
performBatch: async (request, { payload }) => {
|
|
189
198
|
payload = payload.filter((profile) => profile.email || profile.external_id || profile.phone_number);
|
|
190
|
-
const profilesWithList = payload.filter((profile) => profile.list_id);
|
|
199
|
+
const profilesWithList = payload.filter((profile) => profile.list_id || profile.override_list_id);
|
|
191
200
|
const profilesWithoutList = payload.filter((profile) => !profile.list_id);
|
|
192
201
|
let importResponseWithList;
|
|
193
202
|
let importResponseWithoutList;
|
|
194
203
|
if (profilesWithList.length > 0) {
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
importResponseWithList = await functions_1.sendImportJobRequest(request, importJobPayload);
|
|
204
|
+
const groupedByListId = functions_1.groupByListId(profilesWithList);
|
|
205
|
+
importResponseWithList = await functions_1.processProfilesByGroup(request, groupedByListId);
|
|
198
206
|
}
|
|
199
207
|
if (profilesWithoutList.length > 0) {
|
|
200
208
|
const importJobPayload = functions_1.createImportJobPayload(profilesWithoutList);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/upsertProfile/index.ts"],"names":[],"mappings":";;AAIA,sCAAmC;AACnC,wDAA8D;AAE9D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/upsertProfile/index.ts"],"names":[],"mappings":";;AAIA,sCAAmC;AACnC,wDAA8D;AAE9D,4CAOqB;AACrB,8CAA0C;AAE1C,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,sBAAsB;IACnC,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,KAAK,EAAE;YACL,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,kFAAkF;YAC/F,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE;SACvC;QACD,eAAe,EAAE;YACf,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,0DAA0D;SACxE;QACD,YAAY,EAAE;YACZ,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,mKAAmK;YAChL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE;SAC/C;QACD,WAAW,EAAE;YACX,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,+JAA+J;YAC5K,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE;SAC3C;QACD,SAAS,EAAE;YACT,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,m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sBAAsB;YAChC,WAAW,EAAE,yBAAyB;SACvC,CAAA;IACH,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.268.
|
|
4
|
+
"version": "3.268.1-staging.5+87aac1d09",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@bufbuild/protobuf": "^1.4.2",
|
|
44
44
|
"@bufbuild/protoc-gen-es": "^1.4.2",
|
|
45
45
|
"@segment/a1-notation": "^2.1.4",
|
|
46
|
-
"@segment/actions-core": "^3.110.
|
|
47
|
-
"@segment/actions-shared": "^1.92.
|
|
46
|
+
"@segment/actions-core": "^3.110.1-staging.5+87aac1d09",
|
|
47
|
+
"@segment/actions-shared": "^1.92.1-staging.5+87aac1d09",
|
|
48
48
|
"@types/node": "^18.11.15",
|
|
49
49
|
"ajv-formats": "^2.1.1",
|
|
50
50
|
"aws4": "^1.12.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"__tests__/__helpers__/"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "87aac1d096d4d53961f5f82de385da53c8a3918b"
|
|
90
90
|
}
|