@elliemae/pui-app-sdk 5.21.0-beta.5 → 5.21.0-beta.6

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.
@@ -131,6 +131,7 @@ class CMicroAppGuest {
131
131
  return host.getObject(objectId);
132
132
  }
133
133
  host = this.getHost();
134
+ if (!host) return Promise.resolve(null);
134
135
  return host.getObject(objectId);
135
136
  }
136
137
  /**
@@ -98,6 +98,7 @@ class CMicroAppGuest {
98
98
  return host.getObject(objectId);
99
99
  }
100
100
  host = this.getHost();
101
+ if (!host) return Promise.resolve(null);
101
102
  return host.getObject(objectId);
102
103
  }
103
104
  /**