@repobit/dex-launch 1.4.1 → 2.0.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 +22 -0
- package/README.md +2 -3
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.0.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-launch@1.5.0...@repobit/dex-launch@2.0.0) (2025-05-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **DEX-21820:** refactored Target to require initialisation
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **DEX-21820:** refactored Target to require initialisation ([398be98](https://github.com/bitdefender/dex-core/commit/398be98f6d90f808bbeac409cdb1cb39dd03a705))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [1.5.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-launch@1.4.1...@repobit/dex-launch@1.5.0) (2025-05-12)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **DEX-21820:** added constants and sendCdpDataFunction ([fcdc7e5](https://github.com/bitdefender/dex-core/commit/fcdc7e5ee787ac5d702f7c8d11642321ab49a1b4))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [1.4.1](https://github.com/bitdefender/dex-core/compare/@repobit/dex-launch@1.4.0...@repobit/dex-launch@1.4.1) (2025-04-07)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @repobit/dex-launch
|
package/README.md
CHANGED
|
@@ -30,9 +30,6 @@ The Adobe Launch Loader provides a single abstract class with a static method to
|
|
|
30
30
|
|
|
31
31
|
## Installation
|
|
32
32
|
|
|
33
|
-
This package relies on external dependencies:
|
|
34
|
-
- @repobit/dex-utils
|
|
35
|
-
|
|
36
33
|
```bash
|
|
37
34
|
npm install @repobit/dex-launch
|
|
38
35
|
```
|
|
@@ -70,6 +67,8 @@ If one wishes to use both Launch and Target in the same project, I recommend usi
|
|
|
70
67
|
import Launch from '@repobit/dex-launch';
|
|
71
68
|
import Target from '@repobit/dex-target';
|
|
72
69
|
|
|
70
|
+
const target = new Target();
|
|
71
|
+
|
|
73
72
|
try {
|
|
74
73
|
await Launch.load('prod');
|
|
75
74
|
} catch (e) {
|
package/dist/src/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Constants
|
|
1
|
+
import { Constants } from '@repobit/dex-constants';
|
|
2
|
+
import { loadScript } from "@repobit/dex-utils";
|
|
2
3
|
export default class Launch {
|
|
3
4
|
static async load(environment) {
|
|
4
5
|
const adobeLaunchScriptUrl = `${Constants.LAUNCH_URL}/${Constants.ADOBE_MC_URL_ENV_MAP.get(environment)}`;
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,MAAM,CAAC,OAAO,OAAgB,MAAM;IAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,WAAqC;QAC5D,MAAM,oBAAoB,GAAG,GAAG,SAAS,CAAC,UAAU,IAAI,SAAS,CAAC,oBAAoB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QAE1G,MAAM,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACzC,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-launch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Client for Adobe Launch",
|
|
5
5
|
"author": "Constantin Ioan Mihai <iconstantin@bitdefender.com>",
|
|
6
6
|
"homepage": "https://github.com/bitdefender/dex-core#readme",
|
|
@@ -30,10 +30,11 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"types": "dist/src/index.d.ts",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@repobit/dex-
|
|
33
|
+
"@repobit/dex-constants": "^1.1.0",
|
|
34
|
+
"@repobit/dex-utils": "^1.3.0"
|
|
34
35
|
},
|
|
35
36
|
"volta": {
|
|
36
37
|
"node": "22.14.0"
|
|
37
38
|
},
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "bec7c5658dc80875f3e2d7872e467f74c32e41fd"
|
|
39
40
|
}
|