Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lendi/integrations-transform

Package Overview
Dependencies
Maintainers
83
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi/integrations-transform - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

3

lib/transform-events/transform-asset.d.ts

@@ -34,4 +34,5 @@ import { LivingExpense } from '@lendi/integrations-credit-protocol/types/lixi-internal-request';

* @param percentOwned: owners of the property
* @param assetId: Asset id
* @param propertyExpenses: propertyExpenses items
*/
export declare function generatePropertyExpenses(percentOwned: PercentOwned, propertyExpenses: PropertyExpense[]): LivingExpense[];
export declare function generatePropertyExpenses(percentOwned: PercentOwned, assetId: string, propertyExpenses: PropertyExpense[]): LivingExpense[];

@@ -95,3 +95,3 @@ "use strict";

}
var propertyExpenses = generatePropertyExpenses(asset.percentOwned, value);
var propertyExpenses = generatePropertyExpenses(asset.percentOwned, id, value);
(0, lodash_1.set)(partialApplication, assetMapping[key], propertyExpenses);

@@ -220,5 +220,6 @@ break;

* @param percentOwned: owners of the property
* @param assetId: Asset id
* @param propertyExpenses: propertyExpenses items
*/
function generatePropertyExpenses(percentOwned, propertyExpenses) {
function generatePropertyExpenses(percentOwned, assetId, propertyExpenses) {
var livingExpenses = [];

@@ -236,3 +237,3 @@ var filteredPropertyExpenses = propertyExpenses.filter(function (expense) { return expense.amount !== undefined; });

'@Frequency': enum_mappings_1.incomeExpenseFrequencyMapping[expense.frequency],
'@UniqueID': (0, uuid_1.v4)(),
'@UniqueID': "".concat((0, uuid_1.v4)(), "-").concat(assetId),
PercentResponsible: {

@@ -239,0 +240,0 @@ Owner: [

{
"name": "@lendi/integrations-transform",
"version": "1.3.5",
"version": "1.3.6",
"description": "Library for kafka event data transforming",

@@ -5,0 +5,0 @@ "author": "Integrations <integrations@lendi.com.au>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc