@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.
package/dist/yorkie-js-react.js
CHANGED
|
@@ -7558,6 +7558,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7558
7558
|
Code2["ErrContextNotProvided"] = "ErrContextNotProvided";
|
|
7559
7559
|
Code2["ErrPermissionDenied"] = "ErrPermissionDenied";
|
|
7560
7560
|
Code2["ErrUnauthenticated"] = "ErrUnauthenticated";
|
|
7561
|
+
Code2["ErrTooManySubscribers"] = "ErrTooManySubscribers";
|
|
7561
7562
|
return Code2;
|
|
7562
7563
|
})(Code || {});
|
|
7563
7564
|
class YorkieError extends Error {
|
|
@@ -20175,7 +20176,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
20175
20176
|
};
|
|
20176
20177
|
}
|
|
20177
20178
|
const name = "@yorkie-js/sdk";
|
|
20178
|
-
const version = "0.6.
|
|
20179
|
+
const version = "0.6.2";
|
|
20179
20180
|
const pkg = {
|
|
20180
20181
|
name,
|
|
20181
20182
|
version
|
|
@@ -20960,6 +20961,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
20960
20961
|
}
|
|
20961
20962
|
return true;
|
|
20962
20963
|
}
|
|
20964
|
+
if (errorCodeOf(err) === Code.ErrTooManySubscribers) {
|
|
20965
|
+
logger.error(`[WD] c:"${this.getKey()}" err :`, err.rawMessage);
|
|
20966
|
+
return true;
|
|
20967
|
+
}
|
|
20963
20968
|
if (errorCodeOf(err) === Code.ErrClientNotActivated || errorCodeOf(err) === Code.ErrClientNotFound) {
|
|
20964
20969
|
this.deactivateInternal();
|
|
20965
20970
|
}
|