http-request-manager 18.7.13 → 18.7.16
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 +47 -17
- package/fesm2022/http-request-manager.mjs +2371 -2297
- package/fesm2022/http-request-manager.mjs.map +1 -1
- package/http-request-manager-18.7.16.tgz +0 -0
- package/package.json +1 -1
- package/types/http-request-manager.d.ts +46 -31
- package/http-request-manager-18.7.13.tgz +0 -0
package/README.md
CHANGED
|
@@ -12,12 +12,12 @@ A comprehensive Angular library providing enterprise-grade HTTP request manageme
|
|
|
12
12
|
|
|
13
13
|
| Feature | Description | Service |
|
|
14
14
|
|---------|-------------|---------|
|
|
15
|
-
| **🌐 HTTP Request Management** | Observable-based & Signal-based HTTP services with retry logic, polling, and streaming | [`HTTPManagerService`](
|
|
16
|
-
| **🔄 State Management** | ComponentStore integration with automatic CRUD state updates | [`HTTPManagerStateService`](
|
|
17
|
-
| **💬 Real-Time Communication** | WebSocket messaging with channel-based architecture | [`WebSocketService`](
|
|
18
|
-
| **💾 Data Persistence** | LocalStorage/SessionStorage with encryption & IndexedDB caching | [`LocalStorageManagerService`](
|
|
19
|
-
| **🗄️ Database Management** | IndexedDB integration via Dexie.js with Observable API | [`DatabaseManagerService`](
|
|
20
|
-
| **⚡ Utility Functions** | JSON handling,
|
|
15
|
+
| **🌐 HTTP Request Management** | Observable-based & Signal-based HTTP services with retry logic, polling, and streaming | [`HTTPManagerService`](HTTP_MANAGER_README.md) |
|
|
16
|
+
| **🔄 State Management** | ComponentStore integration with automatic CRUD state updates | [`HTTPManagerStateService`](HTTP_STATE_MANAGER_README.md) |
|
|
17
|
+
| **💬 Real-Time Communication** | WebSocket messaging with channel-based architecture | [`WebSocketService`](WS_MANAGER_README.md) |
|
|
18
|
+
| **💾 Data Persistence** | LocalStorage/SessionStorage with encryption & IndexedDB caching | [`LocalStorageManagerService`](LOCAL_STORAGE_README.md) |
|
|
19
|
+
| **🗄️ Database Management** | IndexedDB integration via Dexie.js with Observable API | [`DatabaseManagerService`](DATABASE_README.md) |
|
|
20
|
+
| **⚡ Utility Functions** | JSON handling, encryption, headers, and validation | [`UtilsService`](UTILS_README.md) |
|
|
21
21
|
|
|
22
22
|
### Key Benefits
|
|
23
23
|
|
|
@@ -35,6 +35,7 @@ A comprehensive Angular library providing enterprise-grade HTTP request manageme
|
|
|
35
35
|
- [Services Overview](#services-overview)
|
|
36
36
|
- [Architecture](#architecture)
|
|
37
37
|
- [Interceptors](#interceptors)
|
|
38
|
+
- [Detailed Documentation](#detailed-documentation)
|
|
38
39
|
- [Demo Examples](#demo-examples)
|
|
39
40
|
- [Migration Guide](#migration-guide)
|
|
40
41
|
|
|
@@ -211,14 +212,14 @@ export class AppModule { }
|
|
|
211
212
|
|
|
212
213
|
| Service | Description | Use Case |
|
|
213
214
|
|---------|-------------|----------|
|
|
214
|
-
| [`HTTPManagerService`](
|
|
215
|
-
| [`HTTPManagerSignalsService`](
|
|
216
|
-
| [`HTTPManagerStateService`](
|
|
217
|
-
| [`
|
|
218
|
-
| [`LocalStorageManagerService`](
|
|
219
|
-
| [`DatabaseManagerService`](
|
|
220
|
-
| [`StoreStateManagerService`](
|
|
221
|
-
| [`UtilsService`](
|
|
215
|
+
| [`HTTPManagerService`](HTTP_MANAGER_README.md) | Observable-based HTTP client | Simple API calls with loading states |
|
|
216
|
+
| [`HTTPManagerSignalsService`](HTTP_SINGNALS_MANAGER_README.md) | Signal-based HTTP client | Modern reactive UI with Angular Signals |
|
|
217
|
+
| [`HTTPManagerStateService`](HTTP_STATE_MANAGER_README.md) | ComponentStore with HTTP & WebSocket | CRUD operations with auto state sync |
|
|
218
|
+
| [`WebSocketService`](WS_MANAGER_README.md) | WebSocket connection management | Real-time messaging and notifications |
|
|
219
|
+
| [`LocalStorageManagerService`](LOCAL_STORAGE_README.md) | Secure local storage | User preferences, session data |
|
|
220
|
+
| [`DatabaseManagerService`](DATABASE_README.md) | IndexedDB wrapper | Offline-first data access |
|
|
221
|
+
| [`StoreStateManagerService`](STORE_STATE_MANAGER_README.md) | Persistent ComponentStore | Application state persistence |
|
|
222
|
+
| [`UtilsService`](UTILS_README.md) | Utility functions | JSON handling, encryption, headers, and conversions |
|
|
222
223
|
|
|
223
224
|
### Common Use Cases
|
|
224
225
|
|
|
@@ -237,7 +238,7 @@ export class AppModule { }
|
|
|
237
238
|
|
|
238
239
|
For detailed system architecture, data flows, and design patterns, see:
|
|
239
240
|
|
|
240
|
-
📋 **[Architecture Documentation](
|
|
241
|
+
📋 **[Architecture Documentation](ARCHITECTURE.md)**
|
|
241
242
|
|
|
242
243
|
### System Overview
|
|
243
244
|
|
|
@@ -289,7 +290,7 @@ For detailed system architecture, data flows, and design patterns, see:
|
|
|
289
290
|
|
|
290
291
|
The library provides several HTTP interceptors that are automatically configured:
|
|
291
292
|
|
|
292
|
-
📋 **[Interceptors Documentation](
|
|
293
|
+
📋 **[Interceptors Documentation](INTERCEPTOR_README.md)**
|
|
293
294
|
|
|
294
295
|
### Available Interceptors
|
|
295
296
|
|
|
@@ -308,6 +309,35 @@ providers: [
|
|
|
308
309
|
]
|
|
309
310
|
```
|
|
310
311
|
|
|
312
|
+
## 📚 Detailed Documentation
|
|
313
|
+
|
|
314
|
+
For in-depth documentation on each service and component, refer to the following detailed guides:
|
|
315
|
+
|
|
316
|
+
### Services
|
|
317
|
+
|
|
318
|
+
| Documentation | Description |
|
|
319
|
+
|---------------|-------------|
|
|
320
|
+
| 📖 [HTTP Manager Service](HTTP_MANAGER_README.md) | Observable-based HTTP client with retry, polling, streaming, and error handling |
|
|
321
|
+
| 📖 [HTTP Manager Signals Service](HTTP_SINGNALS_MANAGER_README.md) | Signal-based HTTP client for modern reactive UI with Angular Signals |
|
|
322
|
+
| 📖 [HTTP Manager State Service](HTTP_STATE_MANAGER_README.md) | ComponentStore integration with automatic CRUD state updates and WebSocket sync |
|
|
323
|
+
| 📖 [WebSocket Manager Service](WS_MANAGER_README.md) | WebSocket connection management with channel-based messaging and notifications |
|
|
324
|
+
| 📖 [Local Storage Manager Service](LOCAL_STORAGE_README.md) | Secure local/session storage with encryption and expiration |
|
|
325
|
+
| 📖 [Database Manager Service](DATABASE_README.md) | IndexedDB wrapper via Dexie.js with Observable API for offline-first apps |
|
|
326
|
+
| 📖 [Store State Manager Service](STORE_STATE_MANAGER_README.md) | Persistent ComponentStore synchronized with local/session storage |
|
|
327
|
+
| 📖 [Utils Service](UTILS_README.md) | Utility functions for JSON handling, encryption, headers, and validation |
|
|
328
|
+
|
|
329
|
+
### Core Components
|
|
330
|
+
|
|
331
|
+
| Documentation | Description |
|
|
332
|
+
|---------------|-------------|
|
|
333
|
+
| 🏗️ [Architecture](ARCHITECTURE.md) | System architecture, data flows, and design patterns |
|
|
334
|
+
| 🔧 [Interceptors](INTERCEPTOR_README.md) | HTTP interceptors for error handling, headers, authentication, and debugging |
|
|
335
|
+
|
|
336
|
+
### Additional Resources
|
|
337
|
+
|
|
338
|
+
- **Request Manager Services** - Detailed API documentation for the request manager services ([`src/lib/services/request-manager-services/README.md`](src/lib/services/request-manager-services/README.md))
|
|
339
|
+
- **Encryption Utils** - Encryption utility documentation ([`src/lib/services/utils/encryption/README.md`](src/lib/services/utils/encryption/README.md))
|
|
340
|
+
|
|
311
341
|
## 🎮 Demo Examples
|
|
312
342
|
|
|
313
343
|
Comprehensive demo components showcase all library features:
|
|
@@ -423,4 +453,4 @@ This project is part of the Angular application library suite.
|
|
|
423
453
|
|
|
424
454
|
---
|
|
425
455
|
|
|
426
|
-
**Need help?** Check out the detailed documentation for each service, explore the demo examples, or review the architecture documentation for implementation guidance.
|
|
456
|
+
**Need help?** Check out the detailed documentation for each service, explore the demo examples, or review the architecture documentation for implementation guidance.
|