@contrail/flexplm 1.1.12 → 1.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.
@@ -739,10 +739,8 @@ class BaseProcessPublishAssortment {
739
739
  }
740
740
  if (id === itemFamilyChanges.itemFamilyId && Object.keys(projectItem).length == 0) {
741
741
  for (const asstItem of itemFamilyChanges.assortmentItemFullChangeMap.values()) {
742
- const item = asstItem?.item;
743
- if (item?.roles?.includes('color') && asstItem?.projectItem) {
744
- projectItem = Object.assign({}, asstItem?.projectItem);
745
- projectItem.roles = ['family'];
742
+ if (asstItem?.familyProjectItem) {
743
+ projectItem = asstItem?.familyProjectItem;
746
744
  break;
747
745
  }
748
746
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/flexplm",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Library used for integration with flexplm.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",