Closed vigan-abd closed 3 years ago
This PR removes api/v1 usage in RESTv2 class. Some methods were redundant since v2 implementations already existed and some methods were rewritten by using only v2 calls!
NOTE! This PR depends in on https://github.com/bitfinexcom/bfx-api-node-models/pull/60 and https://github.com/bitfinexcom/bfx-api-mock-srv/pull/44 PRs
_rest1
_makePublicLegacyRequest
_makeAuthLegacyRequest
accountInfo
accountSummary
balances
wallets
symbolDetails
accountFees
closePosition
keyPermissions
SymbolDetails
TransactionFee
AccountSummary
Description:
This PR removes api/v1 usage in RESTv2 class. Some methods were redundant since v2 implementations already existed and some methods were rewritten by using only v2 calls!
NOTE! This PR depends in on https://github.com/bitfinexcom/bfx-api-node-models/pull/60 and https://github.com/bitfinexcom/bfx-api-mock-srv/pull/44 PRs
Breaking changes:
_rest1
in RESTv2_makePublicLegacyRequest
in RESTv2_makeAuthLegacyRequest
in RESTv2accountInfo
in RESTv2 sinceaccountSummary
already exists in RESTv2 implementationbalances
in RESTv2 sincewallets
already exists in RESTv2 implementationaccountSummary
to use api endpoint mentioned in docssymbolDetails
migrated to use api/v2, result format changesaccountFees
migrated to use api/v2, result format changesclosePosition
migrated to use api/v2 calls onlykeyPermissions
migrated to use api/v2, result format changesNew features:
SymbolDetails
model in corresponding function resultTransactionFee
model in corresponding function resultAccountSummary
model in corresponding function resultFixes:
accountSummary
to use api endpoint mentioned in docsPR status: