Skip to content

Commit

Permalink
fix: remove more interceptor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Feb 21, 2024
1 parent 6c40513 commit 6eebc30
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 28 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const RetryHandler = require('./lib/handler/RetryHandler')
const { getGlobalDispatcher, setGlobalDispatcher } = require('./lib/global')
const DecoratorHandler = require('./lib/handler/DecoratorHandler')
const RedirectHandler = require('./lib/handler/RedirectHandler')
const createRedirectInterceptor = require('./lib/interceptor/redirectInterceptor')

Object.assign(Dispatcher.prototype, api)

Expand All @@ -33,7 +32,7 @@ module.exports.RetryHandler = RetryHandler

module.exports.DecoratorHandler = DecoratorHandler
module.exports.RedirectHandler = RedirectHandler
module.exports.createRedirectInterceptor = createRedirectInterceptor


Check failure on line 36 in index.js

View workflow job for this annotation

GitHub Actions / lint

More than 1 blank line not allowed

Check failure on line 36 in index.js

View workflow job for this annotation

GitHub Actions / lint

More than 1 blank line not allowed
module.exports.buildConnector = buildConnector
module.exports.errors = errors
Expand Down
21 changes: 0 additions & 21 deletions lib/interceptor/redirectInterceptor.js

This file was deleted.

5 changes: 0 additions & 5 deletions types/interceptors.d.ts

This file was deleted.

0 comments on commit 6eebc30

Please sign in to comment.