binance 2.9.4 → 2.9.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/lib/types/websockets.d.ts +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -86
|
@@ -206,7 +206,7 @@ export interface WsMessage24hrTickerFormatted extends WsSharedBase {
|
|
|
206
206
|
closeQuantity: number;
|
|
207
207
|
bestBid: number;
|
|
208
208
|
bestBidQuantity: number;
|
|
209
|
-
|
|
209
|
+
bestAskPrice: number;
|
|
210
210
|
bestAskQuantity: number;
|
|
211
211
|
open: number;
|
|
212
212
|
high: number;
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Binance API
|
|
2
|
-
|
|
3
|
-
## 2.0.14
|
|
4
|
-
- Update values thrown by exception parser.
|
|
5
|
-
|
|
6
|
-
## 2.0.13
|
|
7
|
-
- Expose time sync offset getter/setter in base client. `getTimeOffset()/setTimeOffest(value)`.
|
|
8
|
-
- Add handler to signMessage method, falling back to browser equivalent if method is not a function (react/preact/#141).
|
|
9
|
-
|
|
10
|
-
## 2.0.12
|
|
11
|
-
- Increase default timeout for websocket pong heartbeats to 7500ms.
|
|
12
|
-
|
|
13
|
-
## 2.0.11
|
|
14
|
-
- Fix APIs that use the DELETE method.
|
|
15
|
-
|
|
16
|
-
## 2.0.9-10
|
|
17
|
-
- Fix typo in websocket types.
|
|
18
|
-
- Fix missing type properties for ws messages.
|
|
19
|
-
|
|
20
|
-
## 2.0.8
|
|
21
|
-
- Emit `reconnected` events for reconnected user data stream.
|
|
22
|
-
|
|
23
|
-
## 2.0.6
|
|
24
|
-
- Fix symbol & margin asset types for futures user data updated position event.
|
|
25
|
-
|
|
26
|
-
## 2.0.5
|
|
27
|
-
- Refine types for user data websocket events (futures)
|
|
28
|
-
|
|
29
|
-
## 2.0.4
|
|
30
|
-
- Disable 'silly' logger category by default to reduce ping/pong noise.
|
|
31
|
-
- Expand ws support to other API categories.
|
|
32
|
-
- Expand beautifier support for other WS messages.
|
|
33
|
-
|
|
34
|
-
## 2.0.3
|
|
35
|
-
- Expand main-client APIs.
|
|
36
|
-
- Expand usdm-client APIs.
|
|
37
|
-
|
|
38
|
-
## 2.0.2
|
|
39
|
-
- Fix getAccountInformation main endpoint.
|
|
40
|
-
- Fix a few missing APIs.
|
|
41
|
-
- Refactor SpotClient->MainClient. SpotClient will be deprecated in future (MainClient is the same, just a different name).
|
|
42
|
-
- Fix build errors from incorrect module imports.
|
|
43
|
-
|
|
44
|
-
## 2.0.0
|
|
45
|
-
|
|
46
|
-
- Introduction for typescript with strong types on most request parameters & responses.
|
|
47
|
-
- NPM package includes transpiled framework & type declarations.
|
|
48
|
-
- Supports both typescript and vanilla node.js projects.
|
|
49
|
-
- REST requests and responses include detailed types, though some may still be missing.
|
|
50
|
-
- Raw and beautified WS events include detailed types, though some may still be missing.
|
|
51
|
-
- Introduction for webpack.
|
|
52
|
-
- To generate a browser bundle clone & build the library then run webpack using `npm run pack`.
|
|
53
|
-
- Introduction for integration tests via jest on all REST clients.
|
|
54
|
-
- Tests are executed automatically to avoid unintended breaking changes on release.
|
|
55
|
-
- Real API calls are made to validate integration.
|
|
56
|
-
- Complete networking overhaul using [axios](https://github.com/axios/axios).
|
|
57
|
-
- Small & modern framework. Significant reduction in dependencies via deprecation of `request`.
|
|
58
|
-
- Support for proxies and [other axios-supported functionality](https://github.com/axios/axios#request-config).
|
|
59
|
-
- Support for backend (node) and frontend (browser) requests.
|
|
60
|
-
- Complete overhaul in websockets client.
|
|
61
|
-
- Websocket events are still (optionally) beautified consistently with how the previous library worked.
|
|
62
|
-
- New event-driven architecture.
|
|
63
|
-
- Support for USDM Futures. More to come in a future release.
|
|
64
|
-
- Automatic connection monitoring, with automatic reconnect if the connection goes stale.
|
|
65
|
-
- Automatic userData connection monitoring, with automatic refresh and respawn if previous listen key expires or the connection closes unexpectedly.
|
|
66
|
-
- Complete overhaul in REST client.
|
|
67
|
-
- Revamped spot client (see [spot-client](./src/spot-client.ts)).
|
|
68
|
-
- Introduction of [usdm-client](./src/usdm-client.ts) for USDM Futures.
|
|
69
|
-
- Passive tracking & storage of API limit states (IP request weight & order weight).
|
|
70
|
-
- Parsed automatically via response headers when any request is made, if header is detected.
|
|
71
|
-
- See `getRateLimitStates()` to query the last seen weights on any of the REST clients.
|
|
72
|
-
- Smarter time-sync to handle common recvWindow latency issues (optional, default on).
|
|
73
|
-
|
|
74
|
-
### 2.0.0-beta.4
|
|
75
|
-
|
|
76
|
-
- Breaking change: refactor most options to camel case (instead of underscore separation).
|
|
77
|
-
- Add optional beautifier support for REST responses (parses known numbers stored as strings into numbers).
|
|
78
|
-
|
|
79
|
-
### 2.0.0-beta.5-8
|
|
80
|
-
|
|
81
|
-
- Breaking change: refactor spot getAllCoinsInformation to getBalances().
|
|
82
|
-
- Fix POST request format to www-form-urlencoded.
|
|
83
|
-
|
|
84
|
-
<!-- ## 2.0.1 -->
|
|
85
|
-
<!-- - Introduction of [coinm-client](./src/coinm-client.ts) for COINM Futures. -->
|
|
86
|
-
<!-- - Introduction of [vanilla-client](./src/vanilla-client.ts) for Vanilla Options. -->
|