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