Replies: 1 comment 13 replies
-
In the @finos/[email protected] npm package, the DesktopAgent interface (src/api/DesktopAgent.ts) lists 23 methods in total, consisting of 17 current methods and 6 deprecated methods. As expected, those current and deprecated methods match the ones listed in the FDC3 2.0 docs under DesktopAgent (https://fdc3.finos.org/docs/api/ref/DesktopAgent). Looking at the function signatures in src/api/Methods.ts, I notice they use union types in the args in order to specify 4 of the functions, in order to handle both current and deprecated signatures (i.e. open, raiseIntent, raiseIntentForContext, addContextListener). With this in mind, I was expecting to see 19 functions specified in src/api/Methods.ts i.e. the 23 total minus 4 which are represented only once (rather than twice) using union types in the args. However, only 17 functions are actually specified in src/api/Methods.ts, rather than the 19 I was expecting. This is because createPrivateChannel and findInstances have been omitted. @kriswest Was this intentional? |
Beta Was this translation helpful? Give feedback.
-
Please feel free to post FDC3 2.0 implementation, usage or capability questions in this discussion!
Beta Was this translation helpful? Give feedback.
All reactions