zalo-js-bridge
Advanced tools
Comparing version 1.11.3 to 1.11.4
# Base Library Update Logs | ||
## 1.11.4 (2021-07-06) | ||
### Bug Fixes | ||
* read cookie 92844fd | ||
## 1.11.3 (2021-07-02) | ||
@@ -4,0 +11,0 @@ |
@@ -42,11 +42,10 @@ "use strict"; | ||
const curr = window.location.host; | ||
if (curr) { | ||
if (curr.indexOf("www.") === 0) { | ||
return curr.replace("www.", "") + "_"; | ||
} | ||
else { | ||
return curr + "_"; | ||
} | ||
} | ||
return ""; | ||
// if (curr) { | ||
// if (curr.indexOf("www.") === 0) { | ||
// return curr.replace("www.", "") + "_"; | ||
// } else { | ||
// return curr + "_"; | ||
// } | ||
// } | ||
return `${curr}_`; | ||
}; | ||
@@ -53,0 +52,0 @@ const getCurrHostRootZaloMe = () => { |
{ | ||
"name": "zalo-js-bridge", | ||
"description": "A Javascript Framework for WebApp", | ||
"version": "1.11.3", | ||
"version": "1.11.4", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
89045
2222