@openfin/node-adapter 41.100.44 → 41.100.45

Sign up to get free protection for your applications and to get access to all the features.
@@ -12947,31 +12947,6 @@ var utils$3 = {};
12947
12947
  if (!context.type) {
12948
12948
  return { isValid: false, reason: 'Context must have a type property' };
12949
12949
  }
12950
- if (context.id && typeof context.id !== 'object') {
12951
- return {
12952
- isValid: false,
12953
- reason: 'Context id must be an Object populated with key-value identifiers (if set)'
12954
- };
12955
- }
12956
- if (context.id) {
12957
- const { id } = context;
12958
- const keys = Object.keys(id);
12959
- let foundBadIdentifier = false;
12960
- if (!keys.length) {
12961
- return { isValid: false, reason: 'Context id must have at least one key-value identifier' };
12962
- }
12963
- keys.forEach((key) => {
12964
- if (typeof key !== 'string' || typeof id[key] !== 'string') {
12965
- foundBadIdentifier = true;
12966
- }
12967
- });
12968
- if (foundBadIdentifier) {
12969
- return { isValid: false, reason: 'Context id key-value identifiers must be of type string' };
12970
- }
12971
- }
12972
- if (context.name && typeof context.name !== 'string') {
12973
- return { isValid: false, reason: 'Context name must be of string type (if set)' };
12974
- }
12975
12950
  return { isValid: true };
12976
12951
  };
12977
12952
  exports.checkContextIntegrity = checkContextIntegrity;
@@ -17739,7 +17714,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17739
17714
  };
17740
17715
  }
17741
17716
  getAdapterVersionSync() {
17742
- return "41.100.44";
17717
+ return "41.100.45";
17743
17718
  }
17744
17719
  observeBounds(element, onChange) {
17745
17720
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "41.100.44",
3
+ "version": "41.100.45",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -24,7 +24,7 @@
24
24
  "author": "OpenFin",
25
25
  "dependencies": {
26
26
  "@types/node": "^20.14.2",
27
- "@openfin/core": "41.100.44",
27
+ "@openfin/core": "41.100.45",
28
28
  "lodash": "^4.17.21",
29
29
  "ws": "^7.3.0"
30
30
  }