functype 0.44.0 → 0.46.0

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.
package/README.md CHANGED
@@ -40,7 +40,6 @@ npx functype --json # JSON output for programmatic use
40
40
  - **Tuple**: Type-safe fixed-length arrays
41
41
  - **Typeable**: Runtime type identification with compile-time safety
42
42
  - **Branded Types**: Nominal typing in TypeScript's structural type system
43
- - **FPromise**: Enhanced Promise functionality with built-in error handling
44
43
  - **Error Formatting**: Utilities for improved error visualization and logging
45
44
  - **Unified Type Classes**: Consistent interfaces across all data structures
46
45
 
@@ -313,7 +312,7 @@ const chainedResult = await Task().Async(async () => {
313
312
  const fetchUserAPI = (userId: string): Promise<User> => fetch(`/api/users/${userId}`).then((r) => r.json())
314
313
 
315
314
  const fetchUser = Task.fromPromise(fetchUserAPI)
316
- // Returns: (userId: string) => FPromise<TaskOutcome<User>>
315
+ // Returns: (userId: string) => Promise<TaskOutcome<User>>
317
316
 
318
317
  const userResult = await fetchUser("user123")
319
318
  if (userResult.isSuccess()) {
@@ -0,0 +1 @@
1
+ function e(e,t){return Object.assign(e,t)}function t(t,n){return e(t,n)}export{e as n,t};