tso-data-models
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -26,3 +26,3 @@ "use strict"; | ||
PriceSubmission.prototype.isTargetSubmitTime = function () { | ||
return this.targetSubmitTime.toNumber() >= Date.now(); | ||
return Date.now() >= this.targetSubmitTime.toNumber(); | ||
}; | ||
@@ -29,0 +29,0 @@ return PriceSubmission; |
{ | ||
"name": "tso-data-models", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -38,3 +38,3 @@ import { BigNumber, ethers } from "ethers"; | ||
isTargetSubmitTime() { | ||
return this.targetSubmitTime.toNumber() >= Date.now(); | ||
return Date.now() >= this.targetSubmitTime.toNumber(); | ||
} | ||
@@ -41,0 +41,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