Skip to content

Commit

Permalink
chore: remove abort controller
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Dec 17, 2024
1 parent 07a60cd commit a6ef545
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ module.exports = {
name: 'Buffer',
message: 'Global buffer is not supported on all platforms. Import buffer from `src/utils/buffer`',
},
{
name: 'AbortController',
message:
"Global AbortController is not supported on all platforms. Use `import { AbortController } from 'abort-controller'`",
},
],
},
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/transport/HttpOutboundTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { AgentMessageReceivedEvent } from '../agent/Events'
import type { Logger } from '../logger'
import type { OutboundPackage } from '../types'

import { AbortController } from 'abort-controller'
import { Subject } from 'rxjs'

import { AgentEventTypes } from '../agent/Events'
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/utils/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type { AgentDependencies } from '../agent/AgentDependencies'

import { AbortController } from 'abort-controller'

export async function fetchWithTimeout(
fetch: AgentDependencies['fetch'],
url: string,
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/utils/parseInvitation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { AgentDependencies } from '../agent/AgentDependencies'

import { AbortController } from 'abort-controller'
import { parseUrl } from 'query-string'

import { AgentMessage } from '../agent/AgentMessage'
Expand Down

0 comments on commit a6ef545

Please sign in to comment.