@openfin/core 38.82.64 → 38.82.65

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/out/mock.js CHANGED
@@ -3,7 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var require$$0 = require('events');
6
- var require$$3 = require('lodash');
6
+ var require$$0$1 = require('lodash/cloneDeep');
7
+ var require$$3 = require('lodash/isEqual');
7
8
 
8
9
  function _mergeNamespaces(n, m) {
9
10
  m.forEach(function (e) {
@@ -241,27 +242,50 @@ Object.defineProperty(window$2, "__esModule", { value: true });
241
242
  *
242
243
  * @packageDocumentation
243
244
  */
245
+ var __createBinding$1 = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
246
+ if (k2 === undefined) k2 = k;
247
+ var desc = Object.getOwnPropertyDescriptor(m, k);
248
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
249
+ desc = { enumerable: true, get: function() { return m[k]; } };
250
+ }
251
+ Object.defineProperty(o, k2, desc);
252
+ }) : (function(o, m, k, k2) {
253
+ if (k2 === undefined) k2 = k;
254
+ o[k2] = m[k];
255
+ }));
256
+ var __setModuleDefault$1 = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
257
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
258
+ }) : function(o, v) {
259
+ o["default"] = v;
260
+ });
261
+ var __importStar$1 = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) {
262
+ if (mod && mod.__esModule) return mod;
263
+ var result = {};
264
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$1(result, mod, k);
265
+ __setModuleDefault$1(result, mod);
266
+ return result;
267
+ };
244
268
  Object.defineProperty(events, "__esModule", { value: true });
245
269
  events.WindowEvents = events.WebContentsEvents = events.ViewEvents = events.SystemEvents = events.PlatformEvents = events.GlobalHotkeyEvents = events.FrameEvents = events.ExternalApplicationEvents = events.BaseEvents = events.ApplicationEvents = void 0;
246
- const ApplicationEvents = application$1;
270
+ const ApplicationEvents = __importStar$1(application$1);
247
271
  events.ApplicationEvents = ApplicationEvents;
248
- const BaseEvents = base$1;
272
+ const BaseEvents = __importStar$1(base$1);
249
273
  events.BaseEvents = BaseEvents;
250
- const ExternalApplicationEvents = externalApplication$1;
274
+ const ExternalApplicationEvents = __importStar$1(externalApplication$1);
251
275
  events.ExternalApplicationEvents = ExternalApplicationEvents;
252
- const FrameEvents = frame$1;
276
+ const FrameEvents = __importStar$1(frame$1);
253
277
  events.FrameEvents = FrameEvents;
254
- const GlobalHotkeyEvents = globalHotkey$1;
278
+ const GlobalHotkeyEvents = __importStar$1(globalHotkey$1);
255
279
  events.GlobalHotkeyEvents = GlobalHotkeyEvents;
256
- const PlatformEvents = platform$1;
280
+ const PlatformEvents = __importStar$1(platform$1);
257
281
  events.PlatformEvents = PlatformEvents;
258
- const SystemEvents = system$1;
282
+ const SystemEvents = __importStar$1(system$1);
259
283
  events.SystemEvents = SystemEvents;
260
- const ViewEvents = view$1;
284
+ const ViewEvents = __importStar$1(view$1);
261
285
  events.ViewEvents = ViewEvents;
262
- const WebContentsEvents = webcontents;
286
+ const WebContentsEvents = __importStar$1(webcontents);
263
287
  events.WebContentsEvents = WebContentsEvents;
264
- const WindowEvents = window$2;
288
+ const WindowEvents = __importStar$1(window$2);
265
289
  events.WindowEvents = WindowEvents;
266
290
 
267
291
  (function (exports) {
@@ -796,7 +820,9 @@ function requireFactory$3 () {
796
820
  * @experimental
797
821
  */
798
822
  async wrap(identity) {
799
- this.wire.sendAction('view-wrap');
823
+ this.wire.sendAction('view-wrap').catch((e) => {
824
+ // we do not want to expose this error, just continue if this analytics-only call fails
825
+ });
800
826
  const errorMsg = (0, validate_1.validateIdentity)(identity);
801
827
  if (errorMsg) {
802
828
  throw new Error(errorMsg);
@@ -9425,6 +9451,9 @@ var __classPrivateFieldGet$7 = (commonjsGlobal && commonjsGlobal.__classPrivateF
9425
9451
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
9426
9452
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
9427
9453
  };
9454
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
9455
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9456
+ };
9428
9457
  var _ConnectionManager_messageReceiver, _ConnectionManager_rtcConnectionManager;
9429
9458
  Object.defineProperty(connectionManager, "__esModule", { value: true });
9430
9459
  connectionManager.ConnectionManager = void 0;
@@ -9436,7 +9465,7 @@ const ice_manager_1 = iceManager;
9436
9465
  const provider_1$1 = provider;
9437
9466
  const message_receiver_1 = messageReceiver;
9438
9467
  const protocol_manager_1 = protocolManager;
9439
- const strategy_3 = strategy;
9468
+ const strategy_3 = __importDefault$1(strategy);
9440
9469
  class ConnectionManager extends base_1$f.Base {
9441
9470
  static getProtocolOptionsFromStrings(protocols) {
9442
9471
  return protocols.map((protocol) => {
@@ -13315,13 +13344,16 @@ function requireInteropBroker () {
13315
13344
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
13316
13345
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
13317
13346
  };
13347
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
13348
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13349
+ };
13318
13350
  var _InteropBroker_fdc3Info, _InteropBroker_contextGroups, _InteropBroker_providerPromise;
13319
13351
  Object.defineProperty(InteropBroker, "__esModule", { value: true });
13320
13352
  InteropBroker.InteropBroker = void 0;
13321
13353
  const base_1 = base;
13322
- const SessionContextGroupBroker_1 = requireSessionContextGroupBroker();
13354
+ const SessionContextGroupBroker_1 = __importDefault(requireSessionContextGroupBroker());
13323
13355
  const utils_1 = utils$3;
13324
- const lodash_1 = require$$3;
13356
+ const isEqual_1 = __importDefault(require$$3);
13325
13357
  const PrivateChannelProvider_1 = requirePrivateChannelProvider();
13326
13358
  const lazy_1 = lazy;
13327
13359
  const defaultContextGroups = [
@@ -13519,7 +13551,7 @@ function requireInteropBroker () {
13519
13551
  constructor(...unused) {
13520
13552
  if (unused.length) {
13521
13553
  const [_ignore1, ignore2, opts] = unused;
13522
- if (opts && typeof opts === 'object' && !(0, lodash_1.isEqual)(opts, args[2])) {
13554
+ if (opts && typeof opts === 'object' && !(0, isEqual_1.default)(opts, args[2])) {
13523
13555
  // eslint-disable-next-line no-console
13524
13556
  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.');
13525
13557
  super(args[0], args[1], opts);
@@ -14696,9 +14728,32 @@ var utils$2 = {};
14696
14728
 
14697
14729
  var PrivateChannelClient$1 = {};
14698
14730
 
14731
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14732
+ if (k2 === undefined) k2 = k;
14733
+ var desc = Object.getOwnPropertyDescriptor(m, k);
14734
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14735
+ desc = { enumerable: true, get: function() { return m[k]; } };
14736
+ }
14737
+ Object.defineProperty(o, k2, desc);
14738
+ }) : (function(o, m, k, k2) {
14739
+ if (k2 === undefined) k2 = k;
14740
+ o[k2] = m[k];
14741
+ }));
14742
+ var __setModuleDefault = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
14743
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
14744
+ }) : function(o, v) {
14745
+ o["default"] = v;
14746
+ });
14747
+ var __importStar = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) {
14748
+ if (mod && mod.__esModule) return mod;
14749
+ var result = {};
14750
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
14751
+ __setModuleDefault(result, mod);
14752
+ return result;
14753
+ };
14699
14754
  Object.defineProperty(PrivateChannelClient$1, "__esModule", { value: true });
14700
14755
  PrivateChannelClient$1.PrivateChannelClient = void 0;
14701
- const utils$1 = utils$3;
14756
+ const utils$1 = __importStar(utils$3);
14702
14757
  class PrivateChannelClient {
14703
14758
  constructor(client, id) {
14704
14759
  this.id = id;
@@ -14787,11 +14842,14 @@ class PrivateChannelClient {
14787
14842
  PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
14788
14843
 
14789
14844
  (function (exports) {
14845
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
14846
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14847
+ };
14790
14848
  Object.defineProperty(exports, "__esModule", { value: true });
14791
14849
  exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
14792
14850
  const utils_1 = utils$3;
14793
14851
  const PrivateChannelClient_1 = PrivateChannelClient$1;
14794
- const lodash_1 = require$$3;
14852
+ const isEqual_1 = __importDefault(require$$3);
14795
14853
  const getUnsupportedChannelApis = (channelType) => {
14796
14854
  return {
14797
14855
  addContextListener: () => {
@@ -14919,7 +14977,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
14919
14977
  const wrappedHandler = (context, contextMetadata) => {
14920
14978
  if (first) {
14921
14979
  first = false;
14922
- if ((0, lodash_1.isEqual)(currentContext, context)) {
14980
+ if ((0, isEqual_1.default)(currentContext, context)) {
14923
14981
  return;
14924
14982
  }
14925
14983
  }
@@ -15041,13 +15099,16 @@ function requireFdc3Common () {
15041
15099
  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");
15042
15100
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
15043
15101
  };
15102
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
15103
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15104
+ };
15044
15105
  var _FDC3ModuleBase_producer;
15045
15106
  Object.defineProperty(fdc3Common, "__esModule", { value: true });
15046
15107
  fdc3Common.FDC3ModuleBase = void 0;
15047
15108
  const utils_1 = utils$2;
15048
15109
  const utils_2 = utils$3;
15049
15110
  const InteropClient_1 = requireInteropClient();
15050
- const lodash_1 = require$$3;
15111
+ const isEqual_1 = __importDefault(require$$3);
15051
15112
  class FDC3ModuleBase {
15052
15113
  get client() {
15053
15114
  return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
@@ -15236,7 +15297,7 @@ function requireFdc3Common () {
15236
15297
  const wrappedHandler = (context, contextMetadata) => {
15237
15298
  if (first) {
15238
15299
  first = false;
15239
- if ((0, lodash_1.isEqual)(currentContext, context)) {
15300
+ if ((0, isEqual_1.default)(currentContext, context)) {
15240
15301
  return;
15241
15302
  }
15242
15303
  }
@@ -15849,11 +15910,14 @@ function requireInteropClient () {
15849
15910
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
15850
15911
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15851
15912
  };
15913
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
15914
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15915
+ };
15852
15916
  var _InteropClient_clientPromise, _InteropClient_sessionContextGroups;
15853
15917
  Object.defineProperty(InteropClient, "__esModule", { value: true });
15854
15918
  InteropClient.InteropClient = void 0;
15855
15919
  const base_1 = base;
15856
- const SessionContextGroupClient_1 = SessionContextGroupClient$1;
15920
+ const SessionContextGroupClient_1 = __importDefault(SessionContextGroupClient$1);
15857
15921
  const fdc3_1_2_1 = requireFdc31_2();
15858
15922
  const fdc3_2_0_1 = requireFdc32_0();
15859
15923
  const utils_1 = utils$3;
@@ -16493,9 +16557,12 @@ var hasRequiredFactory;
16493
16557
  function requireFactory () {
16494
16558
  if (hasRequiredFactory) return Factory$1;
16495
16559
  hasRequiredFactory = 1;
16560
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
16561
+ return (mod && mod.__esModule) ? mod : { "default": mod };
16562
+ };
16496
16563
  Object.defineProperty(Factory$1, "__esModule", { value: true });
16497
16564
  Factory$1.InteropModule = void 0;
16498
- const lodash_1 = require$$3;
16565
+ const cloneDeep_1 = __importDefault(require$$0$1);
16499
16566
  const inaccessibleObject_1 = inaccessibleObject;
16500
16567
  const base_1 = base;
16501
16568
  const InteropBroker_1 = requireInteropBroker();
@@ -16532,7 +16599,7 @@ function requireFactory () {
16532
16599
  // Allows for manifest-level configuration, without having to override. (e.g. specifying custom context groups)
16533
16600
  const options = await this.wire.environment.getInteropInfo(this.wire.getFin());
16534
16601
  const objectThatThrows = (0, inaccessibleObject_1.createUnusableObject)(BrokerParamAccessError);
16535
- const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, lodash_1.cloneDeep)(options));
16602
+ const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, cloneDeep_1.default)(options));
16536
16603
  const getProvider = () => {
16537
16604
  return this.fin.InterApplicationBus.Channel.create(`interop-broker-${name}`);
16538
16605
  };
@@ -17089,13 +17156,16 @@ var __classPrivateFieldGet = (commonjsGlobal && commonjsGlobal.__classPrivateFie
17089
17156
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
17090
17157
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
17091
17158
  };
17159
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
17160
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17161
+ };
17092
17162
  var _Transport_wire, _Transport_fin;
17093
17163
  Object.defineProperty(transport, "__esModule", { value: true });
17094
17164
  var Transport_1 = transport.Transport = void 0;
17095
17165
  const events_1$1 = require$$0;
17096
17166
  const wire_1 = wire;
17097
17167
  const transport_errors_1 = transportErrors;
17098
- const eventAggregator_1 = eventAggregator;
17168
+ const eventAggregator_1 = __importDefault(eventAggregator);
17099
17169
  const me_1$1 = me;
17100
17170
  const errors_1 = errors;
17101
17171
  class Transport extends events_1$1.EventEmitter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "38.82.64",
3
+ "version": "38.82.65",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",