diff --git a/src/createLazyQuery.ts b/src/createLazyQuery.ts index 6b6d122..a40e269 100644 --- a/src/createLazyQuery.ts +++ b/src/createLazyQuery.ts @@ -1,4 +1,4 @@ -import { mergeOptions } from '@apollo/client/core' +import { mergeOptions } from '@apollo/client/core/index.js' import type { QueryOptions, OperationVariables, ApolloError } from '@apollo/client/core' import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' import type { Accessor } from 'solid-js' diff --git a/src/createMutation.ts b/src/createMutation.ts index 942c159..22a9a71 100644 --- a/src/createMutation.ts +++ b/src/createMutation.ts @@ -1,4 +1,4 @@ -import { mergeOptions } from '@apollo/client/core' +import { mergeOptions } from '@apollo/client/core/index.js' import type { DefaultContext, OperationVariables, MutationOptions, FetchResult } from '@apollo/client/core' import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' import type { GraphQLError } from 'graphql' diff --git a/src/index.ts b/src/index.ts index 9581612..e4e37a3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,4 +3,4 @@ export * from './createQuery' export * from './createMutation' export * from './createSubscription' export * from './createLazyQuery' -export { ApolloClient, InMemoryCache, gql } from '@apollo/client/core' +export { ApolloClient, InMemoryCache, gql } from '@apollo/client/core/index.js'