Socket
Socket
Sign inDemoInstall

tso-data-models

Package Overview
Dependencies
47
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

3

lib/models/epoch/OpenEpoch.js

@@ -47,5 +47,4 @@ "use strict";

OpenEpoch.prototype.updateEndTime = function () {
var tempEnd = new Date(this.epochStart * 1000);
var timeToAdd = 120 * 1000;
this.epochEnd = tempEnd.getMilliseconds() + timeToAdd;
this.epochEnd = this.epochStart + timeToAdd;
};

@@ -52,0 +51,0 @@ OpenEpoch.prototype.getDataFromBlockChain = function () {

{
"name": "tso-data-models",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

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

@@ -15,5 +15,4 @@ import { PriceSubmission } from "./PriceSubmission";

updateEndTime(): void {
const tempEnd: Date = new Date(this.epochStart * 1000);
const timeToAdd = 120 * 1000;
this.epochEnd = tempEnd.getMilliseconds() + timeToAdd;
this.epochEnd = this.epochStart + timeToAdd;
}

@@ -20,0 +19,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc