@openfin/fdc3-api 45.102.1 → 45.200.1
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.
- package/out/fdc3-api-alpha.d.ts +12 -0
- package/out/fdc3-api-beta.d.ts +12 -0
- package/out/fdc3-api-public.d.ts +12 -0
- package/out/fdc3-api.d.ts +12 -0
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -1997,6 +1997,8 @@ declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
|
1997
1997
|
type: 'begin-user-bounds-changing';
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
|
+
declare type BFCacheRestoreListener = () => void | Promise<void>;
|
|
2001
|
+
|
|
2000
2002
|
/**
|
|
2001
2003
|
* A rule prescribing content creation that should be blocked.
|
|
2002
2004
|
*
|
|
@@ -5336,6 +5338,16 @@ declare interface Environment {
|
|
|
5336
5338
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
5337
5339
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
|
5338
5340
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
|
5341
|
+
/**
|
|
5342
|
+
* Registers a listener invoked when the current page has been restored from the
|
|
5343
|
+
* browser's back/forward cache. Stateful APIs (e.g. channels) use this to re-establish
|
|
5344
|
+
* connections that were torn down while the page was cached.
|
|
5345
|
+
*
|
|
5346
|
+
* No-op in environments that cannot be bfcached.
|
|
5347
|
+
*
|
|
5348
|
+
* @returns a function that unregisters the listener.
|
|
5349
|
+
*/
|
|
5350
|
+
onBFCacheRestore(listener: BFCacheRestoreListener): () => void;
|
|
5339
5351
|
writeToken(path: string, token: string): Promise<string>;
|
|
5340
5352
|
retrievePort(config: NewConnectConfig): Promise<number>;
|
|
5341
5353
|
getNextMessageId(): any;
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -1997,6 +1997,8 @@ declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
|
1997
1997
|
type: 'begin-user-bounds-changing';
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
|
+
declare type BFCacheRestoreListener = () => void | Promise<void>;
|
|
2001
|
+
|
|
2000
2002
|
/**
|
|
2001
2003
|
* A rule prescribing content creation that should be blocked.
|
|
2002
2004
|
*
|
|
@@ -5336,6 +5338,16 @@ declare interface Environment {
|
|
|
5336
5338
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
5337
5339
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
|
5338
5340
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
|
5341
|
+
/**
|
|
5342
|
+
* Registers a listener invoked when the current page has been restored from the
|
|
5343
|
+
* browser's back/forward cache. Stateful APIs (e.g. channels) use this to re-establish
|
|
5344
|
+
* connections that were torn down while the page was cached.
|
|
5345
|
+
*
|
|
5346
|
+
* No-op in environments that cannot be bfcached.
|
|
5347
|
+
*
|
|
5348
|
+
* @returns a function that unregisters the listener.
|
|
5349
|
+
*/
|
|
5350
|
+
onBFCacheRestore(listener: BFCacheRestoreListener): () => void;
|
|
5339
5351
|
writeToken(path: string, token: string): Promise<string>;
|
|
5340
5352
|
retrievePort(config: NewConnectConfig): Promise<number>;
|
|
5341
5353
|
getNextMessageId(): any;
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -1997,6 +1997,8 @@ declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
|
1997
1997
|
type: 'begin-user-bounds-changing';
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
|
+
declare type BFCacheRestoreListener = () => void | Promise<void>;
|
|
2001
|
+
|
|
2000
2002
|
/**
|
|
2001
2003
|
* A rule prescribing content creation that should be blocked.
|
|
2002
2004
|
*
|
|
@@ -5336,6 +5338,16 @@ declare interface Environment {
|
|
|
5336
5338
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
5337
5339
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
|
5338
5340
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
|
5341
|
+
/**
|
|
5342
|
+
* Registers a listener invoked when the current page has been restored from the
|
|
5343
|
+
* browser's back/forward cache. Stateful APIs (e.g. channels) use this to re-establish
|
|
5344
|
+
* connections that were torn down while the page was cached.
|
|
5345
|
+
*
|
|
5346
|
+
* No-op in environments that cannot be bfcached.
|
|
5347
|
+
*
|
|
5348
|
+
* @returns a function that unregisters the listener.
|
|
5349
|
+
*/
|
|
5350
|
+
onBFCacheRestore(listener: BFCacheRestoreListener): () => void;
|
|
5339
5351
|
writeToken(path: string, token: string): Promise<string>;
|
|
5340
5352
|
retrievePort(config: NewConnectConfig): Promise<number>;
|
|
5341
5353
|
getNextMessageId(): any;
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -2029,6 +2029,8 @@ declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
|
2029
2029
|
type: 'begin-user-bounds-changing';
|
|
2030
2030
|
};
|
|
2031
2031
|
|
|
2032
|
+
declare type BFCacheRestoreListener = () => void | Promise<void>;
|
|
2033
|
+
|
|
2032
2034
|
/**
|
|
2033
2035
|
* A rule prescribing content creation that should be blocked.
|
|
2034
2036
|
*
|
|
@@ -5447,6 +5449,16 @@ declare interface Environment {
|
|
|
5447
5449
|
resolveLayout(layoutManager: OpenFin.LayoutManager<OpenFin.LayoutSnapshot>, layoutIdentity: OpenFin.LayoutIdentity): Promise<any>;
|
|
5448
5450
|
initPlatform(fin: OpenFin.Fin<OpenFin.EntityType>, ...args: Parameters<OpenFin.Fin['Platform']['init']>): ReturnType<OpenFin.Fin['Platform']['init']>;
|
|
5449
5451
|
observeBounds(element: Element, onChange: (bounds: DOMRect) => Promise<void> | void): () => void;
|
|
5452
|
+
/**
|
|
5453
|
+
* Registers a listener invoked when the current page has been restored from the
|
|
5454
|
+
* browser's back/forward cache. Stateful APIs (e.g. channels) use this to re-establish
|
|
5455
|
+
* connections that were torn down while the page was cached.
|
|
5456
|
+
*
|
|
5457
|
+
* No-op in environments that cannot be bfcached.
|
|
5458
|
+
*
|
|
5459
|
+
* @returns a function that unregisters the listener.
|
|
5460
|
+
*/
|
|
5461
|
+
onBFCacheRestore(listener: BFCacheRestoreListener): () => void;
|
|
5450
5462
|
writeToken(path: string, token: string): Promise<string>;
|
|
5451
5463
|
retrievePort(config: NewConnectConfig): Promise<number>;
|
|
5452
5464
|
getNextMessageId(): any;
|