Comparing version 1.4.7 to 1.4.8
@@ -136,3 +136,3 @@ "use strict"; | ||
let isRequestValid = true; | ||
if (type != "forex" && (!exchange || exchange == "")) { | ||
if (type == "crypto" && (!exchange || exchange == "")) { | ||
console.log("Exchange is required for this type of request."); | ||
@@ -139,0 +139,0 @@ isRequestValid = false; |
@@ -131,3 +131,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
let isRequestValid = true; | ||
if (type != "forex" && (!exchange || exchange == "")) { | ||
if (type == "crypto" && (!exchange || exchange == "")) { | ||
console.log("Exchange is required for this type of request."); | ||
@@ -134,0 +134,0 @@ isRequestValid = false; |
{ | ||
"name": "taapi", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"description": "A wrapper and a client for the TAAPI.IO API", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/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
20230