@dreamworld/device-info
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,3 +5,3 @@ import EventEmitter from "@dreamworld/event-emitter"; | ||
import reducer from "./reducer.js"; | ||
export * as selectors from "./selectors.js"; | ||
import * as _selectors from "./selectors.js"; | ||
@@ -23,3 +23,3 @@ const mediaQueriesBylayout = { | ||
*/ | ||
static { | ||
static _init() { | ||
this.layout = this._getCurrentLayout(); | ||
@@ -213,1 +213,5 @@ this.touch = !window.matchMedia("(any-pointer: fine)").matches; | ||
} | ||
DeviceInfo._init(); | ||
export const selectors = _selectors; |
{ | ||
"name": "@dreamworld/device-info", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "It's used to get basic details of device(layout, touch and virtual keyboard).", | ||
@@ -5,0 +5,0 @@ "main": "device-info.js", |
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
16816
342