From 0613339ce8e09e8545256de88f5945a86c749688 Mon Sep 17 00:00:00 2001 From: Daniel Linsenmeier Date: Mon, 2 Mar 2020 16:02:40 +0100 Subject: [PATCH] Prepare release 0.3.4 --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/DomainRobot.php | 20 ++++++++++---------- src/Service/DomainStudioService.php | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a0aa88f..c0312589 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.3.4] - 2020-03-02 + +* Fix DomainStudio->search() missing body + ## [0.3.3] - 2020-03-02 * Fix imports diff --git a/composer.json b/composer.json index 5de7f65f..d3b37517 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "internetx/php-domainrobot-sdk", - "version": "0.3.3", + "version": "0.3.4", "description": "A php package for easy integration of the domainrobot API powered by InterNetX GmbH.", "type": "library", "license": "MIT", diff --git a/src/DomainRobot.php b/src/DomainRobot.php index ded7ad9e..56f9d24a 100644 --- a/src/DomainRobot.php +++ b/src/DomainRobot.php @@ -109,16 +109,16 @@ class DomainRobot public function __construct($domainRobotConfig = []) { $this->setDomainRobotConfig(new DomainRobotConfig($domainRobotConfig)); - $certificate = new CertificateService($this->domainRobotConfig); - $domainStudio = new DomainStudioService($this->domainRobotConfig); - $domain = new DomainService($this->domainRobotConfig); - $sslContact = new SslContactService($this->domainRobotConfig); - $contact = new ContactService($this->domainRobotConfig); - $domainCancelation = new DomainCancelationService($this->domainRobotConfig); - $poll = new PollMessageService($this->domainRobotConfig); - $transferOut = new TransferOutService($this->domainRobotConfig); - $trustedApp = new TrustedApplicationService($this->domainRobotConfig); - $zone = new ZoneService($this->domainRobotConfig); + $this->certificate = new CertificateService($this->domainRobotConfig); + $this->domainStudio = new DomainStudioService($this->domainRobotConfig); + $this->domain = new DomainService($this->domainRobotConfig); + $this->sslContact = new SslContactService($this->domainRobotConfig); + $this->contact = new ContactService($this->domainRobotConfig); + $this->domainCancelation = new DomainCancelationService($this->domainRobotConfig); + $this->poll = new PollMessageService($this->domainRobotConfig); + $this->transferOut = new TransferOutService($this->domainRobotConfig); + $this->trustedApp = new TrustedApplicationService($this->domainRobotConfig); + $this->zone = new ZoneService($this->domainRobotConfig); } public function setDomainRobotConfig(DomainRobotConfig $domainRobotConfig) diff --git a/src/Service/DomainStudioService.php b/src/Service/DomainStudioService.php index cbaf313c..b4d4cc2d 100644 --- a/src/Service/DomainStudioService.php +++ b/src/Service/DomainStudioService.php @@ -80,7 +80,7 @@ public function searchAsync(DomainEnvelopeSearchRequest $body) return $this->sendRequest( $this->domainRobotConfig->getUrl()."/domainstudio", "POST", - $body->toArray(true) + ["json" => $body->toArray(true)] ); } }