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.16 to 0.3.17

2

bld/library/spot-client.d.ts

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

existsMarket(market: Market): boolean;
updateMarkets(): Promise<void>;
updateMarkets(marketDataItems?: SpotMarketData[]): Promise<void>;
destroy(): void;

@@ -108,0 +108,0 @@ onInitialize(): Promise<void>;

@@ -83,5 +83,7 @@ "use strict";

}
updateMarkets() {
updateMarkets(marketDataItems) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
let marketDataItems = yield this.getMarkets();
if (!marketDataItems || !marketDataItems.length) {
marketDataItems = yield this.getMarkets();
}
this.symbolToMarketDataMap = new Map();

@@ -88,0 +90,0 @@ let markets = [];

{
"name": "@ex-master/core",
"version": "0.3.16",
"version": "0.3.17",
"main": "bld/library/index.js",

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

},
"gitHead": "d36139bb892d0bbc1853ec88e0137f7e52ee7028"
"gitHead": "173b1bc1a3bbf1640ce3cc51624cc1182dd8e23f"
}

@@ -254,4 +254,6 @@ import {EventEmitter} from 'events';

async updateMarkets(): Promise<void> {
let marketDataItems = await this.getMarkets();
async updateMarkets(marketDataItems?: SpotMarketData[]): Promise<void> {
if (!marketDataItems || !marketDataItems.length) {
marketDataItems = await this.getMarkets();
}

@@ -258,0 +260,0 @@ this.symbolToMarketDataMap = new Map();

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