diff --git a/package-lock.json b/package-lock.json index bae4ac8..1216488 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,9 +31,9 @@ } }, "@coinify/currency": { - "version": "1.3.43", - "resolved": "https://registry.npmjs.org/@coinify/currency/-/currency-1.3.43.tgz", - "integrity": "sha512-2Iy6giPz0Qk/bJ67bdAe8aYVYSJLI5QH6EG9cQEWO0jXqykox1JcGbm8MaHB+HBF7XG1D0S1MW2N8GnV7ngE5A==", + "version": "1.4.12", + "resolved": "https://registry.npmjs.org/@coinify/currency/-/currency-1.4.12.tgz", + "integrity": "sha512-AXtQ7Etzb4WS2/4lOEP1m5T6B805vy/DyUgPp02CVjG6dyUCD6fLDHP6QZ1UXxgZGFuoVnFOC9Lcv4VqY6YjJg==", "requires": { "lodash": "^4.17.21" } diff --git a/package.json b/package.json index da67187..566efc0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/CoinifySoftware/kraken-exc/issues" }, "dependencies": { - "@coinify/currency": "^1.3.43", + "@coinify/currency": "^1.4.12", "async": "3.2.5", "console-log-level": "^1.4.1", "lodash": "^4.17.21", @@ -43,5 +43,5 @@ "test": "LOG_LEVEL=fatal mocha --config .mocharc.json", "test-watch": "LOG_LEVEL=info mocha --config .mocharc.json --watch" }, - "version": "2.5.7" + "version": "2.5.8" } diff --git a/test/unit/getOrderBook.test.js b/test/unit/getOrderBook.test.js index c2b106f..31aa1ea 100644 --- a/test/unit/getOrderBook.test.js +++ b/test/unit/getOrderBook.test.js @@ -370,16 +370,16 @@ describe('#getOrderBook', function () { baseCurrency: 'ALGO', quoteCurrency: 'USD', bids: [ - { price: 0.1597, baseAmount: 939261200000 }, - { price: 0.15968, baseAmount: 1550932900000 }, - { price: 0.15967, baseAmount: 1883300000000 }, - { price: 0.15966, baseAmount: 1220238200000 } + { price: 0.1597, baseAmount: 9392612000 }, + { price: 0.15968, baseAmount: 15509329000 }, + { price: 0.15967, baseAmount: 18833000000 }, + { price: 0.15966, baseAmount: 12202382000 } ], asks: [ - { price: 0.15984, baseAmount: 75502800000 }, - { price: 0.15987, baseAmount: 4395567200000 }, - { price: 0.15988, baseAmount: 2224552800000 }, - { price: 0.15989, baseAmount: 626056500000 } + { price: 0.15984, baseAmount: 755028000 }, + { price: 0.15987, baseAmount: 43955672000 }, + { price: 0.15988, baseAmount: 22245528000 }, + { price: 0.15989, baseAmount: 6260565000 } ] }); diff --git a/test/unit/listTransactions.test.js b/test/unit/listTransactions.test.js index b8a90f5..aa3755b 100644 --- a/test/unit/listTransactions.test.js +++ b/test/unit/listTransactions.test.js @@ -337,7 +337,7 @@ describe('listTransactions', () => { time: 1480675052.7086, type: 'withdrawal', aclass: 'currency', - asset: 'TAO', + asset: 'TAOxyz', amount: '-24952.5900', fee: '47.4100', balance: '4440.5843'