vue-api-kit 1.2.0 → 1.3.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 +2 -0
- package/dist/index.js +142 -9934
- package/package.json +6 -3
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -221,6 +221,7 @@ async function handleSubmit() {
|
|
|
221
221
|
- ✅ **Type-Safe**: Full TypeScript support with automatic type inference
|
|
222
222
|
- ✅ **Zod Validation**: Built-in request/response validation
|
|
223
223
|
- ✅ **Vue 3 Composition API**: Reactive state management
|
|
224
|
+
- ✅ **Lightweight**: ~7kB minified (2.2kB gzipped) - optimized for production
|
|
224
225
|
- ✅ **Auto Loading States**: Built-in loading, error, and success states
|
|
225
226
|
- ✅ **POST Queries**: Support for both GET and POST methods in queries for complex data retrieval
|
|
226
227
|
- ✅ **File Upload**: Support for multipart/form-data in mutations
|
|
@@ -229,6 +230,7 @@ async function handleSubmit() {
|
|
|
229
230
|
- ✅ **Global Error Handling**: Centralized error management
|
|
230
231
|
- ✅ **Request Interceptors**: Modify requests before sending
|
|
231
232
|
- ✅ **Fully Typed**: Complete type inference for params, data, and response
|
|
233
|
+
- ✅ **Tree-Shakeable**: Only bundles what you use
|
|
232
234
|
|
|
233
235
|
## 🔧 Advanced Configuration
|
|
234
236
|
|