From 57724cdedf41bf0d2e4ff58fbcb80110f9fe5827 Mon Sep 17 00:00:00 2001 From: Maryam Sharif Date: Tue, 17 Oct 2023 18:28:18 -0400 Subject: [PATCH] Deploy 3.221.1-staging-2 --- packages/destination-actions/package.json | 2 +- .../tiktok-audiences/addUser/index.ts | 6 +- .../tiktok-audiences/removeUser/index.ts | 6 +- yarn.lock | 59 +++++++++++++++++++ 4 files changed, 66 insertions(+), 7 deletions(-) diff --git a/packages/destination-actions/package.json b/packages/destination-actions/package.json index 5b1a45a7c3..b2ecac3419 100644 --- a/packages/destination-actions/package.json +++ b/packages/destination-actions/package.json @@ -1,7 +1,7 @@ { "name": "@segment/action-destinations", "description": "Destination Actions engine and definitions.", - "version": "3.221.1-staging-1", + "version": "3.221.1-staging-2", "repository": { "type": "git", "url": "https://github.com/segmentio/action-destinations", diff --git a/packages/destination-actions/src/destinations/tiktok-audiences/addUser/index.ts b/packages/destination-actions/src/destinations/tiktok-audiences/addUser/index.ts index 5a9b85bdbc..97833c9dee 100644 --- a/packages/destination-actions/src/destinations/tiktok-audiences/addUser/index.ts +++ b/packages/destination-actions/src/destinations/tiktok-audiences/addUser/index.ts @@ -76,12 +76,12 @@ const action: ActionDefinition = { }, perform: async (request, { settings, payload, statsContext, logger }) => { logger?.error('actions-tiktok-audiences CALLING ADD') - statsContext?.statsClient?.incr('addUser', 1, statsContext?.tags) + statsContext?.statsClient?.incr('addUserLegacy', 1, statsContext?.tags) return processPayload(request, settings, [payload], 'add') }, performBatch: async (request, { settings, payload, statsContext, logger }) => { - logger?.error('actions-tiktok-audiences CALLING ADD') - statsContext?.statsClient?.incr('addUser', 1, statsContext?.tags) + logger?.error('actions-tiktok-audiences CALLING ADD batch') + statsContext?.statsClient?.incr('addUserLegacy', 1, statsContext?.tags) return processPayload(request, settings, payload, 'add') } } diff --git a/packages/destination-actions/src/destinations/tiktok-audiences/removeUser/index.ts b/packages/destination-actions/src/destinations/tiktok-audiences/removeUser/index.ts index 1c160464f0..6a74235d42 100644 --- a/packages/destination-actions/src/destinations/tiktok-audiences/removeUser/index.ts +++ b/packages/destination-actions/src/destinations/tiktok-audiences/removeUser/index.ts @@ -75,12 +75,12 @@ const action: ActionDefinition = { }, perform: async (request, { settings, payload, statsContext, logger }) => { logger?.error('actions-tiktok-audiences CALLING REMOVE') - statsContext?.statsClient?.incr('removeUser', 1, statsContext?.tags) + statsContext?.statsClient?.incr('removeUserLegacy', 1, statsContext?.tags) return processPayload(request, settings, [payload], 'delete') }, performBatch: async (request, { settings, payload, statsContext, logger }) => { - logger?.error('actions-tiktok-audiences CALLING REMOVE') - statsContext?.statsClient?.incr('removeUser', 1, statsContext?.tags) + logger?.error('actions-tiktok-audiences CALLING REMOVE batch') + statsContext?.statsClient?.incr('removeUserLegacy', 1, statsContext?.tags) return processPayload(request, settings, payload, 'delete') } } diff --git a/yarn.lock b/yarn.lock index 7dc4740707..913c4e1285 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2189,6 +2189,26 @@ resolved "https://registry.yarnpkg.com/@segment/a1-notation/-/a1-notation-2.1.4.tgz#35a48a0688019c3ffff23b1ba890e864c891a11f" integrity sha512-SId7GOdDFmm/B9ajIQpXELHW4OTbVvmJbOsoJkQOcUEtoZIiX2UWfk1v4BpKql8wJW9oAhzhIIru2Pv2Yxcg+w== +"@segment/action-destinations@^3.190.0": + version "3.225.0" + resolved "https://registry.npmjs.org/@segment/action-destinations/-/action-destinations-3.225.0.tgz#49fc5fa686e4a4af397c8be05464b8428fd075de" + integrity sha512-2/Ln1Gs8xPnBmrhkmFi9VAPHePO+SEp9xUIjN8fdlOgop5lhZXA0+PFttAMkr6AOYBZEYRYtnLsE4Fd00TKRXw== + dependencies: + "@amplitude/ua-parser-js" "^0.7.25" + "@segment/a1-notation" "^2.1.4" + "@segment/actions-core" "^3.86.0" + "@segment/actions-shared" "^1.68.0" + "@types/node" "^18.11.15" + ajv-formats "^2.1.1" + aws4 "^1.12.0" + cheerio "^1.0.0-rc.10" + dayjs "^1.10.7" + escape-goat "^3" + google-libphonenumber "^3.2.31" + liquidjs "^9.37.0" + lodash "^4.17.21" + ssh2-sftp-client "^9.1.0" + "@segment/action-emitters@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@segment/action-emitters/-/action-emitters-1.1.2.tgz#962527ecc014a1123ac5614ef10419b7d9371730" @@ -2196,6 +2216,38 @@ dependencies: "@types/node" "^18.11.15" +"@segment/actions-core@^3.86.0": + version "3.86.0" + resolved "https://registry.npmjs.org/@segment/actions-core/-/actions-core-3.86.0.tgz#4a11bae0b3bad680fd8bb15c0490b1cfcae69e0f" + integrity sha512-Vd8n5LSy3EGD2McNZc6FlDKBcaSBGdMQtM9Hp5iFkevp6IAosRQQeIeaGmxtTGaf1MPs+SeL+8i19JcR4qDQWg== + dependencies: + "@lukeed/uuid" "^2.0.0" + "@segment/action-emitters" "^1.1.2" + "@segment/ajv-human-errors" "^2.11.3" + "@segment/destination-subscriptions" "^3.30.0" + "@types/node" "^18.11.15" + abort-controller "^3.0.0" + aggregate-error "^3.1.0" + ajv "^8.6.3" + ajv-formats "^2.1.1" + btoa-lite "^1.0.0" + cross-fetch "^3.1.4" + dayjs "^1.10.7" + ts-custom-error "^3.2.0" + +"@segment/actions-shared@^1.68.0": + version "1.68.0" + resolved "https://registry.npmjs.org/@segment/actions-shared/-/actions-shared-1.68.0.tgz#9cc9baea8cdbb0d06933426d19f194ab6a3592ac" + integrity sha512-856DJLsso7G+Lk7oTMiilb3unxk0EjF6RJjRYKZ04WywACVdBFNr3SqpC212yFN+if+8CIpKeofSxFT97nm36g== + dependencies: + "@amplitude/ua-parser-js" "^0.7.25" + "@segment/actions-core" "^3.86.0" + cheerio "^1.0.0-rc.10" + dayjs "^1.10.7" + escape-goat "^3" + liquidjs "^9.37.0" + lodash "^4.17.21" + "@segment/analytics-browser-actions-sabil@^1.6.0": version "1.6.0" resolved "https://registry.yarnpkg.com/@segment/analytics-browser-actions-sabil/-/analytics-browser-actions-sabil-1.6.0.tgz#4e1faf694e7b9b513e7309b74654abc31e789a37" @@ -2247,6 +2299,13 @@ path-to-regexp "^6.1.0" querystring "^0.2.0" +"@segment/destination-subscriptions@^3.30.0": + version "3.30.0" + resolved "https://registry.npmjs.org/@segment/destination-subscriptions/-/destination-subscriptions-3.30.0.tgz#e4e3d301be2549c452665691b96359d984b17acd" + integrity sha512-8thyA0ThOzSwrNDCaFancDjug/Iyev6mTKurPVWYZjHyyZjL/0kpna8SH6w3cyJFhVUj1nzg6h9mMEHKWHh4tQ== + dependencies: + "@segment/fql-ts" "^1.10.1" + "@segment/facade@^3.4.9": version "3.4.10" resolved "https://registry.yarnpkg.com/@segment/facade/-/facade-3.4.10.tgz#118fab29cf2250d3128f9b2a16d6ec76f86e3710"