@openfin/node-adapter 40.82.12 → 40.82.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/out/node-adapter.js +20 -10
  2. package/package.json +2 -2
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('events');
4
- var require$$3 = require('lodash');
4
+ var require$$0$1 = require('lodash/cloneDeep');
5
+ var require$$3 = require('lodash/isEqual');
5
6
  var fs = require('fs');
6
7
  var crypto = require('crypto');
7
8
  var _WS = require('ws');
@@ -13202,7 +13203,7 @@ function requireInteropBroker () {
13202
13203
  const base_1 = base;
13203
13204
  const SessionContextGroupBroker_1 = __importDefault(requireSessionContextGroupBroker());
13204
13205
  const utils_1 = utils$3;
13205
- const lodash_1 = require$$3;
13206
+ const isEqual_1 = __importDefault(require$$3);
13206
13207
  const PrivateChannelProvider_1 = requirePrivateChannelProvider();
13207
13208
  const lazy_1 = lazy;
13208
13209
  const defaultContextGroups = [
@@ -13400,7 +13401,7 @@ function requireInteropBroker () {
13400
13401
  constructor(...unused) {
13401
13402
  if (unused.length) {
13402
13403
  const [_ignore1, ignore2, opts] = unused;
13403
- if (opts && typeof opts === 'object' && !(0, lodash_1.isEqual)(opts, args[2])) {
13404
+ if (opts && typeof opts === 'object' && !(0, isEqual_1.default)(opts, args[2])) {
13404
13405
  // eslint-disable-next-line no-console
13405
13406
  console.warn('You have modified the parameters of the InteropOverride constructor. This behavior is deprecated and will be removed in a future version. You can modify these options in your manifest. Please consult our Interop docs for guidance on migrating to the new override scheme.');
13406
13407
  super(args[0], args[1], opts);
@@ -14691,11 +14692,14 @@ class PrivateChannelClient {
14691
14692
  PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
14692
14693
 
14693
14694
  (function (exports) {
14695
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
14696
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14697
+ };
14694
14698
  Object.defineProperty(exports, "__esModule", { value: true });
14695
14699
  exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
14696
14700
  const utils_1 = utils$3;
14697
14701
  const PrivateChannelClient_1 = PrivateChannelClient$1;
14698
- const lodash_1 = require$$3;
14702
+ const isEqual_1 = __importDefault(require$$3);
14699
14703
  const getUnsupportedChannelApis = (channelType) => {
14700
14704
  return {
14701
14705
  addContextListener: () => {
@@ -14823,7 +14827,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
14823
14827
  const wrappedHandler = (context, contextMetadata) => {
14824
14828
  if (first) {
14825
14829
  first = false;
14826
- if ((0, lodash_1.isEqual)(currentContext, context)) {
14830
+ if ((0, isEqual_1.default)(currentContext, context)) {
14827
14831
  return;
14828
14832
  }
14829
14833
  }
@@ -14945,13 +14949,16 @@ function requireFdc3Common () {
14945
14949
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
14946
14950
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
14947
14951
  };
14952
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
14953
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14954
+ };
14948
14955
  var _FDC3ModuleBase_producer;
14949
14956
  Object.defineProperty(fdc3Common, "__esModule", { value: true });
14950
14957
  fdc3Common.FDC3ModuleBase = void 0;
14951
14958
  const utils_1 = utils$2;
14952
14959
  const utils_2 = utils$3;
14953
14960
  const InteropClient_1 = requireInteropClient();
14954
- const lodash_1 = require$$3;
14961
+ const isEqual_1 = __importDefault(require$$3);
14955
14962
  class FDC3ModuleBase {
14956
14963
  get client() {
14957
14964
  return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
@@ -15140,7 +15147,7 @@ function requireFdc3Common () {
15140
15147
  const wrappedHandler = (context, contextMetadata) => {
15141
15148
  if (first) {
15142
15149
  first = false;
15143
- if ((0, lodash_1.isEqual)(currentContext, context)) {
15150
+ if ((0, isEqual_1.default)(currentContext, context)) {
15144
15151
  return;
15145
15152
  }
15146
15153
  }
@@ -16400,9 +16407,12 @@ var hasRequiredFactory;
16400
16407
  function requireFactory () {
16401
16408
  if (hasRequiredFactory) return Factory$1;
16402
16409
  hasRequiredFactory = 1;
16410
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
16411
+ return (mod && mod.__esModule) ? mod : { "default": mod };
16412
+ };
16403
16413
  Object.defineProperty(Factory$1, "__esModule", { value: true });
16404
16414
  Factory$1.InteropModule = void 0;
16405
- const lodash_1 = require$$3;
16415
+ const cloneDeep_1 = __importDefault(require$$0$1);
16406
16416
  const inaccessibleObject_1 = inaccessibleObject;
16407
16417
  const base_1 = base;
16408
16418
  const InteropBroker_1 = requireInteropBroker();
@@ -16439,7 +16449,7 @@ function requireFactory () {
16439
16449
  // Allows for manifest-level configuration, without having to override. (e.g. specifying custom context groups)
16440
16450
  const options = await this.wire.environment.getInteropInfo(this.wire.getFin());
16441
16451
  const objectThatThrows = (0, inaccessibleObject_1.createUnusableObject)(BrokerParamAccessError);
16442
- const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, lodash_1.cloneDeep)(options));
16452
+ const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, cloneDeep_1.default)(options));
16443
16453
  const getProvider = () => {
16444
16454
  return this.fin.InterApplicationBus.Channel.create(`interop-broker-${name}`);
16445
16455
  };
@@ -17621,7 +17631,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17621
17631
  };
17622
17632
  }
17623
17633
  getAdapterVersionSync() {
17624
- return "40.82.12";
17634
+ return "40.82.14";
17625
17635
  }
17626
17636
  observeBounds(element, onChange) {
17627
17637
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "40.82.12",
3
+ "version": "40.82.14",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -23,7 +23,7 @@
23
23
  "author": "OpenFin",
24
24
  "dependencies": {
25
25
  "@types/node": "^20.14.2",
26
- "@openfin/core": "40.82.12",
26
+ "@openfin/core": "40.82.14",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }