-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
The fetch utilities in src/util/fetch/ duplicate functionality that exists in other Neovici packages (e.g., @neovici/core).
Current State
cosmoz-queuehas its own fetch wrapper withsetBaseInit,fetch,json,jsonPost, etc.- Similar utilities exist in other packages
Proposed Solution
Create a new public package (e.g., @neovici/fetch) containing:
setBaseInitwithgetHeaderscallback supportfetchwrapper with header merginghandleJSON,json,jsonPost,jsonPut,jsonPatch,jsonDeleteRequestErrorclass- URL utilities
Benefits
- Single source of truth for fetch utilities
- Reusable across all Neovici packages
- Easier maintenance and consistent behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels