tango-app-api-analysis-traffic 3.0.0-alpha.26 → 3.0.0-alpha.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-analysis-traffic",
3
- "version": "3.0.0-alpha.26",
3
+ "version": "3.0.0-alpha.27",
4
4
  "description": "Traffic Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -146,6 +146,8 @@ export const overallCardsV1 = async ( req, res ) => {
146
146
  return res.sendError( 'Invalid Client Id', 400 );
147
147
  }
148
148
  reqestData.featureConfigs = getClientData.featureConfigs;
149
+ reqestData.currency = getClientData.paymentInvoice?.currencyType || 'inr';
150
+ reqestData.revenue = getClientData.averageTransactionValue || '0';
149
151
  let LamdaURL = 'https://dugu3ghkgalnpaydf2wdjp37240pzcmy.lambda-url.ap-south-1.on.aws/';
150
152
  let resultData = await LamdaServiceCall( LamdaURL, reqestData );
151
153
  if ( resultData ) {