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

@ex-master/core

Package Overview
Dependencies
Maintainers
1
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.1.5 to 0.1.6

7

bld/exchange/exchange.js

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

})
.filter(({ price, size }) => price.isPositive() && size.isPositive());
.filter(({ price, size }) => price.greaterThan(0) && size.greaterThan(0));
let labelSet = new Set();

@@ -221,2 +221,3 @@ let labelToActiveOrderMap = this.labelToActiveOrderMap;

let { market, label, price, size } = descriptor;
let originalSize = size;
if (type === 'bid') {

@@ -237,4 +238,4 @@ let value = price.mul(size);

this.dashboard.info(type === 'bid'
? `insufficient money, skipping order ${label}.`
: `insufficient stock, skipping order ${label}.`);
? `insufficient money, skipping order "${label}" ${price} * ${originalSize}.`
: `insufficient stock, skipping order "${label}" ${price} * ${originalSize}.`);
continue;

@@ -241,0 +242,0 @@ }

{
"name": "@ex-master/core",
"version": "0.1.5",
"version": "0.1.6",
"main": "bld/index.js",

@@ -5,0 +5,0 @@ "types": "bld/index.d.ts",

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