-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
29 lines (20 loc) · 764 Bytes
/
index.ts
File metadata and controls
29 lines (20 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { IPlugin } from 'fbl/dist/src/interfaces';
import { HTTPRequestActionHandler } from './src/handlers';
import { RandomUserAgentTemplateUtility } from './src/templateUtilities/RandomUserAgentTemplateUtility';
const packageJson = require('../package.json');
module.exports = <IPlugin>{
name: packageJson.name,
description: `Plugin that helps to make HTTP requests from FBL flow.`,
tags: packageJson.keywords,
version: packageJson.version,
requires: {
fbl: packageJson.peerDependencies.fbl,
plugins: {
// pluginId: '<0.0.1'
},
applications: [],
},
reporters: [],
actionHandlers: [new HTTPRequestActionHandler()],
templateUtils: [new RandomUserAgentTemplateUtility()],
};