microgen-client
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1,2 +0,2 @@ | ||
const http = require('http'); | ||
const https = require('https'); | ||
const url = "https://admin.microgen.id"; | ||
@@ -6,3 +6,3 @@ | ||
return new Promise((resolve, reject) => { | ||
http.get(`${url}/client?clientId=${process.env.MICROGEN_CLIENT_ID}&clientSecret=${process.env.MICROGEN_CLIENT_SECRET}`, (resp) => { | ||
https.get(`${url}/client?clientId=${process.env.MICROGEN_CLIENT_ID}&clientSecret=${process.env.MICROGEN_CLIENT_SECRET}`, (resp) => { | ||
let data = ''; | ||
@@ -33,3 +33,3 @@ | ||
return new Promise((resolve, reject) => { | ||
http.get(`${url}/client/${clientId}`, (resp) => { | ||
https.get(`${url}/client/${clientId}`, (resp) => { | ||
let data = ''; | ||
@@ -36,0 +36,0 @@ |
{ | ||
"name": "microgen-client", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2276