@openfin/remote-adapter 38.81.23 → 38.81.24
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.
|
@@ -7587,9 +7587,7 @@ declare class InteropClient extends Base {
|
|
|
7587
7587
|
* ```
|
|
7588
7588
|
*
|
|
7589
7589
|
*
|
|
7590
|
-
*
|
|
7591
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7592
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7590
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7593
7591
|
*
|
|
7594
7592
|
* ```js
|
|
7595
7593
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -7587,9 +7587,7 @@ declare class InteropClient extends Base {
|
|
|
7587
7587
|
* ```
|
|
7588
7588
|
*
|
|
7589
7589
|
*
|
|
7590
|
-
*
|
|
7591
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7592
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7590
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7593
7591
|
*
|
|
7594
7592
|
* ```js
|
|
7595
7593
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -7587,9 +7587,7 @@ declare class InteropClient extends Base {
|
|
|
7587
7587
|
* ```
|
|
7588
7588
|
*
|
|
7589
7589
|
*
|
|
7590
|
-
*
|
|
7591
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7592
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7590
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7593
7591
|
*
|
|
7594
7592
|
* ```js
|
|
7595
7593
|
* function handleInstrumentContext(contextInfo) {
|
package/out/remote-adapter.d.ts
CHANGED
|
@@ -7699,9 +7699,7 @@ declare class InteropClient extends Base {
|
|
|
7699
7699
|
* ```
|
|
7700
7700
|
*
|
|
7701
7701
|
*
|
|
7702
|
-
*
|
|
7703
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7704
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7702
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7705
7703
|
*
|
|
7706
7704
|
* ```js
|
|
7707
7705
|
* function handleInstrumentContext(contextInfo) {
|
package/out/remote-adapter.js
CHANGED
|
@@ -1817,9 +1817,7 @@ function requireInteropClient () {
|
|
|
1817
1817
|
* ```
|
|
1818
1818
|
*
|
|
1819
1819
|
*
|
|
1820
|
-
*
|
|
1821
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
1822
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
1820
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
1823
1821
|
*
|
|
1824
1822
|
* ```js
|
|
1825
1823
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -1848,7 +1846,6 @@ function requireInteropClient () {
|
|
|
1848
1846
|
let handlerId;
|
|
1849
1847
|
if (contextType) {
|
|
1850
1848
|
handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
|
|
1851
|
-
console.warn(`Warning: By providing a contextType (${contextType}), you are using the experimental addContextHandler. To avoid issues, make sure you are adding your context handlers at the top level in your application.`);
|
|
1852
1849
|
}
|
|
1853
1850
|
else {
|
|
1854
1851
|
handlerId = 'invokeContextHandler';
|