@common-stack/frontend-stack-react 8.0.2-alpha.1 → 8.2.1-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.
package/LICENSE CHANGED
@@ -1,21 +1,34 @@
1
- The MIT License
2
-
3
- Copyright (c) 2017 CDMBase LLC.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ PROPRIETARY LICENSE
2
+
3
+ Copyright (c) 2017-2025 CDMBase LLC. All Rights Reserved.
4
+
5
+ This software and associated documentation files (the "Software") are the
6
+ proprietary and confidential information of CDMBase LLC ("Confidential Information").
7
+
8
+ NOTICE: All information contained herein is, and remains the property of
9
+ CDMBase LLC. The intellectual and technical concepts contained herein are
10
+ proprietary to CDMBase LLC and may be covered by U.S. and Foreign Patents,
11
+ patents in process, and are protected by trade secret or copyright law.
12
+
13
+ Dissemination of this information or reproduction of this material is strictly
14
+ forbidden unless prior written permission is obtained from CDMBase LLC.
15
+
16
+ NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL
17
+ PROPERTY RIGHTS ARE GRANTED BY THIS DOCUMENT.
18
+
19
+ RESTRICTIONS:
20
+ 1. You may NOT use, copy, modify, merge, publish, distribute, sublicense,
21
+ and/or sell copies of the Software without explicit written permission
22
+ from CDMBase LLC.
23
+ 2. You may NOT reverse engineer, decompile, or disassemble the Software.
24
+ 3. You may NOT remove or alter any proprietary notices or labels on the Software.
25
+ 4. The Software is licensed, not sold.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30
+ CDMBASE LLC BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
31
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
32
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
+
34
+ For licensing inquiries, please contact: legal@cdmbase.com
@@ -1,3 +1,3 @@
1
1
  import { Feature } from '@common-stack/server-core';
2
- declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope, any>;
2
+ declare const _default: Feature<any, any>;
3
3
  export default _default;
@@ -42,10 +42,16 @@ 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
- const promises = await Promise.all(clientState.connectionParams);
46
- for (const connectionParam of promises) {
47
- const result = await connectionParam();
48
- merge(param, result);
45
+ const list = Array.isArray(clientState?.connectionParams) ? clientState.connectionParams : [];
46
+ for (const entry of list) {
47
+ try {
48
+ const value = typeof entry === 'function' ? await entry() : await entry;
49
+ if (value)
50
+ merge(param, value);
51
+ }
52
+ catch (e) {
53
+ logger.warn && logger.warn('connectionParams entry failed', e);
54
+ }
49
55
  }
50
56
  return param;
51
57
  };
@@ -36,6 +36,7 @@ const createReduxStore = ({ scope, isDebug, isDev, reducers, rootEpic, enhancers
36
36
  REGISTER,
37
37
  ...(reduxConfig?.ignoredActions || []),
38
38
  ],
39
+ ignoredPaths: [...(reduxConfig?.ignoredPaths || [])],
39
40
  },
40
41
  }).concat(...middlewares),
41
42
  devTools: isDev || isDebug,
package/lib/modules.d.ts CHANGED
@@ -1,4 +1,9 @@
1
1
  import { Feature } from '@common-stack/client-react';
2
2
  declare const features: Feature;
3
- export declare const plugins: import("@common-stack/client-react").WorbenchExtension[];
3
+ export declare const plugins: {
4
+ index: number;
5
+ name: string;
6
+ icon: string | React.ComponentElement<any, any> | Function;
7
+ render: React.FC | any;
8
+ }[];
4
9
  export default features;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/frontend-stack-react",
3
- "version": "8.0.2-alpha.1",
3
+ "version": "8.2.1-alpha.0",
4
4
  "description": "Client Module for react app",
5
5
  "homepage": "https://github.com/cdmbase/fullstack-pro#readme",
6
6
  "bugs": {
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/cdmbase/fullstack-pro.git"
12
12
  },
13
- "license": "ISC",
13
+ "license": "UNLICENSED",
14
14
  "author": "CDMBase LLC",
15
15
  "type": "module",
16
16
  "main": "lib/index.js",
@@ -30,15 +30,15 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@apollo/client": "^3.9.0",
33
- "@cdm-logger/client": "^9.0.3",
34
- "@cdm-logger/server": "^9.0.3",
35
- "@common-stack/cache-api-server": "8.0.2-alpha.0",
36
- "@common-stack/client-core": "8.0.2-alpha.0",
37
- "@common-stack/client-react": "8.0.2-alpha.1",
38
- "@common-stack/components-pro": "8.0.2-alpha.1",
39
- "@common-stack/core": "8.0.2-alpha.0",
40
- "@common-stack/remix-router-redux": "8.0.1-alpha.0",
41
- "@common-stack/server-core": "8.0.2-alpha.0",
33
+ "@cdm-logger/client": "^9.0.8",
34
+ "@cdm-logger/server": "^9.0.15",
35
+ "@common-stack/cache-api-server": "8.2.1-alpha.0",
36
+ "@common-stack/client-core": "8.2.1-alpha.0",
37
+ "@common-stack/client-react": "8.2.1-alpha.0",
38
+ "@common-stack/components-pro": "8.2.1-alpha.0",
39
+ "@common-stack/core": "8.2.1-alpha.0",
40
+ "@common-stack/remix-router-redux": "8.2.1-alpha.0",
41
+ "@common-stack/server-core": "8.2.1-alpha.0",
42
42
  "@reduxjs/toolkit": "^2.2.6",
43
43
  "@remix-run/express": "~2.15.3",
44
44
  "@remix-run/node": "~2.15.3",
@@ -101,5 +101,5 @@
101
101
  "typescript": {
102
102
  "definition": "lib/index.d.ts"
103
103
  },
104
- "gitHead": "82a7dcad7dc514c2cc92ec8f12832838c1fbec1a"
104
+ "gitHead": "b46db06f987271c3a2e050f081e266d3a01b285b"
105
105
  }