@yorkie-js/sdk 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.
@@ -7530,6 +7530,7 @@ var Code = /* @__PURE__ */ ((Code2) => {
7530
7530
  Code2["ErrPermissionDenied"] = "ErrPermissionDenied";
7531
7531
  Code2["ErrUnauthenticated"] = "ErrUnauthenticated";
7532
7532
  Code2["ErrTooManySubscribers"] = "ErrTooManySubscribers";
7533
+ Code2["ErrTooManyAttachments"] = "ErrTooManyAttachments";
7533
7534
  return Code2;
7534
7535
  })(Code || {});
7535
7536
  class YorkieError extends Error {
@@ -20152,7 +20153,7 @@ function createAuthInterceptor(apiKey, token) {
20152
20153
  };
20153
20154
  }
20154
20155
  const name = "@yorkie-js/sdk";
20155
- const version = "0.6.2";
20156
+ const version = "0.6.3";
20156
20157
  const description = "Yorkie JS SDK";
20157
20158
  const main = "./src/yorkie.ts";
20158
20159
  const publishConfig = {
@@ -21037,6 +21038,9 @@ class Client {
21037
21038
  logger.error(`[WD] c:"${this.getKey()}" err :`, err.rawMessage);
21038
21039
  return true;
21039
21040
  }
21041
+ if (errorCodeOf(err) === Code.ErrTooManyAttachments) {
21042
+ return false;
21043
+ }
21040
21044
  if (errorCodeOf(err) === Code.ErrClientNotActivated || errorCodeOf(err) === Code.ErrClientNotFound) {
21041
21045
  this.deactivateInternal();
21042
21046
  }