Skip to content

npm v1.2.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@rikoe rikoe released this 14 Apr 20:43

Beta package to coincide with the upcoming release of the FDC3 1.2 Standard.

Included in this release:

  • Updated TypeScript typings to match the 1.2 API specification, including correct typings for getCurrentChannel() and leaveCurrentChannel(), support for TargetApp in open and raiseIntent, and addContextListener(contextType, handler) accepting null for the contextType argument
  • New exported ES6 functions: getInfo(), raiseIntentForContext()
  • New exported fdc3Ready() utility function that wraps checks for the window.fdc3 global object and new fdc3Ready event
  • New exported compareVersionNumbers() and versionIsAtLeast() utility functions for use together with getInfo()
  • Marked IntentResolution.data and addContextListener(handler) as deprecated