Skip to content

safe-fn@0.1.3

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Sep 07:58
· 296 commits to main since this release
3455319

Patch Changes

  • 7b2cb2b: Fix #7 where UnparsedInput type if not properly merged.

  • 92bb8e5: Features

    • Implement NeverThrow instead of own Result type
    • Add separate typing for running as a server action, in which case Zod errors are stripped from stack traces etc.
    • move Zod to peer dependency
  • 687640d: Clean up internal workings

    • set up Knip
    • Move safe-fn to separate builder and runnable classes
    • clean up types