@replit/river 0.200.1 → 0.200.3
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-ZNJM2HIE.js → chunk-FX5DKRIK.js} +2 -2
- package/dist/{chunk-ZDYZ2FCN.js → chunk-HFW27CAC.js} +3 -3
- package/dist/{chunk-6VA5DW7N.js → chunk-HYPTZTEZ.js} +2 -2
- package/dist/{chunk-YQPJ3HZK.js → chunk-O2VICK2U.js} +4 -4
- package/dist/{chunk-UQHYJZTP.js → chunk-QHMZKXXG.js} +2 -2
- package/dist/{chunk-UQHYJZTP.js.map → chunk-QHMZKXXG.js.map} +1 -1
- package/dist/{chunk-SONGYR7A.js → chunk-YOC4BXQ5.js} +4 -4
- package/dist/{chunk-MADS7AI5.js → chunk-ZVWJN6V2.js} +19 -10
- package/dist/chunk-ZVWJN6V2.js.map +1 -0
- package/dist/{client-095a929e.d.ts → client-9292552a.d.ts} +1 -1
- package/dist/{connection-623d75e9.d.ts → connection-94dea547.d.ts} +1 -1
- package/dist/{context-85b8690e.d.ts → context-69f37ac1.d.ts} +6 -1
- package/dist/router/index.cjs +93 -72
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +7 -7
- package/dist/router/index.d.ts +7 -7
- package/dist/router/index.js +29 -19
- package/dist/router/index.js.map +1 -1
- package/dist/{server-456bf6cb.d.ts → server-8fdd7fb2.d.ts} +1 -1
- package/dist/{services-e4f28470.d.ts → services-c8fe49bf.d.ts} +21 -9
- package/dist/transport/impls/ws/client.cjs +1 -1
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +3 -3
- package/dist/transport/impls/ws/client.d.ts +3 -3
- package/dist/transport/impls/ws/client.js +5 -5
- package/dist/transport/impls/ws/server.cjs +1 -1
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.d.cts +3 -3
- package/dist/transport/impls/ws/server.d.ts +3 -3
- 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.d.cts +3 -3
- package/dist/transport/index.d.ts +3 -3
- package/dist/transport/index.js +5 -5
- package/dist/util/testHelpers.cjs +19 -10
- 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-MADS7AI5.js.map +0 -1
- /package/dist/{chunk-ZNJM2HIE.js.map → chunk-FX5DKRIK.js.map} +0 -0
- /package/dist/{chunk-ZDYZ2FCN.js.map → chunk-HFW27CAC.js.map} +0 -0
- /package/dist/{chunk-6VA5DW7N.js.map → chunk-HYPTZTEZ.js.map} +0 -0
- /package/dist/{chunk-YQPJ3HZK.js.map → chunk-O2VICK2U.js.map} +0 -0
- /package/dist/{chunk-SONGYR7A.js.map → chunk-YOC4BXQ5.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
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 '../context-
|
|
2
|
-
export { C as ClientTransport } from '../client-
|
|
3
|
-
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-
|
|
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 '../context-69f37ac1.js';
|
|
2
|
+
export { C as ClientTransport } from '../client-9292552a.js';
|
|
3
|
+
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-8fdd7fb2.js';
|
|
4
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-57bb8187.js';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import '@sinclair/typebox/errors';
|
|
@@ -1,6 +1,6 @@
|
|
|
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 '../context-
|
|
2
|
-
export { C as ClientTransport } from '../client-
|
|
3
|
-
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-
|
|
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 '../context-69f37ac1.js';
|
|
2
|
+
export { C as ClientTransport } from '../client-9292552a.js';
|
|
3
|
+
export { S as ServerTransport, a as SessionWaitingForHandshake } from '../server-8fdd7fb2.js';
|
|
4
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-57bb8187.js';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import '@sinclair/typebox/errors';
|
package/dist/transport/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientTransport
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YOC4BXQ5.js";
|
|
4
4
|
import {
|
|
5
5
|
ServerTransport
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-O2VICK2U.js";
|
|
7
7
|
import {
|
|
8
8
|
Connection,
|
|
9
9
|
ProtocolError,
|
|
10
10
|
Transport
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-HFW27CAC.js";
|
|
12
12
|
import "../chunk-YTMS7OP6.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionState
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-HYPTZTEZ.js";
|
|
16
16
|
import {
|
|
17
17
|
OpaqueTransportMessageSchema,
|
|
18
18
|
TransportMessageSchema
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-QHMZKXXG.js";
|
|
20
20
|
import "../chunk-AJGIY2UB.js";
|
|
21
21
|
export {
|
|
22
22
|
ClientTransport,
|
|
@@ -717,7 +717,7 @@ var SessionNoConnection = class extends IdentifiedSessionWithGracePeriod {
|
|
|
717
717
|
var import_api = require("@opentelemetry/api");
|
|
718
718
|
|
|
719
719
|
// package.json
|
|
720
|
-
var version = "0.200.
|
|
720
|
+
var version = "0.200.3";
|
|
721
721
|
|
|
722
722
|
// tracing/index.ts
|
|
723
723
|
function createSessionTelemetryInfo(sessionId, to, from, propagationCtx) {
|
|
@@ -1310,15 +1310,24 @@ var UNCAUGHT_ERROR_CODE = "UNCAUGHT_ERROR";
|
|
|
1310
1310
|
var UNEXPECTED_DISCONNECT_CODE = "UNEXPECTED_DISCONNECT";
|
|
1311
1311
|
var INVALID_REQUEST_CODE = "INVALID_REQUEST";
|
|
1312
1312
|
var CANCEL_CODE = "CANCEL";
|
|
1313
|
-
var ReaderErrorSchema = import_typebox3.Type.
|
|
1314
|
-
|
|
1315
|
-
import_typebox3.Type.Literal(UNCAUGHT_ERROR_CODE),
|
|
1316
|
-
import_typebox3.Type.
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
})
|
|
1313
|
+
var ReaderErrorSchema = import_typebox3.Type.Union([
|
|
1314
|
+
import_typebox3.Type.Object({
|
|
1315
|
+
code: import_typebox3.Type.Literal(UNCAUGHT_ERROR_CODE),
|
|
1316
|
+
message: import_typebox3.Type.String()
|
|
1317
|
+
}),
|
|
1318
|
+
import_typebox3.Type.Object({
|
|
1319
|
+
code: import_typebox3.Type.Literal(UNEXPECTED_DISCONNECT_CODE),
|
|
1320
|
+
message: import_typebox3.Type.String()
|
|
1321
|
+
}),
|
|
1322
|
+
import_typebox3.Type.Object({
|
|
1323
|
+
code: import_typebox3.Type.Literal(INVALID_REQUEST_CODE),
|
|
1324
|
+
message: import_typebox3.Type.String()
|
|
1325
|
+
}),
|
|
1326
|
+
import_typebox3.Type.Object({
|
|
1327
|
+
code: import_typebox3.Type.Literal(CANCEL_CODE),
|
|
1328
|
+
message: import_typebox3.Type.String()
|
|
1329
|
+
})
|
|
1330
|
+
]);
|
|
1322
1331
|
|
|
1323
1332
|
// util/testHelpers.ts
|
|
1324
1333
|
function createLocalWebSocketClient(port) {
|