引用 tic.crypto 取代 tic.common
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user