From e250c9ef69cc688fc1616a7351df36ac2b097cec Mon Sep 17 00:00:00 2001 From: Aaron Barnard Date: Mon, 28 Oct 2019 13:46:07 +1100 Subject: [PATCH] Update types to be consistent with Notify --- src/interfaces.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index 0a68225..b6d3903 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -1,7 +1,9 @@ export interface NotificationObject { type?: string message?: string - autoDismiss?: number | boolean + autoDismiss?: number + onclick?: (event: any) => void + eventCode?: string } interface ContractObject { @@ -36,7 +38,7 @@ export interface TransactionData { startTime?: number watchedAddress?: string originalHash?: string - counterParty?: string + counterparty?: string direction?: string }