Skip to content

Commit

Permalink
fix: update imports for ast to esmodule imports
Browse files Browse the repository at this point in the history
  • Loading branch information
korsvanloon committed Nov 1, 2024
1 parent 78b4b24 commit 1e1d13d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-pears-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@labdigital/graphql-fetcher": patch
---

update imports for ast
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
mergeHeaders,
} from "./helpers";
import { print } from "graphql";
import { isNode } from "graphql/language/ast";
import { isNode } from "graphql/language/ast.js";

type Options = {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
pruneObject,
} from "./helpers";
import { print } from "graphql";
import { isNode } from "graphql/language/ast";
import { isNode } from "graphql/language/ast.js";

type RequestOptions = {
signal?: AbortSignal;
Expand Down

0 comments on commit 1e1d13d

Please sign in to comment.