@openfin/fdc3-api 40.82.11 → 40.82.13

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/fdc3-api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var require$$2 = require('lodash');
3
+ var require$$2 = require('lodash/isEqual');
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
6
 
@@ -77,9 +77,32 @@ var utils$1 = {};
77
77
 
78
78
  var PrivateChannelClient$1 = {};
79
79
 
80
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
81
+ if (k2 === undefined) k2 = k;
82
+ var desc = Object.getOwnPropertyDescriptor(m, k);
83
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
84
+ desc = { enumerable: true, get: function() { return m[k]; } };
85
+ }
86
+ Object.defineProperty(o, k2, desc);
87
+ }) : (function(o, m, k, k2) {
88
+ if (k2 === undefined) k2 = k;
89
+ o[k2] = m[k];
90
+ }));
91
+ var __setModuleDefault = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
92
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
93
+ }) : function(o, v) {
94
+ o["default"] = v;
95
+ });
96
+ var __importStar = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) {
97
+ if (mod && mod.__esModule) return mod;
98
+ var result = {};
99
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
100
+ __setModuleDefault(result, mod);
101
+ return result;
102
+ };
80
103
  Object.defineProperty(PrivateChannelClient$1, "__esModule", { value: true });
81
104
  PrivateChannelClient$1.PrivateChannelClient = void 0;
82
- const utils = utils$2;
105
+ const utils = __importStar(utils$2);
83
106
  class PrivateChannelClient {
84
107
  constructor(client, id) {
85
108
  this.id = id;
@@ -168,11 +191,14 @@ class PrivateChannelClient {
168
191
  PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
169
192
 
170
193
  (function (exports) {
194
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
195
+ return (mod && mod.__esModule) ? mod : { "default": mod };
196
+ };
171
197
  Object.defineProperty(exports, "__esModule", { value: true });
172
198
  exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
173
199
  const utils_1 = utils$2;
174
200
  const PrivateChannelClient_1 = PrivateChannelClient$1;
175
- const lodash_1 = require$$2;
201
+ const isEqual_1 = __importDefault(require$$2);
176
202
  const getUnsupportedChannelApis = (channelType) => {
177
203
  return {
178
204
  addContextListener: () => {
@@ -300,7 +326,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
300
326
  const wrappedHandler = (context, contextMetadata) => {
301
327
  if (first) {
302
328
  first = false;
303
- if ((0, lodash_1.isEqual)(currentContext, context)) {
329
+ if ((0, isEqual_1.default)(currentContext, context)) {
304
330
  return;
305
331
  }
306
332
  }
@@ -1153,11 +1179,14 @@ function requireInteropClient () {
1153
1179
  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");
1154
1180
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1155
1181
  };
1182
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
1183
+ return (mod && mod.__esModule) ? mod : { "default": mod };
1184
+ };
1156
1185
  var _InteropClient_clientPromise, _InteropClient_sessionContextGroups;
1157
1186
  Object.defineProperty(InteropClient, "__esModule", { value: true });
1158
1187
  InteropClient.InteropClient = void 0;
1159
1188
  const base_1 = base;
1160
- const SessionContextGroupClient_1 = SessionContextGroupClient$1;
1189
+ const SessionContextGroupClient_1 = __importDefault(SessionContextGroupClient$1);
1161
1190
  const fdc3_1_2_1 = requireFdc31_2();
1162
1191
  const fdc3_2_0_1 = requireFdc32_0();
1163
1192
  const utils_1 = utils$2;
@@ -1764,13 +1793,16 @@ function requireFdc3Common () {
1764
1793
  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");
1765
1794
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
1766
1795
  };
1796
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
1797
+ return (mod && mod.__esModule) ? mod : { "default": mod };
1798
+ };
1767
1799
  var _FDC3ModuleBase_producer;
1768
1800
  Object.defineProperty(fdc3Common, "__esModule", { value: true });
1769
1801
  fdc3Common.FDC3ModuleBase = void 0;
1770
1802
  const utils_1 = utils$1;
1771
1803
  const utils_2 = utils$2;
1772
1804
  const InteropClient_1 = requireInteropClient();
1773
- const lodash_1 = require$$2;
1805
+ const isEqual_1 = __importDefault(require$$2);
1774
1806
  class FDC3ModuleBase {
1775
1807
  get client() {
1776
1808
  return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
@@ -1959,7 +1991,7 @@ function requireFdc3Common () {
1959
1991
  const wrappedHandler = (context, contextMetadata) => {
1960
1992
  if (first) {
1961
1993
  first = false;
1962
- if ((0, lodash_1.isEqual)(currentContext, context)) {
1994
+ if ((0, isEqual_1.default)(currentContext, context)) {
1963
1995
  return;
1964
1996
  }
1965
1997
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.82.11",
3
+ "version": "40.82.13",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
- "license": "SEE LICENSE IN LICENSE.MD",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
7
7
  "main": "./out/fdc3-api.js",
8
8
  "types": "./out/fdc3-api.d.ts",