diff --git a/README.md b/README.md index c9effa3..506e926 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ composer require oneforge/forexquotes Or in your composer.json ```javascript "require": { - "oneforge/forexquotes": "2.0.8" + "oneforge/forexquotes": "3.1.0" }, ``` ## Usage diff --git a/composer.json b/composer.json index 5ff6357..c091ba5 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "oneforge/forexquotes", "type": "library", - "version": "3.0.0", + "version": "3.1.0", "description": "Library to fetch and parse realtime Forex quotes and convert currencies", "keywords": [ "forex", diff --git a/examples/REST-example.php b/examples/REST-example.php index 41a9a37..faf0b3d 100644 --- a/examples/REST-example.php +++ b/examples/REST-example.php @@ -2,7 +2,7 @@ /* * This library is provided without warranty under the MIT license - * Created by Jacob Davis + * Created by 1Forge */ require_once __DIR__ . '/../vendor/autoload.php'; diff --git a/examples/websocket-example.php b/examples/websocket-example.php index 115afb0..81b111a 100644 --- a/examples/websocket-example.php +++ b/examples/websocket-example.php @@ -2,7 +2,7 @@ /* * This library is provided without warranty under the MIT license - * Created by Jacob Davis + * Created by 1Forge */ require_once __DIR__ . '/../vendor/autoload.php'; diff --git a/lib/ForexDataClient.php b/lib/ForexDataClient.php index f02d6bc..4a5fd54 100644 --- a/lib/ForexDataClient.php +++ b/lib/ForexDataClient.php @@ -142,7 +142,7 @@ public function connect($callback) { $this->post_login = $callback; - $this->socket_client = new WebSocket('wss://api.1forge.com/socket','http://localhost'); + $this->socket_client = new WebSocket('wss://sockets.1forge.com/socket','http://localhost'); $this->socket_client->connect(); $this->login();