@natyapp/meta
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -9,3 +9,2 @@ "use strict"; | ||
const axiosInterceptors_1 = require("../configs/axiosInterceptors"); | ||
const apiConfig_1 = require("../configs/apiConfig"); | ||
const newAxiosInstance = ({ url = "https://graph.facebook.com/v18.0/", phone_number_id, accessToken, }) => axios_1.default.create({ | ||
@@ -34,3 +33,3 @@ baseURL: url + phone_number_id, | ||
const api = axios_1.default.create({ | ||
baseURL: `${apiConfig_1.ApiConfig.getInstance().Url}/v1`, | ||
baseURL: `${process.env.API_META}/v1`, | ||
headers: axiosInterceptors_1.configInterceptors, | ||
@@ -37,0 +36,0 @@ }); |
@@ -6,3 +6,2 @@ "use strict"; | ||
configure(config) { | ||
console.log(process.env.API_META_OFFICIAL_WEBHOOK); | ||
apiConfig_1.ApiConfig.getInstance, config; | ||
@@ -9,0 +8,0 @@ } |
{ | ||
"name": "@natyapp/meta", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
90876
2278