@umijs/use-request
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -44,3 +44,3 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } | ||
var _useAsync = useAsync(service, _objectSpread({}, restOptions, { | ||
var _useAsync = useAsync(service, _objectSpread({ | ||
defaultParams: [{ | ||
@@ -50,3 +50,3 @@ current: 1, | ||
}] | ||
})), | ||
}, restOptions)), | ||
data = _useAsync.data, | ||
@@ -53,0 +53,0 @@ params = _useAsync.params, |
@@ -55,3 +55,3 @@ "use strict"; | ||
var _useAsync = (0, _useAsync2.default)(service, _objectSpread({}, restOptions, { | ||
var _useAsync = (0, _useAsync2.default)(service, _objectSpread({ | ||
defaultParams: [{ | ||
@@ -61,3 +61,3 @@ current: 1, | ||
}] | ||
})), | ||
}, restOptions)), | ||
data = _useAsync.data, | ||
@@ -64,0 +64,0 @@ params = _useAsync.params, |
{ | ||
"name": "@umijs/use-request", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "React Hooks for fetching, caching and updating asynchronous data", | ||
@@ -38,3 +38,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@umijs/hooks": "^1.8.1", | ||
"@umijs/hooks": "^1.9.0", | ||
"axios": "^0.19.2" | ||
@@ -41,0 +41,0 @@ }, |
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
123576