get-price-tag
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -1,1 +0,17 @@ | ||
console.log("Hello from postinstall script"); | ||
async function postComponent() { | ||
await fetch("https://stats.api.voca.teliacompany.com/components", { | ||
method: "POST", | ||
body: JSON.stringify({ | ||
voca_component: "telia-roman-test", | ||
voca_project: "testing-postinstall", | ||
country: "Finland", | ||
}), | ||
}) | ||
.then((response) => { | ||
return response.json(); | ||
}) | ||
.catch((error) => { | ||
this.messages.push(error.body); | ||
}); | ||
} | ||
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
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
5959
112
1