@replicode/parallax
Advanced tools
Comparing version 1.2.11 to 1.2.12
@@ -93,4 +93,6 @@ "use strict"; | ||
let response = await this.client.get(route, { params }); | ||
if (response.data == null || response.data == '') { | ||
return null; | ||
} | ||
let data = response.data; | ||
console.dir(data); | ||
return data; | ||
@@ -100,3 +102,2 @@ } | ||
this.logger.log(e); | ||
console.dir(e); | ||
return null; | ||
@@ -103,0 +104,0 @@ } |
{ | ||
"name": "@replicode/parallax", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
@@ -115,8 +115,10 @@ import { Injectable, Logger } from '@nestjs/common'; | ||
let response = await this.client.get(route, { params }); | ||
if (response.data == null || response.data == '') { | ||
return null; | ||
} | ||
let data:Parallax.TxnERC721[] = response.data as Parallax.TxnERC721[]; | ||
console.dir(data); | ||
return data; | ||
} catch (e) { | ||
this.logger.log(e); | ||
console.dir(e); | ||
return null; | ||
@@ -123,0 +125,0 @@ } |
Sorry, the diff of this file is not supported yet
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
53719
1213