Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dtux-fetch", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "dtux-fetch", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "build": "rollup -c", |
@@ -7,2 +7,7 @@ # dtux-fetch | ||
## Features | ||
- support abort. | ||
- promise. | ||
- global data setting. | ||
## API | ||
@@ -18,2 +23,3 @@ | ||
}); | ||
request({ | ||
@@ -35,2 +41,3 @@ url: 'api/test', | ||
}); | ||
const requestPromise = request( | ||
@@ -56,2 +63,3 @@ { | ||
); | ||
requestPromise | ||
@@ -63,2 +71,3 @@ .then(checkStatus) | ||
}); | ||
setTimeout(() => { | ||
@@ -65,0 +74,0 @@ requestPromise.abort(); |
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
7725
73