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.6";
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
@@ -900,7 +900,7 @@ var __defProp = Object.defineProperty,
900
900
  data: () => ({
901
901
  touchStartTime: 0,
902
902
  chatShowDateTime: y,
903
- version: "1.2.6"
903
+ version: "1.2.7"
904
904
  }),
905
905
  methods: {
906
906
  handleStartNewConversation() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chat-customer-47net",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "",
5
5
  "main": "chat-customer-47net.es.js",
6
6
  "scripts": {