Bump schnorrkel (derivation) (#366)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.3.4",
|
||||
"@polkadot/schnorrkel-js": "^0.2.0-2",
|
||||
"@polkadot/schnorrkel-js": "^0.2.0-3",
|
||||
"@polkadot/util": "^0.38.0-beta.1",
|
||||
"@types/bip39": "^2.4.2",
|
||||
"@types/pbkdf2": "^3.0.0",
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
import schnorrkel from '@polkadot/schnorrkel-js';
|
||||
|
||||
export default function derivePublic (publicKey: Uint8Array, chainCode: Uint8Array): Uint8Array {
|
||||
return schnorrkel.derivePublicSimple(publicKey, chainCode);
|
||||
return schnorrkel.softDerivePublic(publicKey, chainCode);
|
||||
}
|
||||
|
||||
@@ -1429,10 +1429,10 @@
|
||||
typescript "^3.3.3333"
|
||||
vuepress "^1.0.0-alpha.40"
|
||||
|
||||
"@polkadot/schnorrkel-js@^0.2.0-2":
|
||||
version "0.2.0-2"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/schnorrkel-js/-/schnorrkel-js-0.2.0-2.tgz#d6affb6df1c896da43caa1f08535008ff30ec922"
|
||||
integrity sha512-qmRRPF4UPfUNiNsXhjra3WdZmgWpR449ZPMj/UH0vS7J/ZK2zGiYCYmScdbmOISHnnsI9NJR6sIR1CVuFARrCw==
|
||||
"@polkadot/schnorrkel-js@^0.2.0-3":
|
||||
version "0.2.0-3"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/schnorrkel-js/-/schnorrkel-js-0.2.0-3.tgz#17b8f49f6c3b60dc2f64dc98d664447881d5a100"
|
||||
integrity sha512-D+ITK9rfYLWnrDtvFJSXUujmWbxIUeyjy75QY/Vf9V2lDRO1WhF6ttW6H2NRvlPxxY6Qc5jebLYBZ7Put7AIpA==
|
||||
|
||||
"@polkadot/ts@^0.1.56":
|
||||
version "0.1.56"
|
||||
|
||||
Reference in New Issue
Block a user