Skip to content

Commit

Permalink
Properly use cross-fetch instead of phantom node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmischka committed Jan 12, 2023
1 parent 12b3c35 commit 60cc72a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@interval/envoy": "^1.0.1",
"@types/dedent": "^0.7.0",
"@types/node": "^17.0.8",
"@types/node-fetch": "^2.0.0",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.2.0",
"nodemon": "^2.0.20",
Expand Down
2 changes: 1 addition & 1 deletion src/classes/IntervalClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { z, ZodError } from 'zod'
import { v4 } from 'uuid'
import { WebSocket } from 'ws'
import fetch from 'node-fetch'
import fetch from 'cross-fetch'
import * as superjson from 'superjson'
import { JSONValue } from 'superjson/dist/types'
import ISocket, { TimeoutError } from './ISocket'
Expand Down

0 comments on commit 60cc72a

Please sign in to comment.