@openfin/node-adapter 38.81.22 → 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.
@@ -7552,9 +7552,7 @@ declare class InteropClient extends Base {
|
|
7552
7552
|
* ```
|
7553
7553
|
*
|
7554
7554
|
*
|
7555
|
-
*
|
7556
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
7557
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
7555
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
7558
7556
|
*
|
7559
7557
|
* ```js
|
7560
7558
|
* function handleInstrumentContext(contextInfo) {
|
@@ -7552,9 +7552,7 @@ declare class InteropClient extends Base {
|
|
7552
7552
|
* ```
|
7553
7553
|
*
|
7554
7554
|
*
|
7555
|
-
*
|
7556
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
7557
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
7555
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
7558
7556
|
*
|
7559
7557
|
* ```js
|
7560
7558
|
* function handleInstrumentContext(contextInfo) {
|
@@ -7552,9 +7552,7 @@ declare class InteropClient extends Base {
|
|
7552
7552
|
* ```
|
7553
7553
|
*
|
7554
7554
|
*
|
7555
|
-
*
|
7556
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
7557
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
7555
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
7558
7556
|
*
|
7559
7557
|
* ```js
|
7560
7558
|
* function handleInstrumentContext(contextInfo) {
|
package/out/node-adapter.d.ts
CHANGED
@@ -7686,9 +7686,7 @@ declare class InteropClient extends Base {
|
|
7686
7686
|
* ```
|
7687
7687
|
*
|
7688
7688
|
*
|
7689
|
-
*
|
7690
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
7691
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
7689
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
7692
7690
|
*
|
7693
7691
|
* ```js
|
7694
7692
|
* function handleInstrumentContext(contextInfo) {
|
package/out/node-adapter.js
CHANGED
@@ -15682,9 +15682,7 @@ function requireInteropClient () {
|
|
15682
15682
|
* ```
|
15683
15683
|
*
|
15684
15684
|
*
|
15685
|
-
*
|
15686
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
15687
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
15685
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
15688
15686
|
*
|
15689
15687
|
* ```js
|
15690
15688
|
* function handleInstrumentContext(contextInfo) {
|
@@ -15713,7 +15711,6 @@ function requireInteropClient () {
|
|
15713
15711
|
let handlerId;
|
15714
15712
|
if (contextType) {
|
15715
15713
|
handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
|
15716
|
-
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.`);
|
15717
15714
|
}
|
15718
15715
|
else {
|
15719
15716
|
handlerId = 'invokeContextHandler';
|