@bcrumbs.net/bc-api 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1 -1
- package/index.esm.js +2 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6927,7 +6927,7 @@ const dqueryClient = new client.ApolloClient({
|
|
|
6927
6927
|
connectToDevTools: isDevEnv$1,
|
|
6928
6928
|
queryDeduplication: true
|
|
6929
6929
|
});
|
|
6930
|
-
const withDQueryClient = withApollo(({
|
|
6930
|
+
const withDQueryClient = withApollo.withApollo(({
|
|
6931
6931
|
initialState
|
|
6932
6932
|
}) =>
|
|
6933
6933
|
// @ts-expect-error TypeScript is complaining
|
package/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { InMemoryCache, ApolloClient, from, useQuery, createHttpLink, useMutatio
|
|
|
2
2
|
import { onError } from '@apollo/client/link/error';
|
|
3
3
|
import { setContext } from '@apollo/client/link/context';
|
|
4
4
|
import { RestLink } from 'apollo-link-rest';
|
|
5
|
-
import withApollo from 'next-with-apollo';
|
|
5
|
+
import withApollo$1, { withApollo } from 'next-with-apollo';
|
|
6
6
|
import decode from 'jwt-decode';
|
|
7
7
|
import { isAfter } from 'date-fns';
|
|
8
8
|
import Stream from 'stream';
|
|
@@ -90971,7 +90971,7 @@ const showcaseClient = new ApolloClient({
|
|
|
90971
90971
|
});
|
|
90972
90972
|
// Export a HOC from next-with-apollo
|
|
90973
90973
|
// Docs: https://www.npmjs.com/package/next-with-apollo
|
|
90974
|
-
const withShowcaseClient = withApollo(({
|
|
90974
|
+
const withShowcaseClient = withApollo$1(({
|
|
90975
90975
|
initialState
|
|
90976
90976
|
}) =>
|
|
90977
90977
|
// @ts-expect-error will be fixed later
|