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
8c9a900e88
Update HttpClient to include proxy operations in API key usage logic and enhance request header logging for proxy paths.
2025-10-30 06:52:29 +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
6f5be86a02
Update HttpClient to support API key usage for both database and pubsub operations; enhance request header logging to include pubsub paths for better debugging.
2025-10-29 14:17:26 +02:00
anonpenguin23
a97fb21200
Enhance AuthClient to support optional refresh tokens and API keys in the authentication response; update token persistence logic for improved session management. Remove debug logging from PubSubClient to reduce console output.
2025-10-29 07:02:46 +02:00
anonpenguin23
0e95ad49c5
Remove debug logging for publish headers in HttpClient to streamline header management and reduce console output.
2025-10-29 06:54:02 +02:00
anonpenguin23
fa357668cb
Add getApiKey method to HttpClient and update PubSubClient to use it for authentication. Change WebSocket URL from localhost to 127.0.0.1 for improved compatibility.
2025-10-29 06:53:49 +02:00
anonpenguin23
5c564b6327
Add chain_type property to AuthClient for enhanced blockchain support
2025-10-28 19:18:18 +02:00
anonpenguin23
76bb82d4f8
Refactor AuthClient and HttpClient to allow coexistence of API key and JWT; implement logoutUser method to clear JWT while preserving API key, enhancing user logout functionality. Improve header management in HttpClient for database operations and add debug logging for request headers.
2025-10-28 13:35:54 +02:00
anonpenguin23
dcf8efe428
Refactor AuthClient to streamline imports and add wallet authentication methods including challenge, verify, and getApiKey; improve error logging during logout process.
2025-10-28 13:08:52 +02:00
anonpenguin23
c6dfb0bfed
Increase default timeout in HttpClient to 60 seconds for pub/sub operations; simplify WSClient by removing unused configuration options and enhancing connection handling with open and close event handlers; refactor PubSubClient to improve WebSocket subscription management and message handling.
2025-10-28 10:25:10 +02:00
anonpenguin23
2de0cb1983
Enhance README with detailed Pub/Sub messaging features, including multi-subscriber support and message interface; improve HttpClient with per-request timeout handling; update PubSubClient to support raw message handling and validate message envelopes.
2025-10-27 17:30:49 +02:00
anonpenguin23
eab542952e
Enhance WebSocket error handling and add base64 encoding/decoding utilities in PubSubClient; refactor message publishing logic to support base64 data
2025-10-27 09:01:14 +02:00
anonpenguin23
acf9540daa
Refactor network status interface and update related tests; add dotenv for environment variable management
2025-10-26 15:21:00 +02:00
anonpenguin23
ddec9f6733
Init Network Typescript SDK
2025-10-22 09:06:42 +03:00