@openfin/remote-adapter 40.82.12 → 40.82.14
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/remote-adapter.js +27 -17
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var require$$
|
|
4
|
-
var require$$
|
|
3
|
+
var require$$0 = require('lodash/cloneDeep');
|
|
4
|
+
var require$$3 = require('lodash/isEqual');
|
|
5
|
+
var require$$0$1 = require('events');
|
|
5
6
|
var bridge = require('./bridge-ef11968f.js');
|
|
6
7
|
var crypto = require('crypto');
|
|
7
8
|
var backchannel = require('./backchannel.js');
|
|
@@ -639,11 +640,14 @@ class PrivateChannelClient {
|
|
|
639
640
|
PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
640
641
|
|
|
641
642
|
(function (exports) {
|
|
643
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
644
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
645
|
+
};
|
|
642
646
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
643
647
|
exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
|
|
644
648
|
const utils_1 = utils$3;
|
|
645
649
|
const PrivateChannelClient_1 = PrivateChannelClient$1;
|
|
646
|
-
const
|
|
650
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
647
651
|
const getUnsupportedChannelApis = (channelType) => {
|
|
648
652
|
return {
|
|
649
653
|
addContextListener: () => {
|
|
@@ -771,7 +775,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
|
771
775
|
const wrappedHandler = (context, contextMetadata) => {
|
|
772
776
|
if (first) {
|
|
773
777
|
first = false;
|
|
774
|
-
if ((0,
|
|
778
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
775
779
|
return;
|
|
776
780
|
}
|
|
777
781
|
}
|
|
@@ -893,13 +897,16 @@ function requireFdc3Common () {
|
|
|
893
897
|
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");
|
|
894
898
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
895
899
|
};
|
|
900
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
901
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
902
|
+
};
|
|
896
903
|
var _FDC3ModuleBase_producer;
|
|
897
904
|
Object.defineProperty(fdc3Common, "__esModule", { value: true });
|
|
898
905
|
fdc3Common.FDC3ModuleBase = void 0;
|
|
899
906
|
const utils_1 = utils$2;
|
|
900
907
|
const utils_2 = utils$3;
|
|
901
908
|
const InteropClient_1 = requireInteropClient();
|
|
902
|
-
const
|
|
909
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
903
910
|
class FDC3ModuleBase {
|
|
904
911
|
get client() {
|
|
905
912
|
return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
|
|
@@ -1088,7 +1095,7 @@ function requireFdc3Common () {
|
|
|
1088
1095
|
const wrappedHandler = (context, contextMetadata) => {
|
|
1089
1096
|
if (first) {
|
|
1090
1097
|
first = false;
|
|
1091
|
-
if ((0,
|
|
1098
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
1092
1099
|
return;
|
|
1093
1100
|
}
|
|
1094
1101
|
}
|
|
@@ -2326,9 +2333,12 @@ var hasRequiredFactory$3;
|
|
|
2326
2333
|
function requireFactory$3 () {
|
|
2327
2334
|
if (hasRequiredFactory$3) return Factory$8;
|
|
2328
2335
|
hasRequiredFactory$3 = 1;
|
|
2336
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
2337
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2338
|
+
};
|
|
2329
2339
|
Object.defineProperty(Factory$8, "__esModule", { value: true });
|
|
2330
2340
|
Factory$8.InteropModule = void 0;
|
|
2331
|
-
const
|
|
2341
|
+
const cloneDeep_1 = __importDefault(require$$0);
|
|
2332
2342
|
const inaccessibleObject_1 = inaccessibleObject;
|
|
2333
2343
|
const base_1 = base;
|
|
2334
2344
|
const InteropBroker_1 = requireInteropBroker();
|
|
@@ -2365,7 +2375,7 @@ function requireFactory$3 () {
|
|
|
2365
2375
|
// Allows for manifest-level configuration, without having to override. (e.g. specifying custom context groups)
|
|
2366
2376
|
const options = await this.wire.environment.getInteropInfo(this.wire.getFin());
|
|
2367
2377
|
const objectThatThrows = (0, inaccessibleObject_1.createUnusableObject)(BrokerParamAccessError);
|
|
2368
|
-
const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0,
|
|
2378
|
+
const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, cloneDeep_1.default)(options));
|
|
2369
2379
|
const getProvider = () => {
|
|
2370
2380
|
return this.fin.InterApplicationBus.Channel.create(`interop-broker-${name}`);
|
|
2371
2381
|
};
|
|
@@ -2940,7 +2950,7 @@ function requireInteropBroker () {
|
|
|
2940
2950
|
const base_1 = base;
|
|
2941
2951
|
const SessionContextGroupBroker_1 = __importDefault(requireSessionContextGroupBroker());
|
|
2942
2952
|
const utils_1 = utils$3;
|
|
2943
|
-
const
|
|
2953
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
2944
2954
|
const PrivateChannelProvider_1 = requirePrivateChannelProvider();
|
|
2945
2955
|
const lazy_1 = lazy;
|
|
2946
2956
|
const defaultContextGroups = [
|
|
@@ -3138,7 +3148,7 @@ function requireInteropBroker () {
|
|
|
3138
3148
|
constructor(...unused) {
|
|
3139
3149
|
if (unused.length) {
|
|
3140
3150
|
const [_ignore1, ignore2, opts] = unused;
|
|
3141
|
-
if (opts && typeof opts === 'object' && !(0,
|
|
3151
|
+
if (opts && typeof opts === 'object' && !(0, isEqual_1.default)(opts, args[2])) {
|
|
3142
3152
|
// eslint-disable-next-line no-console
|
|
3143
3153
|
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.');
|
|
3144
3154
|
super(args[0], args[1], opts);
|
|
@@ -4592,7 +4602,7 @@ var emitterMap = {};
|
|
|
4592
4602
|
|
|
4593
4603
|
Object.defineProperty(emitterMap, "__esModule", { value: true });
|
|
4594
4604
|
emitterMap.EmitterMap = void 0;
|
|
4595
|
-
const events_1$6 = require$$0;
|
|
4605
|
+
const events_1$6 = require$$0$1;
|
|
4596
4606
|
class EmitterMap {
|
|
4597
4607
|
constructor() {
|
|
4598
4608
|
this.storage = new Map();
|
|
@@ -10333,7 +10343,7 @@ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || fu
|
|
|
10333
10343
|
var _Transport_wire, _Transport_fin;
|
|
10334
10344
|
Object.defineProperty(transport, "__esModule", { value: true });
|
|
10335
10345
|
var Transport_1 = transport.Transport = void 0;
|
|
10336
|
-
const events_1$5 = require$$0;
|
|
10346
|
+
const events_1$5 = require$$0$1;
|
|
10337
10347
|
const wire_1 = wire;
|
|
10338
10348
|
const transport_errors_1$6 = transportErrors;
|
|
10339
10349
|
const eventAggregator_1 = __importDefault$2(eventAggregator);
|
|
@@ -10553,7 +10563,7 @@ _Transport_wire = new WeakMap(), _Transport_fin = new WeakMap();
|
|
|
10553
10563
|
var websocket = {};
|
|
10554
10564
|
|
|
10555
10565
|
Object.defineProperty(websocket, "__esModule", { value: true });
|
|
10556
|
-
const events_1$4 = require$$0;
|
|
10566
|
+
const events_1$4 = require$$0$1;
|
|
10557
10567
|
const transport_errors_1$5 = transportErrors;
|
|
10558
10568
|
const messageReceiver_1 = bridge.messageReceiver;
|
|
10559
10569
|
/* `READY_STATE` is an instance var set by `constructor` to reference the `WebTransportSocket.READY_STATE` enum.
|
|
@@ -10630,7 +10640,7 @@ system.System = void 0;
|
|
|
10630
10640
|
const base_1$d = base;
|
|
10631
10641
|
const transport_errors_1$4 = transportErrors;
|
|
10632
10642
|
const window_1 = requireWindow();
|
|
10633
|
-
const events_1$3 = require$$0;
|
|
10643
|
+
const events_1$3 = require$$0$1;
|
|
10634
10644
|
/**
|
|
10635
10645
|
* An object representing the core of OpenFin Runtime. Allows the developer
|
|
10636
10646
|
* to perform system-level actions, such as accessing logs, viewing processes,
|
|
@@ -14422,7 +14432,7 @@ var _Channel_connectionManager, _Channel_internalEmitter, _Channel_readyToConnec
|
|
|
14422
14432
|
Object.defineProperty(channel$1, "__esModule", { value: true });
|
|
14423
14433
|
channel$1.Channel = void 0;
|
|
14424
14434
|
/* eslint-disable no-console */
|
|
14425
|
-
const events_1$2 = require$$0;
|
|
14435
|
+
const events_1$2 = require$$0$1;
|
|
14426
14436
|
const lazy_1$1 = lazy;
|
|
14427
14437
|
const base_1$9 = base;
|
|
14428
14438
|
const client_1 = client;
|
|
@@ -14749,7 +14759,7 @@ interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
|
|
|
14749
14759
|
*
|
|
14750
14760
|
* @packageDocumentation
|
|
14751
14761
|
*/
|
|
14752
|
-
const events_1$1 = require$$0;
|
|
14762
|
+
const events_1$1 = require$$0$1;
|
|
14753
14763
|
const base_1$8 = base;
|
|
14754
14764
|
const ref_counter_1 = refCounter;
|
|
14755
14765
|
const index_1$2 = channel$1;
|
|
@@ -17316,7 +17326,7 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
|
17316
17326
|
|
|
17317
17327
|
Object.defineProperty(fin$1, "__esModule", { value: true });
|
|
17318
17328
|
var Fin_1 = fin$1.Fin = void 0;
|
|
17319
|
-
const events_1 = require$$0;
|
|
17329
|
+
const events_1 = require$$0$1;
|
|
17320
17330
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
|
17321
17331
|
const index_1 = system;
|
|
17322
17332
|
const index_2 = requireWindow();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "40.82.
|
|
3
|
+
"version": "40.82.14",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"author": "OpenFin",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"@openfin/core": "40.82.
|
|
22
|
+
"@openfin/core": "40.82.14"
|
|
23
23
|
}
|
|
24
24
|
}
|