Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

coinbase-pro-node

bennycode15.4kMIT9.1.0TypeScript support: included

Coinbase Pro API for Node.js, written in TypeScript and covered by tests.

API, Bitcoin, Coinbase, crypto, cryptocurrency, currency, Ethereum, finance, fintech, order, payments, trading, TypeScript, withdraw

readme

[!IMPORTANT]
On 2022-06-22 Coinbase announced that it will discontinue the Pro API in favor of its Advanced Trade API.

With this news the coinbase-pro-node package, which has been serving users effectively since 2019-04-11, will become non functional.

Luckily, the code of this library is open-source, allowing you to fork it and tailor it to the new Advanced Trade API. Coinbase offers a Pro to Advanced Trade API Mapping guide to assist in this process.

Coinbase API

Language Details Code Coverage License Package Version


🌟 Better than the original Coinbase API. See why. 🌟

Community-maintained Coinbase API for Node.js & Deno, written in TypeScript and covered by tests.

Motivation

The purpose of this coinbase-pro-node package is to maintain a recent Coinbase API for Node.js with type safety through TypeScript.

Features

  • Typed. Source code is 100% TypeScript. No need to install external typings.
  • Tested. Code coverage is 100%. No surprises when using "coinbase-pro-node".
  • Convenient. Request throttling is built-in. Don't worry about rate limiting.
  • Comfortable. More than an API client. You will get extras like candle watching.
  • Maintained. Automated security updates. No threats from outdated dependencies.
  • Documented. Get started with demo scripts and generated documentation.
  • Modern. HTTP client with Promise API. Don't lose yourself in callback hell.
  • Robust. WebSocket reconnection is built-in. No problems if your Wi-Fi is gone.
  • Reliable. Following semantic versioning. Get notified about breaking changes.

Installation

npm

npm install coinbase-pro-node

Yarn

yarn add coinbase-pro-node

Setup

JavaScript

const {CoinbasePro} = require('coinbase-pro-node');
const client = new CoinbasePro();

TypeScript

import {CoinbasePro} from 'coinbase-pro-node';
const client = new CoinbasePro();

Usage

The demo section provides many examples on how to use "coinbase-pro-node". There is also an automatically generated API documentation. For a quick start, here is a simple example for a REST request:

REST Example

import {CoinbasePro} from 'coinbase-pro-node';

// API Keys can be generated here:
// https://pro.coinbase.com/profile/api
// https://public.sandbox.pro.coinbase.com/profile/api
const auth = {
  apiKey: '',
  apiSecret: '',
  passphrase: '',
  // The Sandbox is for testing only and offers a subset of the products/assets:
  // https://docs.cloud.coinbase.com/exchange/docs#sandbox
  useSandbox: true,
};

const client = new CoinbasePro(auth);

client.rest.account.listAccounts().then(accounts => {
  const message = `You can trade "${accounts.length}" different pairs.`;
  console.log(message);
});

WebSocket Example

If you want to listen to WebSocket messages, have a look at these demo scripts:

Demos

All demo scripts are executable from the root directory. If you want to use specific credentials with a demo script, simply add a .env file to the root of this package to modify environment variables used in init-client.ts.

npx ts-node ./src/demo/dump-candles.ts

Tip: There is a .env.defaults file which serves as a template. Just remove its .defaults extension and enter your credentials to get started. Do not commit this file (or your credentials) to any repository!

Web Frontend Applications

The "coinbase-pro-node" library was built to be used in Node.js environments BUT you can also make use of it in web frontend applications (using React, Vue.js, etc.). However, due to the CORS restrictions of modern web browser, you will have to use a proxy server.

A proxy server can be setup with webpack's DevServer proxy configuration or http-proxy-middleware.

Here is an example:

Backend

import {createProxyMiddleware} from 'http-proxy-middleware';
import express from 'express';

const app = express();

app.use(
  '/api-coinbase-pro',
  createProxyMiddleware({
    target: 'https://api.exchange.coinbase.com',
    changeOrigin: true,
    pathRewrite: {
      [`^/api-coinbase-pro`]: '',
    },
  })
);

Later on, you can use the proxy URL (/api-coinbase-pro from above) in your web application to initialize "coinbase-pro-node" with it:

Frontend

const client = new CoinbasePro({
  httpUrl: '/api-coinbase-pro',
  apiKey: '',
  apiSecret: '',
  passphrase: '',
  useSandbox: false,
});

Real-world Examples

Checkout GitHub's dependency graph to see who uses "coinbase-pro-node" in production. There are also npm packages depending on "coinbase-pro-node".

Maintainers

Benny Neugebauer on Stack Exchange

Stargazers

Stargazers

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

The following commits will help you getting started quickly with the code base:

All resources can be found in the Coinbase Exchange API reference. For the latest updates, check Coinbase's API Changelog.

License

This project is MIT licensed.

⭐️ Show your support ⭐️

Please leave a star if you find this project useful.

If you like this project, you might also like these related projects:

  • trading-signals, Technical indicators, written in TypeScript, with arbitrary-precision arithmetic.
  • ig-trading-api, REST API, written in TypeScript, for CFD trading with IG.
  • binance-api-node, Heavily tested and Promise-based Binance API with TypeScript definitions.

Problems with official Coinbase APIs

There are official Coinbase APIs for Node.js, but they all come with some disadvantages leading to decreased developer experience (DX):

  1. Coinbase's first Node.js API has no type safety and got deprecated on July, 19th 2016
  2. Coinbase's second Node.js API has no type safety and got deprecated on January, 16 2020
  3. Coinbase's current Node.js API (OAS spec) still lacks type safety and does not incorporate best practices like automatic reconnections and request throttling

Official Coinbase API

Coinbase is versioning its API through ReadMe.com, so you can generate an API client from their OpenAPI Specification. ReadMe provides a Node.js package named "api" which allows you to retrieve an automatically generated Node.js client:

Installation

npm install api@^4.5.1

Usage

import api from 'api';

const sdk = api('@coinbase-exchange/v1.0#qgumw1pl3iz4yut');

sdk['ExchangeRESTAPI_GetProductTrades']({
  product_id: 'BTC-USD',
}).then(response => {
  console.log(`Found "${response.length}" trades.`);
});

Drawbacks

The current Coinbase Node.js SDK (provided by the api package) does not support typings for response payloads:

Official Coinbase API

changelog

9.1.0 (2024-07-03)

Chores

9.0.1 (2024-04-02)

Chores
Documentation Changes

9.0.0 (2023-12-05)

Chores
Bug Fixes

8.0.0 (2023-10-27)

Chores
Documentation Changes
Other Changes
Refactors
Tests

7.0.0 (2023-07-31)

Chores
Documentation Changes
Bug Fixes
Refactors

6.0.0 (2022-09-30)

Chores
  • Run code scanning on demand (5a6b1533)
Bug Fixes
  • time: Remove polynomial regular expression (#769) (6f3410ef)

5.1.0 (2022-09-30)

Chores
Documentation Changes
New Features
Bug Fixes
Tests
  • Add test case for limit buy orders (c94a7d52)
  • Call done callback without arguments (af9406c1)
  • Call done callback without arguments (093c1b92)

5.1.0 (2022-09-30)

Chores
Documentation Changes
New Features
Bug Fixes
Tests
  • Add test case for limit buy orders (c94a7d52)
  • Call done callback without arguments (af9406c1)
  • Call done callback without arguments (093c1b92)

5.0.0 (2022-05-24)

Chores
New Features
Refactors
  • Upgrade from pro.coinbase.com to exchange.coinbase.com (#729) (76c2c457)

4.0.0 (2022-01-28)

Chores
New Features
  • Mark subscribe() and unsubscribe() as async (#678) (a64985a8)

3.1.0 (2022-01-03)

Chores
New Features
  • Add getter for determining if WebSocket is connected (#656) (7947d7fd)
  • Add additional WebSocket message types (#606) (6bf86e44)
  • Add ticker_1000 WebSocket channel (#655) (6c798745)
Refactors

3.0.9 (2021-12-20)

Chores
Documentation Changes
Bug Fixes
  • Serialize parameters when requesting transfers (#648) (e0a75e89)

3.0.8 (2021-09-18)

Chores
New Features
  • Make the ReconnectingWebSocket object publicly accessible (#608) (91eca2fd)
Bug Fixes
  • Make ProductAPI.getProduct always return a product (#605) (b870c85f)

3.0.7 (2021-09-10)

Chores
  • deps:
  • deps-dev:
  • Run dependency updates once each month (befc92bd)
New Features
  • Support transfers between portfolios by type (#604) (76de3739)

3.0.6 (2021-09-08)

Chores
Documentation Changes
  • Link to coinbase-pro-node deprecation notice (#584) (8297c75e)

3.0.5 (2021-06-08)

Chores
  • Move to TypeDoc beta to support TS 4.3 (d6a22b25)
  • yarn upgrade-interactive --latest (26b2c7a4)
  • Checkout repository before detecting semver range (c6ca96c8)
  • deps-dev:
    • bump @typescript-eslint/eslint-plugin (#515) (fd5d878c)
    • bump nock from 13.0.11 to 13.1.0 (#510) (545caccb)
    • bump eslint from 7.27.0 to 7.28.0 (#514) (f0615990)
    • bump @typescript-eslint/parser from 4.25.0 to 4.26.0 (#516) (8107aeca)
    • bump typedoc-plugin-markdown from 3.8.2 to 3.9.0 (#517) (f1e3b0c7)
    • bump dotenv-defaults from 2.0.1 to 2.0.2 (#513) (1621cf1c)
    • bump prettier from 2.3.0 to 2.3.1 (#512) (0ea8ea32)
    • bump @types/jasmine from 3.7.6 to 3.7.7 (#511) (a140acaa)
    • bump @typescript-eslint/eslint-plugin (#507) (1785e093)
    • bump @typescript-eslint/parser from 4.24.0 to 4.25.0 (#508) (bfb6a456)
    • bump @types/jasmine from 3.7.4 to 3.7.6 (#509) (0155f7ff)
    • bump typedoc-plugin-markdown from 3.8.1 to 3.8.2 (#506) (a30d6920)
    • bump @typescript-eslint/parser from 4.23.0 to 4.24.0 (#501) (11dd99fd)
    • bump eslint from 7.26.0 to 7.27.0 (#500) (983bea06)
    • bump @typescript-eslint/eslint-plugin (#502) (8d697925)
    • bump @typescript-eslint/parser from 4.22.1 to 4.23.0 (#490) (0b3b2411)
    • bump @typescript-eslint/eslint-plugin (#493) (add3ddd0)
    • bump prettier from 2.2.1 to 2.3.0 (#491) (e7748a0f)
    • bump typedoc-plugin-markdown from 3.8.0 to 3.8.1 (#494) (8be6706b)
    • bump @types/jasmine from 3.7.1 to 3.7.4 (#492) (ef3f2939)
    • bump lint-staged from 10.5.4 to 11.0.0 (#484) (7ef79fb8)
    • bump eslint from 7.25.0 to 7.26.0 (#487) (a7595f0d)
    • bump typedoc-plugin-markdown from 3.7.2 to 3.8.0 (#486) (3cc5ad88)
    • bump @types/jasmine from 3.6.10 to 3.7.1 (#488) (dc3b88e1)
    • bump @typescript-eslint/parser from 4.22.0 to 4.22.1 (#485) (04d169b5)
    • bump @typescript-eslint/eslint-plugin (#483) (01e8e3ae)
    • bump @types/jasmine from 3.6.9 to 3.6.10 (#481) (02dbc710)
    • bump typedoc-plugin-markdown from 3.7.1 to 3.7.2 (#480) (3f3b7af9)
  • deps:

3.0.4 (2021-04-27)

Bug Fixes
  • order:
    • Allow fetching orders by status and product_id (a13c48cf)
    • Use a parameter serializer for getOrders requests (#478) (e523dc88)

3.0.3 (2021-04-25)

Chores
  • deps-dev:
Documentation Changes
  • Add demo script to watch candles (b3a53977)
Bug Fixes
  • order: Make order list by status and product id mutually exclusive (#475) (68c7f029)

3.0.2 (2021-04-20)

Chores
  • yarn upgrade-interactive --latest (e183e8a9)
  • Use husky's prepare script (15f51b5b)
  • Extract action to merge dependency updates (#464) (b1c7dbe0)
  • Update codecov-action (#458) (1ac6a004)
  • Pin Dependabot Auto Merge version (8a64faab)
  • Upgrade to husky v6 (#452) (1819c4d4)
  • deps-dev:
    • bump @typescript-eslint/eslint-plugin (#467) (af21e4c2)
    • bump eslint-config-prettier from 8.1.0 to 8.2.0 (#465) (81fd09bc)
    • bump eslint-plugin-prettier from 3.3.1 to 3.4.0 (#466) (1271dcac)
    • bump @typescript-eslint/parser from 4.21.0 to 4.22.0 (#468) (99f95b99)
    • bump typedoc-plugin-markdown from 3.6.1 to 3.7.0 (#469) (ed2bfb8d)
    • bump @typescript-eslint/eslint-plugin (#461) (00744dbd)
    • bump typescript from 4.2.3 to 4.2.4 (#460) (4b4a2c77)
    • bump eslint from 7.23.0 to 7.24.0 (#459) (c72622c6)
    • bump @typescript-eslint/parser from 4.20.0 to 4.21.0 (#462) (d4044307)
    • bump typedoc-plugin-markdown from 3.6.0 to 3.6.1 (#463) (d17fd25c)
    • bump typedoc from 0.20.34 to 0.20.35 (#457) (4a6d4503)
    • bump @typescript-eslint/parser from 4.19.0 to 4.20.0 (#453) (2a01a22b)
    • bump @typescript-eslint/eslint-plugin (#455) (d9a3013c)
    • bump eslint-plugin-typescript-sort-keys (#456) (5522cad0)
  • deps: bump @types/ws from 7.4.0 to 7.4.1 (#454) (b38a4971)
Documentation Changes
Bug Fixes

3.0.1 (2021-03-31)

Documentation Changes
  • Generate documentation (8b2d8004)
  • Add note about semantic versioning (5d4ffe5e)
Bug Fixes

3.0.0 (2021-03-28)

Chores

2.20.0 (2021-03-27)

Refactors
  • Rename "getOpenOrders" to "getOrders" (d0b2fa22)
Tests
  • Fix Jasmine's deprecation warning (4864bfdb)

2.19.0 (2021-03-18)

Chores
  • Upgrade test framework to Jasmine 3.7.0 (e2449307)
  • yarn upgrade-interactive --latest (ff100af2)
  • deps-dev:
  • deps: bump ws from 7.4.3 to 7.4.4 (#427) (c1558da7)
New Features
  • order: Support filtering parameters when listing orders (#432) (289d0987)

2.18.1 (2021-02-28)

Chores
Bug Fixes

2.18.0 (2021-02-12)

Chores
  • yarn upgrade-interactive --latest (b1894055)
  • Add weekly code scanning alerts (e6787a81)
  • yarn upgrade --latest (bec82452)
  • deps-dev:
    • bump @typescript-eslint/parser from 4.14.1 to 4.14.2 (#402) (52e522a4)
    • bump @typescript-eslint/eslint-plugin (#401) (a1442465)
    • bump lint-staged from 10.5.3 to 10.5.4 (#400) (cfc4c0b9)
    • bump typedoc from 0.20.19 to 0.20.23 (#399) (644191bd)
  • deps: bump ws from 7.4.2 to 7.4.3 (#403) (1b224ef7)
Documentation Changes
New Features
  • Support withdrawals to payment methods & Coinbase accounts (#408) (ea42d4dc)

2.17.2 (2021-02-02)

Chores
  • deps-dev:
New Features

2.17.1 (2021-01-24)

Chores
  • deps-dev:
Bug Fixes

2.17.0 (2021-01-23)

New Features
  • Keep WebSocket alive with ping / pong messages (#377) (8d293018)

2.16.4 (2021-01-21)

Chores
New Features
Refactors
  • Add backward compatibility for getTime contract (bfd1369f)

2.16.3 (2021-01-14)

Bug Fixes
Tests

2.16.2 (2021-01-13)

Chores
Bug Fixes

2.16.1 (2021-01-12)

Chores
  • Fix TypeDoc incompatibilities (e4d18754)
  • Run dependency updates on Sunday (970c5e42)
  • deps-dev:
    • bump @typescript-eslint/eslint-plugin (#361) (2829af92)
    • bump @typescript-eslint/parser from 4.12.0 to 4.13.0 (#362) (b79d1553)
    • bump eslint-plugin-prettier from 3.3.0 to 3.3.1 (#355) (eb9aa701)
    • bump @typescript-eslint/parser from 4.11.1 to 4.12.0 (#360) (2c8f0f06)
    • bump typedoc from 0.20.10 to 0.20.14 (#359) (637390b9)
    • bump typedoc-plugin-markdown from 3.2.1 to 3.4.0 (#358) (04056cd3)
    • bump husky from 4.3.6 to 4.3.7 (#357) (4909e247)
    • bump @typescript-eslint/eslint-plugin (#356) (58d08dfa)
    • bump typedoc and typedoc-plugin-markdown (#347) (9b32f7b0)
    • bump @typescript-eslint/parser from 4.11.0 to 4.11.1 (#350) (f65a08a9)
    • bump @typescript-eslint/eslint-plugin (#348) (ce01a441)
    • bump eslint from 7.16.0 to 7.17.0 (#346) (e5d0ad29)
  • deps:
Documentation Changes
Bug Fixes

2.16.1 (2021-01-12)

Chores
  • Fix TypeDoc incompatibilities (e4d18754)
  • Run dependency updates on Sunday (970c5e42)
  • deps-dev:
    • bump @typescript-eslint/eslint-plugin (#361) (2829af92)
    • bump @typescript-eslint/parser from 4.12.0 to 4.13.0 (#362) (b79d1553)
    • bump eslint-plugin-prettier from 3.3.0 to 3.3.1 (#355) (eb9aa701)
    • bump @typescript-eslint/parser from 4.11.1 to 4.12.0 (#360) (2c8f0f06)
    • bump typedoc from 0.20.10 to 0.20.14 (#359) (637390b9)
    • bump typedoc-plugin-markdown from 3.2.1 to 3.4.0 (#358) (04056cd3)
    • bump husky from 4.3.6 to 4.3.7 (#357) (4909e247)
    • bump @typescript-eslint/eslint-plugin (#356) (58d08dfa)
    • bump typedoc and typedoc-plugin-markdown (#347) (9b32f7b0)
    • bump @typescript-eslint/parser from 4.11.0 to 4.11.1 (#350) (f65a08a9)
    • bump @typescript-eslint/eslint-plugin (#348) (ce01a441)
    • bump eslint from 7.16.0 to 7.17.0 (#346) (e5d0ad29)
  • deps:
Bug Fixes

2.16.0 (2021-01-01)

New Features
  • Support custom URLs to use a proxy server (#345) (ebcb8d2f)

2.15.0 (2021-01-01)

Chores
Refactors

2.14.0 (2020-12-05)

Chores
Refactors
  • Remove fee util and calculations with Big.js (#324) (21dc305b)

2.13.3 (2020-12-04)

Chores
Refactors

2.13.2 (2020-11-14)

Chores
Bug Fixes
  • Watch newer candles if a candle got skipped (#307) (9c275ec2)

2.13.1 (2020-11-05)

Chores

2.13.0 (2020-10-22)

Chores
New Features

2.12.0 (2020-10-18)

Chores
New Features
  • Support product ids in order cancellations (02fd7634)
  • Add ability to cancel a single order using the order id (#283) (98eb86eb)

2.11.0 (2020-10-12)

Chores
Documentation Changes
New Features
  • Ability to add network fee on top of withdrawal (#282) (bdfd30a4)
Refactors
  • Upgrade from dependabot-preview to GitHub-native Dependabot (#250) (0fc430a7)

2.10.0 (2020-09-02)

Chores
  • deps-dev:
New Features
  • Get info on a specific deposit / withdrawal (#245) (4380cb2f)

2.9.0 (2020-08-26)

Chores
New Features

2.8.1 (2020-08-20)

Chores
Bug Fixes
  • Change type for count of orders from string to number (#235) (486c26ee)
Refactors
  • Highlight that granularity on Coinbase Pro is given in seconds (#236) (2522167c)

2.8.0 (2020-08-10)

Chores
  • deps-dev:
New Features
  • Add convenience method to fetch a product (#230) (693fe2dd)
  • Type payloads from WebSocket status channel (#229) (be44e258)
  • Export TSDoc comments in declaration files (#219) (7935bfc3)

2.7.0 (2020-07-28)

Chores
New Features

2.6.0 (2020-07-14)

Chores
Documentation Changes
  • Add template for environment variables used in demo scripts (#208) (7cf25f6a)
New Features
Refactors

2.5.0 (2020-06-29)

Chores
  • deps-dev: bump typedoc from 0.17.7 to 0.17.8 (#194) (d1965001)
New Features

2.4.0 (2020-06-28)

Chores
Documentation Changes
New Features

2.3.0 (2020-05-13)

Chores
  • deps:
  • deps-dev:
    • bump @typescript-eslint/parser from 2.30.0 to 2.31.0 (#170) (df08dbe9)
    • bump @typescript-eslint/eslint-plugin (#168) (886a8507)
    • bump @typescript-eslint/eslint-plugin (#163) (a41d0bbb)
    • bump ts-node from 8.9.1 to 8.10.1 (#165) (4b77d9cc)
    • bump lint-staged from 10.1.7 to 10.2.2 (#164) (0bc564c7)
    • bump @typescript-eslint/parser from 2.29.0 to 2.30.0 (#162) (55527436)
Documentation Changes
New Features

2.2.2 (2020-04-29)

Refactors
  • Use arbitrary-precision when estimating fees (#161) (9613ec12)

2.2.1 (2020-04-28)

Chores
Bug Fixes
  • Use correct symbol when watching candles (ea71b0cc)
Refactors

2.2.0 (2020-04-27)

Chores
Documentation Changes
New Features
Refactors

2.1.0 (2020-04-25)

Chores
  • Use shorter names for test clients (56f302db)
  • Move demos into separate directory (#140) (f5c526d5)
Documentation Changes
New Features
Tests
  • Load environment variables in demo scripts (80f70be9)
  • Use subscription update events in WebSocket tests (a04aa138)

2.0.0 (2020-04-24)

Documentation Changes
New Features
Bug Fixes
  • Use correct sandbox API key in demo (fd741230)

1.8.3 (2020-04-20)

Chores
  • deps:
  • deps-dev:
    • bump @typescript-eslint/parser from 2.27.0 to 2.28.0 (#133) (1e55d343)
    • bump lint-staged from 10.1.3 to 10.1.6 (#130) (f3d1b921)
    • bump @typescript-eslint/eslint-plugin (#129) (a8b689c5)
Documentation Changes
New Features
Refactors
  • Require timestamp of last candle when watching candles (#137) (cbf2d9b0)

1.8.2 (2020-04-18)

Chores
  • deps-dev:
Bug Fixes
  • Throw error on duplicate candle watching (#128) (8dd239ba)

1.8.1 (2020-04-11)

New Features

1.8.0 (2020-04-11)

Chores
Refactors

1.7.1 (2020-04-05)

Documentation Changes

1.7.0 (2020-04-05)

New Features

1.6.1 (2020-04-04)

Documentation Changes
New Features
Bug Fixes

1.6.0 (2020-03-31)

Chores
  • deps-dev: bump lint-staged from 10.0.9 to 10.0.10 (#104) (3fdb6e64)
New Features
  • Accept custom WebSocket reconnect options (#106) (75032291)

1.5.1 (2020-03-30)

Chores
  • deps: Remove unused sub-dependencies (a2a97b39)
New Features
Refactors

1.5.0 (2020-03-27)

Documentation Changes
New Features

1.4.2 (2020-03-26)

Chores
Documentation Changes
  • Mention sandbox implications (71d4bf9d)
New Features
  • Batch historic rates requests to bypass time range errors (#96) (b41a6e21)
Bug Fixes
  • Don't fetch candle starting at end time (#99) (26c70962)

1.4.1 (2020-03-22)

Documentation Changes
Bug Fixes
  • Convert candlestick times to milliseconds (#94) (35a66dfd)

1.4.0 (2020-03-20)

Chores
  • deps:
  • deps-dev:
    • bump @typescript-eslint/parser from 2.22.0 to 2.23.0 (#88) (3d1ce013)
    • bump @types/jasmine from 3.5.8 to 3.5.9 (#89) (43e560d8)
    • bump @typescript-eslint/eslint-plugin (#87) (d723038b)
    • bump @typescript-eslint/eslint-plugin (#82) (89939eae)
    • bump cross-env from 7.0.0 to 7.0.2 (#80) (b06f8ca5)
    • bump @types/jasmine from 3.5.7 to 3.5.8 (#83) (3e2e91f9)
    • bump @typescript-eslint/parser from 2.21.0 to 2.22.0 (#81) (bc0e96a3)
Documentation Changes
  • Describe WebSocket channel subscription (#85) (cf92123a)
New Features
  • Subscribe to multiple WebSocket channels at once (#92) (ae9db0ae)
  • Emit all WebSocket messages with one generic event (#91) (8d9979c4)

1.3.0 (2020-03-02)

Chores
  • deps-dev:
    • bump @types/jasmine from 3.5.6 to 3.5.7 (#76) (7fdbdeef)
    • bump lint-staged from 10.0.7 to 10.0.8 (#73) (4a3daa8f)
    • bump @typescript-eslint/eslint-plugin (#72) (163b10be)
    • bump @typescript-eslint/parser from 2.20.0 to 2.21.0 (#74) (9e887104)
    • bump nock from 12.0.1 to 12.0.2 (#75) (14a88455)
    • bump typescript from 3.8.2 to 3.8.3 (#71) (5f3ae007)
  • deps: bump @types/ws from 7.2.1 to 7.2.2 (#77) (b0393780)
  • Report errors on unused parameters (a64f8fd2)
Documentation Changes
New Features
  • Add automatic request throttling for rate limits (#70) (a07260c0)
  • Add utility to determine candle buckets (#69) (1e5f9237)

1.2.0 (2020-02-24)

Chores
  • deps-dev:
    • bump @typescript-eslint/parser from 2.19.2 to 2.20.0 (#61) (c2594b8e)
    • bump @typescript-eslint/eslint-plugin (#64) (17db6bdf)
    • bump nock from 12.0.0 to 12.0.1 (#65) (73af81b9)
    • bump @types/jasmine from 3.5.4 to 3.5.6 (#63) (950390f1)
    • bump typescript from 3.7.5 to 3.8.2 (#62) (e3262249)
New Features
  • Export type for "matches" channel from WebSocket (#67) (b84de740)
  • Export type for ticker message from WebSocket (#66) (5329ff6b)

1.1.0 (2020-02-21)

Chores
  • Always do releases from master branch (291c854c)
Documentation Changes
New Features
Refactors
  • Set public access modifiers by default (#59) (9cb1ba86)

1.1.0 (2020-02-21)

Chores
  • Always do releases from master branch (291c854c)
New Features
Refactors
  • Set public access modifiers by default (#59) (9cb1ba86)

1.0.1 (2020-02-20)

Bug Fixes
  • EventEmitter constructor function type in WebSocketClient (#57) (bd1a358c)

1.0.0 (2020-02-20)

New Features

0.11.2 (2020-02-18)

Chores

0.11.1 (2020-02-18)

Chores
  • Remove start script from publication (#55) (a480e769)
  • Adjust badge url to be found with "node-detect-readme-badges" (b6eb427c)

0.11.0 (2020-02-18)

Chores
New Features
  • Expose WebSocket channels for "status" and "user" (#54) (f922ab81)

0.10.0 (2020-02-17)

Chores
  • deps-dev:
    • bump @typescript-eslint/parser from 2.19.0 to 2.19.2 (#51) (5b6e55bb)
    • bump @typescript-eslint/eslint-plugin (#50) (785c0aca)
    • bump nock from 11.7.2 to 12.0.0 (#48) (c6473912)
    • bump @types/jasmine from 3.5.3 to 3.5.4 (#49) (7807ffdb)
    • bump husky from 4.2.1 to 4.2.3 (#47) (8383c695)
New Features
Bug Fixes
  • Correct return type for order book depth of level 3 (#46) (695afb94)

0.9.5 (2020-02-11)

Chores
  • Upload coverage reports to Codecov (#44) (593e2c6a)
  • Don't publish test directory (81c367db)
  • deps-dev:
    • bump @types/jasmine from 3.5.2 to 3.5.3 (#41) (4b2246d5)
    • bump @typescript-eslint/parser from 2.18.0 to 2.19.0 (#43) (83274d16)
    • bump rimraf from 3.0.1 to 3.0.2 (#42) (4db51e45)
    • bump @typescript-eslint/eslint-plugin (#39) (eceed887)
  • deps: bump reconnecting-websocket from 4.3.0 to 4.4.0 (#40) (69b16258)
Documentation Changes
New Features

0.9.4 (2020-02-09)

New Features
Refactors

0.9.3 (2020-02-09)

Chores
  • Lint staged TypeScript files (1da88850)
Refactors
  • Add useSandbox to ClientAuthentication (#37) (72e9b556)
Tests

0.9.2 (2020-02-05)

New Features

0.9.0 (2020-01-26)

New Features