@yorkie-js/react 0.6.1 → 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.
@@ -7556,6 +7556,8 @@ var Code = /* @__PURE__ */ ((Code2) => {
7556
7556
  Code2["ErrContextNotProvided"] = "ErrContextNotProvided";
7557
7557
  Code2["ErrPermissionDenied"] = "ErrPermissionDenied";
7558
7558
  Code2["ErrUnauthenticated"] = "ErrUnauthenticated";
7559
+ Code2["ErrTooManySubscribers"] = "ErrTooManySubscribers";
7560
+ Code2["ErrTooManyAttachments"] = "ErrTooManyAttachments";
7559
7561
  return Code2;
7560
7562
  })(Code || {});
7561
7563
  class YorkieError extends Error {
@@ -20173,7 +20175,7 @@ function createAuthInterceptor(apiKey, token) {
20173
20175
  };
20174
20176
  }
20175
20177
  const name = "@yorkie-js/sdk";
20176
- const version = "0.6.1";
20178
+ const version = "0.6.3";
20177
20179
  const pkg = {
20178
20180
  name,
20179
20181
  version
@@ -20958,6 +20960,13 @@ class Client {
20958
20960
  }
20959
20961
  return true;
20960
20962
  }
20963
+ if (errorCodeOf(err) === Code.ErrTooManySubscribers) {
20964
+ logger.error(`[WD] c:"${this.getKey()}" err :`, err.rawMessage);
20965
+ return true;
20966
+ }
20967
+ if (errorCodeOf(err) === Code.ErrTooManyAttachments) {
20968
+ return false;
20969
+ }
20961
20970
  if (errorCodeOf(err) === Code.ErrClientNotActivated || errorCodeOf(err) === Code.ErrClientNotFound) {
20962
20971
  this.deactivateInternal();
20963
20972
  }