@bluefin-exchange/pro-sdk 0.1.16 → 0.1.18

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/dist/example.js CHANGED
@@ -111,9 +111,9 @@ function main() {
111
111
  const fundingRateHistory = (yield client.exchangeDataApi.getFundingRateHistory(symbol)).data;
112
112
  logger.info(`Funding Rate History: ${JSON.stringify(fundingRateHistory)}`);
113
113
  // Account Data API calls
114
- const accountTrades = (yield client.accountDataApi.getAccountTrades(symbol, Date.now() - 10000000, Date.now(), 1000, index_1.TradeTypeEnum.Order, 1)).data;
114
+ const accountTrades = (yield client.accountDataApi.getAccountTrades(symbol, Date.now() - 10000000, Date.now(), 1000, index_1.TradeType.Order, 1)).data;
115
115
  logger.info(`Trades History ${JSON.stringify(accountTrades)}`);
116
- const depositHistory = (yield client.accountDataApi.getAccountTransactionHistory([index_1.TransactionTypeEnum.Deposit, index_1.TransactionTypeEnum.Withdraw], symbol, Date.now() - 10000000, Date.now(), 1000, 1)).data;
116
+ const depositHistory = (yield client.accountDataApi.getAccountTransactionHistory([index_1.TransactionType.Deposit, index_1.TransactionType.Withdraw], symbol, Date.now() - 10000000, Date.now(), 1000, 1)).data;
117
117
  logger.info(`Deposits history: ${JSON.stringify(depositHistory)}`);
118
118
  const accountDetails = (yield client.accountDataApi.getAccountDetails())
119
119
  .data;