@openfin/node-adapter 39.83.19 → 39.83.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -12154,6 +12154,10 @@ class LayoutModule extends base_1$4.Base {
12154
12154
  if (!allowedErrors.some((m) => e.message.includes(m))) {
12155
12155
  throw e;
12156
12156
  }
12157
+ // If a view is attached to provider window, return null
12158
+ if (layoutWindowIdentity.uuid === layoutWindowIdentity.name) {
12159
+ throw new Error(`View identity ${JSON.stringify(viewIdentity)} is not attached to any layout in provider window ${JSON.stringify(layoutWindowIdentity)}.`);
12160
+ }
12157
12161
  // fallback logic for missing endpoint in older runtimes
12158
12162
  return this.wrapSync(layoutWindowIdentity);
12159
12163
  }
@@ -17585,7 +17589,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17585
17589
  };
17586
17590
  }
17587
17591
  getAdapterVersionSync() {
17588
- return "39.83.19";
17592
+ return "39.83.20";
17589
17593
  }
17590
17594
  observeBounds(element, onChange) {
17591
17595
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "39.83.19",
3
+ "version": "39.83.20",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -23,7 +23,7 @@
23
23
  "author": "OpenFin",
24
24
  "dependencies": {
25
25
  "@types/node": "^20.14.2",
26
- "@openfin/core": "39.83.19",
26
+ "@openfin/core": "39.83.20",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }