diff --git a/package.json b/package.json index 4a64629..f6de3e7 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "method-override": "^2.3.10", "morgan": "^1.9.0", "serve-favicon": "^2.4.5", - "tic.common": "git+https://git.faronear.org/tic/tic.common.git", + "socket.io": "^2.1.1", + "tic.crypto": "git+https://git.faronear.org/tic/tic.crypto.git", "vue": "^2.5.17", "vue-axios": "^2.1.3", "vue-i18n": "^8.1.0", diff --git a/src/services/api/tic-bg.js b/src/services/api/tic-bg.js index 618c15c..7f3a773 100644 --- a/src/services/api/tic-bg.js +++ b/src/services/api/tic-bg.js @@ -1,4 +1,4 @@ -import { Crypto as ticCrypto } from 'tic.common' +import ticCrypto from 'tic.crypto' export const secword2PubKey = secword => ticCrypto.seckey2pubkey(secword) export const secword2Address = secword => ticCrypto.secword2address(secword)