@openfin/fdc3-api 44.101.6 → 44.101.8

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
  *
@@ -9335,8 +9344,26 @@ declare type LayoutOptions = {
9335
9344
  content?: LayoutContent;
9336
9345
  dimensions?: {
9337
9346
  borderWidth?: number;
9347
+ /**
9348
+ * Minimum height a layout item can be resized to, in pixels.
9349
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemHeight`.
9350
+ */
9338
9351
  minItemHeight?: number;
9352
+ /**
9353
+ * Minimum width a layout item can be resized to, in pixels.
9354
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemWidth`.
9355
+ */
9339
9356
  minItemWidth?: number;
9357
+ /**
9358
+ * Minimum height a layout item can be resized to (CSS size, e.g. `'500px'`).
9359
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemHeight} when both are set.
9360
+ */
9361
+ defaultMinItemHeight?: string;
9362
+ /**
9363
+ * Minimum width a layout item can be resized to (CSS size, e.g. `'500px'`).
9364
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemWidth} when both are set.
9365
+ */
9366
+ defaultMinItemWidth?: string;
9340
9367
  headerHeight?: number;
9341
9368
  };
9342
9369
  };
@@ -17605,7 +17632,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17605
17632
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17606
17633
  private authorize;
17607
17634
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17608
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17635
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17609
17636
  ferryAction(origData: any): Promise<Message<any>>;
17610
17637
  registerMessageHandler(handler: MessageHandler): void;
17611
17638
  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
  *
@@ -9335,8 +9344,26 @@ declare type LayoutOptions = {
9335
9344
  content?: LayoutContent;
9336
9345
  dimensions?: {
9337
9346
  borderWidth?: number;
9347
+ /**
9348
+ * Minimum height a layout item can be resized to, in pixels.
9349
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemHeight`.
9350
+ */
9338
9351
  minItemHeight?: number;
9352
+ /**
9353
+ * Minimum width a layout item can be resized to, in pixels.
9354
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemWidth`.
9355
+ */
9339
9356
  minItemWidth?: number;
9357
+ /**
9358
+ * Minimum height a layout item can be resized to (CSS size, e.g. `'500px'`).
9359
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemHeight} when both are set.
9360
+ */
9361
+ defaultMinItemHeight?: string;
9362
+ /**
9363
+ * Minimum width a layout item can be resized to (CSS size, e.g. `'500px'`).
9364
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemWidth} when both are set.
9365
+ */
9366
+ defaultMinItemWidth?: string;
9340
9367
  headerHeight?: number;
9341
9368
  };
9342
9369
  };
@@ -17605,7 +17632,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17605
17632
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17606
17633
  private authorize;
17607
17634
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17608
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17635
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17609
17636
  ferryAction(origData: any): Promise<Message<any>>;
17610
17637
  registerMessageHandler(handler: MessageHandler): void;
17611
17638
  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
  *
@@ -9335,8 +9344,26 @@ declare type LayoutOptions = {
9335
9344
  content?: LayoutContent;
9336
9345
  dimensions?: {
9337
9346
  borderWidth?: number;
9347
+ /**
9348
+ * Minimum height a layout item can be resized to, in pixels.
9349
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemHeight`.
9350
+ */
9338
9351
  minItemHeight?: number;
9352
+ /**
9353
+ * Minimum width a layout item can be resized to, in pixels.
9354
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemWidth`.
9355
+ */
9339
9356
  minItemWidth?: number;
9357
+ /**
9358
+ * Minimum height a layout item can be resized to (CSS size, e.g. `'500px'`).
9359
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemHeight} when both are set.
9360
+ */
9361
+ defaultMinItemHeight?: string;
9362
+ /**
9363
+ * Minimum width a layout item can be resized to (CSS size, e.g. `'500px'`).
9364
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemWidth} when both are set.
9365
+ */
9366
+ defaultMinItemWidth?: string;
9340
9367
  headerHeight?: number;
9341
9368
  };
9342
9369
  };
@@ -17605,7 +17632,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17605
17632
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17606
17633
  private authorize;
17607
17634
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17608
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17635
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17609
17636
  ferryAction(origData: any): Promise<Message<any>>;
17610
17637
  registerMessageHandler(handler: MessageHandler): void;
17611
17638
  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
  *
@@ -9644,8 +9653,26 @@ declare type LayoutOptions = {
9644
9653
  content?: LayoutContent;
9645
9654
  dimensions?: {
9646
9655
  borderWidth?: number;
9656
+ /**
9657
+ * Minimum height a layout item can be resized to, in pixels.
9658
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemHeight`.
9659
+ */
9647
9660
  minItemHeight?: number;
9661
+ /**
9662
+ * Minimum width a layout item can be resized to, in pixels.
9663
+ * On web layouts this is mapped to Golden Layout 2 `defaultMinItemWidth`.
9664
+ */
9648
9665
  minItemWidth?: number;
9666
+ /**
9667
+ * Minimum height a layout item can be resized to (CSS size, e.g. `'500px'`).
9668
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemHeight} when both are set.
9669
+ */
9670
+ defaultMinItemHeight?: string;
9671
+ /**
9672
+ * Minimum width a layout item can be resized to (CSS size, e.g. `'500px'`).
9673
+ * Web layouts only. Takes precedence over {@link LayoutOptions.dimensions.minItemWidth} when both are set.
9674
+ */
9675
+ defaultMinItemWidth?: string;
9649
9676
  headerHeight?: number;
9650
9677
  };
9651
9678
  };
@@ -18035,7 +18062,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
18035
18062
  connectByPort(config: ExistingConnectConfig): Promise<void>;
18036
18063
  private authorize;
18037
18064
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
18038
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
18065
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
18039
18066
  ferryAction(origData: any): Promise<Message<any>>;
18040
18067
  registerMessageHandler(handler: MessageHandler): void;
18041
18068
  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": "44.101.6",
3
+ "version": "44.101.8",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,