From 1657451f37a74e772c10d26d94ce950b7092816e Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 26 Feb 2018 16:33:12 -0800 Subject: Add as an option to --- packages/types/CHANGELOG.md | 1 + packages/types/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index eff253f7a..a4f293d60 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -3,6 +3,7 @@ ## v0.2.4 - _TBD, 2018_ * Add `data` to `TxData` (#413) + * Add `number` as an option to `ContractEventArg` (#413) ## v0.2.1 - _February 9, 2018_ diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 484faa93d..6242d4268 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -39,7 +39,7 @@ export enum AbiType { Fallback = 'fallback', } -export type ContractEventArg = string | BigNumber; +export type ContractEventArg = string | BigNumber | number; export interface DecodedLogArgs { [argName: string]: ContractEventArg; -- cgit