@openfin/fdc3-api 39.81.12 → 39.81.15
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 +6 -0
- package/out/fdc3-api-beta.d.ts +6 -0
- package/out/fdc3-api-public.d.ts +6 -0
- package/out/fdc3-api.d.ts +6 -0
- package/out/fdc3-api.js +4 -7
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -4639,6 +4639,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
4639
4639
|
} : never;
|
|
4640
4640
|
|
|
4641
4641
|
declare interface Environment {
|
|
4642
|
+
/**
|
|
4643
|
+
* Returns the version of the adapter synchronously.
|
|
4644
|
+
* In OpenFin, this is the version of the runtime.
|
|
4645
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
|
4646
|
+
*/
|
|
4647
|
+
getAdapterVersionSync(): string;
|
|
4642
4648
|
layoutAllowedInContext(fin: OpenFin.Fin<OpenFin.EntityType>): boolean;
|
|
4643
4649
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
4644
4650
|
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -4639,6 +4639,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
4639
4639
|
} : never;
|
|
4640
4640
|
|
|
4641
4641
|
declare interface Environment {
|
|
4642
|
+
/**
|
|
4643
|
+
* Returns the version of the adapter synchronously.
|
|
4644
|
+
* In OpenFin, this is the version of the runtime.
|
|
4645
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
|
4646
|
+
*/
|
|
4647
|
+
getAdapterVersionSync(): string;
|
|
4642
4648
|
layoutAllowedInContext(fin: OpenFin.Fin<OpenFin.EntityType>): boolean;
|
|
4643
4649
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
4644
4650
|
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -4639,6 +4639,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
4639
4639
|
} : never;
|
|
4640
4640
|
|
|
4641
4641
|
declare interface Environment {
|
|
4642
|
+
/**
|
|
4643
|
+
* Returns the version of the adapter synchronously.
|
|
4644
|
+
* In OpenFin, this is the version of the runtime.
|
|
4645
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
|
4646
|
+
*/
|
|
4647
|
+
getAdapterVersionSync(): string;
|
|
4642
4648
|
layoutAllowedInContext(fin: OpenFin.Fin<OpenFin.EntityType>): boolean;
|
|
4643
4649
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
4644
4650
|
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -4703,6 +4703,12 @@ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
|
|
4703
4703
|
} : never;
|
|
4704
4704
|
|
|
4705
4705
|
declare interface Environment {
|
|
4706
|
+
/**
|
|
4707
|
+
* Returns the version of the adapter synchronously.
|
|
4708
|
+
* In OpenFin, this is the version of the runtime.
|
|
4709
|
+
* Elsewhere (e.g. Node.js), this is the version of the adapter, NOT the runtime.
|
|
4710
|
+
*/
|
|
4711
|
+
getAdapterVersionSync(): string;
|
|
4706
4712
|
layoutAllowedInContext(fin: OpenFin.Fin<OpenFin.EntityType>): boolean;
|
|
4707
4713
|
initLayoutManager(fin: OpenFin.Fin<OpenFin.EntityType>, wire: Transport, options: OpenFin.InitLayoutOptions): Promise<OpenFin.LayoutManager<OpenFin.LayoutSnapshot>>;
|
|
4708
4714
|
applyLayoutSnapshot(fin: OpenFin.Fin<OpenFin.EntityType>, layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, options: OpenFin.InitLayoutOptions): Promise<void>;
|
package/out/fdc3-api.js
CHANGED
|
@@ -2194,14 +2194,11 @@ function requireFdc31_2 () {
|
|
|
2194
2194
|
this.wire.sendAction('fdc3-get-info').catch((e) => {
|
|
2195
2195
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
|
2196
2196
|
});
|
|
2197
|
-
|
|
2198
|
-
const { uuid, fdc3InteropApi } = fin.__internal_.initialOptions;
|
|
2199
|
-
// @ts-expect-error
|
|
2200
|
-
const runtimeVersion = fin.desktop.getVersion();
|
|
2197
|
+
const version = this.wire.environment.getAdapterVersionSync();
|
|
2201
2198
|
return {
|
|
2202
|
-
|
|
2203
|
-
provider: `openfin-${uuid}`,
|
|
2204
|
-
|
|
2199
|
+
providerVersion: version,
|
|
2200
|
+
provider: `openfin-${this.wire.me.uuid}`,
|
|
2201
|
+
fdc3Version: '1.2'
|
|
2205
2202
|
};
|
|
2206
2203
|
}
|
|
2207
2204
|
}
|