@openfin/node-adapter 39.81.8 → 39.81.9

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.
@@ -4650,7 +4650,7 @@ function requireInstance () {
4650
4650
  // don't expose
4651
4651
  });
4652
4652
  const opts = await this.getOptions();
4653
- if (!opts.layout || !opts.layoutSnapshot) {
4653
+ if (!opts.layout && !opts.layoutSnapshot) {
4654
4654
  throw new Error('Window does not have a Layout');
4655
4655
  }
4656
4656
  return this.fin.Platform.Layout.wrap(layoutIdentity ?? this.identity);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "39.81.8",
3
+ "version": "39.81.9",
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": "^16.0.0",
26
- "@openfin/core": "39.81.8",
26
+ "@openfin/core": "39.81.9",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }