@openfin/core 42.100.33 → 42.100.35

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.
@@ -6223,9 +6223,10 @@ declare type InitPlatformOptions = {
6223
6223
  * Injection setting for the `fin` API.
6224
6224
  *
6225
6225
  * * 'none': The `fin` API will be not available.
6226
+ * * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
6226
6227
  * * 'global': The entire `fin` API will be available.
6227
6228
  */
6228
- declare type InjectionType = 'none' | 'global';
6229
+ declare type InjectionType = 'none' | 'preloads' | 'global';
6229
6230
 
6230
6231
  /**
6231
6232
  * Generated when the value of the element changes.
@@ -9793,6 +9794,7 @@ declare namespace OpenFin_2 {
9793
9794
  PathServeRequest,
9794
9795
  ServeAssetOptions,
9795
9796
  ServedAssetInfo,
9797
+ ResolvedDomainSettings,
9796
9798
  ApplicationEvents,
9797
9799
  BaseEvents,
9798
9800
  ExternalApplicationEvents,
@@ -12537,13 +12539,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
12537
12539
  'system-update-process-logging-options': ApiCall<{
12538
12540
  options: OpenFin_2.ProcessLoggingOptions;
12539
12541
  }, void>;
12540
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12542
+ 'get-domain-settings': ApiCall<void, OpenFin_2.DomainSettings>;
12541
12543
  'serve-asset': ApiCall<{
12542
12544
  options: OpenFin_2.ServeAssetOptions;
12543
12545
  }, OpenFin_2.ServedAssetInfo>;
12544
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12545
- domainSettings: OpenFin_2.DefaultDomainSettings;
12546
+ 'set-domain-settings': ApiCall<{
12547
+ domainSettings: OpenFin_2.DomainSettings;
12546
12548
  }, void>;
12549
+ 'get-current-domain-settings': ApiCall<{
12550
+ identity: OpenFin_2.Identity;
12551
+ }, OpenFin_2.ResolvedDomainSettings>;
12552
+ 'resolve-domain-settings': ApiCall<{
12553
+ url: string;
12554
+ }, OpenFin_2.ResolvedDomainSettings>;
12547
12555
  'system-register-shutdown-handler': VoidCall;
12548
12556
  'get-permissions': GetterCall<any>;
12549
12557
  'refresh-extensions': {
@@ -13026,6 +13034,14 @@ declare type ResizeRegion = {
13026
13034
  };
13027
13035
  };
13028
13036
 
13037
+ declare type ResolvedDomainSettings = {
13038
+ url: string;
13039
+ settings: PerDomainSettings;
13040
+ matches: DomainSettingsRule[];
13041
+ multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
13042
+ default?: PerDomainSettings;
13043
+ };
13044
+
13029
13045
  /**
13030
13046
  * Generated when an HTTP load was cancelled or failed.
13031
13047
  * @interface
@@ -15225,7 +15241,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
15225
15241
  * // }
15226
15242
  * ```
15227
15243
  */
15228
- setDomainSettings(domainSettings: OpenFin_2.DefaultDomainSettings): Promise<void>;
15244
+ setDomainSettings(domainSettings: OpenFin_2.DomainSettings): Promise<void>;
15245
+ getCurrentDomainSettings(identity: OpenFin_2.Identity): Promise<OpenFin_2.ResolvedDomainSettings>;
15246
+ resolveDomainSettings(url: string): Promise<OpenFin_2.ResolvedDomainSettings>;
15229
15247
  /**
15230
15248
  * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
15231
15249
  * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
@@ -15299,6 +15317,10 @@ declare type SystemEventType = EventType_8;
15299
15317
  declare type SystemPermissions = {
15300
15318
  getOSInfo: boolean;
15301
15319
  getAllExternalWindows: boolean;
15320
+ setDomainSettings: boolean;
15321
+ getDomainSettings: boolean;
15322
+ getCurrentDomainSettings: boolean;
15323
+ resolveDomainSettings: boolean;
15302
15324
  launchExternalProcess: boolean | {
15303
15325
  enabled: boolean;
15304
15326
  assets?: {
@@ -15635,7 +15657,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
15635
15657
  sendRaw: Wire['send'];
15636
15658
  eventAggregator: EventAggregator;
15637
15659
  protected messageHandlers: MessageHandler[];
15638
- constructor(WireType: WireConstructor, environment: Environment, config: OpenFin_2.Identity);
15660
+ constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity);
15639
15661
  getFin(): OpenFin_2.Fin<MeType>;
15640
15662
  registerFin(_fin: OpenFin_2.Fin<MeType>): void;
15641
15663
  connectSync: () => void;
@@ -19124,9 +19146,7 @@ declare type Wire = EventEmitter & {
19124
19146
  getPort(): string;
19125
19147
  };
19126
19148
 
19127
- declare type WireConstructor = {
19128
- new (onmessage: (data: any) => void): Wire;
19129
- };
19149
+ declare type WireFactory = (onmessage: (data: any) => void) => Wire;
19130
19150
 
19131
19151
  /* Excluded from this release type: WithId */
19132
19152
 
@@ -6223,9 +6223,10 @@ declare type InitPlatformOptions = {
6223
6223
  * Injection setting for the `fin` API.
6224
6224
  *
6225
6225
  * * 'none': The `fin` API will be not available.
6226
+ * * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
6226
6227
  * * 'global': The entire `fin` API will be available.
6227
6228
  */
6228
- declare type InjectionType = 'none' | 'global';
6229
+ declare type InjectionType = 'none' | 'preloads' | 'global';
6229
6230
 
6230
6231
  /**
6231
6232
  * Generated when the value of the element changes.
@@ -9793,6 +9794,7 @@ declare namespace OpenFin_2 {
9793
9794
  PathServeRequest,
9794
9795
  ServeAssetOptions,
9795
9796
  ServedAssetInfo,
9797
+ ResolvedDomainSettings,
9796
9798
  ApplicationEvents,
9797
9799
  BaseEvents,
9798
9800
  ExternalApplicationEvents,
@@ -12537,13 +12539,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
12537
12539
  'system-update-process-logging-options': ApiCall<{
12538
12540
  options: OpenFin_2.ProcessLoggingOptions;
12539
12541
  }, void>;
12540
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12542
+ 'get-domain-settings': ApiCall<void, OpenFin_2.DomainSettings>;
12541
12543
  'serve-asset': ApiCall<{
12542
12544
  options: OpenFin_2.ServeAssetOptions;
12543
12545
  }, OpenFin_2.ServedAssetInfo>;
12544
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12545
- domainSettings: OpenFin_2.DefaultDomainSettings;
12546
+ 'set-domain-settings': ApiCall<{
12547
+ domainSettings: OpenFin_2.DomainSettings;
12546
12548
  }, void>;
12549
+ 'get-current-domain-settings': ApiCall<{
12550
+ identity: OpenFin_2.Identity;
12551
+ }, OpenFin_2.ResolvedDomainSettings>;
12552
+ 'resolve-domain-settings': ApiCall<{
12553
+ url: string;
12554
+ }, OpenFin_2.ResolvedDomainSettings>;
12547
12555
  'system-register-shutdown-handler': VoidCall;
12548
12556
  'get-permissions': GetterCall<any>;
12549
12557
  'refresh-extensions': {
@@ -13026,6 +13034,14 @@ declare type ResizeRegion = {
13026
13034
  };
13027
13035
  };
13028
13036
 
13037
+ declare type ResolvedDomainSettings = {
13038
+ url: string;
13039
+ settings: PerDomainSettings;
13040
+ matches: DomainSettingsRule[];
13041
+ multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
13042
+ default?: PerDomainSettings;
13043
+ };
13044
+
13029
13045
  /**
13030
13046
  * Generated when an HTTP load was cancelled or failed.
13031
13047
  * @interface
@@ -15225,7 +15241,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
15225
15241
  * // }
15226
15242
  * ```
15227
15243
  */
15228
- setDomainSettings(domainSettings: OpenFin_2.DefaultDomainSettings): Promise<void>;
15244
+ setDomainSettings(domainSettings: OpenFin_2.DomainSettings): Promise<void>;
15245
+ getCurrentDomainSettings(identity: OpenFin_2.Identity): Promise<OpenFin_2.ResolvedDomainSettings>;
15246
+ resolveDomainSettings(url: string): Promise<OpenFin_2.ResolvedDomainSettings>;
15229
15247
  /**
15230
15248
  * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
15231
15249
  * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
@@ -15299,6 +15317,10 @@ declare type SystemEventType = EventType_8;
15299
15317
  declare type SystemPermissions = {
15300
15318
  getOSInfo: boolean;
15301
15319
  getAllExternalWindows: boolean;
15320
+ setDomainSettings: boolean;
15321
+ getDomainSettings: boolean;
15322
+ getCurrentDomainSettings: boolean;
15323
+ resolveDomainSettings: boolean;
15302
15324
  launchExternalProcess: boolean | {
15303
15325
  enabled: boolean;
15304
15326
  assets?: {
@@ -15635,7 +15657,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
15635
15657
  sendRaw: Wire['send'];
15636
15658
  eventAggregator: EventAggregator;
15637
15659
  protected messageHandlers: MessageHandler[];
15638
- constructor(WireType: WireConstructor, environment: Environment, config: OpenFin_2.Identity);
15660
+ constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity);
15639
15661
  getFin(): OpenFin_2.Fin<MeType>;
15640
15662
  registerFin(_fin: OpenFin_2.Fin<MeType>): void;
15641
15663
  connectSync: () => void;
@@ -19124,9 +19146,7 @@ declare type Wire = EventEmitter & {
19124
19146
  getPort(): string;
19125
19147
  };
19126
19148
 
19127
- declare type WireConstructor = {
19128
- new (onmessage: (data: any) => void): Wire;
19129
- };
19149
+ declare type WireFactory = (onmessage: (data: any) => void) => Wire;
19130
19150
 
19131
19151
  /* Excluded from this release type: WithId */
19132
19152
 
@@ -6223,9 +6223,10 @@ declare type InitPlatformOptions = {
6223
6223
  * Injection setting for the `fin` API.
6224
6224
  *
6225
6225
  * * 'none': The `fin` API will be not available.
6226
+ * * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
6226
6227
  * * 'global': The entire `fin` API will be available.
6227
6228
  */
6228
- declare type InjectionType = 'none' | 'global';
6229
+ declare type InjectionType = 'none' | 'preloads' | 'global';
6229
6230
 
6230
6231
  /**
6231
6232
  * Generated when the value of the element changes.
@@ -9793,6 +9794,7 @@ declare namespace OpenFin_2 {
9793
9794
  PathServeRequest,
9794
9795
  ServeAssetOptions,
9795
9796
  ServedAssetInfo,
9797
+ ResolvedDomainSettings,
9796
9798
  ApplicationEvents,
9797
9799
  BaseEvents,
9798
9800
  ExternalApplicationEvents,
@@ -12537,13 +12539,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
12537
12539
  'system-update-process-logging-options': ApiCall<{
12538
12540
  options: OpenFin_2.ProcessLoggingOptions;
12539
12541
  }, void>;
12540
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12542
+ 'get-domain-settings': ApiCall<void, OpenFin_2.DomainSettings>;
12541
12543
  'serve-asset': ApiCall<{
12542
12544
  options: OpenFin_2.ServeAssetOptions;
12543
12545
  }, OpenFin_2.ServedAssetInfo>;
12544
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12545
- domainSettings: OpenFin_2.DefaultDomainSettings;
12546
+ 'set-domain-settings': ApiCall<{
12547
+ domainSettings: OpenFin_2.DomainSettings;
12546
12548
  }, void>;
12549
+ 'get-current-domain-settings': ApiCall<{
12550
+ identity: OpenFin_2.Identity;
12551
+ }, OpenFin_2.ResolvedDomainSettings>;
12552
+ 'resolve-domain-settings': ApiCall<{
12553
+ url: string;
12554
+ }, OpenFin_2.ResolvedDomainSettings>;
12547
12555
  'system-register-shutdown-handler': VoidCall;
12548
12556
  'get-permissions': GetterCall<any>;
12549
12557
  'refresh-extensions': {
@@ -13026,6 +13034,14 @@ declare type ResizeRegion = {
13026
13034
  };
13027
13035
  };
13028
13036
 
13037
+ declare type ResolvedDomainSettings = {
13038
+ url: string;
13039
+ settings: PerDomainSettings;
13040
+ matches: DomainSettingsRule[];
13041
+ multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
13042
+ default?: PerDomainSettings;
13043
+ };
13044
+
13029
13045
  /**
13030
13046
  * Generated when an HTTP load was cancelled or failed.
13031
13047
  * @interface
@@ -15225,7 +15241,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
15225
15241
  * // }
15226
15242
  * ```
15227
15243
  */
15228
- setDomainSettings(domainSettings: OpenFin_2.DefaultDomainSettings): Promise<void>;
15244
+ setDomainSettings(domainSettings: OpenFin_2.DomainSettings): Promise<void>;
15245
+ getCurrentDomainSettings(identity: OpenFin_2.Identity): Promise<OpenFin_2.ResolvedDomainSettings>;
15246
+ resolveDomainSettings(url: string): Promise<OpenFin_2.ResolvedDomainSettings>;
15229
15247
  /**
15230
15248
  * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
15231
15249
  * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
@@ -15299,6 +15317,10 @@ declare type SystemEventType = EventType_8;
15299
15317
  declare type SystemPermissions = {
15300
15318
  getOSInfo: boolean;
15301
15319
  getAllExternalWindows: boolean;
15320
+ setDomainSettings: boolean;
15321
+ getDomainSettings: boolean;
15322
+ getCurrentDomainSettings: boolean;
15323
+ resolveDomainSettings: boolean;
15302
15324
  launchExternalProcess: boolean | {
15303
15325
  enabled: boolean;
15304
15326
  assets?: {
@@ -15635,7 +15657,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
15635
15657
  sendRaw: Wire['send'];
15636
15658
  eventAggregator: EventAggregator;
15637
15659
  protected messageHandlers: MessageHandler[];
15638
- constructor(WireType: WireConstructor, environment: Environment, config: OpenFin_2.Identity);
15660
+ constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity);
15639
15661
  getFin(): OpenFin_2.Fin<MeType>;
15640
15662
  registerFin(_fin: OpenFin_2.Fin<MeType>): void;
15641
15663
  connectSync: () => void;
@@ -19124,9 +19146,7 @@ declare type Wire = EventEmitter & {
19124
19146
  getPort(): string;
19125
19147
  };
19126
19148
 
19127
- declare type WireConstructor = {
19128
- new (onmessage: (data: any) => void): Wire;
19129
- };
19149
+ declare type WireFactory = (onmessage: (data: any) => void) => Wire;
19130
19150
 
19131
19151
  /* Excluded from this release type: WithId */
19132
19152
 
package/out/stub.d.ts CHANGED
@@ -6317,9 +6317,10 @@ declare type InitPlatformOptions = {
6317
6317
  * Injection setting for the `fin` API.
6318
6318
  *
6319
6319
  * * 'none': The `fin` API will be not available.
6320
+ * * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
6320
6321
  * * 'global': The entire `fin` API will be available.
6321
6322
  */
6322
- declare type InjectionType = 'none' | 'global';
6323
+ declare type InjectionType = 'none' | 'preloads' | 'global';
6323
6324
 
6324
6325
  /**
6325
6326
  * Generated when the value of the element changes.
@@ -10111,6 +10112,7 @@ declare namespace OpenFin_2 {
10111
10112
  PathServeRequest,
10112
10113
  ServeAssetOptions,
10113
10114
  ServedAssetInfo,
10115
+ ResolvedDomainSettings,
10114
10116
  ApplicationEvents,
10115
10117
  BaseEvents,
10116
10118
  ExternalApplicationEvents,
@@ -12938,13 +12940,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
12938
12940
  'system-update-process-logging-options': ApiCall<{
12939
12941
  options: OpenFin_2.ProcessLoggingOptions;
12940
12942
  }, void>;
12941
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12943
+ 'get-domain-settings': ApiCall<void, OpenFin_2.DomainSettings>;
12942
12944
  'serve-asset': ApiCall<{
12943
12945
  options: OpenFin_2.ServeAssetOptions;
12944
12946
  }, OpenFin_2.ServedAssetInfo>;
12945
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12946
- domainSettings: OpenFin_2.DefaultDomainSettings;
12947
+ 'set-domain-settings': ApiCall<{
12948
+ domainSettings: OpenFin_2.DomainSettings;
12947
12949
  }, void>;
12950
+ 'get-current-domain-settings': ApiCall<{
12951
+ identity: OpenFin_2.Identity;
12952
+ }, OpenFin_2.ResolvedDomainSettings>;
12953
+ 'resolve-domain-settings': ApiCall<{
12954
+ url: string;
12955
+ }, OpenFin_2.ResolvedDomainSettings>;
12948
12956
  'system-register-shutdown-handler': VoidCall;
12949
12957
  'get-permissions': GetterCall<any>;
12950
12958
  'refresh-extensions': {
@@ -13427,6 +13435,14 @@ declare type ResizeRegion = {
13427
13435
  };
13428
13436
  };
13429
13437
 
13438
+ declare type ResolvedDomainSettings = {
13439
+ url: string;
13440
+ settings: PerDomainSettings;
13441
+ matches: DomainSettingsRule[];
13442
+ multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
13443
+ default?: PerDomainSettings;
13444
+ };
13445
+
13430
13446
  /**
13431
13447
  * Generated when an HTTP load was cancelled or failed.
13432
13448
  * @interface
@@ -15632,7 +15648,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
15632
15648
  * // }
15633
15649
  * ```
15634
15650
  */
15635
- setDomainSettings(domainSettings: OpenFin_2.DefaultDomainSettings): Promise<void>;
15651
+ setDomainSettings(domainSettings: OpenFin_2.DomainSettings): Promise<void>;
15652
+ getCurrentDomainSettings(identity: OpenFin_2.Identity): Promise<OpenFin_2.ResolvedDomainSettings>;
15653
+ resolveDomainSettings(url: string): Promise<OpenFin_2.ResolvedDomainSettings>;
15636
15654
  /**
15637
15655
  * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
15638
15656
  * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
@@ -15706,6 +15724,10 @@ declare type SystemEventType = EventType_8;
15706
15724
  declare type SystemPermissions = {
15707
15725
  getOSInfo: boolean;
15708
15726
  getAllExternalWindows: boolean;
15727
+ setDomainSettings: boolean;
15728
+ getDomainSettings: boolean;
15729
+ getCurrentDomainSettings: boolean;
15730
+ resolveDomainSettings: boolean;
15709
15731
  launchExternalProcess: boolean | {
15710
15732
  enabled: boolean;
15711
15733
  assets?: {
@@ -16049,7 +16071,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
16049
16071
  sendRaw: Wire['send'];
16050
16072
  eventAggregator: EventAggregator;
16051
16073
  protected messageHandlers: MessageHandler[];
16052
- constructor(WireType: WireConstructor, environment: Environment, config: OpenFin_2.Identity);
16074
+ constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity);
16053
16075
  getFin(): OpenFin_2.Fin<MeType>;
16054
16076
  registerFin(_fin: OpenFin_2.Fin<MeType>): void;
16055
16077
  connectSync: () => void;
@@ -19578,9 +19600,7 @@ declare type Wire = EventEmitter & {
19578
19600
  getPort(): string;
19579
19601
  };
19580
19602
 
19581
- declare type WireConstructor = {
19582
- new (onmessage: (data: any) => void): Wire;
19583
- };
19603
+ declare type WireFactory = (onmessage: (data: any) => void) => Wire;
19584
19604
 
19585
19605
  /**
19586
19606
  * @internal
package/out/stub.js CHANGED
@@ -7206,7 +7206,7 @@ class System extends base_1$l.EmitterBase {
7206
7206
  * ```
7207
7207
  */
7208
7208
  async getDomainSettings() {
7209
- const { payload: { data } } = await this.wire.sendAction('get-domain-settings', this.identity);
7209
+ const { payload: { data } } = await this.wire.sendAction('get-domain-settings');
7210
7210
  return data;
7211
7211
  }
7212
7212
  /**
@@ -7267,7 +7267,13 @@ class System extends base_1$l.EmitterBase {
7267
7267
  * ```
7268
7268
  */
7269
7269
  async setDomainSettings(domainSettings) {
7270
- await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
7270
+ await this.wire.sendAction('set-domain-settings', { domainSettings });
7271
+ }
7272
+ async getCurrentDomainSettings(identity) {
7273
+ return (await this.wire.sendAction('get-current-domain-settings', { identity })).payload.data;
7274
+ }
7275
+ async resolveDomainSettings(url) {
7276
+ return (await this.wire.sendAction('resolve-domain-settings', { url })).payload.data;
7271
7277
  }
7272
7278
  /**
7273
7279
  * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
@@ -17423,7 +17429,7 @@ const eventAggregator_1 = __importDefault(eventAggregator);
17423
17429
  const me_1$1 = me;
17424
17430
  const errors_1 = errors;
17425
17431
  class Transport extends events_1$1.EventEmitter {
17426
- constructor(WireType, environment, config) {
17432
+ constructor(factory, environment, config) {
17427
17433
  super();
17428
17434
  this.wireListeners = new Map();
17429
17435
  this.topicRefMap = new Map();
@@ -17441,7 +17447,7 @@ class Transport extends events_1$1.EventEmitter {
17441
17447
  const wire = __classPrivateFieldGet(this, _Transport_wire, "f");
17442
17448
  return wire.getPort();
17443
17449
  };
17444
- __classPrivateFieldSet(this, _Transport_wire, new WireType(this.onmessage.bind(this)), "f");
17450
+ __classPrivateFieldSet(this, _Transport_wire, factory(this.onmessage.bind(this)), "f");
17445
17451
  this.environment = environment;
17446
17452
  this.sendRaw = __classPrivateFieldGet(this, _Transport_wire, "f").send.bind(__classPrivateFieldGet(this, _Transport_wire, "f"));
17447
17453
  this.registerMessageHandler(this.handleMessage.bind(this));
@@ -17753,7 +17759,7 @@ StubWire_1 = stubWire.StubWire = StubWire;
17753
17759
  const fin$1 = ((typeof window !== 'undefined' && window?.fin) ||
17754
17760
  (() => {
17755
17761
  const environment = new StubEnvironment_1();
17756
- const transport = new Transport_1(StubWire_1, environment, {
17762
+ const transport = new Transport_1(() => new StubWire_1(), environment, {
17757
17763
  uuid: '',
17758
17764
  name: ''
17759
17765
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "42.100.33",
3
+ "version": "42.100.35",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",