Skip to content

Commit

Permalink
NEG-0000 - Adding a new Al Trigger Event (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev4ndy authored Nov 1, 2023
1 parent ffb2ba9 commit bfdd6ac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@al/core",
"version": "1.2.7",
"version": "1.2.8",
"description": "Node Enterprise Packages for Alert Logic (NEPAL) Core Library",
"main": "./dist/index.cjs.js",
"types": "./dist/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions src/session/events/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,14 @@ export class AlExternalTrackableEvent extends AlTriggeredEvent<void>
super();
}
}

/**
* AlFortraTokenChangedEvent is emitted by an AlSessionInstance each time the Fortra token is refreshed.
*/
@AlTrigger( 'AlFortraTokenChanged' )
export class AlFortraTokenChangedEvent extends AlTriggeredEvent<void>
{
constructor( public token:string ) {
super();
}
}

0 comments on commit bfdd6ac

Please sign in to comment.