catchup-library-web 1.2.5 → 1.2.6

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/dist/index.js CHANGED
@@ -2766,7 +2766,10 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
2766
2766
  });
2767
2767
  const groupName = key;
2768
2768
  let currentText = "";
2769
- materialMap[groupName].forEach((item) => {
2769
+ console.log("group name: ", groupName);
2770
+ console.log("material map: ", materialMap);
2771
+ console.log("material map group name: ", materialMap[groupName]);
2772
+ JSON.parse(materialMap[groupName]).forEach((item) => {
2770
2773
  currentText += `${item}, `;
2771
2774
  });
2772
2775
  currentText = currentText.substring(0, currentText.length - 2);
package/dist/index.mjs CHANGED
@@ -2586,7 +2586,10 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
2586
2586
  });
2587
2587
  const groupName = key;
2588
2588
  let currentText = "";
2589
- materialMap[groupName].forEach((item) => {
2589
+ console.log("group name: ", groupName);
2590
+ console.log("material map: ", materialMap);
2591
+ console.log("material map group name: ", materialMap[groupName]);
2592
+ JSON.parse(materialMap[groupName]).forEach((item) => {
2590
2593
  currentText += `${item}, `;
2591
2594
  });
2592
2595
  currentText = currentText.substring(0, currentText.length - 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -2080,7 +2080,10 @@ export const constructActivityItemListMaterialOnly = (
2080
2080
 
2081
2081
  const groupName = key;
2082
2082
  let currentText = "";
2083
- materialMap[groupName].forEach((item: string) => {
2083
+ console.log("group name: ", groupName);
2084
+ console.log("material map: ", materialMap);
2085
+ console.log("material map group name: ", materialMap[groupName]);
2086
+ JSON.parse(materialMap[groupName]).forEach((item: string) => {
2084
2087
  currentText += `${item}, `;
2085
2088
  });
2086
2089
  currentText = currentText.substring(0, currentText.length - 2);