@lendi/integrations-transform 1.7.7 → 1.7.8

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.
@@ -167,9 +167,9 @@ function transformAsset({ asset, applicationId, id }) {
167
167
  break;
168
168
  case 'estimatedValue':
169
169
  if (asset.isConstruction) {
170
- (0, lodash_1.set)(partialApplication, constructionDetailsMapping[key], value);
170
+ (0, lodash_1.set)(partialApplication, constructionDetailsMapping[key], Math.trunc(value));
171
171
  }
172
- (0, lodash_1.set)(partialApplication, assetMapping[key], value);
172
+ (0, lodash_1.set)(partialApplication, assetMapping[key], Math.trunc(value));
173
173
  break;
174
174
  default:
175
175
  (0, lodash_1.set)(partialApplication, assetMapping[key], value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lendi/integrations-transform",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Library for kafka event data transforming",
5
5
  "author": "Integrations <integrations@lendi.com.au>",
6
6
  "homepage": "https://bitbucket.org/lendi-dev/integrations-shared-packages#readme",