evmux-app-framework 0.0.32 → 0.0.34
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.
package/package.json
CHANGED
|
@@ -104,7 +104,7 @@ let createEventResultObject = (requestName, eventName, result) => {
|
|
|
104
104
|
updateAndNotifyAppInstancesOnSettingsUpdate(userAppInstanceId, data, originComponentId)
|
|
105
105
|
{
|
|
106
106
|
appsDataManager.updateUserAppInstanceSettings(userAppInstanceId, data)
|
|
107
|
-
if (this._userAppInstances[userAppInstanceId].events[availableEvents.settingsUpdated])
|
|
107
|
+
if (this._userAppInstances[userAppInstanceId] && this._userAppInstances[userAppInstanceId].events[availableEvents.settingsUpdated])
|
|
108
108
|
{
|
|
109
109
|
let eventObj = createEventResultObject("EvEvent", availableEvents.settingsUpdated, data)
|
|
110
110
|
this._sendPostMessageToUsrAppInstancesComponents(userAppInstanceId, eventObj, originComponentId)
|
|
@@ -158,6 +158,7 @@ let createEventResultObject = (requestName, eventName, result) => {
|
|
|
158
158
|
this._makeSureAppInstanceExist(requestObj.userAppInstanceId);
|
|
159
159
|
|
|
160
160
|
this._userAppInstances[requestObj.userAppInstanceId].instances[requestObj.componentId] = { window: evt.source }
|
|
161
|
+
this._eventHandler.publish("appComponentLoaded", requestObj)
|
|
161
162
|
|
|
162
163
|
result = this.getAppSettingsForAppInstanceId(requestObj.userAppInstanceId)
|
|
163
164
|
}
|