dynim-core 1.0.3 → 1.0.4
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.
|
@@ -38,7 +38,7 @@ export function createCodeClient(config = {}) {
|
|
|
38
38
|
const messageListeners = new Set();
|
|
39
39
|
/** Notify all listeners of message update */
|
|
40
40
|
function notifyListeners() {
|
|
41
|
-
|
|
41
|
+
onMessageUpdate?.(currentMessage);
|
|
42
42
|
messageListeners.forEach(listener => listener(currentMessage));
|
|
43
43
|
}
|
|
44
44
|
/** Update message state and notify listeners */
|