Skip to content

Commit

Permalink
fix(async/modules/wrappers): return event object from the on method…
Browse files Browse the repository at this point in the history
… of the wrapped emitter (#386)
  • Loading branch information
geopr authored Mar 1, 2024
1 parent 18ec0f9 commit 02cfd4e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Changelog
_Note: Gaps between patch versions are faulty, broken or test releases._

## v4.0.0-alpha.23 (2024-03-01)

#### :bug: Bug Fix

* Return event object from the `on` method of the wrapped emitter `core/async/modules/wrappers`

## v4.0.0-alpha.22 (2024-02-27)

#### :rocket: New Feature
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/core/index.js",
"typings": "index.d.ts",
"license": "MIT",
"version": "4.0.0-alpha.22",
"version": "4.0.0-alpha.23",
"author": "kobezzza <[email protected]> (https://github.com/kobezzza)",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions src/core/async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Changelog
> - :house: [Internal]
> - :nail_care: [Polish]
## v4.0.0-alpha.23 (2024-03-01)

#### :bug: Bug Fix

* Return event object from the `on` method of the wrapped emitter `modules/wrappers`

## v4.0.0-alpha.18 (2024-01-12)

#### :bug: Bug Fix
Expand Down
2 changes: 2 additions & 0 deletions src/core/async/modules/wrappers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ export default class Async<CTX extends object = Async<any>> extends Super<CTX> {
if (link != null) {
links.set(fn, link.handler);
}

return link;
}
});

Expand Down

0 comments on commit 02cfd4e

Please sign in to comment.