@openfin/fdc3-api 46.100.63 → 46.100.65

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.
@@ -2163,6 +2163,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2163
2163
  */
2164
2164
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2165
2165
 
2166
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2167
+ declare interface CallSite {
2168
+ getFileName(): string | null;
2169
+ toString(): string;
2170
+ }
2171
+
2172
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2173
+ declare type CapturedStack = CallSite[] | string[];
2174
+
2166
2175
  /**
2167
2176
  * Configuration for page capture.
2168
2177
  *
@@ -12343,6 +12352,20 @@ declare type PlatformOptions = ApplicationCreationOptions & {
12343
12352
  * @default true
12344
12353
  */
12345
12354
  allowLaunchIntoPlatform?: boolean;
12355
+ /**
12356
+ * @experimental
12357
+ *
12358
+ * Creates window chrome before views. `createWindow` resolves when the window exists
12359
+ * (`window-created`) instead of waiting for layout creation to finish (`layout-ready`).
12360
+ *
12361
+ * Views start after the window exists. During `applySnapshot`, every window shell is
12362
+ * created first; view creation starts after `platform-snapshot-applied`.
12363
+ *
12364
+ * Tradeoff: windows appear sooner, but view content and `layout-ready` are delayed.
12365
+ *
12366
+ * @default false
12367
+ */
12368
+ deferViewCreation?: boolean;
12346
12369
  };
12347
12370
 
12348
12371
  /**
@@ -17893,7 +17916,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17893
17916
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17894
17917
  private authorize;
17895
17918
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17896
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17919
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17897
17920
  ferryAction(origData: any): Promise<Message<any>>;
17898
17921
  registerMessageHandler(handler: MessageHandler): void;
17899
17922
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;
@@ -2163,6 +2163,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2163
2163
  */
2164
2164
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2165
2165
 
2166
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2167
+ declare interface CallSite {
2168
+ getFileName(): string | null;
2169
+ toString(): string;
2170
+ }
2171
+
2172
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2173
+ declare type CapturedStack = CallSite[] | string[];
2174
+
2166
2175
  /**
2167
2176
  * Configuration for page capture.
2168
2177
  *
@@ -12343,6 +12352,20 @@ declare type PlatformOptions = ApplicationCreationOptions & {
12343
12352
  * @default true
12344
12353
  */
12345
12354
  allowLaunchIntoPlatform?: boolean;
12355
+ /**
12356
+ * @experimental
12357
+ *
12358
+ * Creates window chrome before views. `createWindow` resolves when the window exists
12359
+ * (`window-created`) instead of waiting for layout creation to finish (`layout-ready`).
12360
+ *
12361
+ * Views start after the window exists. During `applySnapshot`, every window shell is
12362
+ * created first; view creation starts after `platform-snapshot-applied`.
12363
+ *
12364
+ * Tradeoff: windows appear sooner, but view content and `layout-ready` are delayed.
12365
+ *
12366
+ * @default false
12367
+ */
12368
+ deferViewCreation?: boolean;
12346
12369
  };
12347
12370
 
12348
12371
  /**
@@ -17893,7 +17916,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17893
17916
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17894
17917
  private authorize;
17895
17918
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17896
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17919
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17897
17920
  ferryAction(origData: any): Promise<Message<any>>;
17898
17921
  registerMessageHandler(handler: MessageHandler): void;
17899
17922
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;
@@ -2163,6 +2163,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2163
2163
  */
2164
2164
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2165
2165
 
2166
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2167
+ declare interface CallSite {
2168
+ getFileName(): string | null;
2169
+ toString(): string;
2170
+ }
2171
+
2172
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2173
+ declare type CapturedStack = CallSite[] | string[];
2174
+
2166
2175
  /**
2167
2176
  * Configuration for page capture.
2168
2177
  *
@@ -12343,6 +12352,20 @@ declare type PlatformOptions = ApplicationCreationOptions & {
12343
12352
  * @default true
12344
12353
  */
12345
12354
  allowLaunchIntoPlatform?: boolean;
12355
+ /**
12356
+ * @experimental
12357
+ *
12358
+ * Creates window chrome before views. `createWindow` resolves when the window exists
12359
+ * (`window-created`) instead of waiting for layout creation to finish (`layout-ready`).
12360
+ *
12361
+ * Views start after the window exists. During `applySnapshot`, every window shell is
12362
+ * created first; view creation starts after `platform-snapshot-applied`.
12363
+ *
12364
+ * Tradeoff: windows appear sooner, but view content and `layout-ready` are delayed.
12365
+ *
12366
+ * @default false
12367
+ */
12368
+ deferViewCreation?: boolean;
12346
12369
  };
12347
12370
 
12348
12371
  /**
@@ -17893,7 +17916,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17893
17916
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17894
17917
  private authorize;
17895
17918
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17896
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17919
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17897
17920
  ferryAction(origData: any): Promise<Message<any>>;
17898
17921
  registerMessageHandler(handler: MessageHandler): void;
17899
17922
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;
package/out/fdc3-api.d.ts CHANGED
@@ -2195,6 +2195,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2195
2195
  */
2196
2196
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2197
2197
 
2198
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2199
+ declare interface CallSite {
2200
+ getFileName(): string | null;
2201
+ toString(): string;
2202
+ }
2203
+
2204
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2205
+ declare type CapturedStack = CallSite[] | string[];
2206
+
2198
2207
  /**
2199
2208
  * Configuration for page capture.
2200
2209
  *
@@ -12790,6 +12799,20 @@ declare type PlatformOptions = ApplicationCreationOptions & {
12790
12799
  * @default true
12791
12800
  */
12792
12801
  allowLaunchIntoPlatform?: boolean;
12802
+ /**
12803
+ * @experimental
12804
+ *
12805
+ * Creates window chrome before views. `createWindow` resolves when the window exists
12806
+ * (`window-created`) instead of waiting for layout creation to finish (`layout-ready`).
12807
+ *
12808
+ * Views start after the window exists. During `applySnapshot`, every window shell is
12809
+ * created first; view creation starts after `platform-snapshot-applied`.
12810
+ *
12811
+ * Tradeoff: windows appear sooner, but view content and `layout-ready` are delayed.
12812
+ *
12813
+ * @default false
12814
+ */
12815
+ deferViewCreation?: boolean;
12793
12816
  };
12794
12817
 
12795
12818
  /**
@@ -18398,7 +18421,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
18398
18421
  connectByPort(config: ExistingConnectConfig): Promise<void>;
18399
18422
  private authorize;
18400
18423
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
18401
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
18424
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
18402
18425
  ferryAction(origData: any): Promise<Message<any>>;
18403
18426
  registerMessageHandler(handler: MessageHandler): void;
18404
18427
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "46.100.63",
3
+ "version": "46.100.65",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,