Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Sep 25, 2023
1 parent d7b9a7b commit a6e0e4d
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 75 deletions.
6 changes: 3 additions & 3 deletions packages/ensjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"cbor": "^8.1.0",
"dns-packet": "^5.3.1",
"graphql": "^16.3.0",
"graphql-request": "5.1.0",
"graphql-request": "6.1.0",
"pako": "^2.1.0",
"traverse": "^0.6.6"
},
Expand Down Expand Up @@ -143,10 +143,10 @@
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^4.0.0-next.16",
"typescript": "^5.1.6",
"viem": "^1.6.0",
"viem": "^1.12.2",
"wait-on": "^6.0.1"
},
"peerDependencies": {
"viem": "^1.6.0"
"viem": "^1.12.2"
}
}
4 changes: 2 additions & 2 deletions packages/ensjs/src/functions/subgraph/client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Kind, SelectionNode, SelectionSetNode } from 'graphql'
import type { RequestMiddleware, ResponseMiddleware } from 'graphql-request'
import { GraphQLClient } from 'graphql-request'
import type { RequestMiddleware, Response } from 'graphql-request/dist/types.js'
import { parse, print, visit } from 'graphql/language/index.js'
import traverse from 'traverse'
import type { ClientWithEns } from '../../contracts/consts.js'
Expand Down Expand Up @@ -56,7 +56,7 @@ export const requestMiddleware: RequestMiddleware = (request) => {
}
}

export const responseMiddleware = (response: Response<unknown> | Error) => {
export const responseMiddleware: ResponseMiddleware = (response) => {
traverse(response).forEach(function (responseItem: unknown) {
if (
responseItem instanceof Object &&
Expand Down
Loading

0 comments on commit a6e0e4d

Please sign in to comment.