From 613d1f2bfd3ac5189731155bbb13a3bf0f76c9a4 Mon Sep 17 00:00:00 2001 From: martiliones Date: Thu, 30 Jun 2022 16:37:42 +0600 Subject: [PATCH 1/3] chore: update dependencies --- package.json | 24 ++++++++++++------------ src/helpers/wsClient.js | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 9ce49f2..30621d1 100644 --- a/package.json +++ b/package.json @@ -12,18 +12,18 @@ "author": "ADAMANT Foundation (https://adamant.im)", "license": "GPL-3.0", "dependencies": { - "@liskhq/lisk-cryptography": "3.2.0", - "axios": "^0.25.0", + "@liskhq/lisk-cryptography": "3.2.1", + "axios": "^0.27.2", "bignumber.js": "^9.0.2", "bitcoinjs-lib": "^5.2.0", - "bitcore-mnemonic": "^8.25.25", + "bitcore-mnemonic": "^8.25.30", "bytebuffer": "^5.0.1", - "coininfo": "^5.1.0", + "coininfo": "^5.2.1", "ed2curve": "^0.3.0", - "ethereumjs-util": "^7.1.4", + "ethereumjs-util": "^7.1.5", "hdkey": "^2.0.1", "pbkdf2": "^3.1.2", - "socket.io-client": "^2.4.0", + "socket.io-client": "^4.5.1", "sodium-browserify-tweetnacl": "^0.2.6" }, "publishConfig": { @@ -63,12 +63,12 @@ }, "homepage": "https://github.com/Adamant-im/adamant-api-jsclient#readme", "devDependencies": { - "@commitlint/cli": "^16.2.1", - "@commitlint/config-conventional": "^16.2.1", - "eslint": "^8.9.0", + "@commitlint/cli": "^17.0.3", + "@commitlint/config-conventional": "^17.0.3", + "eslint": "^8.18.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-jest": "^26.1.0", - "husky": "^7.0.4", - "jest": "^27.5.1" + "eslint-plugin-jest": "^26.5.3", + "husky": "^8.0.1", + "jest": "^28.1.2" } } diff --git a/src/helpers/wsClient.js b/src/helpers/wsClient.js index 4070521..8b0244d 100644 --- a/src/helpers/wsClient.js +++ b/src/helpers/wsClient.js @@ -37,7 +37,7 @@ module.exports = { const node = this.socketAddress(); logger.log(`[Socket] Supported nodes: ${this.activeSocketNodes.length}. Connecting to ${node}...`); - this.connection = ioClient.connect(node, {reconnection: false, timeout: 5000}); + this.connection = ioClient(node, {reconnection: false, timeout: 5000}); this.connection.on('connect', () => { this.connection.emit('address', this.admAddress); From bf163a2f4bb353e5686069176f899fd60185a94d Mon Sep 17 00:00:00 2001 From: martiliones Date: Wed, 17 Aug 2022 23:28:58 +0600 Subject: [PATCH 2/3] feat: re-export keys methods --- keys.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 keys.js diff --git a/keys.js b/keys.js new file mode 100644 index 0000000..ba75bd9 --- /dev/null +++ b/keys.js @@ -0,0 +1 @@ +module.exports = require('./src/helpers/keys') From 68b5b74d4d7eeac5b1ef78f431c7064d2fd310ee Mon Sep 17 00:00:00 2001 From: adamant-al Date: Mon, 14 Nov 2022 14:50:01 +0500 Subject: [PATCH 3/3] chore: update dependencies & pump version --- package.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 30621d1..5b7bec3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adamant-api", - "version": "1.5.0", + "version": "1.6.0", "description": "REST API for ADAMANT Blockchain", "main": "src/index.js", "scripts": { @@ -13,17 +13,17 @@ "license": "GPL-3.0", "dependencies": { "@liskhq/lisk-cryptography": "3.2.1", - "axios": "^0.27.2", - "bignumber.js": "^9.0.2", + "axios": "^1.1.3", + "bignumber.js": "^9.1.0", "bitcoinjs-lib": "^5.2.0", - "bitcore-mnemonic": "^8.25.30", + "bitcore-mnemonic": "^8.25.40", "bytebuffer": "^5.0.1", "coininfo": "^5.2.1", "ed2curve": "^0.3.0", "ethereumjs-util": "^7.1.5", "hdkey": "^2.0.1", "pbkdf2": "^3.1.2", - "socket.io-client": "^4.5.1", + "socket.io-client": "^4.5.3", "sodium-browserify-tweetnacl": "^0.2.6" }, "publishConfig": { @@ -63,12 +63,12 @@ }, "homepage": "https://github.com/Adamant-im/adamant-api-jsclient#readme", "devDependencies": { - "@commitlint/cli": "^17.0.3", - "@commitlint/config-conventional": "^17.0.3", - "eslint": "^8.18.0", + "@commitlint/cli": "^17.2.0", + "@commitlint/config-conventional": "^17.2.0", + "eslint": "^8.27.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-jest": "^26.5.3", - "husky": "^8.0.1", - "jest": "^28.1.2" + "eslint-plugin-jest": "^27.1.5", + "husky": "^8.0.2", + "jest": "^29.3.1" } }