@common-stack/frontend-stack-react 6.0.6-alpha.95 → 6.0.8-alpha.0

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.
@@ -117,4 +117,15 @@ const createApolloClient = ({ scope, isDev, isDebug, isSSR, getDataIdFromObject,
117
117
  logger.debug('Created new Apollo client');
118
118
  initializeCache({ cache, initialState, clientState, logger });
119
119
  return { apolloClient, cache };
120
- };export{createApolloClient};
120
+ };
121
+ if (__DEV__) {
122
+ // Dynamically import dev messages only in a non-production environment
123
+ import('@apollo/client/dev')
124
+ .then(({ loadErrorMessages, loadDevMessages }) => {
125
+ loadDevMessages();
126
+ loadErrorMessages();
127
+ })
128
+ .catch((error) => {
129
+ console.error('Failed to load Apollo client dev messages', error);
130
+ });
131
+ }export{createApolloClient};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/frontend-stack-react",
3
- "version": "6.0.6-alpha.95",
3
+ "version": "6.0.8-alpha.0",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -32,13 +32,13 @@
32
32
  "@apollo/client": "^3.9.0",
33
33
  "@cdm-logger/client": "^9.0.3",
34
34
  "@cdm-logger/server": "^9.0.3",
35
- "@common-stack/cache-api-server": "6.0.6-alpha.91",
36
- "@common-stack/client-core": "6.0.6-alpha.91",
37
- "@common-stack/client-react": "6.0.6-alpha.91",
38
- "@common-stack/components-pro": "6.0.6-alpha.91",
39
- "@common-stack/core": "6.0.6-alpha.91",
40
- "@common-stack/remix-router-redux": "6.0.6-alpha.91",
41
- "@common-stack/server-core": "6.0.6-alpha.91",
35
+ "@common-stack/cache-api-server": "6.0.8-alpha.0",
36
+ "@common-stack/client-core": "6.0.8-alpha.0",
37
+ "@common-stack/client-react": "6.0.8-alpha.0",
38
+ "@common-stack/components-pro": "6.0.8-alpha.0",
39
+ "@common-stack/core": "6.0.8-alpha.0",
40
+ "@common-stack/remix-router-redux": "6.0.8-alpha.0",
41
+ "@common-stack/server-core": "6.0.8-alpha.0",
42
42
  "@reduxjs/toolkit": "^2.2.6",
43
43
  "@remix-run/express": "~2.10.1",
44
44
  "@remix-run/node": "~2.10.1",
@@ -62,8 +62,8 @@
62
62
  "isbot": "^4.1.0",
63
63
  "isomorphic-fetch": "^2.2.1",
64
64
  "prop-types": "^15.8.1",
65
- "react": "18.2.0",
66
- "react-dom": "18.2.0",
65
+ "react": "18.3.1",
66
+ "react-dom": "18.3.1",
67
67
  "react-i18next": "^14.1.0",
68
68
  "react-redux": "^9.1.1",
69
69
  "redux-observable": "^3.0.0-rc.2",
@@ -100,5 +100,5 @@
100
100
  "typescript": {
101
101
  "definition": "lib/index.d.ts"
102
102
  },
103
- "gitHead": "def5912063d58f63d2274cb3f87d7c86fa90cd07"
103
+ "gitHead": "c2cf7919f46791e092714b9db5e4d01280929437"
104
104
  }