File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -12,30 +12,27 @@ import { Transaction } from '../Transaction';
1212import { Cache } from '../Cache' ;
1313import { EventEmitter } from 'stream' ;
1414
15- export interface RawValueTransaction {
15+ interface RawValueTransaction {
1616 recipient_s : string | string [ ] ;
1717 value : string | number | BigNumber ;
1818 currencyCode : string ;
1919}
2020
21- export interface ValueTransaction {
21+ interface ValueTransaction {
2222 recipient_s : string | string [ ] ;
2323 valueRaw : string | number | BigNumber ;
2424 currencyCode : string ;
2525}
2626
27- export interface Events {
27+ interface Events {
2828 tip : Transaction ;
2929 withdrawal : Transaction ;
3030 deposit : Transaction ;
3131 ready : void ;
3232}
3333
34- export const isRawValueTransaction = (
35- payload : any ,
36- ) : payload is RawValueTransaction => payload && payload . valueRaw ;
37- export const isValueTransaction = ( payload : any ) : payload is ValueTransaction =>
38- payload && payload . value ;
34+ const isRawValueTransaction = ( payload : any ) : payload is RawValueTransaction =>
35+ payload && payload . valueRaw ;
3936
4037export class TransactionManager extends EventEmitter {
4138 public client : TipccClient ;
You can’t perform that action at this time.
0 commit comments