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

@ex-master/core

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ex-master/core - npm Package Compare versions

Comparing version 0.3.11 to 0.3.12

2

bld/library/spot-client.d.ts

@@ -11,2 +11,3 @@ /// <reference types="node" />

precision: MarketPrecision;
online: boolean;
maxOrderSize?: number;

@@ -103,2 +104,3 @@ minOrderSize?: number;

ensureSizePrecision(market: Market, value: Decimal | number, align?: PrecisionAlignment): Decimal;
isAvailableMarket(market: Market): boolean;
existsMarket(market: Market): boolean;

@@ -105,0 +107,0 @@ updateMarkets(): Promise<void>;

@@ -76,2 +76,6 @@ "use strict";

}
isAvailableMarket(market) {
let marketData = this.symbolToMarketDataMap.get(getMarketSymbol(market));
return !!marketData && marketData.online;
}
existsMarket(market) {

@@ -78,0 +82,0 @@ return this.symbolToMarketDataMap.has(getMarketSymbol(market));

@@ -18,2 +18,3 @@ import { Decimal } from 'decimal.js';

precision: MarketPrecision;
online: boolean;
maxOrderSize?: number;

@@ -20,0 +21,0 @@ minOrderSize?: number;

4

package.json
{
"name": "@ex-master/core",
"version": "0.3.11",
"version": "0.3.12",
"main": "bld/library/index.js",

@@ -25,3 +25,3 @@ "types": "bld/library/index.d.ts",

},
"gitHead": "c89a64fb78b64641955a086dc5cd6ed43e7c56ff"
"gitHead": "81e0e54f6a94b4d99c85d049d657a8abeb33f2c4"
}

@@ -23,2 +23,3 @@ import {EventEmitter} from 'events';

precision: MarketPrecision;
online: boolean;
maxOrderSize?: number;

@@ -244,2 +245,8 @@ minOrderSize?: number;

isAvailableMarket(market: Market): boolean {
let marketData = this.symbolToMarketDataMap.get(getMarketSymbol(market));
return !!marketData && marketData.online;
}
existsMarket(market: Market): boolean {

@@ -246,0 +253,0 @@ return this.symbolToMarketDataMap.has(getMarketSymbol(market));

@@ -30,2 +30,3 @@ import {Decimal} from 'decimal.js';

precision: MarketPrecision;
online: boolean;
maxOrderSize?: number;

@@ -32,0 +33,0 @@ minOrderSize?: number;

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