rest-client-sdk
Advanced tools
Comparing version 4.1.1 to 4.1.2
# Changelog | ||
## 4.1.2 | ||
### Fixed | ||
- Fix issue with urijs 1.19.2 | ||
## 4.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -1514,3 +1514,3 @@ import diff from 'deep-diff'; | ||
var uri = new URI(this.tokenGeneratorConfig.path).scheme(this.tokenGeneratorConfig.scheme); | ||
var uri = new URI(this.tokenGeneratorConfig.scheme + '://' + this.tokenGeneratorConfig.path); | ||
@@ -1639,4 +1639,3 @@ if (this.tokenGeneratorConfig.port) { | ||
var uri = new URI(this.tokenGeneratorConfig.path); | ||
uri.scheme(this.tokenGeneratorConfig.scheme); | ||
var uri = new URI(this.tokenGeneratorConfig.scheme + '://' + this.tokenGeneratorConfig.path); | ||
@@ -1643,0 +1642,0 @@ if (this.tokenGeneratorConfig.port) { |
{ | ||
"name": "rest-client-sdk", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Rest Client SDK for API", | ||
@@ -16,8 +16,7 @@ "main": "dist/index.js", | ||
"check:src": "npm run test", | ||
"prepublishOnly": "npm run clean && npm run check:src && npm run build", | ||
"precommit": "lint-staged" | ||
"prepublishOnly": "npm run clean && npm run check:src && npm run build" | ||
}, | ||
"dependencies": { | ||
"deep-diff": "^1.0.2", | ||
"urijs": "^1.19.0" | ||
"urijs": "^1.19.2" | ||
}, | ||
@@ -30,3 +29,3 @@ "devDependencies": { | ||
"babel-preset-env": "^1.7.0", | ||
"bundlesize": "^0.17.0", | ||
"bundlesize": "^0.18.0", | ||
"eslint": "^5.9.0", | ||
@@ -90,3 +89,8 @@ "eslint-config-airbnb": "^17.1.0", | ||
"setupTestFrameworkScriptFile": "./setupJest.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
@@ -28,4 +28,4 @@ import URI from 'urijs'; | ||
const uri = new URI(this.tokenGeneratorConfig.path).scheme( | ||
this.tokenGeneratorConfig.scheme | ||
const uri = new URI( | ||
`${this.tokenGeneratorConfig.scheme}://${this.tokenGeneratorConfig.path}` | ||
); | ||
@@ -32,0 +32,0 @@ |
@@ -72,4 +72,5 @@ import URI from 'urijs'; | ||
_doFetch(parameters) { | ||
const uri = new URI(this.tokenGeneratorConfig.path); | ||
uri.scheme(this.tokenGeneratorConfig.scheme); | ||
const uri = new URI( | ||
`${this.tokenGeneratorConfig.scheme}://${this.tokenGeneratorConfig.path}` | ||
); | ||
@@ -76,0 +77,0 @@ if (this.tokenGeneratorConfig.port) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
365064
4577
Updatedurijs@^1.19.2