@replit/river 0.207.2 → 0.208.0
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/adapter-ChksXKVN.d.ts +46 -0
- package/dist/adapter-Cuc4JtfV.d.cts +46 -0
- package/dist/chunk-2JNVDUMN.js +2238 -0
- package/dist/chunk-2JNVDUMN.js.map +1 -0
- package/dist/{chunk-4HE7UYRL.js → chunk-DKW3GC3M.js} +6 -5
- package/dist/{chunk-4HE7UYRL.js.map → chunk-DKW3GC3M.js.map} +1 -1
- package/dist/{chunk-46IVOKJU.js → chunk-ETZAHFGQ.js} +80 -61
- package/dist/chunk-ETZAHFGQ.js.map +1 -0
- package/dist/codec/index.cjs +157 -23
- package/dist/codec/index.cjs.map +1 -1
- package/dist/codec/index.d.cts +5 -1
- package/dist/codec/index.d.ts +5 -1
- package/dist/codec/index.js +6 -20
- package/dist/codec/index.js.map +1 -1
- package/dist/connection-BF4zg6Qv.d.cts +35 -0
- package/dist/{connection-a18e31d5.d.ts → connection-Donr3JRB.d.ts} +4 -3
- package/dist/index-C9tpZjBN.d.cts +37 -0
- package/dist/index-D8IOd3LG.d.ts +37 -0
- package/dist/logging/index.d.cts +2 -1
- package/dist/logging/index.d.ts +2 -1
- package/dist/{message-ffacb98a.d.ts → message-Di94OL80.d.cts} +1 -35
- package/dist/message-Di94OL80.d.ts +108 -0
- package/dist/router/index.cjs +62 -43
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +27 -7
- package/dist/router/index.d.ts +27 -7
- package/dist/router/index.js +1 -1
- package/dist/testUtil/index.cjs +828 -725
- package/dist/testUtil/index.cjs.map +1 -1
- package/dist/testUtil/index.d.cts +5 -4
- package/dist/testUtil/index.d.ts +5 -4
- package/dist/testUtil/index.js +23 -25
- package/dist/testUtil/index.js.map +1 -1
- package/dist/transport/impls/ws/client.cjs +293 -233
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +6 -5
- package/dist/transport/impls/ws/client.d.ts +6 -5
- package/dist/transport/impls/ws/client.js +5 -7
- package/dist/transport/impls/ws/client.js.map +1 -1
- package/dist/transport/impls/ws/server.cjs +269 -200
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.d.cts +6 -5
- package/dist/transport/impls/ws/server.d.ts +6 -5
- package/dist/transport/impls/ws/server.js +5 -7
- package/dist/transport/impls/ws/server.js.map +1 -1
- package/dist/transport/index.cjs +438 -342
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +7 -6
- package/dist/transport/index.d.ts +7 -6
- package/dist/transport/index.js +5 -10
- package/dist/transport-CCaWx1Rb.d.cts +1566 -0
- package/dist/{services-43528f4b.d.ts → transport-CZb3vdB4.d.ts} +294 -293
- package/dist/{wslike-e0b32dd5.d.ts → wslike-Dng9H1C7.d.cts} +1 -1
- package/dist/wslike-Dng9H1C7.d.ts +40 -0
- package/package.json +3 -3
- package/dist/chunk-24EWYOGK.js +0 -1287
- package/dist/chunk-24EWYOGK.js.map +0 -1
- package/dist/chunk-46IVOKJU.js.map +0 -1
- package/dist/chunk-A7RGOVRV.js +0 -438
- package/dist/chunk-A7RGOVRV.js.map +0 -1
- package/dist/chunk-AJGIY2UB.js +0 -56
- package/dist/chunk-AJGIY2UB.js.map +0 -1
- package/dist/chunk-XV4RQ62N.js +0 -377
- package/dist/chunk-XV4RQ62N.js.map +0 -1
- package/dist/types-3e5768ec.d.ts +0 -20
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { b as Connection, ac as CommonSession, ad as SessionState, ae as CommonSessionProps, a7 as Transport, af as ServerTransportOptions, S as ServerHandshakeOptions,
|
|
2
|
-
export { C as ClientTransport, P as ClientTransportOptions, aq as EventHandler, ao as EventMap, ap as EventTypes, ar as ProtocolError, as as ProtocolErrorType, ak as Session, an as SessionConnected, al as SessionConnecting, am as SessionHandshaking, aa as SessionNoConnection, aj as TransportOptions, ai as TransportStatus } from '../
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { b as Connection, ac as CommonSession, ad as SessionState, ae as CommonSessionProps, a7 as Transport, af as ServerTransportOptions, S as ServerHandshakeOptions, f as ParsedMetadata, ag as ServerSession, a as ProvidedServerTransportOptions, ah as DeleteSessionOptions } from '../transport-CCaWx1Rb.cjs';
|
|
2
|
+
export { C as ClientTransport, P as ClientTransportOptions, aq as EventHandler, ao as EventMap, ap as EventTypes, ar as ProtocolError, as as ProtocolErrorType, ak as Session, an as SessionConnected, al as SessionConnecting, am as SessionHandshaking, aa as SessionNoConnection, aj as TransportOptions, ai as TransportStatus } from '../transport-CCaWx1Rb.cjs';
|
|
3
|
+
import { O as OpaqueTransportMessage, d as HandshakeErrorResponseCodes, P as ProtocolVersion, c as TransportMessage, T as TransportClientId } from '../message-Di94OL80.cjs';
|
|
4
|
+
export { f as OpaqueTransportMessageSchema, e as TransportMessageSchema, g as isStreamClose, i as isStreamOpen } from '../message-Di94OL80.cjs';
|
|
5
|
+
import { T as Tags } from '../index-C9tpZjBN.cjs';
|
|
5
6
|
import { Static } from '@sinclair/typebox';
|
|
7
|
+
import { S as SendResult } from '../adapter-Cuc4JtfV.cjs';
|
|
6
8
|
import '@opentelemetry/api';
|
|
7
|
-
import '../types-3e5768ec.js';
|
|
8
9
|
|
|
9
10
|
interface SessionWaitingForHandshakeListeners {
|
|
10
11
|
onConnectionErrored: (err: unknown) => void;
|
|
@@ -42,7 +43,7 @@ declare class SessionWaitingForHandshake<ConnType extends Connection> extends Co
|
|
|
42
43
|
extras?: Record<string, unknown> | undefined;
|
|
43
44
|
};
|
|
44
45
|
onHandshakeData: (msg: Uint8Array) => void;
|
|
45
|
-
sendHandshake(msg: TransportMessage):
|
|
46
|
+
sendHandshake(msg: TransportMessage): SendResult;
|
|
46
47
|
_handleStateExit(): void;
|
|
47
48
|
_handleClose(): void;
|
|
48
49
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { b as Connection, ac as CommonSession, ad as SessionState, ae as CommonSessionProps, a7 as Transport, af as ServerTransportOptions, S as ServerHandshakeOptions,
|
|
2
|
-
export { C as ClientTransport, P as ClientTransportOptions, aq as EventHandler, ao as EventMap, ap as EventTypes, ar as ProtocolError, as as ProtocolErrorType, ak as Session, an as SessionConnected, al as SessionConnecting, am as SessionHandshaking, aa as SessionNoConnection, aj as TransportOptions, ai as TransportStatus } from '../
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { b as Connection, ac as CommonSession, ad as SessionState, ae as CommonSessionProps, a7 as Transport, af as ServerTransportOptions, S as ServerHandshakeOptions, f as ParsedMetadata, ag as ServerSession, a as ProvidedServerTransportOptions, ah as DeleteSessionOptions } from '../transport-CZb3vdB4.js';
|
|
2
|
+
export { C as ClientTransport, P as ClientTransportOptions, aq as EventHandler, ao as EventMap, ap as EventTypes, ar as ProtocolError, as as ProtocolErrorType, ak as Session, an as SessionConnected, al as SessionConnecting, am as SessionHandshaking, aa as SessionNoConnection, aj as TransportOptions, ai as TransportStatus } from '../transport-CZb3vdB4.js';
|
|
3
|
+
import { O as OpaqueTransportMessage, d as HandshakeErrorResponseCodes, P as ProtocolVersion, c as TransportMessage, T as TransportClientId } from '../message-Di94OL80.js';
|
|
4
|
+
export { f as OpaqueTransportMessageSchema, e as TransportMessageSchema, g as isStreamClose, i as isStreamOpen } from '../message-Di94OL80.js';
|
|
5
|
+
import { T as Tags } from '../index-D8IOd3LG.js';
|
|
5
6
|
import { Static } from '@sinclair/typebox';
|
|
7
|
+
import { S as SendResult } from '../adapter-ChksXKVN.js';
|
|
6
8
|
import '@opentelemetry/api';
|
|
7
|
-
import '../types-3e5768ec.js';
|
|
8
9
|
|
|
9
10
|
interface SessionWaitingForHandshakeListeners {
|
|
10
11
|
onConnectionErrored: (err: unknown) => void;
|
|
@@ -42,7 +43,7 @@ declare class SessionWaitingForHandshake<ConnType extends Connection> extends Co
|
|
|
42
43
|
extras?: Record<string, unknown> | undefined;
|
|
43
44
|
};
|
|
44
45
|
onHandshakeData: (msg: Uint8Array) => void;
|
|
45
|
-
sendHandshake(msg: TransportMessage):
|
|
46
|
+
sendHandshake(msg: TransportMessage): SendResult;
|
|
46
47
|
_handleStateExit(): void;
|
|
47
48
|
_handleClose(): void;
|
|
48
49
|
}
|
package/dist/transport/index.js
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ClientTransport
|
|
3
|
-
} from "../chunk-A7RGOVRV.js";
|
|
4
|
-
import {
|
|
5
|
-
ServerTransport
|
|
6
|
-
} from "../chunk-XV4RQ62N.js";
|
|
7
|
-
import {
|
|
2
|
+
ClientTransport,
|
|
8
3
|
Connection,
|
|
9
4
|
ProtocolError,
|
|
5
|
+
ServerTransport,
|
|
10
6
|
SessionState,
|
|
11
7
|
Transport
|
|
12
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-2JNVDUMN.js";
|
|
9
|
+
import "../chunk-CC7RN7GI.js";
|
|
13
10
|
import {
|
|
14
11
|
OpaqueTransportMessageSchema,
|
|
15
12
|
TransportMessageSchema
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-CC7RN7GI.js";
|
|
18
|
-
import "../chunk-AJGIY2UB.js";
|
|
13
|
+
} from "../chunk-ETZAHFGQ.js";
|
|
19
14
|
export {
|
|
20
15
|
ClientTransport,
|
|
21
16
|
Connection,
|