@synetic/et 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. package/README.md +5 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ET node collector
2
2
 
3
+ Requirements:
4
+
5
+ - Node >=16
6
+
3
7
  should be run using:
4
8
 
5
9
  `npx run synetic/et phonehome`
@@ -7,4 +11,4 @@ should be run using:
7
11
  with the correct environment variables:
8
12
 
9
13
  SYNETIC_ET_KEY
10
- SYNETIC_ET_HOME (defaults to 'http://mission-control.test/phonehome')
14
+ SYNETIC_ET_HOME
package/index.js CHANGED
@@ -5,7 +5,7 @@ const { encrypt } = require('./lib/encypt');
5
5
  const { collect } = require('./lib/collector')
6
6
  const KEY = process.env.SYNETIC_ET_KEY || '';
7
7
 
8
- const HOME_URL = process.env.SYNETIC_ET_HOME || 'http://mission-control.test/phonehome';
8
+ const HOME_URL = process.env.SYNETIC_ET_HOME || '';
9
9
 
10
10
  const phoneHome = () => {
11
11
  console.log(`collecting information to phone home (${HOME_URL})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synetic/et",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "The Synetic ET collector for NodeJs",
5
5
  "main": "index.js",
6
6
  "scripts": {