get-price-tag
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
import fetch from 'node-fetch'; | ||
function postComponent() { | ||
fetch("https://stats.api.voca.teliacompany.com/components", { | ||
method: "POST", | ||
body: JSON.stringify({ | ||
voca_component: "telia-roman-test", | ||
voca_project: "testing-postinstall-fi", | ||
voca_country: "Finland", | ||
}), | ||
}) | ||
.then((response) => { | ||
return console.log(response); | ||
}) | ||
.catch((error) => { | ||
return console.log(error); | ||
}); | ||
console.log(process.cwd()); | ||
// fetch("https://stats.api.voca.teliacompany.com/components", { | ||
// method: "POST", | ||
// body: JSON.stringify({ | ||
// voca_component: "telia-roman-test", | ||
// voca_project: "testing-postinstall-fi", | ||
// voca_country: "Finland", | ||
// }), | ||
// }) | ||
// .then((response) => { | ||
// return console.log(response); | ||
// }) | ||
// .catch((error) => { | ||
// return console.log(error); | ||
// }); | ||
} | ||
postComponent(); |
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
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
6074
114
0