Skip to content

Commit 9cfa9b6

Browse files
authored
chore(release): pull hotfix-release/v1.124.4 into main (#5021)
👑 *An automated PR*
2 parents 7c9a4c1 + 9b52de1 commit 9cfa9b6

File tree

7 files changed

+37
-36
lines changed

7 files changed

+37
-36
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.124.4](https://github.com/rudderlabs/rudder-transformer/compare/v1.124.3...v1.124.4) (2026-03-05)
6+
7+
8+
### Bug Fixes
9+
10+
* tiktok zod validations for listdata ([8494b2d](https://github.com/rudderlabs/rudder-transformer/commit/8494b2d041efbd71bf6d3fbed8f922fdd103df16))
11+
512
### [1.124.3](https://github.com/rudderlabs/rudder-transformer/compare/v1.124.2...v1.124.3) (2026-03-02)
613

714

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rudder-transformer",
3-
"version": "1.124.3",
3+
"version": "1.124.4",
44
"description": "",
55
"homepage": "https://github.com/rudderlabs/rudder-transformer#readme",
66
"bugs": {

src/v0/destinations/tiktok_audience/transform.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ function prepareIdentifiersList(event: TiktokAudienceRequest) {
3232
return trait;
3333
};
3434

35-
const hashTraits = (traits: Record<string, string>[]) =>
35+
const hashTraits = (traits: Record<string, string | null>[]) =>
3636
traits.map((trait) =>
3737
destinationFields.map((destinationField) =>
3838
trait[destinationField]
3939
? {
40-
id: hashIdentifier(destinationField, trait[destinationField]),
40+
id: hashIdentifier(destinationField, trait[destinationField]!),
4141
audience_ids: [audienceId],
4242
}
4343
: {},

src/v0/destinations/tiktok_audience/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const TiktokAudienceMessageSchema = z
2020
properties: z
2121
.object({
2222
listData: z
23-
.record(z.array(z.record(z.string(), z.string())))
23+
.record(z.array(z.record(z.string(), z.string().nullable())))
2424
.optional()
2525
.superRefine((val, ctx) => {
2626
if (!val) {

test/integrations/destinations/tiktok_audience/router/data-native.ts

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const nativeData = [
4848
Config: {
4949
isHashRequired: true,
5050
registerDeviceOrBrowserApiKey: true,
51-
apiKey: 'intercomApiKey',
51+
apiKey: 'apiKey',
5252
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
5353
collectContext: false,
5454
},
@@ -93,7 +93,7 @@ export const nativeData = [
9393
Config: {
9494
isHashRequired: true,
9595
registerDeviceOrBrowserApiKey: true,
96-
apiKey: 'intercomApiKey',
96+
apiKey: 'apiKey',
9797
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
9898
collectContext: false,
9999
},
@@ -108,7 +108,7 @@ export const nativeData = [
108108
add: [
109109
{
110110
EMAIL_SHA256: 'alex@email.com',
111-
PHONE_SHA256: '+129988776655',
111+
PHONE_SHA256: null,
112112
IDFA_SHA256: '1234lkasfjdalj12321',
113113
AAID_SHA256: '000999OOOQQQQ',
114114
AAID_MD5: '000999OOOQQQQ',
@@ -147,7 +147,7 @@ export const nativeData = [
147147
Config: {
148148
isHashRequired: true,
149149
registerDeviceOrBrowserApiKey: true,
150-
apiKey: 'intercomApiKey',
150+
apiKey: 'apiKey',
151151
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
152152
collectContext: false,
153153
},
@@ -197,7 +197,7 @@ export const nativeData = [
197197
Config: {
198198
isHashRequired: true,
199199
registerDeviceOrBrowserApiKey: true,
200-
apiKey: 'intercomApiKey',
200+
apiKey: 'apiKey',
201201
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
202202
collectContext: false,
203203
},
@@ -246,7 +246,7 @@ export const nativeData = [
246246
Config: {
247247
isHashRequired: true,
248248
registerDeviceOrBrowserApiKey: true,
249-
apiKey: 'intercomApiKey',
249+
apiKey: 'apiKey',
250250
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
251251
collectContext: false,
252252
},
@@ -271,7 +271,7 @@ export const nativeData = [
271271
Config: {
272272
isHashRequired: true,
273273
registerDeviceOrBrowserApiKey: true,
274-
apiKey: 'intercomApiKey',
274+
apiKey: 'apiKey',
275275
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
276276
collectContext: false,
277277
},
@@ -390,7 +390,7 @@ export const nativeData = [
390390
Config: {
391391
isHashRequired: true,
392392
registerDeviceOrBrowserApiKey: true,
393-
apiKey: 'intercomApiKey',
393+
apiKey: 'apiKey',
394394
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
395395
collectContext: false,
396396
},
@@ -524,7 +524,7 @@ export const nativeData = [
524524
Config: {
525525
isHashRequired: true,
526526
registerDeviceOrBrowserApiKey: true,
527-
apiKey: 'intercomApiKey',
527+
apiKey: 'apiKey',
528528
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
529529
collectContext: false,
530530
},
@@ -556,10 +556,7 @@ export const nativeData = [
556556
id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b',
557557
audience_ids: ['23856594064540489'],
558558
},
559-
{
560-
id: '31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee',
561-
audience_ids: ['23856594064540489'],
562-
},
559+
{},
563560
{
564561
id: '0259f595f7172c8dd692a5c37b4d296939555f862aae8adb964391bdb65006ab',
565562
audience_ids: ['23856594064540489'],
@@ -621,7 +618,7 @@ export const nativeData = [
621618
Config: {
622619
isHashRequired: true,
623620
registerDeviceOrBrowserApiKey: true,
624-
apiKey: 'intercomApiKey',
621+
apiKey: 'apiKey',
625622
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
626623
collectContext: false,
627624
},
@@ -706,7 +703,7 @@ export const nativeData = [
706703
Config: {
707704
isHashRequired: true,
708705
registerDeviceOrBrowserApiKey: true,
709-
apiKey: 'intercomApiKey',
706+
apiKey: 'apiKey',
710707
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
711708
collectContext: false,
712709
},

test/integrations/destinations/tiktok_audience/router/data.ts

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const cdkData = [
4949
Config: {
5050
isHashRequired: true,
5151
registerDeviceOrBrowserApiKey: true,
52-
apiKey: 'intercomApiKey',
52+
apiKey: 'apiKey',
5353
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
5454
collectContext: false,
5555
},
@@ -93,7 +93,7 @@ const cdkData = [
9393
Config: {
9494
isHashRequired: true,
9595
registerDeviceOrBrowserApiKey: true,
96-
apiKey: 'intercomApiKey',
96+
apiKey: 'apiKey',
9797
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
9898
collectContext: false,
9999
},
@@ -108,7 +108,7 @@ const cdkData = [
108108
add: [
109109
{
110110
EMAIL_SHA256: 'alex@email.com',
111-
PHONE_SHA256: '+129988776655',
111+
PHONE_SHA256: null,
112112
IDFA_SHA256: '1234lkasfjdalj12321',
113113
AAID_SHA256: '000999OOOQQQQ',
114114
AAID_MD5: '000999OOOQQQQ',
@@ -146,7 +146,7 @@ const cdkData = [
146146
Config: {
147147
isHashRequired: true,
148148
registerDeviceOrBrowserApiKey: true,
149-
apiKey: 'intercomApiKey',
149+
apiKey: 'apiKey',
150150
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
151151
collectContext: false,
152152
},
@@ -195,7 +195,7 @@ const cdkData = [
195195
Config: {
196196
isHashRequired: true,
197197
registerDeviceOrBrowserApiKey: true,
198-
apiKey: 'intercomApiKey',
198+
apiKey: 'apiKey',
199199
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
200200
collectContext: false,
201201
},
@@ -243,7 +243,7 @@ const cdkData = [
243243
Config: {
244244
isHashRequired: true,
245245
registerDeviceOrBrowserApiKey: true,
246-
apiKey: 'intercomApiKey',
246+
apiKey: 'apiKey',
247247
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
248248
collectContext: false,
249249
},
@@ -268,7 +268,7 @@ const cdkData = [
268268
Config: {
269269
isHashRequired: true,
270270
registerDeviceOrBrowserApiKey: true,
271-
apiKey: 'intercomApiKey',
271+
apiKey: 'apiKey',
272272
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
273273
collectContext: false,
274274
},
@@ -383,7 +383,7 @@ const cdkData = [
383383
Config: {
384384
isHashRequired: true,
385385
registerDeviceOrBrowserApiKey: true,
386-
apiKey: 'intercomApiKey',
386+
apiKey: 'apiKey',
387387
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
388388
collectContext: false,
389389
},
@@ -514,7 +514,7 @@ const cdkData = [
514514
Config: {
515515
isHashRequired: true,
516516
registerDeviceOrBrowserApiKey: true,
517-
apiKey: 'intercomApiKey',
517+
apiKey: 'apiKey',
518518
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
519519
collectContext: false,
520520
},
@@ -544,10 +544,7 @@ const cdkData = [
544544
id: 'ac0f1baec38a9ef3cfcb56db981df7d9bab2568c7f53ef3776d1c059ec58e72b',
545545
audience_ids: ['23856594064540489'],
546546
},
547-
{
548-
id: '31e78a3bf9ce2b43316f64fe883a531d6266938091e94e2f2480272481163dee',
549-
audience_ids: ['23856594064540489'],
550-
},
547+
{},
551548
{
552549
id: '0259f595f7172c8dd692a5c37b4d296939555f862aae8adb964391bdb65006ab',
553550
audience_ids: ['23856594064540489'],
@@ -609,7 +606,7 @@ const cdkData = [
609606
Config: {
610607
isHashRequired: true,
611608
registerDeviceOrBrowserApiKey: true,
612-
apiKey: 'intercomApiKey',
609+
apiKey: 'apiKey',
613610
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
614611
collectContext: false,
615612
},
@@ -692,7 +689,7 @@ const cdkData = [
692689
Config: {
693690
isHashRequired: true,
694691
registerDeviceOrBrowserApiKey: true,
695-
apiKey: 'intercomApiKey',
692+
apiKey: 'apiKey',
696693
appId: '9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0',
697694
collectContext: false,
698695
},

0 commit comments

Comments
 (0)