chat-customer-47net 1.2.6 → 1.2.7
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.
|
@@ -834,7 +834,7 @@ var timezoneExports = timezone$1.exports;
|
|
|
834
834
|
const timezone = /* @__PURE__ */getDefaultExportFromCjs(timezoneExports);
|
|
835
835
|
dayjs.extend(utc);
|
|
836
836
|
dayjs.extend(timezone);
|
|
837
|
-
const version = "1.2.
|
|
837
|
+
const version = "1.2.7";
|
|
838
838
|
const publicDateFormat = "MM/DD/YY";
|
|
839
839
|
const serverLocal = "America/New_York";
|
|
840
840
|
const getTime = dateTime => {
|
|
@@ -7705,6 +7705,7 @@ const __vue2_script = {
|
|
|
7705
7705
|
if (e.newValue === this.onCurrentValue) return;
|
|
7706
7706
|
if (this.storageDebounce) clearTimeout(this.storageDebounce);
|
|
7707
7707
|
this.storageDebounce = setTimeout(async () => {
|
|
7708
|
+
console.log("processTokenChange", 1);
|
|
7708
7709
|
this.processTokenChange(e);
|
|
7709
7710
|
}, 200);
|
|
7710
7711
|
},
|
|
@@ -7741,6 +7742,7 @@ const __vue2_script = {
|
|
|
7741
7742
|
this.$refs.consultContainer.updateUserId();
|
|
7742
7743
|
}
|
|
7743
7744
|
} else {
|
|
7745
|
+
console.log("logout");
|
|
7744
7746
|
setClientId("");
|
|
7745
7747
|
this.userId = "";
|
|
7746
7748
|
this.$set(this.initData, "user", {});
|
|
@@ -7901,6 +7903,7 @@ const __vue2_script = {
|
|
|
7901
7903
|
this.onUpdateUserUnRead();
|
|
7902
7904
|
this.audio = new Audio(`${data.socketUrl}/static/audio/unread.mp3`);
|
|
7903
7905
|
if (accessToken && accessToken !== "false") {
|
|
7906
|
+
console.log("processTokenChange", 2);
|
|
7904
7907
|
this.processTokenChange({
|
|
7905
7908
|
key: "auth._token.login",
|
|
7906
7909
|
newValue: accessToken
|