extend-ajax
Advanced tools
Comparing version 2.1.2 to 2.1.3
# Changes | ||
# 2.1.3 | ||
- Fix(AjaxOptions.query): query string format exception.(encodeURI -> encodeURIComponent) | ||
- Fix(index.d.ts): HttpMethod don't support the `Patch` method. | ||
# 2.1.2 | ||
- Fix(formatData): formData handle error. | ||
# 2.1.1 | ||
@@ -4,0 +13,0 @@ |
@@ -1,2 +0,2 @@ | ||
declare type HttpMethod = 'get' | 'post' | 'delete' | 'put' | 'jsonp'; | ||
declare type HttpMethod = 'get' | 'post' | 'delete' | 'put' | 'patch' | 'jsonp'; | ||
declare type CallBack = (data?: any) => void; | ||
@@ -3,0 +3,0 @@ declare type EventType = 'success' | 'fail' | 'start' | 'end' | 'timeout' | 'abort' | 'progress'; |
{ | ||
"name": "extend-ajax", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "an AJAX request library", | ||
@@ -5,0 +5,0 @@ "main": "dist/extend-ajax.js", |
@@ -0,0 +0,0 @@ # extend-ajax |
@@ -0,0 +0,0 @@ # extend-ajax |
29847