Skip to content

Commit 14ef2fa

Browse files
committed
Version 2.0.4
* Update IFacade (remove inherited sendNotification initializeNotifier methods) and Mediator (viewComponent type any, not Object)
1 parent 5c1dc39 commit 14ef2fa

File tree

6 files changed

+10
-31
lines changed

6 files changed

+10
-31
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2024, Saad Shams <[email protected]>
3+
Copyright (c) 2025, Saad Shams <[email protected]>
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ npm i @puremvc/puremvc-typescript-multicore-framework
2727
Production - [Version 2.0.2](https://github.com/PureMVC/puremvc-typescript-multicore-framework/blob/master/VERSION)
2828

2929
## License
30-
* PureMVC MultiCore Framework for TypeScript - Copyright © 2024 [Saad Shams](https://www.linkedin.com/in/muizz)
31-
* PureMVC - Copyright © 2024 [Futurescale, Inc.](http://futurescale.com/)
30+
* PureMVC MultiCore Framework for TypeScript - Copyright © 2025 [Saad Shams](https://www.linkedin.com/in/muizz)
31+
* PureMVC - Copyright © 2025 [Futurescale, Inc.](http://futurescale.com/)
3232
* All rights reserved.
3333

3434
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

VERSION

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
PureMVC MultiCore Framework for TypeScript
22
--------------------------------------------------------------------------
3-
Release Date: 11/03/24
3+
Release Date: 2/25/25
44
Platform: TypeScript
55
Version: 2
66
Revision: 0
7-
Minor: 2
7+
Minor: 4
88
Authors: Saad Shams <[email protected]>
99
--------------------------------------------------------------------------
1010
2.0.0 - Brand new implementation of ported code, equivalent to AS3 MultiCore Version 1.0.5.
1111
2.0.1 - CI/CD Pipeline
1212
2.0.2 - Updated docs and tests
13+
2.0.3 - Unpublished
14+
2.0.4 - Update IFacade (remove inherited sendNotification initializeNotifier methods)
15+
and Mediator (viewComponent type any, not Object)

bin/types/interfaces/IFacade.d.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,28 +111,4 @@ export interface IFacade extends INotifier {
111111
* @returns {void}
112112
*/
113113
notifyObservers(notification: INotification): void;
114-
/**
115-
* Create and send an `Notification`.
116-
*
117-
* Keeps us from having to construct new notification
118-
* instances in our implementation code.
119-
*
120-
* @param {string} notificationName - the `INotification` to have the `View` notify `Observers` of.
121-
* @param {any} [body] - Optional data to be included in the notification.
122-
* @param {string} [type] - Optional type of the notification.
123-
* @returns {void}
124-
*/
125-
sendNotification(notificationName: string, body?: any, type?: string): void;
126-
/**
127-
* Set the Multiton key for this facade instance.
128-
*
129-
* Not called directly, but instead from the
130-
* constructor when `getInstance` is invoked.
131-
* It is necessary to be public in order to
132-
* implement Notifier.
133-
*
134-
* @param {string} key - The unique key to initialize the notifier with.
135-
* @returns {void}
136-
*/
137-
initializeNotifier(key: string): void;
138114
}

bin/types/patterns/mediator/Mediator.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export declare class Mediator extends Notifier implements IMediator {
1717
@type {string} */
1818
protected readonly _name: string;
1919
/** The view component
20-
* @type {Object} */
20+
* @type {any} */
2121
protected _viewComponent?: any;
2222
/**
2323
* Constructor.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@puremvc/puremvc-typescript-multicore-framework",
3-
"version": "2.0.2",
3+
"version": "2.0.4",
44
"description": "PureMVC MultiCore Framework for TypeScript",
55
"main": "bin/cjs/index.js",
66
"module": "bin/esm/index.js",

0 commit comments

Comments
 (0)