@replit/river 0.26.0 → 0.26.1
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-BNNELZM4.js → chunk-4W5LENT2.js} +2 -2
- package/dist/{chunk-5FDAIAQ5.js → chunk-6UVTCZ6K.js} +5 -5
- package/dist/chunk-6UVTCZ6K.js.map +1 -0
- package/dist/{chunk-KP4UB5NW.js → chunk-AYIMQWS7.js} +2 -2
- package/dist/{chunk-7ETNUCOL.js → chunk-IVNX5H6C.js} +19 -8
- package/dist/chunk-IVNX5H6C.js.map +1 -0
- package/dist/{chunk-JSU2KACV.js → chunk-M43R4RPL.js} +10 -4
- package/dist/chunk-M43R4RPL.js.map +1 -0
- package/dist/{chunk-CCUYKR5C.js → chunk-UQOD22AN.js} +2 -2
- package/dist/{chunk-CCUYKR5C.js.map → chunk-UQOD22AN.js.map} +1 -1
- package/dist/{chunk-5S64PXTU.js → chunk-XRI2BXMM.js} +23 -9
- package/dist/chunk-XRI2BXMM.js.map +1 -0
- package/dist/{client-162c509c.d.ts → client-0f636b3a.d.ts} +2 -2
- package/dist/{connection-6a404bb8.d.ts → connection-07e97a79.d.ts} +1 -1
- package/dist/{handshake-3342bb94.d.ts → handshake-8752f79e.d.ts} +9 -5
- package/dist/logging/index.d.cts +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/{message-1a434848.d.ts → message-57296605.d.ts} +2 -1
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +8 -8
- package/dist/router/index.d.ts +8 -8
- package/dist/router/index.js +2 -2
- package/dist/{server-1b695374.d.ts → server-e304daec.d.ts} +2 -2
- package/dist/{services-c17f7eff.d.ts → services-fc99aae1.d.ts} +3 -3
- package/dist/transport/impls/ws/client.cjs +30 -10
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +4 -4
- package/dist/transport/impls/ws/client.d.ts +4 -4
- package/dist/transport/impls/ws/client.js +5 -5
- package/dist/transport/impls/ws/server.cjs +26 -9
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.d.cts +4 -4
- package/dist/transport/impls/ws/server.d.ts +4 -4
- package/dist/transport/impls/ws/server.js +5 -5
- package/dist/transport/index.cjs +45 -14
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +4 -4
- package/dist/transport/index.d.ts +4 -4
- package/dist/transport/index.js +5 -5
- package/dist/util/testHelpers.cjs +9 -3
- package/dist/util/testHelpers.cjs.map +1 -1
- package/dist/util/testHelpers.d.cts +4 -4
- package/dist/util/testHelpers.d.ts +4 -4
- package/dist/util/testHelpers.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-5FDAIAQ5.js.map +0 -1
- package/dist/chunk-5S64PXTU.js.map +0 -1
- package/dist/chunk-7ETNUCOL.js.map +0 -1
- package/dist/chunk-JSU2KACV.js.map +0 -1
- /package/dist/{chunk-BNNELZM4.js.map → chunk-4W5LENT2.js.map} +0 -0
- /package/dist/{chunk-KP4UB5NW.js.map → chunk-AYIMQWS7.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as ClientTransportOptions, C as Connection, j as EventHandler, E as EventMap, i as EventTypes, k as ProtocolError, l as ProtocolErrorType, c as ServerTransportOptions, S as Session, h as SessionConnected, f as SessionConnecting, g as SessionHandshaking, e as SessionNoConnection, d as SessionState, T as Transport, P as TransportOptions, a as TransportStatus } from '../handshake-
|
|
2
|
-
export { C as ClientTransport } from '../client-
|
|
3
|
-
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-
|
|
4
|
-
export { b as OpaqueTransportMessage, O as OpaqueTransportMessageSchema, c as TransportClientId, a as TransportMessage, T as TransportMessageSchema, d as isStreamClose, i as isStreamOpen } from '../message-
|
|
1
|
+
export { b as ClientTransportOptions, C as Connection, j as EventHandler, E as EventMap, i as EventTypes, k as ProtocolError, l as ProtocolErrorType, c as ServerTransportOptions, S as Session, h as SessionConnected, f as SessionConnecting, g as SessionHandshaking, e as SessionNoConnection, d as SessionState, T as Transport, P as TransportOptions, a as TransportStatus } from '../handshake-8752f79e.js';
|
|
2
|
+
export { C as ClientTransport } from '../client-0f636b3a.js';
|
|
3
|
+
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-e304daec.js';
|
|
4
|
+
export { b as OpaqueTransportMessage, O as OpaqueTransportMessageSchema, c as TransportClientId, a as TransportMessage, T as TransportMessageSchema, d as isStreamClose, i as isStreamOpen } from '../message-57296605.js';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import '../types-3e5768ec.js';
|
|
7
7
|
import '@sinclair/typebox/value';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as ClientTransportOptions, C as Connection, j as EventHandler, E as EventMap, i as EventTypes, k as ProtocolError, l as ProtocolErrorType, c as ServerTransportOptions, S as Session, h as SessionConnected, f as SessionConnecting, g as SessionHandshaking, e as SessionNoConnection, d as SessionState, T as Transport, P as TransportOptions, a as TransportStatus } from '../handshake-
|
|
2
|
-
export { C as ClientTransport } from '../client-
|
|
3
|
-
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-
|
|
4
|
-
export { b as OpaqueTransportMessage, O as OpaqueTransportMessageSchema, c as TransportClientId, a as TransportMessage, T as TransportMessageSchema, d as isStreamClose, i as isStreamOpen } from '../message-
|
|
1
|
+
export { b as ClientTransportOptions, C as Connection, j as EventHandler, E as EventMap, i as EventTypes, k as ProtocolError, l as ProtocolErrorType, c as ServerTransportOptions, S as Session, h as SessionConnected, f as SessionConnecting, g as SessionHandshaking, e as SessionNoConnection, d as SessionState, T as Transport, P as TransportOptions, a as TransportStatus } from '../handshake-8752f79e.js';
|
|
2
|
+
export { C as ClientTransport } from '../client-0f636b3a.js';
|
|
3
|
+
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-e304daec.js';
|
|
4
|
+
export { b as OpaqueTransportMessage, O as OpaqueTransportMessageSchema, c as TransportClientId, a as TransportMessage, T as TransportMessageSchema, d as isStreamClose, i as isStreamOpen } from '../message-57296605.js';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import '../types-3e5768ec.js';
|
|
7
7
|
import '@sinclair/typebox/value';
|
package/dist/transport/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientTransport
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XRI2BXMM.js";
|
|
4
4
|
import {
|
|
5
5
|
ServerTransport
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-IVNX5H6C.js";
|
|
7
7
|
import {
|
|
8
8
|
Connection,
|
|
9
9
|
ProtocolError,
|
|
10
10
|
Transport
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-6UVTCZ6K.js";
|
|
12
12
|
import "../chunk-TAH2GVTJ.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionState
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-M43R4RPL.js";
|
|
16
16
|
import {
|
|
17
17
|
OpaqueTransportMessageSchema,
|
|
18
18
|
TransportMessageSchema
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-UQOD22AN.js";
|
|
20
20
|
import "../chunk-4PVU7J25.js";
|
|
21
21
|
export {
|
|
22
22
|
ClientTransport,
|
|
@@ -460,7 +460,7 @@ function Err(error) {
|
|
|
460
460
|
var import_api = require("@opentelemetry/api");
|
|
461
461
|
|
|
462
462
|
// package.json
|
|
463
|
-
var version = "0.26.
|
|
463
|
+
var version = "0.26.1";
|
|
464
464
|
|
|
465
465
|
// tracing/index.ts
|
|
466
466
|
function createSessionTelemetryInfo(sessionId, to, from, propagationCtx) {
|
|
@@ -798,7 +798,10 @@ var SessionWaitingForHandshake = class extends CommonSession {
|
|
|
798
798
|
onHandshakeData = (msg) => {
|
|
799
799
|
const parsedMsg = this.parseMsg(msg);
|
|
800
800
|
if (parsedMsg === null) {
|
|
801
|
-
this.listeners.onInvalidHandshake(
|
|
801
|
+
this.listeners.onInvalidHandshake(
|
|
802
|
+
"could not parse message",
|
|
803
|
+
"MALFORMED_HANDSHAKE"
|
|
804
|
+
);
|
|
802
805
|
return;
|
|
803
806
|
}
|
|
804
807
|
this.listeners.onHandshake(parsedMsg);
|
|
@@ -844,7 +847,10 @@ var SessionHandshaking = class extends IdentifiedSession {
|
|
|
844
847
|
onHandshakeData = (msg) => {
|
|
845
848
|
const parsedMsg = this.parseMsg(msg);
|
|
846
849
|
if (parsedMsg === null) {
|
|
847
|
-
this.listeners.onInvalidHandshake(
|
|
850
|
+
this.listeners.onInvalidHandshake(
|
|
851
|
+
"could not parse message",
|
|
852
|
+
"MALFORMED_HANDSHAKE"
|
|
853
|
+
);
|
|
848
854
|
return;
|
|
849
855
|
}
|
|
850
856
|
this.listeners.onHandshake(parsedMsg);
|