Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bitfinexcom/bitfinex-api-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.0.15
Choose a base ref
...
head repository: bitfinexcom/bitfinex-api-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 10, 2020

  1. fix: unsubscribe fails depending on channel id type

    `Object.keys` casts to strings, channel ids can be are
    numbers, the compare function does not cast.
    
    in general its faster to do a direct object access instead of
    converting to an array and doing a search on the array.
    robertkowalski committed Nov 10, 2020
    Copy the full SHA
    a0c6624 View commit details
  2. Copy the full SHA
    9d30752 View commit details
  3. Copy the full SHA
    99b397b View commit details
  4. Copy the full SHA
    ce60a50 View commit details
  5. 4.0.16

    robertkowalski committed Nov 10, 2020
    Copy the full SHA
    fabfc1c View commit details

Commits on Jan 7, 2021

  1. pulse examples added

    avsek477 committed Jan 7, 2021
    Copy the full SHA
    713ba94 View commit details

Commits on Jan 11, 2021

  1. Copy the full SHA
    b5ed0b9 View commit details

Commits on Jan 13, 2021

  1. Copy the full SHA
    a47c393 View commit details

Commits on Jan 14, 2021

  1. Merge pull request #567 from avsek477/pulse-examples

    pulse examples added
    prdn authored Jan 14, 2021
    Copy the full SHA
    2d8f285 View commit details

Commits on Jan 25, 2021

  1. fix: jsdoc fixes

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    be30c08 View commit details
  2. fixed ws2 manager example

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    f2f9272 View commit details
  3. upgradet bfx-api-node-rest

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    9007718 View commit details
  4. Copy the full SHA
    0d68bc1 View commit details
  5. removed deprecated examples

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    959b888 View commit details
  6. added wallets example

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    9a303d2 View commit details
  7. Copy the full SHA
    2e87d2a View commit details
  8. updated docs

    vigan-abd committed Jan 25, 2021
    Copy the full SHA
    6c1bde3 View commit details
  9. (bump) v5.0.0

    vigan-abd committed Jan 25, 2021
    2
    Copy the full SHA
    4d5529d View commit details

Commits on Jan 26, 2021

  1. Merge pull request #569 from vigan-abd/feature/rest-v2-upgrade

    Feature/rest v2 upgrade
    prdn authored Jan 26, 2021
    Copy the full SHA
    63deabc View commit details

Commits on Apr 28, 2021

  1. Fix reconnect (#571)

    * fix authArgs for reconnect
    * update tests
    * jsdoc
    * test reconnect with updateAuthArgs
    vitaliystoliarovcc authored Apr 28, 2021
    Copy the full SHA
    9c6914d View commit details
  2. 5.0.1

    robertkowalski committed Apr 28, 2021
    Copy the full SHA
    9cdf18c View commit details

Commits on Jul 5, 2021

  1. remove run_example in auth example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    0f62083 View commit details
  2. close ws

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    61314bd View commit details
  3. calc example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    5e449b3 View commit details
  4. 'setup' helper

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    c20df2e View commit details
  5. update atomic_order_update example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    e6d1c44 View commit details
  6. update cancel_all_buf example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    cede1bf View commit details
  7. add 'readline' to setup module

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    e5dcad0 View commit details
  8. update 'cancel_all' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    416b7b9 View commit details
  9. update 'candles' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    4aea70c View commit details
  10. update 'funding_info' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    5df2121 View commit details
  11. update 'info_events' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    650b87d View commit details
  12. update 'liquidations' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    caa89bb View commit details
  13. update 'notifications' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    f68bf6c View commit details
  14. update 'notify_ui' example

    Vitaliy Stoliarov committed Jul 5, 2021
    Copy the full SHA
    5368154 View commit details

Commits on Jul 6, 2021

  1. Copy the full SHA
    1a31a4b View commit details
  2. standard lint fixes

    avsek477 committed Jul 6, 2021
    Copy the full SHA
    6f1f3e5 View commit details
  3. package updates

    avsek477 committed Jul 6, 2021
    Copy the full SHA
    3bed00c View commit details
  4. add npmignore

    avsek477 committed Jul 6, 2021
    Copy the full SHA
    d92bf07 View commit details
  5. uodate 'ob_checksum' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    f7a936c View commit details
  6. uodate 'oco order' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    100d487 View commit details
  7. uodate 'order book viz' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    81c6739 View commit details
  8. uodate 'order books' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    827ab15 View commit details
  9. uodate 'order tif' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    ab5746f View commit details
  10. uodate 'orders' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    e1c276d View commit details
  11. uodate 'ox multi' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    fef538f View commit details
  12. uodate 'sequencing' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    6b1ecfb View commit details
  13. uodate 'tickers' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    17d8808 View commit details
  14. uodate 'trades' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    de2d892 View commit details
  15. uodate 'oc_multi' example

    Vitaliy Stoliarov committed Jul 6, 2021
    Copy the full SHA
    692a349 View commit details
Showing with 4,143 additions and 3,794 deletions.
  1. +0 −9 .babelrc
  2. +0 −35 .eslintrc.json
  3. +10 −0 .husky/pre-commit
  4. +9 −0 .npmignore
  5. +25 −0 CHANGELOG
  6. +354 −325 docs/WS2Manager.html
  7. +2,638 −2,345 docs/WSv2.html
  8. +28 −15 docs/global.html
  9. +8 −5 docs/index.html
  10. +19 −0 docs/scripts/collapse.js
  11. +28 −0 docs/scripts/commonNav.js
  12. +16 −0 docs/scripts/search.js
  13. +13 −2 docs/styles/jsdoc.css
  14. +1 −0 docs/styles/prettify.css
  15. +37 −41 docs/transports_ws2.js.html
  16. +5 −2 docs/util_precision.js.html
  17. +5 −2 docs/util_ws2.js.html
  18. +16 −13 docs/ws2_manager.js.html
  19. +14 −13 examples/rest2/claim_positions.js
  20. +30 −15 examples/rest2/close_positions.js
  21. +7 −6 examples/rest2/currencies.js
  22. +12 −10 examples/rest2/funding_credits.js
  23. +12 −10 examples/rest2/funding_info.js
  24. +12 −10 examples/rest2/funding_loans.js
  25. +12 −10 examples/rest2/funding_offers.js
  26. +26 −0 examples/rest2/key_permissions.js
  27. +12 −7 examples/rest2/ledgers.js
  28. +13 −11 examples/rest2/list_open_orders.js
  29. +11 −6 examples/rest2/margin_info.js
  30. +13 −7 examples/rest2/movements.js
  31. +12 −10 examples/rest2/order-history.js
  32. +12 −7 examples/rest2/positions.js
  33. +7 −6 examples/rest2/status.js
  34. +12 −8 examples/rest2/submit_funding_offer.js
  35. +19 −15 examples/rest2/submit_order.js
  36. +14 −11 examples/rest2/symbol-details.js
  37. +9 −6 examples/rest2/symbols.js
  38. +10 −10 examples/rest2/tickers.js
  39. +12 −10 examples/rest2/trade-history.js
  40. +12 −8 examples/rest2/transfer.js
  41. +12 −7 examples/rest2/wallet.js
  42. +32 −30 examples/rest2/{balances.js → wallets.js}
  43. +1 −1 examples/util/args_from_env.js
  44. +0 −194 examples/util/run_example.js
  45. +45 −0 examples/util/setup.js
  46. +15 −11 examples/ws2/atomic_order_update.js
  47. +13 −6 examples/ws2/auth.js
  48. +18 −10 examples/ws2/calc.js
  49. +20 −14 examples/ws2/cancel_all.js
  50. +20 −16 examples/ws2/cancel_all_buf.js
  51. +16 −21 examples/ws2/candles.js
  52. +18 −8 examples/ws2/funding_info.js
  53. +16 −8 examples/ws2/info_events.js
  54. +13 −6 examples/ws2/liquidations.js
  55. +15 −6 examples/ws2/notifications.js
  56. +16 −6 examples/ws2/notify_ui.js
  57. +10 −9 examples/ws2/ob_checksum.js
  58. +17 −12 examples/ws2/oc_multi.js
  59. +17 −8 examples/ws2/oco-order.js
  60. +13 −15 examples/ws2/order_book_viz.js
  61. +11 −9 examples/ws2/order_books.js
  62. +16 −6 examples/ws2/order_tif.js
  63. +17 −8 examples/ws2/orders.js
  64. +15 −12 examples/ws2/ox_multi.js
  65. +16 −6 examples/ws2/sequencing.js
  66. +13 −6 examples/ws2/tickers.js
  67. +11 −18 examples/ws2/trades.js
  68. +15 −7 examples/ws2_manager.js
  69. +12 −12 index.js
  70. +25 −30 lib/transports/ws2.js
  71. +11 −11 lib/ws2_manager.js
  72. +34 −45 package.json
  73. +2 −2 test/examples/args_from_env.js
  74. +0 −207 test/examples/run_example.js
  75. +20 −0 test/examples/setup.js
  76. +2 −2 test/index.js
  77. +43 −0 test/lib/transports/channels.js
  78. +2 −3 test/lib/transports/ws2-integration.js
  79. +41 −25 test/lib/transports/ws2-unit.js
  80. +5 −7 test/lib/ws2_manager.js
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

35 changes: 0 additions & 35 deletions .eslintrc.json

This file was deleted.

10 changes: 10 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env sh

# only run on added/modified files
git diff --name-only --cached --diff-filter=AM -- "*.js" | \
while read -r file
do
if [ -f "$file" ]; then # don't run on deleted files
npx standard "$file"
fi
done
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
test
docs
coverage
examples
.github
.nyc_output
.travis.yml
.istanbul.yml
.jsdoc.json
25 changes: 25 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
7.0.0
- chore: remove pulse deps

6.0.0
- removed unused deps: chai, request-promise, request, crc-32
- removed bluebird Promise
- update params of submitOrder and cancelOrders methods of WS transport to support new rest api signature
- bumped bfx-api-node-rest version up to 5.1.1, breaks previous versions compatibility
- bumped mocha, jsdoc-to-markdown, docdash, blessed-contrib, ws versions to fix vulnerabilities
- moved dev deps readline-promise, blessed, blessed-contrib, cli-table3, p-iteration into corresponding section

5.0.4
- fix: public funding trade parsing
- styling: fix code formatting

5.0.0
- upgrade: upgraded bfx-api-node-rest to 4.0.0, breaks previous versions compatibility
- fix: jsdocs

4.0.17
- added pulse examples

4.0.16
- fix: unsubscribe fails depending on channel id type

4.0.15
- fix 2 high vulnerabilities, switch from cli-table2 to cli-table3 dependency

Loading