get-price-tag
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "get-price-tag", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -51,16 +51,18 @@ import fetch from "node-fetch"; | ||
console.log(rootDir, packageJSON, results); | ||
fetch("https://stats.api.voca.teliacompany.com/postinstall/projects", { | ||
method: "post", | ||
headers: { | ||
"Content-type": "application/json; charset=UTF-8", | ||
Accept: "application/json, text/plain, */*", | ||
}, | ||
body: JSON.stringify({ | ||
voca_project: pkgName, | ||
voca_version: vocaVersion, | ||
voca_framework: "react", | ||
}), | ||
}); | ||
if (pkgName && vocaVersion) { | ||
fetch("https://stats.api.voca.teliacompany.com/postinstall/projects", { | ||
method: "post", | ||
headers: { | ||
"Content-type": "application/json; charset=UTF-8", | ||
Accept: "application/json, text/plain, */*", | ||
}, | ||
body: JSON.stringify({ | ||
voca_project: pkgName, | ||
voca_version: vocaVersion, | ||
voca_framework: "react", | ||
}), | ||
}); | ||
} | ||
}); | ||
} | ||
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
7596
160