@common-stack/frontend-stack-react 6.0.6-alpha.50 → 6.0.6-alpha.51

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.
@@ -42,9 +42,10 @@ const createApolloClient = ({ scope, isDev, isDebug, isSSR, getDataIdFromObject,
42
42
  const connectionParams = async () => {
43
43
  logger.debug('Getting WebSocket connection parameters');
44
44
  const param = {};
45
- for (const connectionParam of clientState.connectionParams) {
45
+ const promises = await Promise.all(clientState.connectionParams);
46
+ for (const connectionParam of promises) {
46
47
  const result = await connectionParam();
47
- merge(param, await result());
48
+ merge(param, result);
48
49
  }
49
50
  return param;
50
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/frontend-stack-react",
3
- "version": "6.0.6-alpha.50",
3
+ "version": "6.0.6-alpha.51",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -96,5 +96,5 @@
96
96
  "typescript": {
97
97
  "definition": "lib/index.d.ts"
98
98
  },
99
- "gitHead": "1480cb5cc450e52664029ce217b71f52a49f8b86"
99
+ "gitHead": "31fff213fc19e8c326e6e8cdc243c9b6ddd9393a"
100
100
  }