@elliemae/pui-app-sdk 5.16.2 → 5.16.3

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.
@@ -136,6 +136,11 @@ class CMicroAppGuest {
136
136
  else existingApps.push(app);
137
137
  } else if (browserWindow.emui[this.appId].uuid === this.#uuid) {
138
138
  browserWindow.emui[this.appId] = app;
139
+ } else if (typeof browserWindow.emui[this.appId].init === "undefined") {
140
+ browserWindow.emui[this.appId] = {
141
+ ...browserWindow.emui[this.appId],
142
+ ...app
143
+ };
139
144
  } else {
140
145
  browserWindow.emui[this.appId] = [
141
146
  browserWindow.emui[this.appId],
@@ -103,6 +103,11 @@ class CMicroAppGuest {
103
103
  else existingApps.push(app);
104
104
  } else if (browserWindow.emui[this.appId].uuid === this.#uuid) {
105
105
  browserWindow.emui[this.appId] = app;
106
+ } else if (typeof browserWindow.emui[this.appId].init === "undefined") {
107
+ browserWindow.emui[this.appId] = {
108
+ ...browserWindow.emui[this.appId],
109
+ ...app
110
+ };
106
111
  } else {
107
112
  browserWindow.emui[this.appId] = [
108
113
  browserWindow.emui[this.appId],