Comparing version 0.2.6 to 0.2.7
@@ -159,3 +159,2 @@ const axios = require('axios') | ||
.then(response => { | ||
console.log(response) | ||
if (!Object.keys(response.data).length) | ||
@@ -257,3 +256,3 @@ reject(false) | ||
if (this.companyAccount[el].length) { | ||
if (this.companyAccount[el].length && this.companyAccount[el][0]) { | ||
list.push([ | ||
@@ -272,4 +271,2 @@ this.nativeCurrency[el], | ||
console.log(list) | ||
resolve(true) | ||
@@ -314,3 +311,3 @@ }) | ||
Object.keys(this.companyAccount).map((el) => { | ||
if (this.companyAccount[el].length) { | ||
if (this.companyAccount[el].length && this.companyAccount[el][0]) { | ||
let __amount = Number(amount) / this.rates[this.nativeCurrency[el]] | ||
@@ -317,0 +314,0 @@ if (__amount == NaN || Infinity || undefined) |
{ | ||
"name": "crypttp", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Module to call APIs of crypttp powered by alemey", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14109
331