- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
20 lines
419 B
JavaScript
20 lines
419 B
JavaScript
'use strict'
|
|
const RetryHandler = require('../handler/retry-handler')
|
|
|
|
module.exports = globalOpts => {
|
|
return dispatch => {
|
|
return function retryInterceptor (opts, handler) {
|
|
return dispatch(
|
|
opts,
|
|
new RetryHandler(
|
|
{ ...opts, retryOptions: { ...globalOpts, ...opts.retryOptions } },
|
|
{
|
|
handler,
|
|
dispatch
|
|
}
|
|
)
|
|
)
|
|
}
|
|
}
|
|
}
|