@base-framework/base 3.7.8 → 3.7.10

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.
@@ -78,6 +78,14 @@ export class BasicData {
78
78
  * @returns {void}
79
79
  */
80
80
  onFlush(callBack: Function): void;
81
+ /**
82
+ * This will flush any pending batched publishes immediately.
83
+ * Useful for draining stale queued updates before setting up
84
+ * new subscribers, preventing duplicate notifications.
85
+ *
86
+ * @returns {void}
87
+ */
88
+ flushPending(): void;
81
89
  /**
82
90
  * This will get the data id.
83
91
  *
@@ -11,7 +11,8 @@ export class ModuleLoader {
11
11
  *
12
12
  * @param {Promise} modulePromise
13
13
  * @param {function} callback
14
+ * @param {function} [errorCallback]
14
15
  * @returns {Promise}
15
16
  */
16
- static load(modulePromise: Promise<any>, callback: Function): Promise<any>;
17
+ static load(modulePromise: Promise<any>, callback: Function, errorCallback?: Function): Promise<any>;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.7.8",
3
+ "version": "3.7.10",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",