@segment/action-destinations 3.131.1-ga4-cloud.12 → 3.131.1-stageTesting-tiktok-ga4.49

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.
Files changed (123) hide show
  1. package/dist/destinations/google-analytics-4/addPaymentInfo/generated-types.d.ts +1 -3
  2. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +3 -10
  3. package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
  4. package/dist/destinations/google-analytics-4/addToCart/generated-types.d.ts +1 -3
  5. package/dist/destinations/google-analytics-4/addToCart/index.js +3 -10
  6. package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
  7. package/dist/destinations/google-analytics-4/addToWishlist/generated-types.d.ts +1 -3
  8. package/dist/destinations/google-analytics-4/addToWishlist/index.js +3 -10
  9. package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
  10. package/dist/destinations/google-analytics-4/beginCheckout/generated-types.d.ts +1 -3
  11. package/dist/destinations/google-analytics-4/beginCheckout/index.js +3 -10
  12. package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
  13. package/dist/destinations/google-analytics-4/customEvent/generated-types.d.ts +1 -3
  14. package/dist/destinations/google-analytics-4/customEvent/index.js +3 -10
  15. package/dist/destinations/google-analytics-4/customEvent/index.js.map +1 -1
  16. package/dist/destinations/google-analytics-4/ga4-functions.d.ts +0 -3
  17. package/dist/destinations/google-analytics-4/ga4-functions.js +1 -31
  18. package/dist/destinations/google-analytics-4/ga4-functions.js.map +1 -1
  19. package/dist/destinations/google-analytics-4/ga4-properties.d.ts +0 -2
  20. package/dist/destinations/google-analytics-4/ga4-properties.js +3 -17
  21. package/dist/destinations/google-analytics-4/ga4-properties.js.map +1 -1
  22. package/dist/destinations/google-analytics-4/ga4-types.d.ts +0 -14
  23. package/dist/destinations/google-analytics-4/ga4-types.js +0 -6
  24. package/dist/destinations/google-analytics-4/ga4-types.js.map +1 -1
  25. package/dist/destinations/google-analytics-4/generateLead/generated-types.d.ts +1 -3
  26. package/dist/destinations/google-analytics-4/generateLead/index.js +3 -10
  27. package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
  28. package/dist/destinations/google-analytics-4/generated-types.d.ts +1 -2
  29. package/dist/destinations/google-analytics-4/index.js +10 -15
  30. package/dist/destinations/google-analytics-4/index.js.map +1 -1
  31. package/dist/destinations/google-analytics-4/login/generated-types.d.ts +1 -3
  32. package/dist/destinations/google-analytics-4/login/index.js +3 -10
  33. package/dist/destinations/google-analytics-4/login/index.js.map +1 -1
  34. package/dist/destinations/google-analytics-4/pageView/generated-types.d.ts +1 -3
  35. package/dist/destinations/google-analytics-4/pageView/index.js +3 -10
  36. package/dist/destinations/google-analytics-4/pageView/index.js.map +1 -1
  37. package/dist/destinations/google-analytics-4/purchase/generated-types.d.ts +1 -3
  38. package/dist/destinations/google-analytics-4/purchase/index.js +3 -10
  39. package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
  40. package/dist/destinations/google-analytics-4/refund/generated-types.d.ts +1 -3
  41. package/dist/destinations/google-analytics-4/refund/index.js +3 -10
  42. package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
  43. package/dist/destinations/google-analytics-4/removeFromCart/generated-types.d.ts +1 -3
  44. package/dist/destinations/google-analytics-4/removeFromCart/index.js +3 -10
  45. package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
  46. package/dist/destinations/google-analytics-4/search/generated-types.d.ts +1 -3
  47. package/dist/destinations/google-analytics-4/search/index.js +3 -10
  48. package/dist/destinations/google-analytics-4/search/index.js.map +1 -1
  49. package/dist/destinations/google-analytics-4/selectItem/generated-types.d.ts +1 -3
  50. package/dist/destinations/google-analytics-4/selectItem/index.js +3 -10
  51. package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
  52. package/dist/destinations/google-analytics-4/selectPromotion/generated-types.d.ts +1 -3
  53. package/dist/destinations/google-analytics-4/selectPromotion/index.js +3 -10
  54. package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
  55. package/dist/destinations/google-analytics-4/signUp/generated-types.d.ts +1 -3
  56. package/dist/destinations/google-analytics-4/signUp/index.js +3 -10
  57. package/dist/destinations/google-analytics-4/signUp/index.js.map +1 -1
  58. package/dist/destinations/google-analytics-4/viewCart/generated-types.d.ts +1 -3
  59. package/dist/destinations/google-analytics-4/viewCart/index.js +3 -10
  60. package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
  61. package/dist/destinations/google-analytics-4/viewItem/generated-types.d.ts +1 -3
  62. package/dist/destinations/google-analytics-4/viewItem/index.js +3 -10
  63. package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
  64. package/dist/destinations/google-analytics-4/viewItemList/generated-types.d.ts +1 -3
  65. package/dist/destinations/google-analytics-4/viewItemList/index.js +3 -10
  66. package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
  67. package/dist/destinations/google-analytics-4/viewPromotion/generated-types.d.ts +1 -3
  68. package/dist/destinations/google-analytics-4/viewPromotion/index.js +3 -10
  69. package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
  70. package/dist/destinations/index.js +1 -0
  71. package/dist/destinations/index.js.map +1 -1
  72. package/dist/destinations/tiktok-audiences/addUser/generated-types.d.ts +9 -0
  73. package/dist/destinations/tiktok-audiences/addUser/generated-types.js +3 -0
  74. package/dist/destinations/tiktok-audiences/addUser/generated-types.js.map +1 -0
  75. package/dist/destinations/tiktok-audiences/addUser/index.d.ts +5 -0
  76. package/dist/destinations/tiktok-audiences/addUser/index.js +88 -0
  77. package/dist/destinations/tiktok-audiences/addUser/index.js.map +1 -0
  78. package/dist/destinations/tiktok-audiences/api/index.d.ts +11 -0
  79. package/dist/destinations/tiktok-audiences/api/index.js +38 -0
  80. package/dist/destinations/tiktok-audiences/api/index.js.map +1 -0
  81. package/dist/destinations/tiktok-audiences/constants.d.ts +2 -0
  82. package/dist/destinations/tiktok-audiences/constants.js +6 -0
  83. package/dist/destinations/tiktok-audiences/constants.js.map +1 -0
  84. package/dist/destinations/tiktok-audiences/functions.d.ts +8 -0
  85. package/dist/destinations/tiktok-audiences/functions.js +72 -0
  86. package/dist/destinations/tiktok-audiences/functions.js.map +1 -0
  87. package/dist/destinations/tiktok-audiences/generated-types.d.ts +3 -0
  88. package/dist/destinations/tiktok-audiences/generated-types.js +3 -0
  89. package/dist/destinations/tiktok-audiences/generated-types.js.map +1 -0
  90. package/dist/destinations/tiktok-audiences/index.d.ts +4 -0
  91. package/dist/destinations/tiktok-audiences/index.js +37 -0
  92. package/dist/destinations/tiktok-audiences/index.js.map +1 -0
  93. package/dist/destinations/tiktok-audiences/removeUser/generated-types.d.ts +9 -0
  94. package/dist/destinations/tiktok-audiences/removeUser/generated-types.js +3 -0
  95. package/dist/destinations/tiktok-audiences/removeUser/generated-types.js.map +1 -0
  96. package/dist/destinations/tiktok-audiences/removeUser/index.d.ts +5 -0
  97. package/dist/destinations/tiktok-audiences/removeUser/index.js +88 -0
  98. package/dist/destinations/tiktok-audiences/removeUser/index.js.map +1 -0
  99. package/dist/destinations/tiktok-audiences/types.d.ts +33 -0
  100. package/dist/destinations/tiktok-audiences/types.js +3 -0
  101. package/dist/destinations/tiktok-audiences/types.js.map +1 -0
  102. package/dist/destinations/tiktok-audiences/updateAudience/generated-types.d.ts +9 -0
  103. package/dist/destinations/tiktok-audiences/updateAudience/generated-types.js +3 -0
  104. package/dist/destinations/tiktok-audiences/updateAudience/generated-types.js.map +1 -0
  105. package/dist/destinations/tiktok-audiences/updateAudience/index.d.ts +5 -0
  106. package/dist/destinations/tiktok-audiences/updateAudience/index.js +160 -0
  107. package/dist/destinations/tiktok-audiences/updateAudience/index.js.map +1 -0
  108. package/dist/destinations/twilio-studio/generated-types.d.ts +6 -0
  109. package/dist/destinations/twilio-studio/generated-types.js +3 -0
  110. package/dist/destinations/twilio-studio/generated-types.js.map +1 -0
  111. package/dist/destinations/twilio-studio/index.d.ts +4 -0
  112. package/dist/destinations/twilio-studio/index.js +55 -0
  113. package/dist/destinations/twilio-studio/index.js.map +1 -0
  114. package/dist/destinations/twilio-studio/triggerStudioFlow/generated-types.d.ts +8 -0
  115. package/dist/destinations/twilio-studio/triggerStudioFlow/generated-types.js +3 -0
  116. package/dist/destinations/twilio-studio/triggerStudioFlow/generated-types.js.map +1 -0
  117. package/dist/destinations/twilio-studio/triggerStudioFlow/index.d.ts +5 -0
  118. package/dist/destinations/twilio-studio/triggerStudioFlow/index.js +84 -0
  119. package/dist/destinations/twilio-studio/triggerStudioFlow/index.js.map +1 -0
  120. package/dist/destinations/twilio-studio/utils.d.ts +29 -0
  121. package/dist/destinations/twilio-studio/utils.js +43 -0
  122. package/dist/destinations/twilio-studio/utils.js.map +1 -0
  123. package/package.json +4 -4
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const actions_core_1 = require("@segment/actions-core");
4
+ const utils_1 = require("../utils");
5
+ const action = {
6
+ title: 'Trigger Studio Flow',
7
+ description: 'Trigger a Flow in Twilio Studio to initiate an outbound call or message. The Flow will execute via the REST API trigger.',
8
+ fields: {
9
+ flowSid: {
10
+ label: 'Flow SID',
11
+ description: 'The Flow SID, starting with FW, for the Studio Flow to trigger.',
12
+ type: 'string',
13
+ required: true
14
+ },
15
+ from: {
16
+ label: 'From Phone Number',
17
+ description: 'The Twilio phone number to initiate calls or messages from during the Flow Execution. Use [E.164](https://www.twilio.com/docs/glossary/what-e164) format (+1xxxxxxxxxx).',
18
+ type: 'string',
19
+ required: true
20
+ },
21
+ coolingOffPeriod: {
22
+ label: 'Cooling-off Period (in seconds)',
23
+ description: 'The amount of time during which the Flow can only be triggered once per Flow SID - User ID combination. Default is 60 seconds.',
24
+ type: 'number',
25
+ default: 60
26
+ },
27
+ userId: {
28
+ label: 'User ID',
29
+ description: 'A Distinct User ID',
30
+ type: 'hidden',
31
+ default: { '@path': '$.userId' }
32
+ },
33
+ anonymousId: {
34
+ label: 'Anonymous ID',
35
+ description: 'A Distinct External ID',
36
+ type: 'hidden',
37
+ default: { '@path': '$.anonymousId' }
38
+ },
39
+ eventType: {
40
+ label: 'Event type',
41
+ type: 'hidden',
42
+ description: 'The type of the event being performed.',
43
+ required: true,
44
+ default: {
45
+ '@path': '$.type'
46
+ }
47
+ }
48
+ },
49
+ perform: async (request, { settings, payload, stateContext }) => {
50
+ if (payload.eventType !== 'identify') {
51
+ throw new actions_core_1.IntegrationError('Unable to trigger Studio Flow. Only Identify Events are allowed!', `Incompatible Event Type: ${payload.eventType}`, 400);
52
+ }
53
+ if (!payload.userId && !payload.anonymousId) {
54
+ throw new actions_core_1.IntegrationError('Unable to trigger Studio Flow. No User identifier found for this Segment profile!', `No userId found in the Segment Event`, 400);
55
+ }
56
+ if (stateContext &&
57
+ !utils_1.shouldSendToStudio(`${payload.flowSid}_${payload.userId || payload.anonymousId}`, stateContext, payload.coolingOffPeriod)) {
58
+ throw new actions_core_1.IntegrationError(`Unable to trigger Studio Flow. Only 1 request allowed per Flow SID - User ID combination in ${payload.coolingOffPeriod || utils_1.DEFAULT_COOLING_OFF_PERIOD} seconds`, 'Cooling off Period', 400);
59
+ }
60
+ const toAddress = await utils_1.getToAddressField(request, settings, payload);
61
+ if (!toAddress) {
62
+ throw new actions_core_1.IntegrationError('Unable to trigger Studio Flow. No Contact Address Found!', 'Trigger Studio Flow no contact address found failure', 400);
63
+ }
64
+ const url = `${utils_1.STUDIO_BASE_URL}/v2/Flows/${payload.flowSid}/Executions`;
65
+ const parametersMap = JSON.stringify({ source: 'studio_segment_destination' });
66
+ try {
67
+ await request(url, {
68
+ method: 'post',
69
+ body: new URLSearchParams({
70
+ From: payload.from,
71
+ To: toAddress,
72
+ Parameters: parametersMap
73
+ })
74
+ });
75
+ }
76
+ catch (err) {
77
+ const error = err;
78
+ const errData = error.response.data;
79
+ throw new actions_core_1.IntegrationError(`Unable to trigger Studio Flow. ${errData?.message}`, `Twilio Error Code: ${errData?.code}`, errData?.status);
80
+ }
81
+ }
82
+ };
83
+ exports.default = action;
84
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/twilio-studio/triggerStudioFlow/index.ts"],"names":[],"mappings":";;AAAA,wDAA0E;AAG1E,oCAMiB;AAEjB,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EACT,0HAA0H;IAC5H,MAAM,EAAE;QACN,OAAO,EAAE;YACP,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,iEAAiE;YAC9E,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,IAAI,EAAE;YACJ,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACT,0KAA0K;YAC5K,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACf;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,iCAAiC;YACxC,WAAW,EACT,gIAAgI;YAClI,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACZ;QACD,MAAM,EAAE;YACN,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,WAAW,EAAE;YACX,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;SACtC;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,QAAQ;aAClB;SACF;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,EAA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EAAE;YACZ,MAAM,KAAK,GAAG,GAAkB,CAAA;YAChC,MAAM,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAA;YACnC,MAAM,IAAI,+BAAgB,CACxB,kCAAkC,OAAO,EAAE,OAAO,EAAE,EACpD,sBAAsB,OAAO,EAAE,IAAI,EAAE,EACrC,OAAO,EAAE,MAAM,CAChB,CAAA;SACF;IACH,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { RequestOptions, HTTPError } from '@segment/actions-core';
2
+ import { StateContext } from '@segment/actions-core/src/destination-kit';
3
+ import type { Settings } from './generated-types';
4
+ import type { Payload } from './triggerStudioFlow/generated-types';
5
+ interface ExternalId {
6
+ id: string;
7
+ type: string;
8
+ source_id: string;
9
+ collection: string;
10
+ created_at: string;
11
+ encoding: string;
12
+ }
13
+ declare type RequestFn = (url: string, options?: RequestOptions) => Promise<Response>;
14
+ export interface TwilioError extends HTTPError {
15
+ response: Response & {
16
+ data: {
17
+ status: number;
18
+ message: string;
19
+ code: string;
20
+ };
21
+ };
22
+ }
23
+ export declare const STUDIO_BASE_URL = "https://studio.twilio.com";
24
+ export declare const PROFILE_API_BASE_URL = "https://profiles.segment.com";
25
+ export declare const DEFAULT_COOLING_OFF_PERIOD = 60;
26
+ export declare const getToAddressField: (request: RequestFn, settings: Settings, payload: Payload) => Promise<string | false>;
27
+ export declare const fetchProfileExternalIds: (request: RequestFn, settings: Settings, userId: string, anonymousId: string) => Promise<ExternalId[]>;
28
+ export declare const shouldSendToStudio: (cacheKey: string, stateContext: StateContext, coolingOffPeriod: number) => boolean;
29
+ export {};
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.shouldSendToStudio = exports.fetchProfileExternalIds = exports.getToAddressField = exports.DEFAULT_COOLING_OFF_PERIOD = exports.PROFILE_API_BASE_URL = exports.STUDIO_BASE_URL = void 0;
4
+ const actions_core_1 = require("@segment/actions-core");
5
+ exports.STUDIO_BASE_URL = 'https://studio.twilio.com';
6
+ exports.PROFILE_API_BASE_URL = 'https://profiles.segment.com';
7
+ exports.DEFAULT_COOLING_OFF_PERIOD = 60;
8
+ const getToAddressField = async (request, settings, payload) => {
9
+ const externalIds = await exports.fetchProfileExternalIds(request, settings, payload.userId, payload.anonymousId);
10
+ if (externalIds.length <= 0) {
11
+ return false;
12
+ }
13
+ const latestId = externalIds.reduce((acc, current) => {
14
+ return new Date(acc.created_at) > new Date(current.created_at) ? acc : current;
15
+ });
16
+ return latestId?.id;
17
+ };
18
+ exports.getToAddressField = getToAddressField;
19
+ const fetchProfileExternalIds = async (request, settings, userId, anonymousId) => {
20
+ try {
21
+ const identifier = userId ? `user_id:${userId}` : `anonymous_id:${anonymousId}`;
22
+ const response = await request(`${exports.PROFILE_API_BASE_URL}/v1/spaces/${settings.spaceId}/collections/users/profiles/${identifier}/external_ids?include=phone`, {
23
+ headers: {
24
+ authorization: `Basic ${Buffer.from(settings.profileApiAccessToken + ':').toString('base64')}`,
25
+ 'content-type': 'application/json'
26
+ }
27
+ });
28
+ const body = await response.json();
29
+ return body.data;
30
+ }
31
+ catch (error) {
32
+ throw new actions_core_1.IntegrationError('Unable to trigger Studio Flow. Fetching phone external Id failed.', 'Profile fetch API failure', 500);
33
+ }
34
+ };
35
+ exports.fetchProfileExternalIds = fetchProfileExternalIds;
36
+ const shouldSendToStudio = (cacheKey, stateContext, coolingOffPeriod) => {
37
+ if (stateContext?.getRequestContext?.(cacheKey))
38
+ return false;
39
+ stateContext?.setResponseContext?.(cacheKey, cacheKey, { second: coolingOffPeriod || exports.DEFAULT_COOLING_OFF_PERIOD });
40
+ return true;
41
+ };
42
+ exports.shouldSendToStudio = shouldSendToStudio;
43
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/destinations/twilio-studio/utils.ts"],"names":[],"mappings":";;;AAAA,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AAC,EAAE;gBAC9F,cAAc,EAAE,kBAAkB;aACnC;SACF,CACF,CAAA;QACD,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;QAClC,OAAO,IAAI,CAAC,IAAI,CAAA;KACjB;IAAC,OAAO,KAAc,EAAE;QACvB,MAAM,IAAI,+BAAgB,CACxB,mEAAmE,EACnE,2BAA2B,EAC3B,GAAG,CACJ,CAAA;KACF;AACH,CAAC,CAAA;AA9BY,QAAA,uBAAuB,2BA8BnC;AAGM,MAAM,kBAAkB,GAAG,CAAC,QAAgB,EAAE,YAA0B,EAAE,gBAAwB,EAAW,EAAE;IACpH,IAAI,YAAY,EAAE,iBAAiB,EAAE,CAAC,QAAQ,CAAC;QAAE,OAAO,KAAK,CAAA;IAC7D,YAAY,EAAE,kBAAkB,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,gBAAgB,IAAI,kCAA0B,EAAE,CAAC,CAAA;IAClH,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAJY,QAAA,kBAAkB,sBAI9B"}
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.131.1-ga4-cloud.12+24db59d0",
4
+ "version": "3.131.1-stageTesting-tiktok-ga4.49+067a92822",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -39,8 +39,8 @@
39
39
  "dependencies": {
40
40
  "@amplitude/ua-parser-js": "^0.7.25",
41
41
  "@segment/a1-notation": "^2.1.4",
42
- "@segment/actions-core": "^3.51.1-ga4-cloud.12+24db59d0",
43
- "@segment/actions-shared": "^1.33.1-ga4-cloud.12+24db59d0",
42
+ "@segment/actions-core": "^3.51.0",
43
+ "@segment/actions-shared": "^1.33.0",
44
44
  "@types/node": "^18.11.15",
45
45
  "cheerio": "^1.0.0-rc.10",
46
46
  "dayjs": "^1.10.7",
@@ -68,5 +68,5 @@
68
68
  "lcov"
69
69
  ]
70
70
  },
71
- "gitHead": "24db59d03642c872e7124e32828dcf450108f5b8"
71
+ "gitHead": "067a928229a74a124e039a348abc4320baca4112"
72
72
  }