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

binance-api-node

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance-api-node - npm Package Compare versions

Comparing version 0.11.10 to 0.11.11

3

dist/http-client.js

@@ -469,2 +469,5 @@ "use strict";

},
dustLog: function dustLog(payload) {
return privCall('/sapi/v1/asset/dribblet', payload);
},
dustTransfer: function dustTransfer(payload) {

@@ -471,0 +474,0 @@ return privCall('/sapi/v1/asset/dust', payload, 'POST');

72

index.d.ts

@@ -13,3 +13,3 @@ // tslint:disable:interface-name

export enum ErrorCodes {
export const enum ErrorCodes {
UNKNOWN = -1000,

@@ -104,3 +104,3 @@ DISCONNECTED = -1001,

export enum DepositStatus {
export const enum DepositStatus {
PENDING = 0,

@@ -125,3 +125,3 @@ SUCCESS = 1,

export enum WithdrawStatus {
export const enum WithdrawStatus {
EMAIL_SENT = 0,

@@ -228,3 +228,3 @@ CANCELLED = 1,

export enum TransferType {
export const enum TransferType {
MAIN_C2C = 'MAIN_C2C',

@@ -295,3 +295,3 @@ MAIN_UMFUTURE = 'MAIN_UMFUTURE',

export enum MarginType {
export const enum MarginType {
ISOLATED = 'ISOLATED',

@@ -578,2 +578,6 @@ CROSSED = 'CROSSED',

) => ReconnectingWebSocketHandler
miniTicker: (
pair: string | string[],
callback: (ticker: MiniTicker) => void,
) => ReconnectingWebSocketHandler
futuresTicker: (

@@ -627,3 +631,3 @@ pair: string | string[],

export enum CandleChartInterval {
export const enum CandleChartInterval {
ONE_MINUTE = '1m',

@@ -646,3 +650,3 @@ THREE_MINUTES = '3m',

export enum RateLimitType {
export const enum RateLimitType {
REQUEST_WEIGHT = 'REQUEST_WEIGHT',

@@ -652,3 +656,3 @@ ORDERS = 'ORDERS',

export enum TradingType {
export const enum TradingType {
MARGIN = 'MARGIN',

@@ -658,3 +662,3 @@ SPOT = 'SPOT',

export enum RateLimitInterval {
export const enum RateLimitInterval {
SECOND = 'SECOND',

@@ -672,3 +676,3 @@ MINUTE = 'MINUTE',

export enum ExchangeFilterType {
export const enum ExchangeFilterType {
EXCHANGE_MAX_NUM_ORDERS = 'EXCHANGE_MAX_NUM_ORDERS',

@@ -683,3 +687,3 @@ EXCHANGE_MAX_ALGO_ORDERS = 'EXCHANGE_MAX_ALGO_ORDERS',

export enum SymbolFilterType {
export const enum SymbolFilterType {
PRICE_FILTER = 'PRICE_FILTER',

@@ -855,3 +859,3 @@ PERCENT_PRICE = 'PERCENT_PRICE',

export enum SideEffectType {
export const enum SideEffectType {
NO_SIDE_EFFECT = 'NO_SIDE_EFFECT',

@@ -918,3 +922,3 @@ MARGIN_BUY = 'MARGIN_BUY',

export enum ListOrderStatus {
export const enum ListOrderStatus {
EXECUTING = 'EXECUTING',

@@ -925,3 +929,3 @@ ALL_DONE = 'ALL_DONE',

export enum ListStatusType {
export const enum ListStatusType {
RESPONSE = 'RESPONSE',

@@ -932,3 +936,3 @@ EXEC_STARTED = 'EXEC_STARTED',

export enum OcoOrderType {
export const enum OcoOrderType {
CONTINGENCY_TYPE = 'OCO',

@@ -949,3 +953,3 @@ }

export enum OrderSide {
export const enum OrderSide {
BUY = 'BUY',

@@ -955,3 +959,3 @@ SELL = 'SELL',

export enum OrderStatus {
export const enum OrderStatus {
CANCELED = 'CANCELED',

@@ -966,3 +970,3 @@ EXPIRED = 'EXPIRED',

export enum OrderType {
export const enum OrderType {
LIMIT = 'LIMIT',

@@ -979,3 +983,3 @@ LIMIT_MAKER = 'LIMIT_MAKER',

export enum NewOrderRespType {
export const enum NewOrderRespType {
ACK = 'ACK',

@@ -986,3 +990,3 @@ RESULT = 'RESULT',

export enum TimeInForce {
export const enum TimeInForce {
GTC = 'GTC',

@@ -993,3 +997,3 @@ IOC = 'IOC',

export enum OrderRejectReason {
export const enum OrderRejectReason {
ACCOUNT_CANNOT_SETTLE = 'ACCOUNT_CANNOT_SETTLE',

@@ -1008,3 +1012,3 @@ ACCOUNT_INACTIVE = 'ACCOUNT_INACTIVE',

export enum ExecutionType {
export const enum ExecutionType {
NEW = 'NEW',

@@ -1071,2 +1075,14 @@ CANCELED = 'CANCELED',

export interface MiniTicker {
eventType: string,
eventTime: number,
symbol: string,
curDayClose: string,
open: string,
high: string,
low: string,
volume: string,
volumeQuote: string
}
export interface Candle {

@@ -1117,3 +1133,3 @@ eventType: string

export enum EventType {
export const enum EventType {
ACCOUNT = 'account',

@@ -1506,3 +1522,3 @@ BALANCE_UPDATE = 'balanceUpdate',

export enum FuturesIncomeType {
export const enum FuturesIncomeType {
TRANSFER = 'TRANSFER',

@@ -1563,3 +1579,3 @@ WELCOME_BONUS = 'WELCOME_BONUS',

export enum MarginLevelStatus {
export const enum MarginLevelStatus {
EXCESSIVE = 'EXCESSIVE',

@@ -1599,3 +1615,3 @@ NORMAL = 'NORMAL',

export enum WalletType {
export const enum WalletType {
SPOT = 'SPOT',

@@ -1679,3 +1695,3 @@ ISOLATED_MARGIN = 'ISOLATED_MARGIN',

export enum PositionSide {
export const enum PositionSide {
BOTH = 'BOTH',

@@ -1686,3 +1702,3 @@ SHORT = 'SHORT',

export enum WorkingType {
export const enum WorkingType {
MARK_PRICE = 'MARK_PRICE',

@@ -1689,0 +1705,0 @@ CONTRACT_PRICE = 'CONTRACT_PRICE',

{
"name": "binance-api-node",
"version": "0.11.10",
"version": "0.11.11",
"description": "A node API wrapper for Binance",

@@ -5,0 +5,0 @@ "main": "dist",

Sorry, the diff of this file is too big to display

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