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