Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bittrex-node

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bittrex-node - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

CHANGELOG.md

@@ -8,2 +8,6 @@ Change Log

## [1.2.1](https://github.com/AndrewBarba/bittrex-node/releases/tag/1.2.1)
1. Parse order `Closed` date
## [1.2.0](https://github.com/AndrewBarba/bittrex-node/releases/tag/1.2.0)

@@ -10,0 +14,0 @@

2

package.json
{
"name": "bittrex-node",
"version": "1.2.0",
"version": "1.2.1",
"description": "Bittrex API client for Node.js",

@@ -5,0 +5,0 @@ "author": "Andrew Barba <abarba.77@gmail.com>",

@@ -61,2 +61,3 @@ # bittrex-node

await client.withdraw('BTC', { quantity: 1.2, address: 'abcde' })
await client.order('30594e6e-ba54-4914-96f3-5b9d5de2468e')
await client.orderHistory('BTC-ETH')

@@ -63,0 +64,0 @@ await client.withdrawalHistory('BTC')

@@ -237,3 +237,3 @@ const axios = require('axios')

const result = await this.request('get', '/account/getorder', { params })
return this.parseDates([result], ['Opened'])[0]
return this.parseDates([result], ['Opened', 'Closed'])[0]
}

@@ -331,2 +331,3 @@

for (const key of keys) {
if (!result[key]) continue
result[key] = new Date(`${result[key]}Z`)

@@ -333,0 +334,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc