@openfin/core 38.81.49 → 38.81.51

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.
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1167
1167
  * The name of the application.
1168
1168
  *
1169
1169
  * @remarks
1170
- * This property is only used for naming the application logging folder, which will be sanitized to remove
1171
- * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1172
- * during startup with the UUID of the application.
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>;
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1167
1167
  * The name of the application.
1168
1168
  *
1169
1169
  * @remarks
1170
- * This property is only used for naming the application logging folder, which will be sanitized to remove
1171
- * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1172
- * during startup with the UUID of the application.
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>;
@@ -1167,9 +1167,9 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1167
1167
  * The name of the application.
1168
1168
  *
1169
1169
  * @remarks
1170
- * This property is only used for naming the application logging folder, which will be sanitized to remove
1171
- * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1172
- * during startup with the UUID of the application.
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 only used for naming the application logging folder, which will be sanitized to remove
1177
- * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1178
- * during startup with the UUID of the application.
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>;