syntex-automation
Advanced tools
Comparing version 1.2.0-b13 to 1.2.0-b14
{ | ||
"name": "syntex-automation", | ||
"version": "1.2.0-b13", | ||
"version": "1.2.0-b14", | ||
"description": "An automation system for your smart home", | ||
@@ -13,4 +13,4 @@ "main": "main.js", | ||
"axios": "^0.21.1", | ||
"syntex-filesystem": "1.0.2-b9", | ||
"syntex-logger": "1.0.8-b21" | ||
"syntex-filesystem": "1.0.2-b10", | ||
"syntex-logger": "1.0.8-b23" | ||
}, | ||
@@ -17,0 +17,0 @@ "keywords": [ |
@@ -83,2 +83,4 @@ const axios = require('axios'); | ||
this.logger.log('success', 'automation', 'Automation', '%automation_load_success%!'); | ||
this.ready = true; | ||
@@ -100,13 +102,12 @@ } | ||
this.automation = data; | ||
this.logger.log('success', 'automation', 'Automation', '%automation_load_success%!'); | ||
} | ||
else | ||
{ | ||
this.logger.log('warn', 'automation', 'Automation', '%automation_load_error%!'); | ||
} | ||
resolve(data != null); | ||
}).catch(() => resolve(false)); | ||
}).catch(() => { | ||
this.logger.log('warn', 'automation', 'Automation', '%automation_load_error%!'); | ||
resolve(false); | ||
}); | ||
}); | ||
@@ -129,3 +130,8 @@ } | ||
}).catch(() => resolve(false)); | ||
}).catch(() => { | ||
this.logger.log('warn', 'automation', 'Automation', '%automation_load_error%!'); | ||
resolve(false); | ||
}); | ||
}); | ||
@@ -132,0 +138,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27774
721
+ Addedsyntex-filesystem@1.0.2-b10(transitive)
+ Addedsyntex-logger@1.0.8-b23(transitive)
- Removedsyntex-filesystem@1.0.2-b9(transitive)
- Removedsyntex-logger@1.0.8-b21(transitive)
Updatedsyntex-filesystem@1.0.2-b10
Updatedsyntex-logger@1.0.8-b23