Move ECSignature type from types package into eth-light-wallet type dec since only used there
This commit is contained in:
parent
06f61949f9
commit
f0f13aa1dd
@ -1,4 +1,12 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "1.0.0-rc.2",
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"note": "Remove `ECSignatureBuffer`"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"timestamp": 1532043000,
|
"timestamp": 1532043000,
|
||||||
"version": "1.0.0-rc.1",
|
"version": "1.0.0-rc.1",
|
||||||
|
@ -48,12 +48,6 @@ export interface ECSignature {
|
|||||||
s: string;
|
s: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ECSignatureBuffer {
|
|
||||||
v: number;
|
|
||||||
r: Buffer;
|
|
||||||
s: Buffer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validator signature components
|
* Validator signature components
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
// eth-lightwallet declarations
|
// 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
|
// tslint:disable-next-line:class-name
|
||||||
export class signing {
|
export class signing {
|
||||||
public static signTx(
|
public static signTx(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user