Skip to content

Commit

Permalink
fix: re-export plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
abriginets committed May 12, 2024
1 parent d64604b commit be60b5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { ipBasedMitigationServiceInstance } from './ip-based-mitigation/ip-based-mitigation.instance';
import { IpBasedMitigationService } from './ip-based-mitigation/ip-based-mitigation.service';
import { AbuseIPDBPlugin } from './ip-based-mitigation/plugins/abuse-ipdb/abuse-ipdb.plugin';
import { VirusTotalResult } from './ip-based-mitigation/plugins/virus-total/client/enums/virus-total-ip-address.enum';
import { VirusTotalPlugin } from './ip-based-mitigation/plugins/virus-total/virus-total.plugin';
import { UmbressOptions } from './options/interfaces/options.interface';
import { optionsServiceInstance } from './options/options.instance';
import { OptionsService } from './options/options.service';
import { ProcessorService } from './processor/processor.service';
import { LeakyBucketRatelimiterPlugin } from './ratelimiter/plugins/leaky-bucket/leaky-bucket-ratelimiter.plugin';
import { ratelimiterServiceInstance } from './ratelimiter/ratelimiter.instance';
import { RatelimiterService } from './ratelimiter/ratelimiter.service';

Expand All @@ -17,3 +21,5 @@ export default function umbress<R, S>(userOptions: UmbressOptions<R, S>): (reque

return processor.process;
}

export { AbuseIPDBPlugin, VirusTotalPlugin, LeakyBucketRatelimiterPlugin, VirusTotalResult };

0 comments on commit be60b5d

Please sign in to comment.