@bcrumbs.net/bc-api 0.0.24 → 0.0.26

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 CHANGED
@@ -4,7 +4,7 @@ var client = require('@apollo/client');
4
4
  var error = require('@apollo/client/link/error');
5
5
  var context = require('@apollo/client/link/context');
6
6
  var apolloLinkRest = require('apollo-link-rest');
7
- var withApollo = require('next-with-apollo');
7
+ var nextWithApollo = require('next-with-apollo');
8
8
  var decode = require('jwt-decode');
9
9
  var dateFns = require('date-fns');
10
10
  var Stream = require('stream');
@@ -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 = nextWithApollo.withApollo(({
6931
6931
  initialState
6932
6932
  }) =>
6933
6933
  // @ts-expect-error TypeScript is complaining
@@ -90973,7 +90973,7 @@ const showcaseClient = new client.ApolloClient({
90973
90973
  });
90974
90974
  // Export a HOC from next-with-apollo
90975
90975
  // Docs: https://www.npmjs.com/package/next-with-apollo
90976
- const withShowcaseClient = withApollo(({
90976
+ const withShowcaseClient = nextWithApollo.withApollo(({
90977
90977
  initialState
90978
90978
  }) =>
90979
90979
  // @ts-expect-error will be fixed later
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 } from 'next-with-apollo';
6
6
  import decode from 'jwt-decode';
7
7
  import { isAfter } from 'date-fns';
8
8
  import Stream from 'stream';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bcrumbs.net/bc-api",
3
3
  "description": "The SDK that helps to work with Bread Crumbs APIs",
4
- "version": "0.0.24",
4
+ "version": "0.0.26",
5
5
  "keyword": [
6
6
  "bcrumbs",
7
7
  "bc-api"