@openfin/fdc3-api 45.100.113 → 45.100.114

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
  *
@@ -9787,6 +9796,10 @@ declare type Manifest = {
9787
9796
  experimentalExtensionPolicyBlockedHosts?: {
9788
9797
  hosts: string[];
9789
9798
  };
9799
+ /**
9800
+ * Chromium extensions to install and enable for this application.
9801
+ */
9802
+ extensions?: ManifestExtension[];
9790
9803
  licenseKey: string;
9791
9804
  offlineAccess?: boolean;
9792
9805
  platform?: PlatformOptions;
@@ -9840,6 +9853,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
9840
9853
  type: 'manifest-changed';
9841
9854
  };
9842
9855
 
9856
+ /**
9857
+ * Chromium extension entry in an application configuration.
9858
+ *
9859
+ * @interface
9860
+ */
9861
+ declare type ManifestExtension = {
9862
+ /** Chromium extension ID. */
9863
+ id: string;
9864
+ /** Extension server URL used to install the extension. */
9865
+ serverURL: string;
9866
+ /**
9867
+ * Rules declaring where this extension may inject content scripts into
9868
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
9869
+ * the extension restricted to browser tabs — identical to historic
9870
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
9871
+ * `matchOptions` behaves as it does for domain settings. Intended for
9872
+ * security extensions rather than extensions that add visible UI.
9873
+ */
9874
+ nonTabInjections?: NonTabInjectionRule[];
9875
+ };
9876
+
9843
9877
  /**
9844
9878
  * @interface
9845
9879
  */
@@ -10630,6 +10664,32 @@ declare type NonPropagatedWebContentsEvent = never;
10630
10664
  */
10631
10665
  declare type NonPropagatedWindowEvent = never;
10632
10666
 
10667
+ /**
10668
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
10669
+ * web content whose URL matches the given patterns.
10670
+ *
10671
+ * Match patterns use the same Chromium
10672
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10673
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
10674
+ * default scheme-matching behavior as domain settings.
10675
+ *
10676
+ * @interface
10677
+ */
10678
+ declare type NonTabInjectionRule = {
10679
+ /**
10680
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10681
+ * specifying the content locations where the extension may inject outside
10682
+ * browser tabs. An empty array grants no permission. A wildcard grants
10683
+ * blanket coverage of all content locations.
10684
+ */
10685
+ match: string[];
10686
+ /**
10687
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
10688
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
10689
+ */
10690
+ matchOptions?: RuleMatchOptions;
10691
+ };
10692
+
10633
10693
  /* Excluded from this release type: NotCloseRequested */
10634
10694
 
10635
10695
  declare type NotificationEvent = {
@@ -10938,6 +10998,8 @@ declare namespace OpenFin {
10938
10998
  ThemeColorsMap,
10939
10999
  ThemeColorId,
10940
11000
  ThemePalette,
11001
+ NonTabInjectionRule,
11002
+ ManifestExtension,
10941
11003
  Manifest,
10942
11004
  LayoutContent,
10943
11005
  LayoutItemConfig,
@@ -17894,7 +17956,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17894
17956
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17895
17957
  private authorize;
17896
17958
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17897
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17959
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17898
17960
  ferryAction(origData: any): Promise<Message<any>>;
17899
17961
  registerMessageHandler(handler: MessageHandler): void;
17900
17962
  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
  *
@@ -9787,6 +9796,10 @@ declare type Manifest = {
9787
9796
  experimentalExtensionPolicyBlockedHosts?: {
9788
9797
  hosts: string[];
9789
9798
  };
9799
+ /**
9800
+ * Chromium extensions to install and enable for this application.
9801
+ */
9802
+ extensions?: ManifestExtension[];
9790
9803
  licenseKey: string;
9791
9804
  offlineAccess?: boolean;
9792
9805
  platform?: PlatformOptions;
@@ -9840,6 +9853,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
9840
9853
  type: 'manifest-changed';
9841
9854
  };
9842
9855
 
9856
+ /**
9857
+ * Chromium extension entry in an application configuration.
9858
+ *
9859
+ * @interface
9860
+ */
9861
+ declare type ManifestExtension = {
9862
+ /** Chromium extension ID. */
9863
+ id: string;
9864
+ /** Extension server URL used to install the extension. */
9865
+ serverURL: string;
9866
+ /**
9867
+ * Rules declaring where this extension may inject content scripts into
9868
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
9869
+ * the extension restricted to browser tabs — identical to historic
9870
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
9871
+ * `matchOptions` behaves as it does for domain settings. Intended for
9872
+ * security extensions rather than extensions that add visible UI.
9873
+ */
9874
+ nonTabInjections?: NonTabInjectionRule[];
9875
+ };
9876
+
9843
9877
  /**
9844
9878
  * @interface
9845
9879
  */
@@ -10630,6 +10664,32 @@ declare type NonPropagatedWebContentsEvent = never;
10630
10664
  */
10631
10665
  declare type NonPropagatedWindowEvent = never;
10632
10666
 
10667
+ /**
10668
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
10669
+ * web content whose URL matches the given patterns.
10670
+ *
10671
+ * Match patterns use the same Chromium
10672
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10673
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
10674
+ * default scheme-matching behavior as domain settings.
10675
+ *
10676
+ * @interface
10677
+ */
10678
+ declare type NonTabInjectionRule = {
10679
+ /**
10680
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10681
+ * specifying the content locations where the extension may inject outside
10682
+ * browser tabs. An empty array grants no permission. A wildcard grants
10683
+ * blanket coverage of all content locations.
10684
+ */
10685
+ match: string[];
10686
+ /**
10687
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
10688
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
10689
+ */
10690
+ matchOptions?: RuleMatchOptions;
10691
+ };
10692
+
10633
10693
  /* Excluded from this release type: NotCloseRequested */
10634
10694
 
10635
10695
  declare type NotificationEvent = {
@@ -10938,6 +10998,8 @@ declare namespace OpenFin {
10938
10998
  ThemeColorsMap,
10939
10999
  ThemeColorId,
10940
11000
  ThemePalette,
11001
+ NonTabInjectionRule,
11002
+ ManifestExtension,
10941
11003
  Manifest,
10942
11004
  LayoutContent,
10943
11005
  LayoutItemConfig,
@@ -17894,7 +17956,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17894
17956
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17895
17957
  private authorize;
17896
17958
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17897
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17959
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17898
17960
  ferryAction(origData: any): Promise<Message<any>>;
17899
17961
  registerMessageHandler(handler: MessageHandler): void;
17900
17962
  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
  *
@@ -9787,6 +9796,10 @@ declare type Manifest = {
9787
9796
  experimentalExtensionPolicyBlockedHosts?: {
9788
9797
  hosts: string[];
9789
9798
  };
9799
+ /**
9800
+ * Chromium extensions to install and enable for this application.
9801
+ */
9802
+ extensions?: ManifestExtension[];
9790
9803
  licenseKey: string;
9791
9804
  offlineAccess?: boolean;
9792
9805
  platform?: PlatformOptions;
@@ -9840,6 +9853,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
9840
9853
  type: 'manifest-changed';
9841
9854
  };
9842
9855
 
9856
+ /**
9857
+ * Chromium extension entry in an application configuration.
9858
+ *
9859
+ * @interface
9860
+ */
9861
+ declare type ManifestExtension = {
9862
+ /** Chromium extension ID. */
9863
+ id: string;
9864
+ /** Extension server URL used to install the extension. */
9865
+ serverURL: string;
9866
+ /**
9867
+ * Rules declaring where this extension may inject content scripts into
9868
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
9869
+ * the extension restricted to browser tabs — identical to historic
9870
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
9871
+ * `matchOptions` behaves as it does for domain settings. Intended for
9872
+ * security extensions rather than extensions that add visible UI.
9873
+ */
9874
+ nonTabInjections?: NonTabInjectionRule[];
9875
+ };
9876
+
9843
9877
  /**
9844
9878
  * @interface
9845
9879
  */
@@ -10630,6 +10664,32 @@ declare type NonPropagatedWebContentsEvent = never;
10630
10664
  */
10631
10665
  declare type NonPropagatedWindowEvent = never;
10632
10666
 
10667
+ /**
10668
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
10669
+ * web content whose URL matches the given patterns.
10670
+ *
10671
+ * Match patterns use the same Chromium
10672
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10673
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
10674
+ * default scheme-matching behavior as domain settings.
10675
+ *
10676
+ * @interface
10677
+ */
10678
+ declare type NonTabInjectionRule = {
10679
+ /**
10680
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10681
+ * specifying the content locations where the extension may inject outside
10682
+ * browser tabs. An empty array grants no permission. A wildcard grants
10683
+ * blanket coverage of all content locations.
10684
+ */
10685
+ match: string[];
10686
+ /**
10687
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
10688
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
10689
+ */
10690
+ matchOptions?: RuleMatchOptions;
10691
+ };
10692
+
10633
10693
  /* Excluded from this release type: NotCloseRequested */
10634
10694
 
10635
10695
  declare type NotificationEvent = {
@@ -10938,6 +10998,8 @@ declare namespace OpenFin {
10938
10998
  ThemeColorsMap,
10939
10999
  ThemeColorId,
10940
11000
  ThemePalette,
11001
+ NonTabInjectionRule,
11002
+ ManifestExtension,
10941
11003
  Manifest,
10942
11004
  LayoutContent,
10943
11005
  LayoutItemConfig,
@@ -17894,7 +17956,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17894
17956
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17895
17957
  private authorize;
17896
17958
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17897
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17959
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17898
17960
  ferryAction(origData: any): Promise<Message<any>>;
17899
17961
  registerMessageHandler(handler: MessageHandler): void;
17900
17962
  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
  *
@@ -10145,6 +10154,10 @@ declare type Manifest = {
10145
10154
  experimentalExtensionPolicyBlockedHosts?: {
10146
10155
  hosts: string[];
10147
10156
  };
10157
+ /**
10158
+ * Chromium extensions to install and enable for this application.
10159
+ */
10160
+ extensions?: ManifestExtension[];
10148
10161
  licenseKey: string;
10149
10162
  offlineAccess?: boolean;
10150
10163
  platform?: PlatformOptions;
@@ -10198,6 +10211,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
10198
10211
  type: 'manifest-changed';
10199
10212
  };
10200
10213
 
10214
+ /**
10215
+ * Chromium extension entry in an application configuration.
10216
+ *
10217
+ * @interface
10218
+ */
10219
+ declare type ManifestExtension = {
10220
+ /** Chromium extension ID. */
10221
+ id: string;
10222
+ /** Extension server URL used to install the extension. */
10223
+ serverURL: string;
10224
+ /**
10225
+ * Rules declaring where this extension may inject content scripts into
10226
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
10227
+ * the extension restricted to browser tabs — identical to historic
10228
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
10229
+ * `matchOptions` behaves as it does for domain settings. Intended for
10230
+ * security extensions rather than extensions that add visible UI.
10231
+ */
10232
+ nonTabInjections?: NonTabInjectionRule[];
10233
+ };
10234
+
10201
10235
  /**
10202
10236
  * @interface
10203
10237
  */
@@ -11000,6 +11034,32 @@ declare type NonPropagatedWebContentsEvent = never;
11000
11034
  */
11001
11035
  declare type NonPropagatedWindowEvent = never;
11002
11036
 
11037
+ /**
11038
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
11039
+ * web content whose URL matches the given patterns.
11040
+ *
11041
+ * Match patterns use the same Chromium
11042
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
11043
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
11044
+ * default scheme-matching behavior as domain settings.
11045
+ *
11046
+ * @interface
11047
+ */
11048
+ declare type NonTabInjectionRule = {
11049
+ /**
11050
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
11051
+ * specifying the content locations where the extension may inject outside
11052
+ * browser tabs. An empty array grants no permission. A wildcard grants
11053
+ * blanket coverage of all content locations.
11054
+ */
11055
+ match: string[];
11056
+ /**
11057
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
11058
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
11059
+ */
11060
+ matchOptions?: RuleMatchOptions;
11061
+ };
11062
+
11003
11063
  /**
11004
11064
  * @internal
11005
11065
  *
@@ -11321,6 +11381,8 @@ declare namespace OpenFin {
11321
11381
  ThemeColorsMap,
11322
11382
  ThemeColorId,
11323
11383
  ThemePalette,
11384
+ NonTabInjectionRule,
11385
+ ManifestExtension,
11324
11386
  Manifest,
11325
11387
  LayoutContent,
11326
11388
  LayoutItemConfig,
@@ -18373,7 +18435,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
18373
18435
  connectByPort(config: ExistingConnectConfig): Promise<void>;
18374
18436
  private authorize;
18375
18437
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
18376
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
18438
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
18377
18439
  ferryAction(origData: any): Promise<Message<any>>;
18378
18440
  registerMessageHandler(handler: MessageHandler): void;
18379
18441
  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": "45.100.113",
3
+ "version": "45.100.114",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,