@openfin/cloud-interop 0.2.0 → 0.3.0

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3424,7 +3424,7 @@ async function cloudInteropOverride(config) {
3424
3424
  // @ts-expect-error
3425
3425
  const version = await fin.System.getVersion();
3426
3426
  const [major, chromium, api, build] = version.split('.').map((v) => parseInt(v));
3427
- if (major < 37 || build < 38) {
3427
+ if (major < 37 || major === 37 && (chromium < 122 && build < 38)) {
3428
3428
  throw new Error(`Cloud Interop requires runtime version 37.121.80.38+ when running in OpenFin.`);
3429
3429
  }
3430
3430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/cloud-interop",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "./dist/*"