Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
@@ -9,2 +9,9 @@ All notable changes to this project will be documented in this file. | ||
## [0.0.1-alpha.4] - 2019-02-04 | ||
### Added | ||
- `post`, `patch`, `delete` helpers | ||
### Fixed | ||
- non-GET request sending | ||
## [0.0.1-alpha.3] - 2019-01-03 | ||
@@ -11,0 +18,0 @@ ### Added |
@@ -176,2 +176,17 @@ "use strict"; | ||
}, { | ||
key: "post", | ||
value: function post(url, queryParams, body, options) { | ||
return this.request("POST", url, queryParams, body, options); | ||
} | ||
}, { | ||
key: "patch", | ||
value: function patch(url, queryParams, body, options) { | ||
return this.request("PATCH", url, queryParams, body, options); | ||
} | ||
}, { | ||
key: "delete", | ||
value: function _delete(url, queryParams, body, options) { | ||
return this.request("DELETE", url, queryParams, body, options); | ||
} | ||
}, { | ||
key: "request", | ||
@@ -178,0 +193,0 @@ value: function () { |
@@ -13,3 +13,3 @@ "use strict"; | ||
Object.assign(this, options); | ||
this.options = options; | ||
this.url = url; | ||
@@ -16,0 +16,0 @@ this.originalUrl = originalUrl; |
{ | ||
"name": "api-reach", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"repository": "https://github.com/dzek69/api-reach.git", | ||
@@ -5,0 +5,0 @@ "author": "Jacek Nowacki @dzek69 <git-public@dzek.eu>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
169486
1924