New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ex-master/huobi

Package Overview
Dependencies
Maintainers
2
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ex-master/huobi - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

2

bld/library/spot/huobi-spot-client.d.ts

@@ -30,3 +30,3 @@ import { Balance, Decimal, DepthData, KLineEntry, Market, MarketData, MarketQuotation, OrderType, SpotClient, SpotClientOptions, SpotDealOrder, SpotOrder, SpotOrderOptions, SpotOrderQuery } from '@ex-master/core';

private preInitializePromise;
constructor(options: HuobiSpotClientOptions);
constructor({ tokens, restAPIBaseURL, webSocketAPIBaseURL, dashboard, }: HuobiSpotClientOptions);
onInitialize(): Promise<void>;

@@ -33,0 +33,0 @@ getMarkets(): Promise<HuobiMarketData[]>;

@@ -36,4 +36,4 @@ "use strict";

class HuobiSpotClient extends core_1.SpotClient {
constructor(options) {
super(options);
constructor({ tokens, restAPIBaseURL, webSocketAPIBaseURL, dashboard, }) {
super({ dashboard, isPrivateness: tokens && tokens.length > 0 });
this.openedOrderMap = new Map();

@@ -154,3 +154,2 @@ this.onAccountsUpdate = ({ data }) => {

};
let { tokens, restAPIBaseURL, webSocketAPIBaseURL, dashboard } = options;
this.tokens = tokens;

@@ -157,0 +156,0 @@ this.restAPI = new huobi_spot_rest_api_1.HuobiSpotRestAPI({

{
"name": "@ex-master/huobi",
"version": "0.3.8",
"version": "0.3.9",
"main": "bld/library/index.js",

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

},
"gitHead": "ba7970b4124a958f0f03571f8e34589076fe5218"
"gitHead": "ad2ebcc962f990af73526e6f8a2766b4d1ab2501"
}

@@ -85,7 +85,10 @@ import {

constructor(options: HuobiSpotClientOptions) {
super(options);
constructor({
tokens,
restAPIBaseURL,
webSocketAPIBaseURL,
dashboard,
}: HuobiSpotClientOptions) {
super({dashboard, isPrivateness: tokens && tokens.length > 0});
let {tokens, restAPIBaseURL, webSocketAPIBaseURL, dashboard} = options;
this.tokens = tokens;

@@ -92,0 +95,0 @@

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