@openfin/remote-adapter 39.83.1 → 39.83.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.
@@ -9435,9 +9435,14 @@ function requireInstance () {
9435
9435
  // don't expose
9436
9436
  });
9437
9437
  const layoutWindow = await this.getCurrentWindow();
9438
+ let layoutWindowIdentity = layoutWindow.identity;
9439
+ // TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
9440
+ if (layoutWindowIdentity.identity) {
9441
+ layoutWindowIdentity = layoutWindowIdentity.identity;
9442
+ }
9438
9443
  try {
9439
9444
  const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
9440
- const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindow.identity);
9445
+ const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
9441
9446
  const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
9442
9447
  return this.fin.Platform.Layout.wrap(layoutIdentity);
9443
9448
  }
@@ -9450,7 +9455,7 @@ function requireInstance () {
9450
9455
  throw e;
9451
9456
  }
9452
9457
  // fallback logic for missing endpoint
9453
- return this.fin.Platform.Layout.wrap(layoutWindow.identity);
9458
+ return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
9454
9459
  }
9455
9460
  };
9456
9461
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "39.83.1",
3
+ "version": "39.83.3",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -19,6 +19,6 @@
19
19
  "author": "OpenFin",
20
20
  "dependencies": {
21
21
  "lodash": "^4.17.21",
22
- "@openfin/core": "39.83.1"
22
+ "@openfin/core": "39.83.3"
23
23
  }
24
24
  }