@metarouter/ajs-starter-kit 1.0.164 → 1.0.165

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.
@@ -172,10 +172,7 @@
172
172
  "required": [
173
173
  "audienceId",
174
174
  "customerId",
175
- "developerToken",
176
- "privateKey",
177
- "principalEmail",
178
- "serviceAccountEmail"
175
+ "developerToken"
179
176
  ],
180
177
  "additionalProperties": false
181
178
  },
@@ -1 +1 @@
1
- "6c92f9256d5074dcd25869e1a9281822 -"
1
+ "14226f1d1324e33cba661d56b33e3f3d -"
@@ -60,6 +60,10 @@
60
60
  {
61
61
  "date": "2026-02-04T00:00:00.000Z",
62
62
  "note": "Version: 1.3.0\nAdded cartData.items mapping."
63
+ },
64
+ {
65
+ "date": "2026-04-01T00:00:00.000Z",
66
+ "note": "Version: 1.4.0\nAdded identifier fan-out logic"
63
67
  }
64
68
  ]
65
69
  }
@@ -1 +1 @@
1
- "269b6fd8b6ee84992b9e59bea73f4a7a -"
1
+ "bcb6dbfcc8922e2a94b21fd2efac8358 -"
@@ -1,9 +1,14 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.4.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
6
6
  "exampleValue": "floodlight-configuration-id"
7
+ },
8
+ {
9
+ "name": "IDENTIFIER_FAN_OUT",
10
+ "exampleValue": "identifier-fan-out",
11
+ "defaultValue": "false"
7
12
  }
8
13
  ],
9
14
  "default": {
@@ -57,13 +62,25 @@
57
62
  }
58
63
  }
59
64
  ]
65
+ },
66
+ {
67
+ "inputKey": "input",
68
+ "outputKey": "enableIdentifierFanOut",
69
+ "transforms": [
70
+ {
71
+ "expression": {
72
+ "lang": "lua",
73
+ "body": "local val = $$IDENTIFIER_FAN_OUT$$\nreturn TO_BOOL(val)"
74
+ }
75
+ }
76
+ ]
60
77
  }
61
78
  ],
62
79
  "expressions": [
63
80
  {
64
81
  "lang": "lua",
65
82
  "name": "Click, Mobile Device and Match ID(s)",
66
- "body": "local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\nlocal dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\nlocal mobileDeviceId = input.context.device.advertisingId;\nlocal matchId = input.anonymousId;\nreturn (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })"
83
+ "body": "if not TO_BOOL(\"$$IDENTIFIER_FAN_OUT$$\") then\n local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\n local dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\n local mobileDeviceId = input.context.device.advertisingId;\n local matchId = input.anonymousId;\n return (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })\n end\nreturn {\n gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3],\n dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3],\n mobileDeviceId = input.context.device.advertisingId,\n matchId = input.anonymousId\n}"
67
84
  }
68
85
  ]
69
86
  },
@@ -1 +1 @@
1
- "9dca155ae5ca42066940048a91ea621c -"
1
+ "4d85fb79d5e06d12e66f89078d22b0fa -"
@@ -16,6 +16,10 @@
16
16
  {
17
17
  "date": "2026-03-11T21:00:00.000Z",
18
18
  "note": "Version: 0.1.0\nBeta Version\nWirtualna Polska initial release"
19
+ },
20
+ {
21
+ "date": "2026-04-01T21:00:00.000Z",
22
+ "note": "Version: 0.2.0\nAdded field for CEEId identifier"
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "7d6bbb0bd7b844da22f533dd147f4a06 -"
1
+ "3b5ee5a6b915b7a5aeacf2afa7573c95 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PIXEL_ID",
@@ -26,6 +26,10 @@
26
26
  "inputKey": "context.providers.wirtualnaPolska.statid",
27
27
  "outputKey": "statid"
28
28
  },
29
+ {
30
+ "inputKey": "context.providers.ceeId.encrypted.data.value",
31
+ "outputKey": "ceeid"
32
+ },
29
33
  {
30
34
  "inputKey": "anonymousId",
31
35
  "outputKey": "provider_user_id"
package/README.md CHANGED
@@ -11,7 +11,6 @@
11
11
  - Kargo
12
12
  - Roomvo
13
13
  - Stdout (New)
14
- - Wirtualna Polska (New)
15
14
  - X Ads - Web Conversions
16
15
  - adMarketplace
17
16
 
@@ -42,7 +41,7 @@
42
41
  | Blueshift | 2021-06-24 | 2025-01-22 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
43
42
  | Braze | 2021-06-24 | N/A | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
44
43
  | Button | 2025-02-19 | 2025-03-12 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
45
- | CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2026-02-04 | Version: 1.3.0 | Added cartData.items mapping. |
44
+ | CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2026-04-01 | Version: 1.4.0 | Added identifier fan-out logic |
46
45
  | Clinch | 2024-04-24 | 2024-06-12 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
47
46
  | Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-19 | Version: 1.5.1 | Added friendly name to trackingSource expression |
48
47
  | Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
@@ -114,7 +113,7 @@
114
113
  | VideoAmp | 2022-11-17 | N/A | 2024-10-23 | Version: 0.3.0 | Added header `Accept-Encoding: application/json` |
115
114
  | Wallaroo | 2025-12-03 | N/A | 2025-12-10 | Version: 0.1.1 | Added expression name |
116
115
  | Webhooks | 2024-05-29 | 2024-08-07 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
117
- | Wirtualna Polska (New) | 2026-03-11 | N/A | 2026-03-11 | Version: 0.1.0 | Beta Version Wirtualna Polska initial release |
116
+ | Wirtualna Polska (New) | 2026-03-11 | N/A | 2026-04-01 | Version: 0.2.0 | Added field for CEEId identifier |
118
117
  | X Ads - Web Conversions | 2024-09-04 | 2024-09-25 | 2026-03-25 | Version: 1.1.1 | Converted some fields to camelCase for schema validation |
119
118
  | Xandr | 2021-07-13 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
120
119
  | Yahoo Enhanced Attribution | 2023-03-07 | N/A | 2025-04-09 | Version: 0.4.0 | Deprecated |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.164",
3
+ "version": "1.0.165",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {