@repobit/dex-launch 2.1.0 → 2.1.1
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 +9 -0
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +4 -4
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.1.1](https://github.com/bitdefender/dex-core/compare/@repobit/dex-launch@2.1.0...@repobit/dex-launch@2.1.1) (2026-02-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **DEX-25763:** remove hardcoded LAUNCH_URL from launch script assignment ([307301e](https://github.com/bitdefender/dex-core/commit/307301e5b8c70a8c25cbfc09b9051709b22bbfd3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [2.1.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-launch@2.0.11...@repobit/dex-launch@2.1.0) (2026-01-19)
|
|
7
16
|
|
|
8
17
|
|
package/dist/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export default class Launch {
|
|
|
5
5
|
if (window.BD.state.launchScript) {
|
|
6
6
|
return;
|
|
7
7
|
}
|
|
8
|
-
window.BD.state.launchScript = `${Constants.
|
|
8
|
+
window.BD.state.launchScript = `${Constants.ADOBE_MC_URL_ENV_MAP.get(environment)}`;
|
|
9
9
|
await loadScript(window.BD.state.launchScript);
|
|
10
10
|
}
|
|
11
11
|
}
|
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,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAYhD,MAAM,CAAC,OAAO,OAAgB,MAAM;IAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,WAAwF;QAC/G,IAAI,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;YACjC,OAAO;QACT,CAAC;QAED,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,GAAG,GAAG,SAAS,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;AAYhD,MAAM,CAAC,OAAO,OAAgB,MAAM;IAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,WAAwF;QAC/G,IAAI,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;YACjC,OAAO;QACT,CAAC;QAED,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,GAAG,GAAG,SAAS,CAAC,oBAAoB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACpF,MAAM,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACjD,CAAC;CACF;AAED,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC;AAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,GAAG,MAAM,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC","sourcesContent":["import { Constants } from '@repobit/dex-constants';\nimport { loadScript } from \"@repobit/dex-utils\";\n\ndeclare global {\n interface Window {\n BD: {\n state: {\n launchScript: string\n }\n }\n }\n}\n\nexport default abstract class Launch {\n public static async load(environment: 'dev' | 'stage' | 'prod' | 'prodCheckout' | 'stageCheckout' | 'devCheckout'): Promise<void> {\n if (window.BD.state.launchScript) {\n return;\n }\n\n window.BD.state.launchScript = `${Constants.ADOBE_MC_URL_ENV_MAP.get(environment)}`;\n await loadScript(window.BD.state.launchScript);\n }\n}\n\nwindow.BD = window.BD || {};\nwindow.BD.state = window.BD.state || {};"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-launch",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
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,11 +30,11 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"types": "dist/src/index.d.ts",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@repobit/dex-constants": "^1.3.
|
|
34
|
-
"@repobit/dex-utils": "^2.1.
|
|
33
|
+
"@repobit/dex-constants": "^1.3.1",
|
|
34
|
+
"@repobit/dex-utils": "^2.1.3"
|
|
35
35
|
},
|
|
36
36
|
"volta": {
|
|
37
37
|
"node": "22.14.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "fe2fedfa93fa94635d0abecf509349894970175c"
|
|
40
40
|
}
|