@yorkie-js/react 0.6.2 → 0.6.3

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.
@@ -7559,6 +7559,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7559
7559
  Code2["ErrPermissionDenied"] = "ErrPermissionDenied";
7560
7560
  Code2["ErrUnauthenticated"] = "ErrUnauthenticated";
7561
7561
  Code2["ErrTooManySubscribers"] = "ErrTooManySubscribers";
7562
+ Code2["ErrTooManyAttachments"] = "ErrTooManyAttachments";
7562
7563
  return Code2;
7563
7564
  })(Code || {});
7564
7565
  class YorkieError extends Error {
@@ -20176,7 +20177,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20176
20177
  };
20177
20178
  }
20178
20179
  const name = "@yorkie-js/sdk";
20179
- const version = "0.6.2";
20180
+ const version = "0.6.3";
20180
20181
  const pkg = {
20181
20182
  name,
20182
20183
  version
@@ -20965,6 +20966,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20965
20966
  logger.error(`[WD] c:"${this.getKey()}" err :`, err.rawMessage);
20966
20967
  return true;
20967
20968
  }
20969
+ if (errorCodeOf(err) === Code.ErrTooManyAttachments) {
20970
+ return false;
20971
+ }
20968
20972
  if (errorCodeOf(err) === Code.ErrClientNotActivated || errorCodeOf(err) === Code.ErrClientNotFound) {
20969
20973
  this.deactivateInternal();
20970
20974
  }