@pega/dx-component-builder-sdk 24.1.11 → 24.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "24.1.11",
3
+ "version": "24.1.13",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -208,6 +208,6 @@ export default async options => {
208
208
  }
209
209
  }
210
210
 
211
- process.exit(1);
211
+ process.exit();
212
212
 
213
213
  };
@@ -73,7 +73,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
73
73
  const [waitingForData, setWaitingForData] = useState<boolean>(true);
74
74
  const thePConn = getPConnect();
75
75
  const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
76
- const dataViewName = 'D_pyWorkHistory';
76
+ const dataViewName = 'D_pyMyWorkList';
77
77
  const context = thePConn.getContextName();
78
78
 
79
79
  const rowData: any = useRef([]);
@@ -228,7 +228,7 @@ export const publishComponentToServer = async (data, doFetch = true) => {
228
228
 
229
229
  const configContentObj = JSON.parse(configContent);
230
230
 
231
- if (configContentObj.type == null || configContentObj.subtype == null) {
231
+ if (!configContentObj.type) {
232
232
  console.log(chalk.bold.yellow(`No config-ext to publish for ${componentKey}`));
233
233
  return;
234
234
  }
@@ -73,7 +73,7 @@ export default function PegaDxilMyPageWidget(props: PegaDxilMyPageWidgetProps) {
73
73
  const [waitingForData, setWaitingForData] = useState<boolean>(true);
74
74
  const thePConn = getPConnect();
75
75
  const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
76
- const dataViewName = 'D_pyWorkHistory';
76
+ const dataViewName = 'D_pyMyWorkList';
77
77
  const context = thePConn.getContextName();
78
78
 
79
79
  const rowData: any = useRef([]);