-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathchangelog.txt
More file actions
105 lines (74 loc) · 3.68 KB
/
Copy pathchangelog.txt
File metadata and controls
105 lines (74 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Version 1.7.7
## Improvements
- Added support for perpDexLimits and noop operations
- Add support for new userFills response fields
## Bug Fixes
- Fixed Websocket connection issues
# Version 1.7.6
## Improvements
- Added registerReferrer method
- Added option to disable or change the refresh interval for asset maps (useful when using multiple SDK instances on the same IP to avoid rate limiting)
- Added support for Websocket post requests with auth
## Bug fixes
- Fixed issue with Husky in install script, removed it except in dev environments so installing package works as normal again
# Version 1.7.5
## Improvements:
- After auto-reconnecting to websocket we also auto-resubscribe to all the subscriptions the user previously had
- BBO WebSocket topic added
- Reserve Rate limit endpoint added
## Bug Fixes:
- Modify Order Endpoint can be used with both CLOID and Order ID now
- Bulk order requests fixed so they work properly again
- Fixed issue with infinite refreshing of asset maps
## For the Nerds
- Added prettier for consistent code formatting/styling, check .prettierrc.js for style rules
# Version 1.7.4
Mostly just bug fixes this time around, but sghould make for a better user experience
Bug Fixes:
- `approveBuilderFee` and using builder codes for orders works now
- Multi-order placement works again (accidentally broken in last version)
- Edge case with BTC-PERP market orders fixed
- Testnet now works without problems
- Fixed a problem where a background API call would fail and create tons of error logs
# Version 1.7.3
## Bug Fixes:
- **WebSocket:** Fixed issue with WebSockets reconnecting automatically after a user-initiated manual disconnect
## New API Methods: Added 12 new methods
```
- claimRewards: Claim available rewards
- createSubAccount: Create a new sub-account
- setDisplayName: Set display name for an account (leaderboard)
- spotUser: Opt in/out of spot dusting (HL removing small balances from your account each day)
- createVault: Create a new vault
- vaultDistribute: Distribute assets from a vault
- vaultModify: Modify vault parameters
- cDeposit: Deposit for staking
- cWithdraw: Withdraw staking
- tokenDelegate: Delegate tokens to validators (or undelegate)
- subAccountSpotTransfer: Transfer spot assets between sub-accounts
- subAccountTransfer: Transfer assets between sub-accounts
```
# Version 1.7.0
## New things introduced:
- **Automatic Trailing Zeros Handling:** Added automatic removal of trailing zeros for price and size fields to prevent "L1 error: User or API Wallet 0x... does not exist" errors
- **Rate Limiting:** Implemented official token bucket system (100 tokens, 10/sec refill)
- **WebSocket:** Added heartbeat detection, better reconnection, and subscription limit tracking (prevent 429 errors)
- **Nonce Generation:** Enhanced for reliability with monotonically increasing values
- **API Methods: Added 15 new methods
```
- validatorSummaries: Get summaries of all validators
- vaultSummaries: Get summaries of all vaults
- blockDetails: Get details of a specific block
- txDetails: Get details of a specific transaction
- userDetails: Get details of a specific user
- userFees: Get fee information for a user
- portfolio: Get portfolio information for a user
- preTransferCheck: Check if a transfer is possible between addresses
- referral: Get referral information for a user
- extraAgents: Get extra agent information for a user
- isVip: Check if a user has VIP status
- legalCheck: Perform legal compliance check for a user
- userTwapSliceFillsByTime: Get TWAP slice fills for a user in a time range
- twapHistory: Get TWAP history for a user
- userToMultiSigSigners: Get multi-sig signers for a user
```