Skip to content

Commit

Permalink
Release 2.19.5 (#2386)
Browse files Browse the repository at this point in the history
Deprecate EventHandler
  • Loading branch information
Adrien Maret authored Sep 8, 2022
1 parent bb2a270 commit b58fa9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions lib/types/EventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ export type PipeEventHandler<
export type ClusterEventHandler<
TEventDefinition extends EventDefinition = EventDefinition
> = (...args: TEventDefinition["args"]) => any;

/**
* @deprecated Use HookEventHandler, PipeEventHandler or ClusterEventHandler
*/
export type EventHandler = (...payload: any) => any;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kuzzle",
"author": "The Kuzzle Team <[email protected]>",
"version": "2.19.4",
"version": "2.19.5",
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
"bin": "bin/start-kuzzle-server",
"scripts": {
Expand Down

0 comments on commit b58fa9b

Please sign in to comment.