@openfin/fdc3-api 37.81.19 → 37.81.21
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 +123 -1074
- package/out/fdc3-api-beta.d.ts +123 -1074
- package/out/fdc3-api-public.d.ts +123 -1074
- package/out/fdc3-api.d.ts +123 -1074
- package/out/fdc3-api.js +1 -4
- package/package.json +1 -1
package/out/fdc3-api.js
CHANGED
|
@@ -1292,9 +1292,7 @@ function requireInteropClient () {
|
|
|
1292
1292
|
* ```
|
|
1293
1293
|
*
|
|
1294
1294
|
*
|
|
1295
|
-
*
|
|
1296
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
1297
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
1295
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
1298
1296
|
*
|
|
1299
1297
|
* ```js
|
|
1300
1298
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -1323,7 +1321,6 @@ function requireInteropClient () {
|
|
|
1323
1321
|
let handlerId;
|
|
1324
1322
|
if (contextType) {
|
|
1325
1323
|
handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
|
|
1326
|
-
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.`);
|
|
1327
1324
|
}
|
|
1328
1325
|
else {
|
|
1329
1326
|
handlerId = 'invokeContextHandler';
|