@openfin/core 39.83.19 → 39.83.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/out/mock.js +4 -0
  2. package/package.json +1 -1
package/out/mock.js CHANGED
@@ -12442,6 +12442,10 @@ class LayoutModule extends base_1$4.Base {
12442
12442
  if (!allowedErrors.some((m) => e.message.includes(m))) {
12443
12443
  throw e;
12444
12444
  }
12445
+ // If a view is attached to provider window, return null
12446
+ if (layoutWindowIdentity.uuid === layoutWindowIdentity.name) {
12447
+ throw new Error(`View identity ${JSON.stringify(viewIdentity)} is not attached to any layout in provider window ${JSON.stringify(layoutWindowIdentity)}.`);
12448
+ }
12445
12449
  // fallback logic for missing endpoint in older runtimes
12446
12450
  return this.wrapSync(layoutWindowIdentity);
12447
12451
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "39.83.19",
3
+ "version": "39.83.21",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",