binance 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,11 +5,16 @@
5
5
  [![last commit](https://img.shields.io/github/last-commit/tiagosiebler/binance)][1]
6
6
  [![CodeFactor](https://www.codefactor.io/repository/github/tiagosiebler/binance/badge)](https://www.codefactor.io/repository/github/tiagosiebler/binance)
7
7
 
8
+ [![connector logo](https://github.com/tiagosiebler/binance/blob/master/docs/images/logo1.png?raw=true)][1]
9
+
8
10
  [1]: https://www.npmjs.com/package/binance
9
11
 
10
12
  Node.js connector for the Binance APIs and WebSockets, with TypeScript & browser support.
11
13
 
12
- - Heavy integration testing with real API calls to support implementation stability.
14
+ - Extremely robust connector with significant trading volume in production (livenet).
15
+ - Heavy end-to-end testing with real API calls.
16
+ - End-to-end testing before any release.
17
+ - Real API calls in e2e tests.
13
18
  - Support REST APIs for Binance Spot, Margin, Isolated Margin & USDM Futures.
14
19
  - Automatically manage latency related authentication issues.
15
20
  - Strongly typed on most requests and responses.
@@ -251,7 +251,7 @@ export interface WsMessagePartialBookDepthEventFormatted extends WsSharedBase {
251
251
  }
252
252
  /**
253
253
  * USER DATA WS EVENTS
254
- **/
254
+ **/
255
255
  interface SpotBalanceRaw {
256
256
  a: string;
257
257
  f: numberInString;
@@ -603,6 +603,7 @@ export interface WsMessageMarkPriceUpdateEventFormatted extends WsSharedBase {
603
603
  markPrice: number;
604
604
  settlePriceEstimate: number;
605
605
  indexPrice?: number;
606
+ /** Note this is in decimal format (e.g. 0.0004 === 0.04%). Multiply by 100 to get funding rate percent value */
606
607
  fundingRate: number | '';
607
608
  nextFundingTime: number;
608
609
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binance",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Node.js connector for Binance's REST APIs and WebSockets, with TypeScript & integration tests.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",