@openfin/remote-adapter 41.100.42 → 41.100.45

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.
@@ -381,31 +381,6 @@ var utils$3 = {};
381
381
  if (!context.type) {
382
382
  return { isValid: false, reason: 'Context must have a type property' };
383
383
  }
384
- if (context.id && typeof context.id !== 'object') {
385
- return {
386
- isValid: false,
387
- reason: 'Context id must be an Object populated with key-value identifiers (if set)'
388
- };
389
- }
390
- if (context.id) {
391
- const { id } = context;
392
- const keys = Object.keys(id);
393
- let foundBadIdentifier = false;
394
- if (!keys.length) {
395
- return { isValid: false, reason: 'Context id must have at least one key-value identifier' };
396
- }
397
- keys.forEach((key) => {
398
- if (typeof key !== 'string' || typeof id[key] !== 'string') {
399
- foundBadIdentifier = true;
400
- }
401
- });
402
- if (foundBadIdentifier) {
403
- return { isValid: false, reason: 'Context id key-value identifiers must be of type string' };
404
- }
405
- }
406
- if (context.name && typeof context.name !== 'string') {
407
- return { isValid: false, reason: 'Context name must be of string type (if set)' };
408
- }
409
384
  return { isValid: true };
410
385
  };
411
386
  exports.checkContextIntegrity = checkContextIntegrity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "41.100.42",
3
+ "version": "41.100.45",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -20,6 +20,6 @@
20
20
  "author": "OpenFin",
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@openfin/core": "41.100.42"
23
+ "@openfin/core": "41.100.45"
24
24
  }
25
25
  }