@openfin/core 39.81.14 → 39.81.17
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +9 -3
- package/out/mock-beta.d.ts +9 -3
- package/out/mock-public.d.ts +9 -3
- package/out/mock.d.ts +9 -3
- package/out/mock.js +7 -7
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1167
1167
|
* The name of the application.
|
1168
1168
|
*
|
1169
1169
|
* @remarks
|
1170
|
-
* This property is
|
1171
|
-
* any special characters, spaces or international characters.
|
1172
|
-
*
|
1170
|
+
* This property is used for naming the application logging folder, which will be sanitized to remove
|
1171
|
+
* any special characters, spaces or international characters. It's also used in error messages, API
|
1172
|
+
* security dialog boxes and in the directory name in %localappdata%/OpenFin/apps/<name><hash>.
|
1173
1173
|
*
|
1174
1174
|
* This property will be deprecated in the future.
|
1175
1175
|
*/
|
@@ -4642,6 +4642,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
4642
4642
|
} : never;
|
4643
4643
|
|
4644
4644
|
declare interface Environment {
|
4645
|
+
/**
|
4646
|
+
* Returns the version of the adapter synchronously.
|
4647
|
+
* In OpenFin, this is the version of the runtime.
|
4648
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
4649
|
+
*/
|
4650
|
+
getAdapterVersionSync(): string;
|
4645
4651
|
layoutAllowedInContext(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): boolean;
|
4646
4652
|
initLayoutManager(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, wire: Transport, options: OpenFin_2.InitLayoutOptions): Promise<OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>>;
|
4647
4653
|
applyLayoutSnapshot(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.InitLayoutOptions): Promise<void>;
|
package/out/mock-beta.d.ts
CHANGED
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1167
1167
|
* The name of the application.
|
1168
1168
|
*
|
1169
1169
|
* @remarks
|
1170
|
-
* This property is
|
1171
|
-
* any special characters, spaces or international characters.
|
1172
|
-
*
|
1170
|
+
* This property is used for naming the application logging folder, which will be sanitized to remove
|
1171
|
+
* any special characters, spaces or international characters. It's also used in error messages, API
|
1172
|
+
* security dialog boxes and in the directory name in %localappdata%/OpenFin/apps/<name><hash>.
|
1173
1173
|
*
|
1174
1174
|
* This property will be deprecated in the future.
|
1175
1175
|
*/
|
@@ -4642,6 +4642,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
4642
4642
|
} : never;
|
4643
4643
|
|
4644
4644
|
declare interface Environment {
|
4645
|
+
/**
|
4646
|
+
* Returns the version of the adapter synchronously.
|
4647
|
+
* In OpenFin, this is the version of the runtime.
|
4648
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
4649
|
+
*/
|
4650
|
+
getAdapterVersionSync(): string;
|
4645
4651
|
layoutAllowedInContext(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): boolean;
|
4646
4652
|
initLayoutManager(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, wire: Transport, options: OpenFin_2.InitLayoutOptions): Promise<OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>>;
|
4647
4653
|
applyLayoutSnapshot(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.InitLayoutOptions): Promise<void>;
|
package/out/mock-public.d.ts
CHANGED
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1167
1167
|
* The name of the application.
|
1168
1168
|
*
|
1169
1169
|
* @remarks
|
1170
|
-
* This property is
|
1171
|
-
* any special characters, spaces or international characters.
|
1172
|
-
*
|
1170
|
+
* This property is used for naming the application logging folder, which will be sanitized to remove
|
1171
|
+
* any special characters, spaces or international characters. It's also used in error messages, API
|
1172
|
+
* security dialog boxes and in the directory name in %localappdata%/OpenFin/apps/<name><hash>.
|
1173
1173
|
*
|
1174
1174
|
* This property will be deprecated in the future.
|
1175
1175
|
*/
|
@@ -4642,6 +4642,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
4642
4642
|
} : never;
|
4643
4643
|
|
4644
4644
|
declare interface Environment {
|
4645
|
+
/**
|
4646
|
+
* Returns the version of the adapter synchronously.
|
4647
|
+
* In OpenFin, this is the version of the runtime.
|
4648
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
4649
|
+
*/
|
4650
|
+
getAdapterVersionSync(): string;
|
4645
4651
|
layoutAllowedInContext(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): boolean;
|
4646
4652
|
initLayoutManager(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, wire: Transport, options: OpenFin_2.InitLayoutOptions): Promise<OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>>;
|
4647
4653
|
applyLayoutSnapshot(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.InitLayoutOptions): Promise<void>;
|
package/out/mock.d.ts
CHANGED
@@ -1173,9 +1173,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1173
1173
|
* The name of the application.
|
1174
1174
|
*
|
1175
1175
|
* @remarks
|
1176
|
-
* This property is
|
1177
|
-
* any special characters, spaces or international characters.
|
1178
|
-
*
|
1176
|
+
* This property is used for naming the application logging folder, which will be sanitized to remove
|
1177
|
+
* any special characters, spaces or international characters. It's also used in error messages, API
|
1178
|
+
* security dialog boxes and in the directory name in %localappdata%/OpenFin/apps/<name><hash>.
|
1179
1179
|
*
|
1180
1180
|
* This property will be deprecated in the future.
|
1181
1181
|
*/
|
@@ -4706,6 +4706,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
4706
4706
|
} : never;
|
4707
4707
|
|
4708
4708
|
declare interface Environment {
|
4709
|
+
/**
|
4710
|
+
* Returns the version of the adapter synchronously.
|
4711
|
+
* In OpenFin, this is the version of the runtime.
|
4712
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
4713
|
+
*/
|
4714
|
+
getAdapterVersionSync(): string;
|
4709
4715
|
layoutAllowedInContext(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): boolean;
|
4710
4716
|
initLayoutManager(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, wire: Transport, options: OpenFin_2.InitLayoutOptions): Promise<OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>>;
|
4711
4717
|
applyLayoutSnapshot(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, layoutManager: OpenFin_2.LayoutManager<OpenFin_2.LayoutSnapshot>, options: OpenFin_2.InitLayoutOptions): Promise<void>;
|
package/out/mock.js
CHANGED
@@ -15421,14 +15421,11 @@ function requireFdc31_2 () {
|
|
15421
15421
|
this.wire.sendAction('fdc3-get-info').catch((e) => {
|
15422
15422
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
15423
15423
|
});
|
15424
|
-
|
15425
|
-
const { uuid, fdc3InteropApi } = fin.__internal_.initialOptions;
|
15426
|
-
// @ts-expect-error
|
15427
|
-
const runtimeVersion = fin.desktop.getVersion();
|
15424
|
+
const version = this.wire.environment.getAdapterVersionSync();
|
15428
15425
|
return {
|
15429
|
-
|
15430
|
-
provider: `openfin-${uuid}`,
|
15431
|
-
|
15426
|
+
providerVersion: version,
|
15427
|
+
provider: `openfin-${this.wire.me.uuid}`,
|
15428
|
+
fdc3Version: '1.2'
|
15432
15429
|
};
|
15433
15430
|
}
|
15434
15431
|
}
|
@@ -17272,6 +17269,9 @@ class MockEnvironment {
|
|
17272
17269
|
this.type = 'other';
|
17273
17270
|
this.childViews = true;
|
17274
17271
|
}
|
17272
|
+
getAdapterVersionSync() {
|
17273
|
+
throw new Error(me_1.environmentUnsupportedMessage);
|
17274
|
+
}
|
17275
17275
|
async getInteropInfo() {
|
17276
17276
|
throw new Error(me_1.environmentUnsupportedMessage);
|
17277
17277
|
}
|