@contrail/flexplm 1.3.2-alpha.833d673 → 1.3.2-alpha.8cba533

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.
@@ -110,6 +110,9 @@ class DataConverter {
110
110
  else if ('userList' === propertyType) {
111
111
  value = await this.getUserListValue(prop, newData);
112
112
  }
113
+ else if ('size_range' === propertyType) {
114
+ value = nd;
115
+ }
113
116
  return value;
114
117
  }
115
118
  getEnumerationValue(prop, nd) {
@@ -292,7 +295,7 @@ class DataConverter {
292
295
  value = await this.setUserListValue(prop, nd);
293
296
  }
294
297
  else if ('size_range' === propertyType) {
295
- value = nd || {};
298
+ value = nd;
296
299
  }
297
300
  return value;
298
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/flexplm",
3
- "version": "1.3.2-alpha.833d673",
3
+ "version": "1.3.2-alpha.8cba533",
4
4
  "description": "Library used for integration with flexplm.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -119,6 +119,8 @@ export class DataConverter {
119
119
  value = nd;
120
120
  } else if ('userList' === propertyType) {
121
121
  value = await this.getUserListValue(prop, newData);
122
+ }else if ('size_range' === propertyType){
123
+ value = nd;
122
124
  }
123
125
 
124
126
  return value;
@@ -354,7 +356,7 @@ export class DataConverter {
354
356
  } else if ('userList' === propertyType) {
355
357
  value = await this.setUserListValue(prop, nd);
356
358
  }else if ('size_range' === propertyType){
357
- value = nd || {};
359
+ value = nd;
358
360
  }
359
361
 
360
362
  // console.log(value);