nx-lecom-helper 1.0.1 → 1.0.2

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.
@@ -1,16 +1,11 @@
1
1
  (function (global) {
2
2
  "use strict";
3
3
 
4
- // Evita sobrescrever se já existir
5
- if (global.LecomAlert) return;
4
+ if (global.NxLecomHelper) return;
6
5
 
7
- function show(message) {
8
- alert(message || "LecomAlert funcionando!");
6
+ function alertTest(message) {
7
+ alert(message || "NxLecomHelper funcionando!");
9
8
  }
10
9
 
11
- // API global mínima
12
- global.LecomAlert = Object.freeze({
13
- show
14
- });
15
-
10
+ global.NxLecomHelper = Object.freeze({ alertTest });
16
11
  })(typeof window !== "undefined" ? window : this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx-lecom-helper",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Utilitários JS para BPM Lecom (API global)",
5
5
  "main": "dist/nxLecom-helper.umd.js",
6
6
  "files": [
@@ -11,5 +11,8 @@
11
11
  "author": {
12
12
  "name": "Thiago Costa",
13
13
  "email": "thiago.costa@nexum.com.br"
14
+ },
15
+ "dependencies": {
16
+ "nx-lecom-helper": "^1.0.1"
14
17
  }
15
- }
18
+ }