safe-fn@0.1.2
github-actions
released this
16 Aug 13:09
·
346 commits
to main
since this release
Patch Changes
- 3572d25: - Add new types to infer result, ok/err data from action
- Fix bug in not exporting
ok()
/err()
properly - Add
createAction()
and addAnyCompleteSafeFn
to easily use as server action - Add types for inferring result and argument for completeSafeFns
- Fix
Result
type union by typingdata
andcause
asundefined
instead ofnever
- Don't catch framework errors (currently only filtering Next
redirect()
andnotFound()
)
- Fix bug in not exporting