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