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

binance

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance - npm Package Compare versions

Comparing version

to
2.0.0-beta.5

4

CHANGELOG.md

@@ -38,4 +38,8 @@ # Binance API

### 2.0.0-beta.5
- Breaking change: refactor spot getAllCoinsInformation to getBalances().
<!-- ## 2.0.1 -->
<!-- - Introduction of [coinm-client](./src/coinm-client.ts) for COINM Futures. -->
<!-- - Introduction of [vanilla-client](./src/vanilla-client.ts) for Vanilla Options. -->

2

lib/spot-client.d.ts

@@ -18,3 +18,3 @@ import { AxiosRequestConfig } from 'axios';

getSystemStatus(): Promise<SystemStatusResponse>;
getAllCoinsInformation(): Promise<AllCoinsInformationResponse[]>;
getBalances(): Promise<AllCoinsInformationResponse[]>;
getDailyAccountSnapshot(params: DailyAccountSnapshotParams): Promise<DailyAccountSnapshot>;

@@ -21,0 +21,0 @@ disableFastWithdrawSwitch(): Promise<{}>;

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

}
getAllCoinsInformation() {
getBalances() {
return this.getPrivate('sapi/v1/capital/config/getall');

@@ -45,0 +45,0 @@ }

{
"name": "binance",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"description": "Node.js connector for Binance's REST APIs and WebSockets, with TypeScript & integration tests.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet