diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-19 17:28:11 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-19 17:28:11 +0800 |
commit | bab01abe27220b73ced3f54d311d0718e332ff8c (patch) | |
tree | 27c2ed31822b3ebe885fd192c53caa5521c4bfdd /packages/subproviders/src/globals.d.ts | |
parent | 951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565 (diff) | |
parent | c63f76dde7267c54328d2f12f401d94484e5a91a (diff) | |
download | dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar.gz dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar.bz2 dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar.lz dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar.xz dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.tar.zst dexon-sol-tools-bab01abe27220b73ced3f54d311d0718e332ff8c.zip |
Merge branch 'development' into createWethPage
* development:
Add additional public changes introduced to changelog
Update CHANGELOG
Add a comment
Introduce a variable for true
Remove redundant template string
Implement the address derivations
Add hdnode dependency
Move web3 import after subprovider imports in test web3_factory
Fixed https://github.com/0xProject/wiki/issues/19 by disabling re-rendering of markdownCodeBlock renderer if props haven't updated
Add convenience `rebuild` command
Update website calls to deposit/withdraw
Add entry to CHANGELOG
Diffstat (limited to 'packages/subproviders/src/globals.d.ts')
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index adef23806..3800c970f 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -48,7 +48,7 @@ declare module 'ledgerco' { public comm: comm; constructor(comm: comm); public getAddress_async(path: string, display?: boolean, chaincode?: boolean): - Promise<{publicKey: string; address: string}>; + Promise<{publicKey: string; address: string; chainCode: string}>; public signTransaction_async(path: string, rawTxHex: string): Promise<ECSignatureString>; public getAppConfiguration_async(): Promise<{ arbitraryDataEnabled: number; version: string }>; public signPersonalMessage_async(path: string, messageHex: string): Promise<ECSignature>; @@ -91,3 +91,14 @@ declare module 'web3-provider-engine' { } export = Web3ProviderEngine; } + +// hdkey declarations +declare module 'hdkey' { + class HDNode { + public publicKey: Buffer; + public chainCode: Buffer; + public constructor(); + public derive(path: string): HDNode; + } + export = HDNode; +} |