mobx-rest-jquery-adapter
Advanced tools
Comparing version 1.0.7 to 1.1.0
# Changelog | ||
## Version 1.1.0 | ||
Breaking changes: | ||
- From this version on, when calling `abort()` it will resolve the promise instead of rejecting it. | ||
## Version 1.0.4 | ||
@@ -4,0 +10,0 @@ |
@@ -81,3 +81,5 @@ 'use strict'; | ||
var promise = new Promise(function (resolve, reject) { | ||
xhr.done(resolve).fail(function (jqXHR, _textStatus) { | ||
xhr.done(resolve).fail(function (jqXHR, textStatus) { | ||
if (textStatus === 'abort') return resolve({}); | ||
var json = parseJson(jqXHR.responseText); | ||
@@ -84,0 +86,0 @@ var ret = json ? json.errors : {}; |
{ | ||
"name": "mobx-rest-jquery-adapter", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"description": "jQuery adapter for mobx-rest", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
382257
14
7427