diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-22 21:52:52 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-22 21:52:52 +0800 |
commit | f0f13aa1dda2927559ccc75f751a95e2e01f991f (patch) | |
tree | 43b3a6b2f048f7d6d05bb9f253becc1eaf761191 | |
parent | 06f61949f93eb83ea7d6456f6bbf18cb6f6dab7a (diff) | |
download | dexon-0x-contracts-f0f13aa1dda2927559ccc75f751a95e2e01f991f.tar.gz dexon-0x-contracts-f0f13aa1dda2927559ccc75f751a95e2e01f991f.tar.zst dexon-0x-contracts-f0f13aa1dda2927559ccc75f751a95e2e01f991f.zip |
Move ECSignature type from types package into eth-light-wallet type dec since only used there
-rw-r--r-- | packages/types/CHANGELOG.json | 8 | ||||
-rw-r--r-- | packages/types/src/index.ts | 6 | ||||
-rw-r--r-- | packages/typescript-typings/types/eth-lightwallet/index.d.ts | 8 |
3 files changed, 14 insertions, 8 deletions
diff --git a/packages/types/CHANGELOG.json b/packages/types/CHANGELOG.json index 6189acbbc..ed027e1d0 100644 --- a/packages/types/CHANGELOG.json +++ b/packages/types/CHANGELOG.json @@ -1,5 +1,13 @@ [ { + "version": "1.0.0-rc.2", + "changes": [ + { + "note": "Remove `ECSignatureBuffer`" + } + ] + }, + { "timestamp": 1532043000, "version": "1.0.0-rc.1", "changes": [ diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 72e2a726b..a9256befb 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -48,12 +48,6 @@ export interface ECSignature { s: string; } -export interface ECSignatureBuffer { - v: number; - r: Buffer; - s: Buffer; -} - /** * Validator signature components */ diff --git a/packages/typescript-typings/types/eth-lightwallet/index.d.ts b/packages/typescript-typings/types/eth-lightwallet/index.d.ts index 58096e9f4..93daa5041 100644 --- a/packages/typescript-typings/types/eth-lightwallet/index.d.ts +++ b/packages/typescript-typings/types/eth-lightwallet/index.d.ts @@ -1,7 +1,11 @@ // eth-lightwallet declarations -declare module 'eth-lightwallet' { - import { ECSignatureBuffer } from '@0xproject/types'; +interface ECSignatureBuffer { + v: number; + r: Buffer; + s: Buffer; +} +declare module 'eth-lightwallet' { // tslint:disable-next-line:class-name export class signing { public static signTx( |