@common-stack/frontend-stack-react 6.0.6-alpha.23 → 6.0.6-alpha.29

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.
@@ -64,7 +64,7 @@ const containerMiddleware = async (req, res, next) => {
64
64
  logger.debug(`Successfully cleaned up - ID: ${requestId}`);
65
65
  }
66
66
  catch (error) {
67
- logger.error(`Error during container cleanup - ID: ${requestId}`, error);
67
+ logger.error(error, 'Error during container cleanup - ID: [%s]', requestId);
68
68
  }
69
69
  });
70
70
  next();
@@ -14,7 +14,7 @@ const initializeCache = ({ cache, initialState, clientState, logger }) => {
14
14
  logger.debug('Cache restored with initial state');
15
15
  }
16
16
  catch (err) {
17
- logger.error('Error restoring cache', err);
17
+ logger.error(err, 'Error restoring cache');
18
18
  }
19
19
  }
20
20
  else {
@@ -28,7 +28,7 @@ const initializeCache = ({ cache, initialState, clientState, logger }) => {
28
28
  }
29
29
  }
30
30
  catch (err) {
31
- logger.error('Error writing to cache', err);
31
+ logger.error(err, 'Error writing to cache');
32
32
  }
33
33
  });
34
34
  }
@@ -32,7 +32,7 @@ const createApolloClient = ({ scope, isDev, isDebug, isSSR, getDataIdFromObject,
32
32
  return !!result.find((item) => item && isBoolean(item));
33
33
  }
34
34
  catch (e) {
35
- logger.error('Error occurred in retryLink attempt condition', e);
35
+ logger.error(e, 'Error occurred in retryLink attempt condition');
36
36
  throw e;
37
37
  }
38
38
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/frontend-stack-react",
3
- "version": "6.0.6-alpha.23",
3
+ "version": "6.0.6-alpha.29",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "@cdm-logger/client": "^9.0.3",
34
34
  "@cdm-logger/server": "^9.0.3",
35
35
  "@common-stack/client-core": "6.0.6-alpha.5",
36
- "@common-stack/client-react": "6.0.6-alpha.17",
36
+ "@common-stack/client-react": "6.0.6-alpha.29",
37
37
  "@common-stack/components-pro": "6.0.6-alpha.5",
38
38
  "@common-stack/core": "6.0.6-alpha.5",
39
39
  "@common-stack/remix-router-redux": "6.0.6-alpha.14",
@@ -96,5 +96,5 @@
96
96
  "typescript": {
97
97
  "definition": "lib/index.d.ts"
98
98
  },
99
- "gitHead": "bf10ace08f9dd36efeca8a39716e8d11fa6f6309"
99
+ "gitHead": "aa66043992d4bf6bf28cc00791945d04909e56c2"
100
100
  }