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

corporate

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corporate - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

4

lib/camt.053.001.02.js

@@ -73,3 +73,5 @@ 'use strict';

var creditLine = select('a:CdtLine', balElem),
crdtLine = creditLine[0] ? {
crdtLine = creditLine[0] && (
!select('a:Incl', creditLine[0]).length || select('a:Incl/text()', creditLine[0]).toString() === 'true'
) ? {
included: true,

@@ -76,0 +78,0 @@ amount: Number(select('a:Amt/text()', creditLine[0]).toString()),

@@ -28,15 +28,13 @@ 'use strict';

};
if (r.paymentInformationStatus === 'PART') {
r.detailedPayments = Array.prototype.map.call(select('a:TxInfAndSts', info), function(txInfo) {
var tr = {
originalEndToEndId: select('a:OrgnlEndToEndId/text()', txInfo).toString(),
status: select('a:TxSts/text()', txInfo).toString()
};
var tStsRsnInf = select('a:StsRsnInf', txInfo);
if (tStsRsnInf[0]) {
tr.statusReasonInformation = statusReasonInformation(tStsRsnInf[0]);
}
return tr;
});
}
r.detailedPayments = Array.prototype.map.call(select('a:TxInfAndSts', info), function(txInfo) {
var tr = {
originalEndToEndId: select('a:OrgnlEndToEndId/text()', txInfo).toString(),
status: select('a:TxSts/text()', txInfo).toString()
};
var tStsRsnInf = select('a:StsRsnInf', txInfo);
if (tStsRsnInf[0]) {
tr.statusReasonInformation = statusReasonInformation(tStsRsnInf[0]);
}
return tr;
});
var pStsRsnInf = select('a:StsRsnInf', info);

@@ -43,0 +41,0 @@ if (pStsRsnInf[0]) {

{
"name": "corporate",
"version": "0.0.15",
"version": "0.0.16",
"description": "A module for parsing (mostly) ISO20022 messages",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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