@repobit/dex-target 2.14.12 → 2.14.13

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,14 @@
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.14.13](https://github.com/bitdefender/dex-core/compare/@repobit/dex-target@2.14.12...@repobit/dex-target@2.14.13) (2026-05-14)
7
+
8
+ **Note:** Version bump only for package @repobit/dex-target
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.14.12](https://github.com/bitdefender/dex-core/compare/@repobit/dex-target@2.14.11...@repobit/dex-target@2.14.12) (2026-05-13)
7
15
 
8
16
  **Note:** Version bump only for package @repobit/dex-target
package/README.md CHANGED
@@ -178,7 +178,11 @@ Here the response type of offers will be something like this, instead of the act
178
178
  Use getContentFragment to fetch an HTML offer for a single mbox and return it as a DocumentFragment. The fragment includes any inline scripts, rehydrated as real script elements. Scripts will execute only after you insert the fragment into the live DOM (for example, into document.body).
179
179
 
180
180
  ```typescript
181
- const fragment = await target.getContentFragment({ mboxName: 'html-mbox' });
181
+ const fragment = await target.getContentFragment({
182
+ mboxName: 'html-mbox',
183
+ parameters: { customParam: 'value' },
184
+ profileParameters: { profile.custom: 'value' }
185
+ });
182
186
  if (fragment) {
183
187
  document.body.replaceChildren(fragment);
184
188
  }
@@ -199,11 +203,4 @@ try {
199
203
  } catch (e) {
200
204
  target.abort()
201
205
  }
202
- ```
203
-
204
- ### Sending CDP data
205
- Use the sendCdpData method to send data regarding the pageLoadStarted event to the CDP endpoint. The function returns `Promise<void>` and a `PageLoadStartedEvent` needs to be passed as a parameter. The fetched CDP payload can then be accessed through the `cdpData` property.
206
-
207
- ```typescript
208
- await target.sendCdpData(pageLoadStartedEvent);
209
- ```
206
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-target",
3
- "version": "2.14.12",
3
+ "version": "2.14.13",
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": "2.1.13",
31
- "@repobit/dex-data-layer": "2.2.14"
30
+ "@repobit/dex-constants": "2.1.14",
31
+ "@repobit/dex-data-layer": "2.2.15"
32
32
  },
33
33
  "module": "dist/src/index.js",
34
34
  "type": "module",
@@ -39,5 +39,5 @@
39
39
  "devDependencies": {
40
40
  "@types/jsdom": "^28.0.0"
41
41
  },
42
- "gitHead": "b2eb5cba616e92393dcdc2fd5398762cda4c20f1"
42
+ "gitHead": "d19ae77c661138e6155e5ae7868663c85a294712"
43
43
  }