@openfin/core 38.81.30 → 38.81.32

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.
@@ -1161,9 +1161,14 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1161
1161
  */
1162
1162
  mainWindowOptions: WindowCreationOptions;
1163
1163
  /**
1164
- * The name of the application (and the application's main window).
1164
+ * The name of the application.
1165
1165
  *
1166
- * If provided, _must_ match `uuid`.
1166
+ * @remarks
1167
+ * This property is only used for naming the application logging folder, which will be sanitized to remove
1168
+ * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1169
+ * during startup with the UUID of the application.
1170
+ *
1171
+ * This property will be deprecated in the future.
1167
1172
  */
1168
1173
  name: string;
1169
1174
  /**
@@ -1193,9 +1198,7 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1193
1198
  url: string;
1194
1199
  /**
1195
1200
  * The _Unique Universal Identifier_ (UUID) of the application, unique within the set of all other applications
1196
- * running in the OpenFin Runtime.
1197
- *
1198
- * Note that `name` and `uuid` must match.
1201
+ * running in the OpenFin Runtime.
1199
1202
  */
1200
1203
  uuid: string;
1201
1204
  /**
@@ -3432,6 +3435,13 @@ declare type ConstViewOptions = {
3432
3435
  * Initial bounds given relative to the window.
3433
3436
  */
3434
3437
  bounds: Bounds;
3438
+ /**
3439
+ * API permissions for code running in the view.
3440
+ *
3441
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3442
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3443
+ * to the source of the page content than to the context rendering it.
3444
+ */
3435
3445
  permissions: Partial<Permissions_2>;
3436
3446
  /**
3437
3447
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3642,13 @@ declare type ConstWindowOptions = {
3632
3642
  * The name of the window.
3633
3643
  */
3634
3644
  name: string;
3645
+ /**
3646
+ * API permissions for code running in the window.
3647
+ *
3648
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3649
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3650
+ * to the source of the page content than to the context rendering it.
3651
+ */
3635
3652
  permissions: Partial<Permissions_2>;
3636
3653
  /**
3637
3654
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4729,10 @@ declare type DomainSettings = {
4712
4729
  rules: DomainSettingsRule[];
4713
4730
  /**
4714
4731
  * Default values for settings in {@link DomainSettingsRule}.
4732
+ *
4733
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4734
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4735
+ * more information, see the documentation for the individual properties.
4715
4736
  */
4716
4737
  default?: PerDomainSettings;
4717
4738
  };
@@ -10209,7 +10230,7 @@ declare type PerDomainSettings = {
10209
10230
  * Whether DOM content can be loaded (by navigation or redirect).
10210
10231
  *
10211
10232
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10212
- * {@link ContentRedirect} will be **ignored**.
10233
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10213
10234
  */
10214
10235
  content?: ContentPermission;
10215
10236
  };
@@ -1161,9 +1161,14 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1161
1161
  */
1162
1162
  mainWindowOptions: WindowCreationOptions;
1163
1163
  /**
1164
- * The name of the application (and the application's main window).
1164
+ * The name of the application.
1165
1165
  *
1166
- * If provided, _must_ match `uuid`.
1166
+ * @remarks
1167
+ * This property is only used for naming the application logging folder, which will be sanitized to remove
1168
+ * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1169
+ * during startup with the UUID of the application.
1170
+ *
1171
+ * This property will be deprecated in the future.
1167
1172
  */
1168
1173
  name: string;
1169
1174
  /**
@@ -1193,9 +1198,7 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1193
1198
  url: string;
1194
1199
  /**
1195
1200
  * The _Unique Universal Identifier_ (UUID) of the application, unique within the set of all other applications
1196
- * running in the OpenFin Runtime.
1197
- *
1198
- * Note that `name` and `uuid` must match.
1201
+ * running in the OpenFin Runtime.
1199
1202
  */
1200
1203
  uuid: string;
1201
1204
  /**
@@ -3432,6 +3435,13 @@ declare type ConstViewOptions = {
3432
3435
  * Initial bounds given relative to the window.
3433
3436
  */
3434
3437
  bounds: Bounds;
3438
+ /**
3439
+ * API permissions for code running in the view.
3440
+ *
3441
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3442
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3443
+ * to the source of the page content than to the context rendering it.
3444
+ */
3435
3445
  permissions: Partial<Permissions_2>;
3436
3446
  /**
3437
3447
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3642,13 @@ declare type ConstWindowOptions = {
3632
3642
  * The name of the window.
3633
3643
  */
3634
3644
  name: string;
3645
+ /**
3646
+ * API permissions for code running in the window.
3647
+ *
3648
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3649
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3650
+ * to the source of the page content than to the context rendering it.
3651
+ */
3635
3652
  permissions: Partial<Permissions_2>;
3636
3653
  /**
3637
3654
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4729,10 @@ declare type DomainSettings = {
4712
4729
  rules: DomainSettingsRule[];
4713
4730
  /**
4714
4731
  * Default values for settings in {@link DomainSettingsRule}.
4732
+ *
4733
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4734
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4735
+ * more information, see the documentation for the individual properties.
4715
4736
  */
4716
4737
  default?: PerDomainSettings;
4717
4738
  };
@@ -10209,7 +10230,7 @@ declare type PerDomainSettings = {
10209
10230
  * Whether DOM content can be loaded (by navigation or redirect).
10210
10231
  *
10211
10232
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10212
- * {@link ContentRedirect} will be **ignored**.
10233
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10213
10234
  */
10214
10235
  content?: ContentPermission;
10215
10236
  };
@@ -1161,9 +1161,14 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1161
1161
  */
1162
1162
  mainWindowOptions: WindowCreationOptions;
1163
1163
  /**
1164
- * The name of the application (and the application's main window).
1164
+ * The name of the application.
1165
1165
  *
1166
- * If provided, _must_ match `uuid`.
1166
+ * @remarks
1167
+ * This property is only used for naming the application logging folder, which will be sanitized to remove
1168
+ * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1169
+ * during startup with the UUID of the application.
1170
+ *
1171
+ * This property will be deprecated in the future.
1167
1172
  */
1168
1173
  name: string;
1169
1174
  /**
@@ -1193,9 +1198,7 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1193
1198
  url: string;
1194
1199
  /**
1195
1200
  * The _Unique Universal Identifier_ (UUID) of the application, unique within the set of all other applications
1196
- * running in the OpenFin Runtime.
1197
- *
1198
- * Note that `name` and `uuid` must match.
1201
+ * running in the OpenFin Runtime.
1199
1202
  */
1200
1203
  uuid: string;
1201
1204
  /**
@@ -3432,6 +3435,13 @@ declare type ConstViewOptions = {
3432
3435
  * Initial bounds given relative to the window.
3433
3436
  */
3434
3437
  bounds: Bounds;
3438
+ /**
3439
+ * API permissions for code running in the view.
3440
+ *
3441
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3442
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3443
+ * to the source of the page content than to the context rendering it.
3444
+ */
3435
3445
  permissions: Partial<Permissions_2>;
3436
3446
  /**
3437
3447
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3642,13 @@ declare type ConstWindowOptions = {
3632
3642
  * The name of the window.
3633
3643
  */
3634
3644
  name: string;
3645
+ /**
3646
+ * API permissions for code running in the window.
3647
+ *
3648
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3649
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3650
+ * to the source of the page content than to the context rendering it.
3651
+ */
3635
3652
  permissions: Partial<Permissions_2>;
3636
3653
  /**
3637
3654
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4729,10 @@ declare type DomainSettings = {
4712
4729
  rules: DomainSettingsRule[];
4713
4730
  /**
4714
4731
  * Default values for settings in {@link DomainSettingsRule}.
4732
+ *
4733
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4734
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4735
+ * more information, see the documentation for the individual properties.
4715
4736
  */
4716
4737
  default?: PerDomainSettings;
4717
4738
  };
@@ -10209,7 +10230,7 @@ declare type PerDomainSettings = {
10209
10230
  * Whether DOM content can be loaded (by navigation or redirect).
10210
10231
  *
10211
10232
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10212
- * {@link ContentRedirect} will be **ignored**.
10233
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10213
10234
  */
10214
10235
  content?: ContentPermission;
10215
10236
  };
package/out/mock.d.ts CHANGED
@@ -1167,9 +1167,14 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1167
1167
  */
1168
1168
  mainWindowOptions: WindowCreationOptions;
1169
1169
  /**
1170
- * The name of the application (and the application's main window).
1170
+ * The name of the application.
1171
1171
  *
1172
- * If provided, _must_ match `uuid`.
1172
+ * @remarks
1173
+ * This property is only used for naming the application logging folder, which will be sanitized to remove
1174
+ * any special characters, spaces or international characters. Otherwise it's not used and it will be overwritten
1175
+ * during startup with the UUID of the application.
1176
+ *
1177
+ * This property will be deprecated in the future.
1173
1178
  */
1174
1179
  name: string;
1175
1180
  /**
@@ -1199,9 +1204,7 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1199
1204
  url: string;
1200
1205
  /**
1201
1206
  * The _Unique Universal Identifier_ (UUID) of the application, unique within the set of all other applications
1202
- * running in the OpenFin Runtime.
1203
- *
1204
- * Note that `name` and `uuid` must match.
1207
+ * running in the OpenFin Runtime.
1205
1208
  */
1206
1209
  uuid: string;
1207
1210
  /**
@@ -3491,6 +3494,13 @@ declare type ConstViewOptions = {
3491
3494
  * Initial bounds given relative to the window.
3492
3495
  */
3493
3496
  bounds: Bounds;
3497
+ /**
3498
+ * API permissions for code running in the view.
3499
+ *
3500
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3501
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3502
+ * to the source of the page content than to the context rendering it.
3503
+ */
3494
3504
  permissions: Partial<Permissions_2>;
3495
3505
  /**
3496
3506
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3691,6 +3701,13 @@ declare type ConstWindowOptions = {
3691
3701
  * The name of the window.
3692
3702
  */
3693
3703
  name: string;
3704
+ /**
3705
+ * API permissions for code running in the window.
3706
+ *
3707
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3708
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3709
+ * to the source of the page content than to the context rendering it.
3710
+ */
3694
3711
  permissions: Partial<Permissions_2>;
3695
3712
  /**
3696
3713
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4771,6 +4788,10 @@ declare type DomainSettings = {
4771
4788
  rules: DomainSettingsRule[];
4772
4789
  /**
4773
4790
  * Default values for settings in {@link DomainSettingsRule}.
4791
+ *
4792
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4793
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4794
+ * more information, see the documentation for the individual properties.
4774
4795
  */
4775
4796
  default?: PerDomainSettings;
4776
4797
  };
@@ -10524,7 +10545,7 @@ declare type PerDomainSettings = {
10524
10545
  * Whether DOM content can be loaded (by navigation or redirect).
10525
10546
  *
10526
10547
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10527
- * {@link ContentRedirect} will be **ignored**.
10548
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10528
10549
  */
10529
10550
  content?: ContentPermission;
10530
10551
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "38.81.30",
3
+ "version": "38.81.32",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",