@firtoz/maybe-error 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -242,6 +242,10 @@ async function fetchMultipleUsers(ids: string[]): Promise<MaybeError<User[]>> {
242
242
  }
243
243
  ```
244
244
 
245
+ ## Used with @firtoz/router-toolkit
246
+
247
+ `formAction` handlers and typed loaders/actions expect `MaybeError` results. Import **`success`**, **`fail`**, and related helpers from **`@firtoz/maybe-error`**; import **`formAction`**, **`useDynamicSubmitter`**, and route utilities from **`@firtoz/router-toolkit`**. See [router-toolkit README — Form Action Utilities & MaybeError Utility](../router-toolkit/README.md#form-action-utilities).
248
+
245
249
  ## Contributing
246
250
 
247
251
  Contributions are welcome! This package is part of the [fullstack-toolkit monorepo](https://github.com/firtoz/fullstack-toolkit).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firtoz/maybe-error",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Type-safe result handling with MaybeError pattern",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -57,6 +57,6 @@
57
57
  "access": "public"
58
58
  },
59
59
  "devDependencies": {
60
- "bun-types": "^1.3.12"
60
+ "bun-types": "^1.3.13"
61
61
  }
62
62
  }