@openfin/core 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/mock-alpha.d.ts +3 -1
- package/out/mock-beta.d.ts +3 -1
- package/out/mock-public.d.ts +3 -1
- package/out/mock.d.ts +3 -1
- package/out/mock.js +19 -9
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -3610,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
|
3610
3610
|
*/
|
|
3611
3611
|
preloadScripts: PreloadScript[];
|
|
3612
3612
|
/**
|
|
3613
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3614
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3614
3616
|
*/
|
|
3615
3617
|
processAffinity: string;
|
|
3616
3618
|
/**
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -3610,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
|
3610
3610
|
*/
|
|
3611
3611
|
preloadScripts: PreloadScript[];
|
|
3612
3612
|
/**
|
|
3613
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3614
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3614
3616
|
*/
|
|
3615
3617
|
processAffinity: string;
|
|
3616
3618
|
/**
|
package/out/mock-public.d.ts
CHANGED
|
@@ -3610,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
|
3610
3610
|
*/
|
|
3611
3611
|
preloadScripts: PreloadScript[];
|
|
3612
3612
|
/**
|
|
3613
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3614
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3614
3616
|
*/
|
|
3615
3617
|
processAffinity: string;
|
|
3616
3618
|
/**
|
package/out/mock.d.ts
CHANGED
|
@@ -3669,7 +3669,9 @@ declare type ConstWindowOptions = {
|
|
|
3669
3669
|
*/
|
|
3670
3670
|
preloadScripts: PreloadScript[];
|
|
3671
3671
|
/**
|
|
3672
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3672
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3673
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3674
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3673
3675
|
*/
|
|
3674
3676
|
processAffinity: string;
|
|
3675
3677
|
/**
|
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$$
|
|
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) {
|
|
@@ -13490,7 +13491,7 @@ function requireInteropBroker () {
|
|
|
13490
13491
|
const base_1 = base;
|
|
13491
13492
|
const SessionContextGroupBroker_1 = __importDefault(requireSessionContextGroupBroker());
|
|
13492
13493
|
const utils_1 = utils$3;
|
|
13493
|
-
const
|
|
13494
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
13494
13495
|
const PrivateChannelProvider_1 = requirePrivateChannelProvider();
|
|
13495
13496
|
const lazy_1 = lazy;
|
|
13496
13497
|
const defaultContextGroups = [
|
|
@@ -13688,7 +13689,7 @@ function requireInteropBroker () {
|
|
|
13688
13689
|
constructor(...unused) {
|
|
13689
13690
|
if (unused.length) {
|
|
13690
13691
|
const [_ignore1, ignore2, opts] = unused;
|
|
13691
|
-
if (opts && typeof opts === 'object' && !(0,
|
|
13692
|
+
if (opts && typeof opts === 'object' && !(0, isEqual_1.default)(opts, args[2])) {
|
|
13692
13693
|
// eslint-disable-next-line no-console
|
|
13693
13694
|
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.');
|
|
13694
13695
|
super(args[0], args[1], opts);
|
|
@@ -14979,11 +14980,14 @@ class PrivateChannelClient {
|
|
|
14979
14980
|
PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
14980
14981
|
|
|
14981
14982
|
(function (exports) {
|
|
14983
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
14984
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14985
|
+
};
|
|
14982
14986
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14983
14987
|
exports.getIntentResolution = exports.isChannel = exports.isContext = exports.connectPrivateChannel = exports.buildAppChannelObject = exports.buildPrivateChannelObject = exports.ChannelError = exports.ResultError = exports.UnsupportedChannelApiError = exports.getUnsupportedChannelApis = void 0;
|
|
14984
14988
|
const utils_1 = utils$3;
|
|
14985
14989
|
const PrivateChannelClient_1 = PrivateChannelClient$1;
|
|
14986
|
-
const
|
|
14990
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
14987
14991
|
const getUnsupportedChannelApis = (channelType) => {
|
|
14988
14992
|
return {
|
|
14989
14993
|
addContextListener: () => {
|
|
@@ -15111,7 +15115,7 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
|
15111
15115
|
const wrappedHandler = (context, contextMetadata) => {
|
|
15112
15116
|
if (first) {
|
|
15113
15117
|
first = false;
|
|
15114
|
-
if ((0,
|
|
15118
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
15115
15119
|
return;
|
|
15116
15120
|
}
|
|
15117
15121
|
}
|
|
@@ -15233,13 +15237,16 @@ function requireFdc3Common () {
|
|
|
15233
15237
|
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");
|
|
15234
15238
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
15235
15239
|
};
|
|
15240
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
15241
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15242
|
+
};
|
|
15236
15243
|
var _FDC3ModuleBase_producer;
|
|
15237
15244
|
Object.defineProperty(fdc3Common, "__esModule", { value: true });
|
|
15238
15245
|
fdc3Common.FDC3ModuleBase = void 0;
|
|
15239
15246
|
const utils_1 = utils$2;
|
|
15240
15247
|
const utils_2 = utils$3;
|
|
15241
15248
|
const InteropClient_1 = requireInteropClient();
|
|
15242
|
-
const
|
|
15249
|
+
const isEqual_1 = __importDefault(require$$3);
|
|
15243
15250
|
class FDC3ModuleBase {
|
|
15244
15251
|
get client() {
|
|
15245
15252
|
return __classPrivateFieldGet(this, _FDC3ModuleBase_producer, "f").call(this);
|
|
@@ -15428,7 +15435,7 @@ function requireFdc3Common () {
|
|
|
15428
15435
|
const wrappedHandler = (context, contextMetadata) => {
|
|
15429
15436
|
if (first) {
|
|
15430
15437
|
first = false;
|
|
15431
|
-
if ((0,
|
|
15438
|
+
if ((0, isEqual_1.default)(currentContext, context)) {
|
|
15432
15439
|
return;
|
|
15433
15440
|
}
|
|
15434
15441
|
}
|
|
@@ -16688,9 +16695,12 @@ var hasRequiredFactory;
|
|
|
16688
16695
|
function requireFactory () {
|
|
16689
16696
|
if (hasRequiredFactory) return Factory$1;
|
|
16690
16697
|
hasRequiredFactory = 1;
|
|
16698
|
+
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
16699
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16700
|
+
};
|
|
16691
16701
|
Object.defineProperty(Factory$1, "__esModule", { value: true });
|
|
16692
16702
|
Factory$1.InteropModule = void 0;
|
|
16693
|
-
const
|
|
16703
|
+
const cloneDeep_1 = __importDefault(require$$0$1);
|
|
16694
16704
|
const inaccessibleObject_1 = inaccessibleObject;
|
|
16695
16705
|
const base_1 = base;
|
|
16696
16706
|
const InteropBroker_1 = requireInteropBroker();
|
|
@@ -16727,7 +16737,7 @@ function requireFactory () {
|
|
|
16727
16737
|
// Allows for manifest-level configuration, without having to override. (e.g. specifying custom context groups)
|
|
16728
16738
|
const options = await this.wire.environment.getInteropInfo(this.wire.getFin());
|
|
16729
16739
|
const objectThatThrows = (0, inaccessibleObject_1.createUnusableObject)(BrokerParamAccessError);
|
|
16730
|
-
const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0,
|
|
16740
|
+
const warningOptsClone = (0, inaccessibleObject_1.createWarningObject)(BrokerParamAccessError, (0, cloneDeep_1.default)(options));
|
|
16731
16741
|
const getProvider = () => {
|
|
16732
16742
|
return this.fin.InterApplicationBus.Channel.create(`interop-broker-${name}`);
|
|
16733
16743
|
};
|