Skip to content

Commit 8bbc988

Browse files
authored
Merge pull request #21 from Adamant-im/update-dependencies
chore: update dependencies
2 parents 98b7660 + 68b5b74 commit 8bbc988

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adamant-api",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "REST API for ADAMANT Blockchain",
55
"main": "src/index.js",
66
"scripts": {
@@ -12,18 +12,18 @@
1212
"author": "ADAMANT Foundation <devs@adamant.im> (https://adamant.im)",
1313
"license": "GPL-3.0",
1414
"dependencies": {
15-
"@liskhq/lisk-cryptography": "3.2.0",
16-
"axios": "^0.25.0",
17-
"bignumber.js": "^9.0.2",
15+
"@liskhq/lisk-cryptography": "3.2.1",
16+
"axios": "^1.1.3",
17+
"bignumber.js": "^9.1.0",
1818
"bitcoinjs-lib": "^5.2.0",
19-
"bitcore-mnemonic": "^8.25.25",
19+
"bitcore-mnemonic": "^8.25.40",
2020
"bytebuffer": "^5.0.1",
21-
"coininfo": "^5.1.0",
21+
"coininfo": "^5.2.1",
2222
"ed2curve": "^0.3.0",
23-
"ethereumjs-util": "^7.1.4",
23+
"ethereumjs-util": "^7.1.5",
2424
"hdkey": "^2.0.1",
2525
"pbkdf2": "^3.1.2",
26-
"socket.io-client": "^2.4.0",
26+
"socket.io-client": "^4.5.3",
2727
"sodium-browserify-tweetnacl": "^0.2.6"
2828
},
2929
"publishConfig": {
@@ -63,12 +63,12 @@
6363
},
6464
"homepage": "https://github.com/Adamant-im/adamant-api-jsclient#readme",
6565
"devDependencies": {
66-
"@commitlint/cli": "^16.2.1",
67-
"@commitlint/config-conventional": "^16.2.1",
68-
"eslint": "^8.9.0",
66+
"@commitlint/cli": "^17.2.0",
67+
"@commitlint/config-conventional": "^17.2.0",
68+
"eslint": "^8.27.0",
6969
"eslint-config-google": "^0.14.0",
70-
"eslint-plugin-jest": "^26.1.0",
71-
"husky": "^7.0.4",
72-
"jest": "^27.5.1"
70+
"eslint-plugin-jest": "^27.1.5",
71+
"husky": "^8.0.2",
72+
"jest": "^29.3.1"
7373
}
7474
}

src/helpers/wsClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737

3838
const node = this.socketAddress();
3939
logger.log(`[Socket] Supported nodes: ${this.activeSocketNodes.length}. Connecting to ${node}...`);
40-
this.connection = ioClient.connect(node, {reconnection: false, timeout: 5000});
40+
this.connection = ioClient(node, {reconnection: false, timeout: 5000});
4141

4242
this.connection.on('connect', () => {
4343
this.connection.emit('address', this.admAddress);

0 commit comments

Comments
 (0)