@hylid/env
Advanced tools
Comparing version 4.0.10 to 4.0.11
@@ -48,3 +48,10 @@ export function isMP() { | ||
var cached = localStorage.getItem('__hy_env__'); | ||
// ĺ źĺŽš cross-bridge ĺ hylid-bridge ĺ ąĺçć ĺľ | ||
if (!cached) { | ||
var crossBridgeStorage = localStorage.getItem('_CB__app__'); | ||
return crossBridgeStorage ? { | ||
client: crossBridgeStorage | ||
} : {}; | ||
} | ||
return cached ? JSON.parse(cached) : {}; | ||
} |
@@ -1,1 +0,1 @@ | ||
export default '4.0.9'; | ||
export default '4.0.11'; |
{ | ||
"name": "@hylid/env", | ||
"version": "4.0.10", | ||
"version": "4.0.11", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
11350
350