@repobit/dex-target 2.5.20 → 2.6.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.6.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-target@2.5.20...@repobit/dex-target@2.6.0) (2026-01-30)
7
+
8
+
9
+ ### Features
10
+
11
+ * **DEX-25763:** added functionality to add icid params to buyLinks ([9ea3724](https://github.com/bitdefender/dex-core/commit/9ea3724f3d4fc2a4e73229297a9a123e7b5885e2))
12
+
13
+
14
+
6
15
  ## [2.5.20](https://github.com/bitdefender/dex-core/compare/@repobit/dex-target@2.5.19...@repobit/dex-target@2.5.20) (2026-01-19)
7
16
 
8
17
  **Note:** Version bump only for package @repobit/dex-target
package/README.md CHANGED
@@ -182,4 +182,4 @@ Use the sendCdpData method to send data regarding the pageLoadStarted event to t
182
182
 
183
183
  ```typescript
184
184
  await target.sendCdpData(pageLoadStartedEvent);
185
- ```
185
+ ```
@@ -13,7 +13,7 @@ export type SendEventCall = [
13
13
  {
14
14
  type?: string;
15
15
  decisionScopes: string[];
16
- data: {
16
+ data?: {
17
17
  '__adobe': {
18
18
  'target': {
19
19
  [key: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"typeDefinitions.js","sourceRoot":"","sources":["../../src/typeDefinitions.ts"],"names":[],"mappings":"","sourcesContent":["import { AlloyResponseDecision, AlloyResponsePropositions } from '@repobit/dex-data-layer';\n\nexport type MboxProfileParameters = {\n [key: `profile.${string}`]: string\n};\n\nexport type MboxParameters = {\n [key: string]: string\n};\n\nexport type URLParameters = {\n [key: string]: string\n};\n\nexport type SendEventCall = [\n 'sendEvent',\n {\n type ?: string,\n decisionScopes : string[],\n data: {\n '__adobe': {\n 'target': {\n [key: string]: string\n }\n }\n },\n renderDecisions?: boolean,\n }\n];\n\nexport type DisplayPropositionsCall = [\n 'sendEvent',\n Partial<{\n type : string,\n personalization: {\n decisionScopes: string[]\n }\n \"xdm\": {\n \"_experience\": {\n \"decisioning\": {\n \"propositions\":\n {\n \"id\" : string,\n \"scope\" : string,\n \"scopeDetails\": object\n }[],\n \"propositionEventType\": {\n \"display\": number\n }\n }\n }\n }\n }>\n];\n\nexport type AppendIdentityToUrlCall = [\n 'appendIdentityToUrl',\n { url: string }\n];\n\nexport type ApplyPropositionsCall = [\n 'applyPropositions',\n {\n propositions: AlloyResponsePropositions[],\n viewName : string\n }\n];\n\nexport type GetIdentityCall = [\n 'getIdentity'\n];\n\nexport type AlloySendEventResponse = {\n decisions : AlloyResponseDecision[],\n propositions: AlloyResponsePropositions[],\n destinations: object[]\n};\n\nexport type DisplayPropositionsResponse = {\n propositions: AlloyResponsePropositions[],\n destinations: object[]\n}\n\nexport type AlloyAppendIdentityToUrlResponse = {\n url: string\n}\n\nexport type AlloyApplyPropositionsResponse = {\n propositions: AlloyResponsePropositions[]\n}\n\nexport type GetIdentityResponse = Partial<{\n edge: {\n regionId?: number\n },\n identity: {\n ECID: string\n }\n}>;\n\nexport type AlloyFunction = {\n (...args: DisplayPropositionsCall): Promise<DisplayPropositionsResponse>,\n (...args: SendEventCall): Promise<AlloySendEventResponse>,\n (...args: AppendIdentityToUrlCall): Promise<AlloyAppendIdentityToUrlResponse>,\n (...args: ApplyPropositionsCall): Promise<AlloyApplyPropositionsResponse>\n (...args: GetIdentityCall): Promise<GetIdentityResponse>\n q: Array<\n [\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n resolve: Function,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n reject: Function,\n args: SendEventCall | AppendIdentityToUrlCall | ApplyPropositionsCall | GetIdentityCall | DisplayPropositionsCall\n ]\n >;\n};\n\nexport type ConfigMbox = Partial<{\n promotion: string,\n provider : 'init' | 'vlaicu',\n products: {\n [key: string]: {\n [key: `${number}-${number}`]: Partial<{\n extraParameters: {\n key : string,\n value: string\n }[],\n price : number,\n discountedPrice: number,\n buyLink : string\n }>\n }\n },\n useGeoIpPricing: boolean\n}>;\n\nexport type CdpData = {\n auds ?: string,\n [key: string] : string | undefined\n};\n\nexport type CdpDataJson = {\n auds: string[],\n mdl : { key: string, value: string }[],\n ub : unknown[],\n vid : string\n}"]}
1
+ {"version":3,"file":"typeDefinitions.js","sourceRoot":"","sources":["../../src/typeDefinitions.ts"],"names":[],"mappings":"","sourcesContent":["import { AlloyResponseDecision, AlloyResponsePropositions } from '@repobit/dex-data-layer';\n\nexport type MboxProfileParameters = {\n [key: `profile.${string}`]: string\n};\n\nexport type MboxParameters = {\n [key: string]: string\n};\n\nexport type URLParameters = {\n [key: string]: string\n};\n\nexport type SendEventCall = [\n 'sendEvent',\n {\n type ?: string,\n decisionScopes : string[],\n data?: {\n '__adobe': {\n 'target': {\n [key: string]: string\n }\n }\n },\n renderDecisions?: boolean,\n }\n];\n\nexport type DisplayPropositionsCall = [\n 'sendEvent',\n Partial<{\n type : string,\n personalization: {\n decisionScopes: string[]\n }\n \"xdm\": {\n \"_experience\": {\n \"decisioning\": {\n \"propositions\":\n {\n \"id\" : string,\n \"scope\" : string,\n \"scopeDetails\": object\n }[],\n \"propositionEventType\": {\n \"display\": number\n }\n }\n }\n }\n }>\n];\n\nexport type AppendIdentityToUrlCall = [\n 'appendIdentityToUrl',\n { url: string }\n];\n\nexport type ApplyPropositionsCall = [\n 'applyPropositions',\n {\n propositions: AlloyResponsePropositions[],\n viewName : string\n }\n];\n\nexport type GetIdentityCall = [\n 'getIdentity'\n];\n\nexport type AlloySendEventResponse = {\n decisions : AlloyResponseDecision[],\n propositions: AlloyResponsePropositions[],\n destinations: object[]\n};\n\nexport type DisplayPropositionsResponse = {\n propositions: AlloyResponsePropositions[],\n destinations: object[]\n}\n\nexport type AlloyAppendIdentityToUrlResponse = {\n url: string\n}\n\nexport type AlloyApplyPropositionsResponse = {\n propositions: AlloyResponsePropositions[]\n}\n\nexport type GetIdentityResponse = Partial<{\n edge: {\n regionId?: number\n },\n identity: {\n ECID: string\n }\n}>;\n\nexport type AlloyFunction = {\n (...args: DisplayPropositionsCall): Promise<DisplayPropositionsResponse>,\n (...args: SendEventCall): Promise<AlloySendEventResponse>,\n (...args: AppendIdentityToUrlCall): Promise<AlloyAppendIdentityToUrlResponse>,\n (...args: ApplyPropositionsCall): Promise<AlloyApplyPropositionsResponse>\n (...args: GetIdentityCall): Promise<GetIdentityResponse>\n q: Array<\n [\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n resolve: Function,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n reject: Function,\n args: SendEventCall | AppendIdentityToUrlCall | ApplyPropositionsCall | GetIdentityCall | DisplayPropositionsCall\n ]\n >;\n};\n\nexport type ConfigMbox = Partial<{\n promotion: string,\n provider : 'init' | 'vlaicu',\n products: {\n [key: string]: {\n [key: `${number}-${number}`]: Partial<{\n extraParameters: {\n key : string,\n value: string\n }[],\n price : number,\n discountedPrice: number,\n buyLink : string\n }>\n }\n },\n useGeoIpPricing: boolean\n}>;\n\nexport type CdpData = {\n auds ?: string,\n [key: string] : string | undefined\n};\n\nexport type CdpDataJson = {\n auds: string[],\n mdl : { key: string, value: string }[],\n ub : unknown[],\n vid : string\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-target",
3
- "version": "2.5.20",
3
+ "version": "2.6.0",
4
4
  "description": "Client for Adobe Target",
5
5
  "author": "Constantin Ioan Mihai <iconstantin@bitdefender.com>",
6
6
  "homepage": "https://github.com/bitdefender/dex-core#readme",
@@ -36,5 +36,5 @@
36
36
  "volta": {
37
37
  "node": "22.14.0"
38
38
  },
39
- "gitHead": "6fcaf5133ff6a150fd7d2d3e8a261f9b88b35bc1"
39
+ "gitHead": "1cb0be3532cd386f666afb6420082e4956f90723"
40
40
  }