@openfin/cloud-interop 0.38.44 → 0.38.47

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.
Files changed (2) hide show
  1. package/out/index.js +13 -0
  2. package/package.json +2 -2
package/out/index.js CHANGED
@@ -3417,6 +3417,19 @@ class CloudInteropAPI {
3417
3417
 
3418
3418
  async function cloudInteropOverride(config) {
3419
3419
  const client = new CloudInteropAPI(config);
3420
+ try {
3421
+ await client.connect(config);
3422
+ }
3423
+ catch (err) {
3424
+ console.warn(err);
3425
+ return (Base) => {
3426
+ return class NoOpOverride extends Base {
3427
+ constructor() {
3428
+ super();
3429
+ }
3430
+ };
3431
+ };
3432
+ }
3420
3433
  return (Base) => {
3421
3434
  return class CloudInteropOverride extends Base {
3422
3435
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/cloud-interop",
3
- "version": "0.38.44",
3
+ "version": "0.38.47",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "files": [
@@ -18,7 +18,7 @@
18
18
  "author": "",
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "peerDependencies": {
21
- "@openfin/core": "38.81.44"
21
+ "@openfin/core": "38.81.47"
22
22
  },
23
23
  "dependencies": {
24
24
  "axios": "^1.6.2",