@openfin/fdc3-api 38.82.69 → 38.83.70
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-alpha.d.ts +941 -221
- package/out/fdc3-api-beta.d.ts +941 -221
- package/out/fdc3-api-public.d.ts +941 -221
- package/out/fdc3-api.d.ts +941 -221
- package/out/fdc3-api.js +39 -7
- package/package.json +1 -1
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
|
|
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,
|
|
329
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
304
330
|
return;
|
|
305
331
|
}
|
|
306
332
|
}
|
|
@@ -1156,11 +1182,14 @@ function requireInteropClient () {
|
|
|
1156
1182
|
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");
|
|
1157
1183
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1158
1184
|
};
|
|
1185
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1186
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1187
|
+
};
|
|
1159
1188
|
var _InteropClient_clientPromise, _InteropClient_sessionContextGroups;
|
|
1160
1189
|
Object.defineProperty(InteropClient, "__esModule", { value: true });
|
|
1161
1190
|
InteropClient.InteropClient = void 0;
|
|
1162
1191
|
const base_1 = base;
|
|
1163
|
-
const SessionContextGroupClient_1 = SessionContextGroupClient$1;
|
|
1192
|
+
const SessionContextGroupClient_1 = __importDefault(SessionContextGroupClient$1);
|
|
1164
1193
|
const fdc3_1_2_1 = requireFdc31_2();
|
|
1165
1194
|
const fdc3_2_0_1 = requireFdc32_0();
|
|
1166
1195
|
const utils_1 = utils$2;
|
|
@@ -1767,13 +1796,16 @@ function requireFdc3Common () {
|
|
|
1767
1796
|
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");
|
|
1768
1797
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1769
1798
|
};
|
|
1799
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1800
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1801
|
+
};
|
|
1770
1802
|
var _FDC3ModuleBase_producer;
|
|
1771
1803
|
Object.defineProperty(fdc3Common, "__esModule", { value: true });
|
|
1772
1804
|
fdc3Common.FDC3ModuleBase = void 0;
|
|
1773
1805
|
const utils_1 = utils$1;
|
|
1774
1806
|
const utils_2 = utils$2;
|
|
1775
1807
|
const InteropClient_1 = requireInteropClient();
|
|
1776
|
-
const
|
|
1808
|
+
const isEqual_1 = __importDefault(require$$2);
|
|
1777
1809
|
class FDC3ModuleBase {
|
|
1778
1810
|
get client() {
|
|
1779
1811
|
return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
|
|
@@ -1962,7 +1994,7 @@ function requireFdc3Common () {
|
|
|
1962
1994
|
const wrappedHandler = (context, contextMetadata) => {
|
|
1963
1995
|
if (first) {
|
|
1964
1996
|
first = false;
|
|
1965
|
-
if ((0,
|
|
1997
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
1966
1998
|
return;
|
|
1967
1999
|
}
|
|
1968
2000
|
}
|