Skip to content

v1.0.0

@AdaiasMagdiel AdaiasMagdiel tagged this 16 Dec 20:18
- Add optional cache flag to enable/disable caching
- Add cache TTL parameter for custom expiration
- Update cache instantiation logic to use provided TTL or disabled cache

BREAKING CHANGE: The Client constructor signature changed to
(bool $cache = true, string $cacheDir = __DIR__ . "/.g1-cache",
int $cacheTtl = 600). Code must be updated to pass new arguments.
Assets 2
Loading