Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/v1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
aklambeth committed Jan 18, 2017
2 parents cdb7186 + ed83a86 commit d72e0d3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
node_modules/
bin/
obj/
typings/
bg-hive-api.iml
bg-hive-api.ipr
bg-hive-api.iws
Expand Down
6 changes: 3 additions & 3 deletions Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var request = require('request');
var async = require("async");

module.exports.context = {
domain:"https://api.bgchlivehome.co.uk/v5",
headers:{'User-Agent': 'bg-hive-api/1.0.4'},
domain:"https://api-prod.bgchprod.info/api",
headers:{'User-Agent': 'bg-hive-api/1.0.5'},
username:undefined,
authToken:undefined,
hubs:[{
Expand Down Expand Up @@ -44,7 +44,7 @@ module.exports.command = async.queue(function (task, callback) {
jar:module.exports.context.authToken,
form: undefined,
method: undefined,
qs:undefined
qs: undefined
};

if (typeof task == 'object') {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var config = {
},

api : {
"Hive": "https://api.bgchlivehome.co.uk/v5",
"Hive": "https://api-prod.bgchprod.info/api",
"AlertMe" : "https://api.alertme.com/v5"
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bg-hive-api",
"version": "1.0.4",
"version": "1.0.5",
"description": "Hive Active Heating. API",
"keywords": [
"hive",
Expand Down

0 comments on commit d72e0d3

Please sign in to comment.