Move ECSignature type from types package into eth-light-wallet type dec since only used there

This commit is contained in:
Fabio Berger 2018-07-22 15:52:52 +02:00
parent 06f61949f9
commit f0f13aa1dd
3 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,12 @@
[
{
"version": "1.0.0-rc.2",
"changes": [
{
"note": "Remove `ECSignatureBuffer`"
}
]
},
{
"timestamp": 1532043000,
"version": "1.0.0-rc.1",

View File

@ -48,12 +48,6 @@ export interface ECSignature {
s: string;
}
export interface ECSignatureBuffer {
v: number;
r: Buffer;
s: Buffer;
}
/**
* Validator signature components
*/

View File

@ -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(