Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tso-data-models

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tso-data-models - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

2

lib/models/epoch/PriceSubmission.js

@@ -26,3 +26,3 @@ "use strict";

PriceSubmission.prototype.isTargetSubmitTime = function () {
return this.targetSubmitTime >= ethers_1.BigNumber.from(Date.now());
return this.targetSubmitTime.gte(Date.now());
};

@@ -29,0 +29,0 @@ return PriceSubmission;

{
"name": "tso-data-models",
"version": "1.0.15",
"version": "1.0.16",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -38,3 +38,3 @@ import { BigNumber, ethers } from "ethers";

isTargetSubmitTime() {
return this.targetSubmitTime >= BigNumber.from(Date.now());
return this.targetSubmitTime.gte(Date.now());
}

@@ -41,0 +41,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc