diff options
Diffstat (limited to 'packages/types')
-rw-r--r-- | packages/types/CHANGELOG.json | 8 | ||||
-rw-r--r-- | packages/types/src/index.ts | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/types/CHANGELOG.json b/packages/types/CHANGELOG.json index 40197ab92..5e14faeb6 100644 --- a/packages/types/CHANGELOG.json +++ b/packages/types/CHANGELOG.json @@ -1,5 +1,13 @@ [ { + "version": "0.8.2", + "changes": [ + { + "note": "Add `ECSignatureBuffer`" + } + ] + }, + { "timestamp": 1529397769, "version": "0.8.1", "changes": [ diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 4ad10fdee..9514320da 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -48,6 +48,12 @@ export interface ECSignature { s: string; } +export interface ECSignatureBuffer { + v: number; + r: Buffer; + s: Buffer; +} + /** * Validator signature components */ |