Skip to content

Commit

Permalink
Merge pull request #23 from OpenSTFoundation/fix-v1.1-issues
Browse files Browse the repository at this point in the history
Fix issues in v1.1
  • Loading branch information
sunilkhedar authored Jul 2, 2018
2 parents b580cac + 7a5c5d2 commit 2c2db4b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[OST PHP SDK v1.1.1](https://github.com/OpenSTFoundation/ost-sdk-php/tree/v1.1.1) July 2 2018
---
* Bug fix for V1.1 API
* Added version file

[OST PHP SDK v1.1.0](https://github.com/OpenSTFoundation/ost-sdk-php/tree/v1.1.0) July 2 2018
---

Expand All @@ -7,4 +12,4 @@
[OST PHP SDK v1.0.0](https://github.com/OpenSTFoundation/ost-sdk-php/tree/v1.0.0) May 30 2018
---
Initial release of the official OST PHP SDK<br />
This release has the OST API interaction layer implementation.
This release has the OST API interaction layer implementation.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.1
2 changes: 1 addition & 1 deletion src/OSTSdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(array $params)
} elseif (strtolower($apiEndpointVersion) == 'v1') {
$this->services = new \OST\V1\Manifest($params);
} elseif (strtolower($apiEndpointVersion) == 'v1.1') {
$this->services = new \OST\V1Dot1\Manifest($params);
$this->services = new \OST\V1_1\Manifest($params);
} else {
throw new \Exception('Api endpoint is invalid');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Balances class
*/

namespace OST\V1Dot1;
namespace OST\V1_1;

use OST\Base;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Ledger class
*/

namespace OST\V1Dot1;
namespace OST\V1_1;

use OST\Base;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Manifest class
*/

namespace OST\V1Dot1;
namespace OST\V1_1;

use Lib\Request;

Expand Down

0 comments on commit 2c2db4b

Please sign in to comment.