@ones-editor/editor 1.1.3-bate.7 → 1.1.3-bate.8

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.
package/dist/index.js CHANGED
@@ -34102,11 +34102,13 @@ ${codeText}
34102
34102
  if ("err" in msg || msg.a === "pong") {
34103
34103
  this.handleMessage(msg);
34104
34104
  } else {
34105
- if (Object.prototype.hasOwnProperty.call(msg, "a") && msg.a !== "init" && msg.a !== "hs") {
34105
+ if (Object.prototype.hasOwnProperty.call(msg, "a") && msg.a === "init") {
34106
34106
  if (this.retryCount > 0) {
34107
34107
  logger$2n.info("retrying re-auth success");
34108
34108
  this.emitAuthRecover();
34109
34109
  }
34110
+ }
34111
+ if (Object.prototype.hasOwnProperty.call(msg, "a") && msg.a !== "init" && msg.a !== "hs") {
34110
34112
  this.retryCount = 0;
34111
34113
  }
34112
34114
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.3-bate.7",
3
+ "version": "1.1.3-bate.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",