@base-framework/base 3.0.180 → 3.0.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,18 +12,13 @@ export class DataPubSub {
12
12
  * @protected
13
13
  */
14
14
  protected callBacks: Map<any, any>;
15
- /**
16
- * @member {number} lastToken
17
- * @protected
18
- */
19
- protected lastToken: number;
20
15
  /**
21
16
  * This will get a subscriber array.
22
17
  *
23
18
  * @param {string} msg
24
- * @returns {array}
19
+ * @returns {Map}
25
20
  */
26
- get(msg: string): any[];
21
+ get(msg: string): Map<any, any>;
27
22
  /**
28
23
  * This will reset pub sub.
29
24
  *
@@ -1,5 +1,6 @@
1
1
  export function cache(ele: object, propName: string, parent: object): void;
2
2
  export function useParent(ele: object, callBack: Function, parent: object): void;
3
+ export function getId(ele: object, name: string, parent: object): void;
3
4
  export function useData(ele: object, callBack: Function, parent: object): void;
4
5
  export function useState(ele: object, callBack: Function, parent: object): void;
5
6
  export function addState(ele: object, callBack: Function, parent: object): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.180",
3
+ "version": "3.0.182",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",