import { NewTxBlockSubscription } from './newblock' ; import { NewEventSubscription } from './newevent' ; import { SubscriptionOption } from './types' ; export class SubscriptionBuilder { buildNewBlockSubscriptions ( url , options ? ) { return new NewTxBlockSubscription ( url , options ) ; } buildEventLogSubscriptions ( url , options ? ) { return new NewEventSubscription ( url , options ) ; } }