@ideal-postcodes/core-axios
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,8 @@ | ||
## [1.0.2](https://github.com/ideal-postcodes/core-axios/compare/1.0.1...1.0.2) (2020-01-22) | ||
### Bug Fixes | ||
* **Headers:** Drop default user agent ([6c7ddd6](https://github.com/ideal-postcodes/core-axios/commit/6c7ddd6)) | ||
## [1.0.1](https://github.com/ideal-postcodes/core-axios/compare/1.0.0...1.0.1) (2020-01-22) | ||
@@ -2,0 +9,0 @@ |
@@ -29,6 +29,2 @@ "use strict"; | ||
var agent_1 = require("./agent"); | ||
/** | ||
* Default user agent string | ||
*/ | ||
var USER_AGENT = "IdealPostcodes ideal-postcodes/core-axios"; | ||
var Client = /** @class */ (function (_super) { | ||
@@ -42,3 +38,3 @@ __extends(Client, _super); | ||
var agent = new agent_1.Agent(); | ||
var header = { "User-Agent": USER_AGENT }; | ||
var header = {}; | ||
var tls = config.tls === undefined ? core_interface_1.TLS : config.tls; | ||
@@ -45,0 +41,0 @@ var baseUrl = config.baseUrl === undefined ? core_interface_1.API_URL : config.baseUrl; |
{ | ||
"name": "@ideal-postcodes/core-axios", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Axios based client for api.ideal-postcodes.co.uk", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
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
19618
236