@planet-a/affinity-node
Advanced tools
Comparing version 0.0.1-test.9 to 0.0.1-test.10
@@ -70,12 +70,10 @@ import axios from 'axios'; | ||
}); | ||
this.axios = axiosInstance || axios.create({ | ||
baseURL: 'https://api.affinity.co', | ||
headers: { | ||
'X-Requested-With': '@planet-a/affinity-node', | ||
}, | ||
auth: { | ||
username: '', | ||
password: apiKey, | ||
}, | ||
}); | ||
this.axios = axiosInstance || axios.create(); | ||
this.axios.defaults.headers.common['X-Requested-With'] = | ||
'@planet-a/affinity-node'; | ||
this.axios.defaults.auth = { | ||
username: '', | ||
password: apiKey, | ||
}; | ||
this.axios.defaults.baseURL = 'https://api.affinity.co'; | ||
this.lists = new Lists(this.axios); | ||
@@ -82,0 +80,0 @@ this.rateLimit = new RateLimit(this.axios); |
{ | ||
"name": "@planet-a/affinity-node", | ||
"version": "0.0.1-test.9", | ||
"version": "0.0.1-test.10", | ||
"description": "API wrapper for the affinity.co API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
106592
2741