Skip to content

Commit

Permalink
Merge pull request #354 from Mangopay/mickaelpois-version-2122
Browse files Browse the repository at this point in the history
Version bump 2.12.2
  • Loading branch information
mickaelpois authored Sep 12, 2019
2 parents 92bee03 + 21119dd commit a002656
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## [Unreleased]
### Added
- ApplePay `Payin` functions are now available. More info about activation to come in the following weeks...

## [2.12.2] - 2019-09-11
### Changed
- GET EMoney method now supports year and month parameters. More info on our [docs](https://docs.mangopay.com/endpoints/v2.01/user-emoney#e895_view-a-users-emoney)
### Fixed
- Add missing `isActive`property for `UBOs`
Expand Down
4 changes: 2 additions & 2 deletions MangoPay/Libraries/RestTool.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
class RestTool
{
const VERSION = '2.12.1';
const VERSION = '2.12.2';

/**
* Root/parent instance that holds the OAuthToken and Configuration instance
Expand Down Expand Up @@ -325,7 +325,7 @@ private function GetHttpHeaders($idempotencyKey = null)
// content type
array_push($this->_requestHttpHeaders, self::$_JSON_HEADER);
// Add User-Agent Header
array_push($this->_requestHttpHeaders, 'User-Agent: MangoPay V2 PHP/' . self::VERSION);
array_push($this->_requestHttpHeaders, 'User-Agent: MANGOPAY PHP SDK/' . self::VERSION);
// Authentication http header
if ($this->_authRequired) {
$authHlp = new AuthenticationHelper($this->_root);
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mangopay/php-sdk-v2",
"description": "SDK PHP for Mangopay api V2",
"description": "PHP SDK for MANGOPAY",
"minimum-stability": "stable",
"license": "MIT",
"require": {
Expand All @@ -22,4 +22,4 @@
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || 7.3"
}
}
}

0 comments on commit a002656

Please sign in to comment.