Skip to content

Commit bc2fa35

Browse files
authored
Merge pull request #1474 from finos/PrivateChannelEvent-extends-ApiEvent
PrivateChannelEvent extends ApiEvent
2 parents d5aab3f + c0e1762 commit bc2fa35

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4949
* Added missing `resultType` argument to `findIntentByContext` agent request in the Bridging Schema. ([#1212](https://github.com/finos/FDC3/pull/1212))
5050
* Added missing id and name fields from the context base schema to respective context schemas (`Contact`, `ContactList`, `Country`, `InstrumentList`, `OrderList`, `Organization`, `Portfolio`, `Position`, `TradeList`). ([#1360](https://github.com/finos/FDC3/pull/1360))
5151
* Revised FDC3 charter to include well-known language from the FDC3 introduction, better describe FDC3's scope, focus on financial applications, update application types, etc. ([#1079](https://github.com/finos/FDC3/pull/1079))
52+
* Ensured that `PrivateChannelEvent` extends `ApiEvent` in both sourcecode and documentation. ([#1474](https://github.com/finos/FDC3/pull/1474))
5253

5354
## [npm v2.1.1] - 2024-06-28
5455

src/api/Events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export type PrivateChannelEventTypes = "addContextListener" | "unsubscribe" | "d
5656
* Type defining the format of event objects that may be received
5757
* via a PrivateChannel's `addEventListener` function.
5858
*/
59-
export interface PrivateChannelEvent {
59+
export interface PrivateChannelEvent extends ApiEvent{
6060
readonly type: PrivateChannelEventTypes;
6161
readonly details: any;
6262
}

0 commit comments

Comments
 (0)