Skip to content

Releases: synacor/wiretie

1.1.2 - Exposes anonymous Promise rejection on failure

Choose a tag to compare

@billneff79 billneff79 released this 10 Mar 15:52

Fixes Issue #7 by generating an anoymous Promise rejection when one of the underlying promises for wiretie is rejected. This has the effect of showing an UnhandledPromiseRejection event in the browser console without otherwise changing the API of wiretie.

1.1.0 - Add getWrappedComponent() function to wire decorated components

Choose a tag to compare

@billneff79 billneff79 released this 26 Mar 20:39

In order to help with unit testing (and likely other scenarios) the getWrappedComponent() method has been added to all decorator functions. This combines with the same function provided by other related libraries like preact-context-provider, preact-i18n, and preconf so that it is easier to get the underlying decorated component for the purpose of spying/stubbing on methods in unit tests without having to arbitrarily export an unwrapped version of the component from the module.

1.0.3

Choose a tag to compare

@developit developit released this 07 Jun 02:33
  • Inline dlv to keep the project dependency-free (+20b).

1.0.2

Choose a tag to compare

@developit developit released this 07 Jun 02:07
  • Fixes broken optimized build (wiretie.min.js) in 1.0.1.
  • Switches build to Bublé to save 150b (class overhead)

1.0.1

Choose a tag to compare

@developit developit released this 07 Jun 02:06

Initial release! 🎉