diff --git a/composer.json b/composer.json index a10c23a..3202c97 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require": { "php": ">=8.4", "psr/http-client": "^1.0", - "utopia-php/client": "^0.4", + "utopia-php/client": "^0.5", "utopia-php/database": "^7.0.0", "utopia-php/query": "0.6.*" }, diff --git a/composer.lock b/composer.lock index 067d678..6735146 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4f98142bceb2cc79147f42f0e00a0db4", + "content-hash": "65d5c65440bab4e7f25b789978c71003", "packages": [ { "name": "brick/math", @@ -2152,16 +2152,16 @@ }, { "name": "utopia-php/client", - "version": "0.4.3", + "version": "0.5.1", "source": { "type": "git", "url": "https://github.com/utopia-php/client.git", - "reference": "d68a5890afa6002b44691cb3f265123a6331e03e" + "reference": "7cea773be6c2c7ba2d25625a61f17278b00ee01c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/client/zipball/d68a5890afa6002b44691cb3f265123a6331e03e", - "reference": "d68a5890afa6002b44691cb3f265123a6331e03e", + "url": "https://api.github.com/repos/utopia-php/client/zipball/7cea773be6c2c7ba2d25625a61f17278b00ee01c", + "reference": "7cea773be6c2c7ba2d25625a61f17278b00ee01c", "shasum": "" }, "require": { @@ -2183,8 +2183,11 @@ }, "type": "library", "autoload": { + "files": [ + "src/compat.php" + ], "psr-4": { - "Utopia\\": "src/" + "Utopia\\Client\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2203,9 +2206,9 @@ ], "support": { "issues": "https://github.com/utopia-php/client/issues", - "source": "https://github.com/utopia-php/client/tree/0.4.3" + "source": "https://github.com/utopia-php/client/tree/0.5.1" }, - "time": "2026-09-05T15:25:56+00:00" + "time": "2026-09-23T14:09:54+00:00" }, { "name": "utopia-php/console", diff --git a/src/Usage/Adapter/ClickHouse.php b/src/Usage/Adapter/ClickHouse.php index 6ef6094..d295d5b 100644 --- a/src/Usage/Adapter/ClickHouse.php +++ b/src/Usage/Adapter/ClickHouse.php @@ -9,7 +9,7 @@ use Exception; use Psr\Http\Client\ClientInterface; use Throwable; -use Utopia\Client; +use Utopia\Client\Client; use Utopia\Client\Adapter\Curl\Client as CurlAdapter; use Utopia\Psr7\Method as HttpMethod; use Utopia\Psr7\Request\Factory as RequestFactory;