@common-stack/mobile-stack-react 6.0.6-alpha.27 → 6.0.6-alpha.49
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.
|
@@ -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'
|
|
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'
|
|
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'
|
|
35
|
+
logger.error(e, 'Error occurred in retryLink attempt condition');
|
|
36
36
|
throw e;
|
|
37
37
|
}
|
|
38
38
|
},
|
|
@@ -58,7 +58,7 @@ const createApolloClient = ({ scope, isDev, isDebug, isSSR, getDataIdFromObject,
|
|
|
58
58
|
on: {
|
|
59
59
|
connected: (socket) => logger.debug('WebSocket connected'),
|
|
60
60
|
error: async (error) => {
|
|
61
|
-
logger.error('WebSocket connection error'
|
|
61
|
+
logger.error(error, 'WebSocket connection error');
|
|
62
62
|
const promises = (clientState.connectionCallbackFuncs || []).map((func) => func(wsLink, error, {}));
|
|
63
63
|
try {
|
|
64
64
|
await Promise.all(promises);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/mobile-stack-react",
|
|
3
|
-
"version": "6.0.6-alpha.
|
|
3
|
+
"version": "6.0.6-alpha.49",
|
|
4
4
|
"description": "Client Module for mobile app",
|
|
5
5
|
"homepage": "https://github.com/cdmbase/fullstack-pro#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@apollo/client": "^3.9.0",
|
|
33
33
|
"@cdm-logger/client": "^9.0.3",
|
|
34
|
-
"@common-stack/client-core": "6.0.6-alpha.
|
|
35
|
-
"@common-stack/client-react": "6.0.6-alpha.
|
|
34
|
+
"@common-stack/client-core": "6.0.6-alpha.49",
|
|
35
|
+
"@common-stack/client-react": "6.0.6-alpha.49",
|
|
36
36
|
"@common-stack/components-pro": "6.0.6-alpha.5",
|
|
37
37
|
"@common-stack/core": "6.0.6-alpha.5",
|
|
38
38
|
"@expo/vector-icons": "~13.0.0",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"typescript": {
|
|
134
134
|
"definition": "lib/index.d.ts"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "c1175d0ebdcf9cd31f16d606892b10c53b404a5d"
|
|
137
137
|
}
|