From e0e5fd4134f68c3b8bd77a1dd5f23b33cb5831be Mon Sep 17 00:00:00 2001 From: Sartios Savramis <917573+sartios@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:18:15 +0200 Subject: [PATCH 1/2] CY-2582 Algo usd --- lib/constants.js | 2 +- test/integration/getOrderBook.test.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/constants.js b/lib/constants.js index b266aa2..11755a2 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -9,7 +9,7 @@ const STATE_PENDING = 'pending'; const STATE_COMPLETED = 'completed'; const SUPPORTED_WITHDRAW_CURRENCIES = [ 'ETH', 'BTC', 'BCH' ]; -const SUPPORTED_CURRENCY_PAIRS = [ 'btcusd', 'btceur', 'ethusd', 'etheur', 'bchusd', 'bcheur', 'usdcusd', 'usdceur', 'usdtusd', 'usdteur' ]; +const SUPPORTED_CURRENCY_PAIRS = [ 'btcusd', 'btceur', 'ethusd', 'etheur', 'bchusd', 'bcheur', 'usdcusd', 'usdceur', 'usdtusd', 'usdteur', 'algousd' ]; module.exports = { TYPE_SELL_ORDER, diff --git a/test/integration/getOrderBook.test.js b/test/integration/getOrderBook.test.js index 4c6b59a..8b28cf1 100644 --- a/test/integration/getOrderBook.test.js +++ b/test/integration/getOrderBook.test.js @@ -22,7 +22,8 @@ describe('#getOrderBook', () => { { baseCurrency: 'BTC', quoteCurrency: 'USD', bitstampSymbol: 'btcusd' }, { baseCurrency: 'BTC', quoteCurrency: 'EUR', bitstampSymbol: 'btceur' }, { baseCurrency: 'BCH', quoteCurrency: 'USD', bitstampSymbol: 'bchusd' }, - { baseCurrency: 'BCH', quoteCurrency: 'EUR', bitstampSymbol: 'bcheur' } + { baseCurrency: 'BCH', quoteCurrency: 'EUR', bitstampSymbol: 'bcheur' }, + { baseCurrency: 'ALGO', quoteCurrency: 'USD', bitstampSymbol: 'algousd' } ].forEach(({ baseCurrency, quoteCurrency, bitstampSymbol }) => { it(`should get and return order book for ${baseCurrency}/${quoteCurrency}`, async () => { requestStub.resolves({ data: responses.getOrderBookResponseBTC }); From 716ea26481efca9e92ec6e15756e71885f92944b Mon Sep 17 00:00:00 2001 From: Sartios Savramis <917573+sartios@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:23:55 +0200 Subject: [PATCH 2/2] CY-2582 Update version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bcdee5..c987e07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "bitstamp-exc", - "version": "2.1.5", + "version": "2.1.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c3417d7..5e9ee8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitstamp-exc", - "version": "2.1.5", + "version": "2.1.6", "description": "An NPM package for utilizing the Bitstamp exchange API", "main": "index.js", "scripts": {