chat-customer-47net 1.3.0 → 1.3.1
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.
|
@@ -880,7 +880,6 @@ const removeVisitor = time => {
|
|
|
880
880
|
const now = (/* @__PURE__ */new Date()).getTime();
|
|
881
881
|
if (now - visitorTime > 7 * 24 * 60 * 60 * 1e3) {
|
|
882
882
|
removeClientId();
|
|
883
|
-
window.location.reload();
|
|
884
883
|
}
|
|
885
884
|
}
|
|
886
885
|
};
|
|
@@ -5964,7 +5963,6 @@ function createService() {
|
|
|
5964
5963
|
error.message = msg;
|
|
5965
5964
|
setTimeout(() => {
|
|
5966
5965
|
removeClientId();
|
|
5967
|
-
location.reload();
|
|
5968
5966
|
}, 800);
|
|
5969
5967
|
break;
|
|
5970
5968
|
case 404:
|
|
@@ -4172,7 +4172,7 @@ var __defProp = Object.defineProperty,
|
|
|
4172
4172
|
break;
|
|
4173
4173
|
case 401:
|
|
4174
4174
|
e.message = s, setTimeout(() => {
|
|
4175
|
-
_()
|
|
4175
|
+
_();
|
|
4176
4176
|
}, 800);
|
|
4177
4177
|
break;
|
|
4178
4178
|
case 404:
|
|
@@ -5619,7 +5619,7 @@ var __defProp = Object.defineProperty,
|
|
|
5619
5619
|
const t = v();
|
|
5620
5620
|
if (t.startsWith("client") && 28 === t.length) {
|
|
5621
5621
|
const t = new Date(e).getTime();
|
|
5622
|
-
new Date().getTime() - t > 6048e5 &&
|
|
5622
|
+
new Date().getTime() - t > 6048e5 && _();
|
|
5623
5623
|
}
|
|
5624
5624
|
})(e.createTime), (() => {
|
|
5625
5625
|
const e = v();
|