引用 tic.crypto 取代 tic.common

This commit is contained in:
luk.lu
2018-11-19 13:18:28 +08:00
parent 390d3ed15e
commit c5d6a0daa7
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,8 @@
"method-override": "^2.3.10", "method-override": "^2.3.10",
"morgan": "^1.9.0", "morgan": "^1.9.0",
"serve-favicon": "^2.4.5", "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": "^2.5.17",
"vue-axios": "^2.1.3", "vue-axios": "^2.1.3",
"vue-i18n": "^8.1.0", "vue-i18n": "^8.1.0",

View File

@@ -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 secword2PubKey = secword => ticCrypto.seckey2pubkey(secword)
export const secword2Address = secword => ticCrypto.secword2address(secword) export const secword2Address = secword => ticCrypto.secword2address(secword)