@replit/river 0.26.7 → 0.26.8
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/{chunk-I3Z6XQVK.js → chunk-CATCCJAL.js} +3 -3
- package/dist/{chunk-F32IOMOX.js → chunk-NHXIQELK.js} +2 -2
- package/dist/{chunk-KMH4I245.js → chunk-QEVXZ3I7.js} +4 -3
- package/dist/chunk-QEVXZ3I7.js.map +1 -0
- package/dist/{chunk-C7OSTU6D.js → chunk-QXQG6ZFZ.js} +2 -2
- package/dist/{chunk-X4TDCNNT.js → chunk-SIRVFV3D.js} +4 -4
- package/dist/{chunk-JJX4ALPO.js → chunk-XMXSGTU2.js} +4 -4
- package/dist/{chunk-NHM3XC6K.js → chunk-ZFSQNWYX.js} +2 -2
- package/dist/{chunk-NHM3XC6K.js.map → chunk-ZFSQNWYX.js.map} +1 -1
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +1 -1
- package/dist/router/index.d.ts +1 -1
- package/dist/router/index.js +2 -2
- package/dist/transport/impls/ws/client.cjs +3 -2
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.js +5 -5
- package/dist/transport/impls/ws/server.cjs +3 -2
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.js +5 -5
- package/dist/transport/index.cjs +1 -1
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.js +5 -5
- package/dist/util/testHelpers.cjs +1 -1
- package/dist/util/testHelpers.cjs.map +1 -1
- package/dist/util/testHelpers.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-KMH4I245.js.map +0 -1
- /package/dist/{chunk-I3Z6XQVK.js.map → chunk-CATCCJAL.js.map} +0 -0
- /package/dist/{chunk-F32IOMOX.js.map → chunk-NHXIQELK.js.map} +0 -0
- /package/dist/{chunk-C7OSTU6D.js.map → chunk-QXQG6ZFZ.js.map} +0 -0
- /package/dist/{chunk-X4TDCNNT.js.map → chunk-SIRVFV3D.js.map} +0 -0
- /package/dist/{chunk-JJX4ALPO.js.map → chunk-XMXSGTU2.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -46,6 +46,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
46
46
|
extendedContext?: Omit<ServiceContext, 'state'>;
|
|
47
47
|
}>): Server<Services>;
|
|
48
48
|
|
|
49
|
-
var version = "0.26.
|
|
49
|
+
var version = "0.26.8";
|
|
50
50
|
|
|
51
51
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
46
46
|
extendedContext?: Omit<ServiceContext, 'state'>;
|
|
47
47
|
}>): Server<Services>;
|
|
48
48
|
|
|
49
|
-
var version = "0.26.
|
|
49
|
+
var version = "0.26.8";
|
|
50
50
|
|
|
51
51
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
createServer,
|
|
11
11
|
createServerHandshakeOptions,
|
|
12
12
|
serializeSchema
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-QXQG6ZFZ.js";
|
|
14
14
|
import {
|
|
15
15
|
version
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-ZFSQNWYX.js";
|
|
17
17
|
export {
|
|
18
18
|
Err,
|
|
19
19
|
Ok,
|
|
@@ -632,7 +632,7 @@ var SessionNoConnection = class extends IdentifiedSessionWithGracePeriod {
|
|
|
632
632
|
var import_api = require("@opentelemetry/api");
|
|
633
633
|
|
|
634
634
|
// package.json
|
|
635
|
-
var version = "0.26.
|
|
635
|
+
var version = "0.26.8";
|
|
636
636
|
|
|
637
637
|
// tracing/index.ts
|
|
638
638
|
function getPropagationContext(ctx) {
|
|
@@ -1805,6 +1805,7 @@ var Connection = class {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
|
|
1807
1807
|
// transport/impls/ws/connection.ts
|
|
1808
|
+
var WS_HEALTHY_CLOSE_CODE = 1e3;
|
|
1808
1809
|
var WebSocketConnection = class extends Connection {
|
|
1809
1810
|
ws;
|
|
1810
1811
|
extras;
|
|
@@ -1851,7 +1852,7 @@ var WebSocketConnection = class extends Connection {
|
|
|
1851
1852
|
return true;
|
|
1852
1853
|
}
|
|
1853
1854
|
close() {
|
|
1854
|
-
this.ws.close();
|
|
1855
|
+
this.ws.close(WS_HEALTHY_CLOSE_CODE);
|
|
1855
1856
|
}
|
|
1856
1857
|
};
|
|
1857
1858
|
|