@openfin/core 25.68.26 → 25.68.27

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.
package/README.md CHANGED
@@ -18,7 +18,7 @@ To install, run:
18
18
 
19
19
  ## Usage
20
20
 
21
- The `fin` export is the primary API entry point. Type definitions are defined in the package's default export. The exported `inOpenFin` boolean is true if the `fin` API is available in the current context.
21
+ The `fin` export is the primary API entry point. Type definitions are defined in the package's default export.
22
22
 
23
23
  ```typescript
24
24
  import OpenFin, { fin, inOpenFin } from "@openfin/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "25.68.26",
3
+ "version": "25.68.27",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./src/mock.js",
6
6
  "types": "./src/mock.d.ts",
@@ -27,7 +27,6 @@
27
27
  "sinon": "~1.17.6"
28
28
  },
29
29
  "dependencies": {
30
- "lodash": "^4.17.21",
31
- "ws": "^7.3.0"
30
+ "lodash": "^4.17.21"
32
31
  }
33
32
  }
package/src/mock.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  /// <reference path="../OpenFin.d.ts" />
2
2
  export declare const fin: import("./api/fin").FinApi<"window" | "iframe" | "view">;
3
- export declare const inOpenFin: boolean;
4
3
  export default OpenFin;
package/src/mock.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.inOpenFin = exports.fin = void 0;
4
+ exports.fin = void 0;
5
5
  /* eslint-disable import/prefer-default-export */
6
6
  /* eslint-disable spaced-comment */
7
7
  /* eslint-disable @typescript-eslint/triple-slash-reference */
@@ -88,4 +88,3 @@ exports.fin = ((typeof window !== 'undefined' && ((_a = window) === null || _a =
88
88
  });
89
89
  return new fin_1.default(transport);
90
90
  })());
91
- exports.inOpenFin = typeof window !== 'undefined' && typeof window.fin === 'object';