- Add BaseAdapter class with request/response transformation - Implement comprehensive error handling and normalization - Add retry logic with exponential backoff for network/server errors - Support request cancellation and deduplication - Include response caching with configurable TTL - Add full test coverage for adapter functionality
6 lines
No EOL
161 B
TypeScript
6 lines
No EOL
161 B
TypeScript
/**
|
|
* Mock for SvelteKit's $env module
|
|
* Used in tests to provide environment variables
|
|
*/
|
|
|
|
export const PUBLIC_SIERO_API_URL = 'http://localhost:3000/api/v1' |