Skip to content

Commit

Permalink
Merge branch 'hotfix/push_service_ident'
Browse files Browse the repository at this point in the history
  • Loading branch information
r-simlinger committed Feb 17, 2017
2 parents 5fa107d + f00e35d commit 7c69043
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "secucard connect PHP client SDK",
"license": "Apache-2.0",
"homepage": "https://github.com/secucard/secucard-connect-php-sdk",
"version": "v1.1.0",
"version": "v1.1.2",
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "~6.0",
Expand Down
8 changes: 8 additions & 0 deletions src/SecucardConnect/Product/Services/IdentResultsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ public function onIdentRequestsChanged($fn)
*/
class IdentResChanged extends DefaultEventHandler
{
/**
* Overwrite the accept function, so the event with identrequest can be handled by identresults service
*/
protected function accept(Event $event)
{
return $event->target === 'services.identrequests' && $event->type === $this->eventType;
}

/**
* @param Event $event
* @throws ClientError
Expand Down
4 changes: 2 additions & 2 deletions src/SecucardConnect/SecucardConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ final class SecucardConnect
private $eventDispatcher;

/**
* Api version
* SKD version
* @var string
*/
const VERSION = '1.1.0';
const VERSION = '1.1.2';

const HTTP_STATUS_CODE_OK = 200;

Expand Down

0 comments on commit 7c69043

Please sign in to comment.