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