@rocicorp/zero 0.8.2024121200 → 0.8.2024121202
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/out/{chunk-SCQXDFZK.js → chunk-WOCGUZAL.js} +4 -3
- package/out/{chunk-SCQXDFZK.js.map → chunk-WOCGUZAL.js.map} +2 -2
- package/out/solid.js +1 -1
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.d.ts +1 -1
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.d.ts.map +1 -1
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.js +6 -2
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.js.map +1 -1
- package/out/zero-client/src/client/zero.d.ts.map +1 -1
- package/out/zero.js +1 -1
- package/package.json +1 -1
|
@@ -15441,7 +15441,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
15441
15441
|
}
|
|
15442
15442
|
|
|
15443
15443
|
// ../zero-client/src/client/version.ts
|
|
15444
|
-
var version2 = "0.8.
|
|
15444
|
+
var version2 = "0.8.2024121202+e72867";
|
|
15445
15445
|
|
|
15446
15446
|
// ../zero-client/src/client/log-options.ts
|
|
15447
15447
|
var LevelFilterLogSink = class {
|
|
@@ -16747,7 +16747,8 @@ var Zero = class {
|
|
|
16747
16747
|
#onClose = (e) => {
|
|
16748
16748
|
const l = addWebSocketIDFromSocketToLogContext(this.#socket, this.#lc);
|
|
16749
16749
|
const { code, reason, wasClean } = e;
|
|
16750
|
-
|
|
16750
|
+
const log = code <= 1001 ? "info" : "error";
|
|
16751
|
+
l[log]?.("Got socket close event", { code, reason, wasClean });
|
|
16751
16752
|
const closeKind = wasClean ? "CleanClose" : "AbruptClose";
|
|
16752
16753
|
this.#connectResolver.reject(new CloseError(closeKind));
|
|
16753
16754
|
this.#disconnect(l, { client: closeKind });
|
|
@@ -17443,4 +17444,4 @@ export {
|
|
|
17443
17444
|
escapeLike,
|
|
17444
17445
|
Zero
|
|
17445
17446
|
};
|
|
17446
|
-
//# sourceMappingURL=chunk-
|
|
17447
|
+
//# sourceMappingURL=chunk-WOCGUZAL.js.map
|