homey-api 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/Util.js +1 -1
  2. package/package.json +1 -1
package/lib/Util.js CHANGED
@@ -102,7 +102,7 @@ class Util {
102
102
  */
103
103
  static isBrowser() {
104
104
  if (this.isReactNative()) return false;
105
- return (typeof document !== 'undefined' && typeof document.window !== 'undefined');
105
+ return (typeof document !== 'undefined' && typeof window.document !== 'undefined');
106
106
  }
107
107
 
108
108
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [