diff --git a/.changeset/nervous-pears-boil.md b/.changeset/nervous-pears-boil.md new file mode 100644 index 0000000..8bf666b --- /dev/null +++ b/.changeset/nervous-pears-boil.md @@ -0,0 +1,5 @@ +--- +"@labdigital/graphql-fetcher": patch +--- + +update imports for ast diff --git a/src/client.ts b/src/client.ts index 974a6ae..985d85b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -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 = { /** diff --git a/src/server.ts b/src/server.ts index c023997..6ee4df1 100644 --- a/src/server.ts +++ b/src/server.ts @@ -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;