11 Commits

Author SHA1 Message Date
anonpenguin23
195607809e Added vaults 2026-03-25 18:25:31 +02:00
anonpenguin23
15b3bb382e a lot of fixing 2026-01-20 10:41:28 +02:00
anonpenguin23
58097e3ff8 fixes 2026-01-14 16:43:42 +02:00
anonpenguin23
25303e7913 Refactor HttpClient and WSClient to simplify configuration and improve clarity; remove unused gateway health logic 2026-01-13 15:32:19 +02:00
anonpenguin23
dbe40c6f16 Bump version to 0.4.1 and enhance HttpClient to support multiple base URLs and gateway health checks 2026-01-13 14:58:05 +02:00
anonpenguin23
df44a125a1 Add presence support to PubSub SDK
- Introduced real-time presence tracking for topics, allowing users to see who is currently subscribed.
- Added methods for subscribing with presence options, querying current members without subscribing, and retrieving presence information from active subscriptions.
- Updated the README to include examples and documentation for the new presence features.
- Created a new FunctionsClient for invoking serverless functions, with associated types and error handling.
- Enhanced PubSubClient to handle presence events and manage subscriptions with presence capabilities.
2026-01-05 14:27:15 +02:00
anonpenguin23
2cdb78ee1d Add multiGet functionality to CacheClient for batch retrieval of cache values
- Introduced CacheMultiGetRequest and CacheMultiGetResponse interfaces to define the structure for multi-get operations.
- Implemented multiGet method in CacheClient to retrieve multiple cache values in a single request, handling cache misses gracefully.
- Enhanced error handling to manage 404 errors when the backend does not support multiGet, returning null for missing keys.
2025-11-07 06:47:42 +02:00
anonpenguin23
e233696166 feat: integrate Olric distributed cache support
- Added Olric cache server integration, including configuration options for Olric servers and timeout settings.
- Implemented HTTP handlers for cache operations: health check, get, put, delete, and scan.
- Enhanced Makefile with commands to run the Olric server and manage its configuration.
- Updated README and setup scripts to include Olric installation and configuration instructions.
- Introduced tests for cache handlers to ensure proper functionality and error handling.
2025-11-05 07:30:59 +02:00
anonpenguin23
e30e81d0c9 Update package version to 0.3.0 and introduce CacheClient with caching functionality
- Added CacheClient to manage cache operations including get, put, delete, and scan.
- Updated createClient function to include cache client.
- Added new types and interfaces for cache requests and responses.
- Implemented comprehensive tests for cache functionality, covering health checks, value storage, retrieval, deletion, and scanning.
2025-11-03 15:28:30 +02:00
anonpenguin23
23a742e5d4 Add proxy request functionality to NetworkClient and update README with usage examples
- Introduced `proxyAnon` method in `NetworkClient` to facilitate anonymous HTTP requests through the Anyone network.
- Added `ProxyRequest` and `ProxyResponse` interfaces to define the structure of proxy requests and responses.
- Updated README.md with detailed examples on how to use the new proxy functionality, including GET and POST requests.
- Enhanced error handling for proxy requests to ensure graceful failure in case of issues.
2025-10-30 06:21:29 +02:00
anonpenguin23
ddec9f6733 Init Network Typescript SDK 2025-10-22 09:06:42 +03:00