@deepbounty/sdk 1.2.7 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/events.d.ts CHANGED
@@ -32,6 +32,15 @@ export interface CoreEvents {
32
32
  "target:created": Target;
33
33
  "target:updated": Target;
34
34
  "target:deleted": Target;
35
+ "target:scopeChanged": {
36
+ subdomains: string[];
37
+ outOfScopeSubdomains: string[];
38
+ targetId: number;
39
+ };
40
+ "target:packagesChanged": {
41
+ packageNames: string[];
42
+ targetId: number;
43
+ };
35
44
  }
36
45
  /**
37
46
  * Event handler function signature
@@ -3,6 +3,8 @@ export interface Target {
3
3
  name: string;
4
4
  domain: string;
5
5
  subdomains: string[];
6
+ outOfScopeSubdomains: string[];
7
+ packageNames: string[];
6
8
  activeScan: boolean;
7
9
  settings?: {
8
10
  userAgent?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepbounty/sdk",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "DeepBounty SDK for module development",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",