@openfin/fdc3-api 39.83.23 → 40.82.2
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 +229 -1099
- package/out/fdc3-api-beta.d.ts +229 -1099
- package/out/fdc3-api-public.d.ts +229 -1099
- package/out/fdc3-api.d.ts +229 -1102
- package/out/fdc3-api.js +7 -39
- package/package.json +2 -3
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');
|
|
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,32 +77,9 @@ 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
|
-
};
|
|
103
80
|
Object.defineProperty(PrivateChannelClient$1, "__esModule", { value: true });
|
|
104
81
|
PrivateChannelClient$1.PrivateChannelClient = void 0;
|
|
105
|
-
const utils =
|
|
82
|
+
const utils = utils$2;
|
|
106
83
|
class PrivateChannelClient {
|
|
107
84
|
constructor(client, id) {
|
|
108
85
|
this.id = id;
|
|
@@ -191,14 +168,11 @@ class PrivateChannelClient {
|
|
|
191
168
|
PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
192
169
|
|
|
193
170
|
(function (exports) {
|
|
194
|
-
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
195
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
196
|
-
};
|
|
197
171
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
198
172
|
exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
|
|
199
173
|
const utils_1 = utils$2;
|
|
200
174
|
const PrivateChannelClient_1 = PrivateChannelClient$1;
|
|
201
|
-
const
|
|
175
|
+
const lodash_1 = require$$2;
|
|
202
176
|
const getUnsupportedChannelApis = (channelType) => {
|
|
203
177
|
return {
|
|
204
178
|
addContextListener: () => {
|
|
@@ -326,7 +300,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
|
326
300
|
const wrappedHandler = (context, contextMetadata) => {
|
|
327
301
|
if (first) {
|
|
328
302
|
first = false;
|
|
329
|
-
if ((0,
|
|
303
|
+
if ((0, lodash_1.isEqual)(currentContext, context)) {
|
|
330
304
|
return;
|
|
331
305
|
}
|
|
332
306
|
}
|
|
@@ -1179,14 +1153,11 @@ function requireInteropClient () {
|
|
|
1179
1153
|
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");
|
|
1180
1154
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1181
1155
|
};
|
|
1182
|
-
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1183
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1184
|
-
};
|
|
1185
1156
|
var _InteropClient_clientPromise, _InteropClient_sessionContextGroups;
|
|
1186
1157
|
Object.defineProperty(InteropClient, "__esModule", { value: true });
|
|
1187
1158
|
InteropClient.InteropClient = void 0;
|
|
1188
1159
|
const base_1 = base;
|
|
1189
|
-
const SessionContextGroupClient_1 =
|
|
1160
|
+
const SessionContextGroupClient_1 = SessionContextGroupClient$1;
|
|
1190
1161
|
const fdc3_1_2_1 = requireFdc31_2();
|
|
1191
1162
|
const fdc3_2_0_1 = requireFdc32_0();
|
|
1192
1163
|
const utils_1 = utils$2;
|
|
@@ -1793,16 +1764,13 @@ function requireFdc3Common () {
|
|
|
1793
1764
|
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");
|
|
1794
1765
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1795
1766
|
};
|
|
1796
|
-
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1797
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1798
|
-
};
|
|
1799
1767
|
var _FDC3ModuleBase_producer;
|
|
1800
1768
|
Object.defineProperty(fdc3Common, "__esModule", { value: true });
|
|
1801
1769
|
fdc3Common.FDC3ModuleBase = void 0;
|
|
1802
1770
|
const utils_1 = utils$1;
|
|
1803
1771
|
const utils_2 = utils$2;
|
|
1804
1772
|
const InteropClient_1 = requireInteropClient();
|
|
1805
|
-
const
|
|
1773
|
+
const lodash_1 = require$$2;
|
|
1806
1774
|
class FDC3ModuleBase {
|
|
1807
1775
|
get client() {
|
|
1808
1776
|
return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
|
|
@@ -1991,7 +1959,7 @@ function requireFdc3Common () {
|
|
|
1991
1959
|
const wrappedHandler = (context, contextMetadata) => {
|
|
1992
1960
|
if (first) {
|
|
1993
1961
|
first = false;
|
|
1994
|
-
if ((0,
|
|
1962
|
+
if ((0, lodash_1.isEqual)(currentContext, context)) {
|
|
1995
1963
|
return;
|
|
1996
1964
|
}
|
|
1997
1965
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/fdc3-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "40.82.2",
|
|
4
4
|
"description": "OpenFin fdc3 module utilities and types.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.MD",
|
|
6
6
|
"private": false,
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
"watch": "npm run dev -- --watch",
|
|
17
17
|
"ci:prepublish": "of-npm prepublish",
|
|
18
18
|
"ci:postpublish": "of-npm postpublish",
|
|
19
|
-
"ci:publish": "npm publish"
|
|
20
|
-
"version:update": "of-npm version --allow-same-version '$RMAJOR.$RMINOR.$RPATCH'"
|
|
19
|
+
"ci:publish": "npm publish"
|
|
21
20
|
},
|
|
22
21
|
"author": "OpenFin",
|
|
23
22
|
"dependencies": {
|