import { Subscription } from './subscription' ; import { QueryParam , SubscriptionOption } from './types' ; export class NewEventSubscription extends Subscription { constructor ( url , options ? ) { super ( { query : QueryParam . EVENT_LOG } , url , options ) ; this . subject = { query : 'EventLog' , addresses : options !== undefined ? options . addresses : [ ] , } ; } }