inves-broker
Advanced tools
Comparing version 0.2.94 to 0.2.95
@@ -158,3 +158,3 @@ "use strict"; | ||
orderType: this.transformPaytmToKiteOrderType(order.order_type), | ||
transactionType: this.transformPaytmToKiteTransactionType(order.transaction_type), | ||
transactionType: this.transformPaytmToKiteTransactionType(order.trxn_type), | ||
validity: order.validity, | ||
@@ -433,3 +433,3 @@ product: this.transformPaytmToKiteProduct(order.product), | ||
transformPaytmToKiteVariety(product, off_mkt_flag) { | ||
if (off_mkt_flag) { | ||
if (off_mkt_flag === 'true') { | ||
return "amo"; | ||
@@ -436,0 +436,0 @@ } |
{ | ||
"name": "inves-broker", | ||
"version": "0.2.94", | ||
"version": "0.2.95", | ||
"description": "Interact with multiple broker APIs in the Indian stock market.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -182,3 +182,3 @@ import { | ||
orderType: this.transformPaytmToKiteOrderType(order.order_type), | ||
transactionType: this.transformPaytmToKiteTransactionType(order.transaction_type), | ||
transactionType: this.transformPaytmToKiteTransactionType(order.trxn_type), | ||
validity: order.validity, | ||
@@ -457,4 +457,4 @@ product: this.transformPaytmToKiteProduct(order.product), | ||
private transformPaytmToKiteVariety(product: string, off_mkt_flag: boolean): string { | ||
if (off_mkt_flag) { | ||
private transformPaytmToKiteVariety(product: string, off_mkt_flag: string): string { | ||
if (off_mkt_flag === 'true') { | ||
return "amo"; | ||
@@ -461,0 +461,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226089