Compare commits

..

2 Commits

Author SHA1 Message Date
Alex 03b1f158d9 Disabled api version #16 2025-11-30 17:10:00 +03:00
Alex d853faacf7 tag 1.3.2 2025-10-21 09:05:51 +03:00
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -48,9 +48,9 @@ use RuntimeException;
*/ */
class Api class Api
{ {
public const string LIBRARY_VERSION = '1.3.0'; public const string LIBRARY_VERSION = '1.3.3';
public const string API_VERSION = '0.0.6'; public const string API_VERSION = '1.2.5';
private const string API_BASE_URL = 'https://platform-api.max.ru'; private const string API_BASE_URL = 'https://platform-api.max.ru';
@@ -128,7 +128,7 @@ class Api
$httpFactory, $httpFactory,
$httpFactory, $httpFactory,
self::API_BASE_URL, self::API_BASE_URL,
self::API_VERSION, null,
$this->logger, $this->logger,
); );
} }
+2 -2
View File
@@ -76,8 +76,8 @@ class MaxBotServiceProvider extends ServiceProvider
$guzzle, $guzzle,
$httpFactory, $httpFactory,
$httpFactory, $httpFactory,
$config->get('maxbot.base_url', 'https://botapi.max.ru'), $config->get('maxbot.base_url', 'https://platform-api.max.ru'),
$config->get('maxbot.api_version', Api::API_VERSION), $config->get('maxbot.api_version'),
$logger, $logger,
); );
}); });