diff --git a/composer.json b/composer.json index 177b00b..4685524 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,13 @@ { - "name": "pagarme/pagarme-php-sdk", - "description": "Pagarme API", + "name": "doocacommerce/pagarmehub-php-sdk", + "description": "Fork do Projeto para utilizarmos o Hub da Pagar.me", "type": "library", "keywords": [ "PagarmeApiSDK", "API", "SDK" ], - "homepage": "https://github.com/pagarme/", + "homepage": "https://github.com/DoocaCommerce/", "license": [ "MIT" ], @@ -31,12 +31,12 @@ }, "autoload": { "psr-4": { - "PagarmeApiSDKLib\\": "src/" + "PagarmeHubApiSDKLib\\": "src/" } }, "autoload-dev": { "psr-4": { - "PagarmeApiSDKLib\\Tests\\": "tests/" + "PagarmeHubApiSDKLib\\Tests\\": "tests/" } }, "scripts": { diff --git a/src/PagarmeApiSDKClient.php b/src/PagarmeApiSDKClient.php index 6075532..2694d2a 100644 --- a/src/PagarmeApiSDKClient.php +++ b/src/PagarmeApiSDKClient.php @@ -381,5 +381,5 @@ private function getGlobalErrors(): array * * @var array */ - private const ENVIRONMENT_MAP = [Environment::PRODUCTION => [Server::DEFAULT_ => 'https://api.pagar.me/core/v5']]; + private const ENVIRONMENT_MAP = [Environment::PRODUCTION => [Server::DEFAULT_ => 'https://hubapi.pagar.me/core/v5']]; }