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 2.0.13 to 2.0.14

2

lib/models/epoch/AssetSubmission.d.ts

@@ -15,4 +15,4 @@ import { BigNumber } from "ethers";

export declare class AssetSubmissionFactory {
static fromFirebaseObject(fbObject: Record<string, any>): AssetSubmission;
static fromFirebaseObject(fbObject: any): AssetSubmission;
}
//# sourceMappingURL=AssetSubmission.d.ts.map
{
"name": "tso-data-models",
"version": "2.0.13",
"version": "2.0.14",
"description": "",

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

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

export class AssetSubmissionFactory {
static fromFirebaseObject(fbObject: Record<string, any>): AssetSubmission {
static fromFirebaseObject(fbObject: any): AssetSubmission {
const valueToReturn = new AssetSubmission(fbObject.epochNumber, fbObject.assetName, fbObject.assetIndex, fbObject.price, fbObject.offsetUsed);

@@ -49,0 +49,0 @@ valueToReturn.random = fbObject.random;

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc