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

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,13 +34102,11 @@ ${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") {
34105
+ if (Object.prototype.hasOwnProperty.call(msg, "a") && msg.a !== "init" && msg.a !== "hs") {
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") {
34112
34110
  this.retryCount = 0;
34113
34111
  }
34114
34112
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.3-bate.8",
3
+ "version": "1.1.3-bate.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",