@repobit/dex-target 2.5.19 → 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 +17 -0
- package/README.md +1 -1
- package/dist/src/typeDefinitions.d.ts +1 -1
- package/dist/src/typeDefinitions.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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
|
+
|
|
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)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @repobit/dex-target
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [2.5.19](https://github.com/bitdefender/dex-core/compare/@repobit/dex-target@2.5.18...@repobit/dex-target@2.5.19) (2025-12-17)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package @repobit/dex-target
|
package/README.md
CHANGED
|
@@ -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
|
|
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.
|
|
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",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"url": "https://github.com/bitdefender/dex-core/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@repobit/dex-constants": "^1.
|
|
31
|
-
"@repobit/dex-data-layer": "^2.0.
|
|
30
|
+
"@repobit/dex-constants": "^1.3.0",
|
|
31
|
+
"@repobit/dex-data-layer": "^2.0.2"
|
|
32
32
|
},
|
|
33
33
|
"module": "dist/src/index.js",
|
|
34
34
|
"type": "module",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"volta": {
|
|
37
37
|
"node": "22.14.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1cb0be3532cd386f666afb6420082e4956f90723"
|
|
40
40
|
}
|