@openfin/node-adapter 37.80.33 → 37.80.34
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.
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
|
|
966
966
|
* @interface
|
967
967
|
*/
|
968
968
|
declare type ApplicationInfo = {
|
969
|
-
initialOptions: ApplicationCreationOptions;
|
969
|
+
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
970
970
|
launchMode: string;
|
971
971
|
manifest: Manifest & {
|
972
972
|
[key: string]: any;
|
@@ -8330,6 +8330,7 @@ declare type LaunchExternalProcessRule = {
|
|
8330
8330
|
*/
|
8331
8331
|
declare type LaunchIntoPlatformPayload = {
|
8332
8332
|
manifest: any;
|
8333
|
+
manifestUrl?: string;
|
8333
8334
|
};
|
8334
8335
|
|
8335
8336
|
/**
|
@@ -11178,6 +11179,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
11178
11179
|
* The provider url.
|
11179
11180
|
*/
|
11180
11181
|
providerUrl?: string;
|
11182
|
+
/**
|
11183
|
+
* @defaultValue true
|
11184
|
+
*
|
11185
|
+
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
11186
|
+
*
|
11187
|
+
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
11188
|
+
*/
|
11189
|
+
allowLaunchIntoPlatform?: boolean;
|
11181
11190
|
};
|
11182
11191
|
|
11183
11192
|
/**
|
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
|
|
966
966
|
* @interface
|
967
967
|
*/
|
968
968
|
declare type ApplicationInfo = {
|
969
|
-
initialOptions: ApplicationCreationOptions;
|
969
|
+
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
970
970
|
launchMode: string;
|
971
971
|
manifest: Manifest & {
|
972
972
|
[key: string]: any;
|
@@ -8330,6 +8330,7 @@ declare type LaunchExternalProcessRule = {
|
|
8330
8330
|
*/
|
8331
8331
|
declare type LaunchIntoPlatformPayload = {
|
8332
8332
|
manifest: any;
|
8333
|
+
manifestUrl?: string;
|
8333
8334
|
};
|
8334
8335
|
|
8335
8336
|
/**
|
@@ -11178,6 +11179,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
11178
11179
|
* The provider url.
|
11179
11180
|
*/
|
11180
11181
|
providerUrl?: string;
|
11182
|
+
/**
|
11183
|
+
* @defaultValue true
|
11184
|
+
*
|
11185
|
+
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
11186
|
+
*
|
11187
|
+
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
11188
|
+
*/
|
11189
|
+
allowLaunchIntoPlatform?: boolean;
|
11181
11190
|
};
|
11182
11191
|
|
11183
11192
|
/**
|
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
|
|
966
966
|
* @interface
|
967
967
|
*/
|
968
968
|
declare type ApplicationInfo = {
|
969
|
-
initialOptions: ApplicationCreationOptions;
|
969
|
+
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
970
970
|
launchMode: string;
|
971
971
|
manifest: Manifest & {
|
972
972
|
[key: string]: any;
|
@@ -8330,6 +8330,7 @@ declare type LaunchExternalProcessRule = {
|
|
8330
8330
|
*/
|
8331
8331
|
declare type LaunchIntoPlatformPayload = {
|
8332
8332
|
manifest: any;
|
8333
|
+
manifestUrl?: string;
|
8333
8334
|
};
|
8334
8335
|
|
8335
8336
|
/**
|
@@ -11178,6 +11179,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
11178
11179
|
* The provider url.
|
11179
11180
|
*/
|
11180
11181
|
providerUrl?: string;
|
11182
|
+
/**
|
11183
|
+
* @defaultValue true
|
11184
|
+
*
|
11185
|
+
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
11186
|
+
*
|
11187
|
+
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
11188
|
+
*/
|
11189
|
+
allowLaunchIntoPlatform?: boolean;
|
11181
11190
|
};
|
11182
11191
|
|
11183
11192
|
/**
|
package/out/node-adapter.d.ts
CHANGED
@@ -972,7 +972,7 @@ declare type ApplicationIdentity_2 = {
|
|
972
972
|
* @interface
|
973
973
|
*/
|
974
974
|
declare type ApplicationInfo = {
|
975
|
-
initialOptions: ApplicationCreationOptions;
|
975
|
+
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
976
976
|
launchMode: string;
|
977
977
|
manifest: Manifest & {
|
978
978
|
[key: string]: any;
|
@@ -8465,6 +8465,7 @@ declare type LaunchExternalProcessRule = {
|
|
8465
8465
|
*/
|
8466
8466
|
declare type LaunchIntoPlatformPayload = {
|
8467
8467
|
manifest: any;
|
8468
|
+
manifestUrl?: string;
|
8468
8469
|
};
|
8469
8470
|
|
8470
8471
|
/**
|
@@ -11544,6 +11545,14 @@ declare type PlatformOptions = ApplicationCreationOptions & {
|
|
11544
11545
|
* The provider url.
|
11545
11546
|
*/
|
11546
11547
|
providerUrl?: string;
|
11548
|
+
/**
|
11549
|
+
* @defaultValue true
|
11550
|
+
*
|
11551
|
+
* Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
|
11552
|
+
*
|
11553
|
+
* NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
|
11554
|
+
*/
|
11555
|
+
allowLaunchIntoPlatform?: boolean;
|
11547
11556
|
};
|
11548
11557
|
|
11549
11558
|
/**
|
package/out/node-adapter.js
CHANGED
@@ -11206,12 +11206,12 @@ class Platform extends base_1$7.EmitterBase {
|
|
11206
11206
|
* @experimental
|
11207
11207
|
*/
|
11208
11208
|
async launchContentManifest(manifestUrl) {
|
11209
|
-
this.wire.sendAction('platform-launch-content-manifest', this.identity).catch((
|
11209
|
+
this.wire.sendAction('platform-launch-content-manifest', this.identity).catch(() => {
|
11210
11210
|
// don't expose
|
11211
11211
|
});
|
11212
11212
|
const client = await this.getClient();
|
11213
11213
|
const manifest = await this.fetchManifest(manifestUrl);
|
11214
|
-
client.dispatch('launch-into-platform', { manifest });
|
11214
|
+
client.dispatch('launch-into-platform', { manifest, manifestUrl });
|
11215
11215
|
return this;
|
11216
11216
|
}
|
11217
11217
|
/**
|
@@ -11868,16 +11868,16 @@ class LayoutModule extends base_1$5.Base {
|
|
11868
11868
|
__classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|
11869
11869
|
await this.wire.environment.applyLayoutSnapshot(this.fin, __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), options);
|
11870
11870
|
if (!options.layoutManagerOverride) {
|
11871
|
-
//
|
11871
|
+
// CORE-1081 to be removed when we actually delete the `layoutManager` prop
|
11872
|
+
// in single-layout case, we return the undocumented layoutManager type
|
11872
11873
|
const layoutIdentity = { layoutName: layout_constants_1.DEFAULT_LAYOUT_KEY, ...this.fin.me.identity };
|
11873
|
-
|
11874
|
-
return __classPrivateFieldGet$4(this, _LayoutModule_getLayoutManagerSpy, "f").call(this, layoutIdentity, layoutManager);
|
11874
|
+
return __classPrivateFieldGet$4(this, _LayoutModule_getLayoutManagerSpy, "f").call(this, layoutIdentity);
|
11875
11875
|
}
|
11876
11876
|
return this.wrapSync(this.fin.me.identity);
|
11877
11877
|
};
|
11878
|
-
_LayoutModule_getLayoutManagerSpy.set(this, (layoutIdentity
|
11878
|
+
_LayoutModule_getLayoutManagerSpy.set(this, (layoutIdentity) => {
|
11879
11879
|
const msg = '[Layout] You are using a deprecated property `layoutManager` - it will throw if you access it starting in v37.';
|
11880
|
-
const managerProxy = new Proxy(
|
11880
|
+
const managerProxy = new Proxy({}, {
|
11881
11881
|
get(target, key) {
|
11882
11882
|
console.warn(`[Layout-mgr-proxy] accessing ${key.toString()}`);
|
11883
11883
|
throw new Error(msg);
|