@replit/river 0.200.2 → 0.200.4
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-PJB2Y2AV.js → chunk-6EORIAZJ.js} +4 -4
- package/dist/{chunk-HRKM7BIE.js → chunk-BBTXTDJ5.js} +2 -2
- package/dist/chunk-BBTXTDJ5.js.map +1 -0
- package/dist/{chunk-A4JKES5A.js → chunk-GKBNAMHM.js} +4 -4
- package/dist/{chunk-YTMS7OP6.js → chunk-LHH5LQ7C.js} +1 -1
- package/dist/chunk-LHH5LQ7C.js.map +1 -0
- package/dist/{chunk-6BH2CXVE.js → chunk-LL4CB5UD.js} +2 -2
- package/dist/{chunk-GJUUVID2.js → chunk-Q7DD2FLX.js} +2 -2
- package/dist/{chunk-GJUUVID2.js.map → chunk-Q7DD2FLX.js.map} +1 -1
- package/dist/{chunk-QIDEN5PP.js → chunk-RWVZCH26.js} +4 -4
- package/dist/{chunk-Z4PX66JO.js → chunk-ZVWJN6V2.js} +1 -1
- package/dist/chunk-ZVWJN6V2.js.map +1 -0
- package/dist/{client-9292552a.d.ts → client-ba6815ae.d.ts} +2 -2
- package/dist/{connection-94dea547.d.ts → connection-d217c989.d.ts} +4 -4
- package/dist/{context-69f37ac1.d.ts → context-8d1ed9a1.d.ts} +3 -3
- package/dist/logging/index.cjs.map +1 -1
- package/dist/logging/index.d.cts +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.js +1 -1
- package/dist/{message-57bb8187.d.ts → message-45658364.d.ts} +2 -2
- package/dist/router/index.cjs +5 -3
- 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 +6 -4
- package/dist/router/index.js.map +1 -1
- package/dist/{server-8fdd7fb2.d.ts → server-eb7d2cfd.d.ts} +3 -3
- package/dist/{services-259f39a3.d.ts → services-94e0afc3.d.ts} +7 -4
- 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 +4 -4
- package/dist/transport/impls/ws/client.d.ts +4 -4
- package/dist/transport/impls/ws/client.js +6 -6
- 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 +4 -4
- package/dist/transport/impls/ws/server.d.ts +4 -4
- package/dist/transport/impls/ws/server.js +6 -6
- package/dist/transport/index.cjs +1 -1
- 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 +6 -6
- package/dist/util/testHelpers.cjs +1 -1
- package/dist/util/testHelpers.cjs.map +1 -1
- package/dist/util/testHelpers.d.cts +5 -5
- package/dist/util/testHelpers.d.ts +5 -5
- package/dist/util/testHelpers.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-HRKM7BIE.js.map +0 -1
- package/dist/chunk-YTMS7OP6.js.map +0 -1
- package/dist/chunk-Z4PX66JO.js.map +0 -1
- /package/dist/{chunk-PJB2Y2AV.js.map → chunk-6EORIAZJ.js.map} +0 -0
- /package/dist/{chunk-A4JKES5A.js.map → chunk-GKBNAMHM.js.map} +0 -0
- /package/dist/{chunk-6BH2CXVE.js.map → chunk-LL4CB5UD.js.map} +0 -0
- /package/dist/{chunk-QIDEN5PP.js.map → chunk-RWVZCH26.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, g as AnyProcedure } from '../services-
|
|
2
|
-
export { B as BaseErrorSchemaType, H as CANCEL_CODE, K as Client, L as Err, N as ErrResult, G as INVALID_REQUEST_CODE, O as Ok, Q as OkResult, P as PayloadType, m as ProcErrors, i as ProcHandler, j as ProcInit, k as ProcRequest, l as ProcResponse, n as ProcType, d as Procedure, c as ProcedureErrorSchemaType, x as ProcedureMap, y as RPCProcedure, R as Readable, f as ReaderErrorSchema, Y as ResponseData, e as Result, X as ResultUnwrapErr, T as ResultUnwrapOk, r as SerializedProcedureSchema, w as SerializedProcedureSchemaProtocolv1, p as SerializedServerSchema, u as SerializedServerSchemaProtocolv1, q as SerializedServiceSchema, v as SerializedServiceSchemaProtocolv1, S as Service, h as ServiceConfiguration, o as ServiceSchema, C as StreamProcedure, z as SubscriptionProcedure, E as UNCAUGHT_ERROR_CODE, F as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, J as createClient, D as flattenErrorType, s as serializeSchema, t as serializeSchemaV1Compat, M as unwrapOrThrow } from '../services-
|
|
3
|
-
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-
|
|
4
|
-
import { t as ParsedMetadata, C as Connection, u as ServerHandshakeOptions, p as ServiceContext } from '../context-
|
|
5
|
-
export { v as ProcedureHandlerContext, w as createClientHandshakeOptions, x as createServerHandshakeOptions } from '../context-
|
|
6
|
-
import { S as ServerTransport } from '../server-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, g as AnyProcedure } from '../services-94e0afc3.js';
|
|
2
|
+
export { B as BaseErrorSchemaType, H as CANCEL_CODE, K as Client, L as Err, N as ErrResult, G as INVALID_REQUEST_CODE, O as Ok, Q as OkResult, P as PayloadType, m as ProcErrors, i as ProcHandler, j as ProcInit, k as ProcRequest, l as ProcResponse, n as ProcType, d as Procedure, c as ProcedureErrorSchemaType, x as ProcedureMap, y as RPCProcedure, R as Readable, f as ReaderErrorSchema, Y as ResponseData, e as Result, X as ResultUnwrapErr, T as ResultUnwrapOk, r as SerializedProcedureSchema, w as SerializedProcedureSchemaProtocolv1, p as SerializedServerSchema, u as SerializedServerSchemaProtocolv1, q as SerializedServiceSchema, v as SerializedServiceSchemaProtocolv1, S as Service, h as ServiceConfiguration, o as ServiceSchema, C as StreamProcedure, z as SubscriptionProcedure, E as UNCAUGHT_ERROR_CODE, F as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, J as createClient, D as flattenErrorType, s as serializeSchema, t as serializeSchemaV1Compat, M as unwrapOrThrow } from '../services-94e0afc3.js';
|
|
3
|
+
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-45658364.js';
|
|
4
|
+
import { t as ParsedMetadata, C as Connection, u as ServerHandshakeOptions, p as ServiceContext } from '../context-8d1ed9a1.js';
|
|
5
|
+
export { v as ProcedureHandlerContext, w as createClientHandshakeOptions, x as createServerHandshakeOptions } from '../context-8d1ed9a1.js';
|
|
6
|
+
import { S as ServerTransport } from '../server-eb7d2cfd.js';
|
|
7
7
|
import '@sinclair/typebox';
|
|
8
|
-
import '../client-
|
|
8
|
+
import '../client-ba6815ae.js';
|
|
9
9
|
import '@sinclair/typebox/value';
|
|
10
10
|
import '@opentelemetry/api';
|
|
11
11
|
import '@sinclair/typebox/errors';
|
|
@@ -55,6 +55,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
55
55
|
maxCancelledStreamTombstonesPerSession?: number;
|
|
56
56
|
}>): Server<Services>;
|
|
57
57
|
|
|
58
|
-
var version = "0.200.
|
|
58
|
+
var version = "0.200.4";
|
|
59
59
|
|
|
60
60
|
export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, g as AnyProcedure } from '../services-
|
|
2
|
-
export { B as BaseErrorSchemaType, H as CANCEL_CODE, K as Client, L as Err, N as ErrResult, G as INVALID_REQUEST_CODE, O as Ok, Q as OkResult, P as PayloadType, m as ProcErrors, i as ProcHandler, j as ProcInit, k as ProcRequest, l as ProcResponse, n as ProcType, d as Procedure, c as ProcedureErrorSchemaType, x as ProcedureMap, y as RPCProcedure, R as Readable, f as ReaderErrorSchema, Y as ResponseData, e as Result, X as ResultUnwrapErr, T as ResultUnwrapOk, r as SerializedProcedureSchema, w as SerializedProcedureSchemaProtocolv1, p as SerializedServerSchema, u as SerializedServerSchemaProtocolv1, q as SerializedServiceSchema, v as SerializedServiceSchemaProtocolv1, S as Service, h as ServiceConfiguration, o as ServiceSchema, C as StreamProcedure, z as SubscriptionProcedure, E as UNCAUGHT_ERROR_CODE, F as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, J as createClient, D as flattenErrorType, s as serializeSchema, t as serializeSchemaV1Compat, M as unwrapOrThrow } from '../services-
|
|
3
|
-
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-
|
|
4
|
-
import { t as ParsedMetadata, C as Connection, u as ServerHandshakeOptions, p as ServiceContext } from '../context-
|
|
5
|
-
export { v as ProcedureHandlerContext, w as createClientHandshakeOptions, x as createServerHandshakeOptions } from '../context-
|
|
6
|
-
import { S as ServerTransport } from '../server-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, g as AnyProcedure } from '../services-94e0afc3.js';
|
|
2
|
+
export { B as BaseErrorSchemaType, H as CANCEL_CODE, K as Client, L as Err, N as ErrResult, G as INVALID_REQUEST_CODE, O as Ok, Q as OkResult, P as PayloadType, m as ProcErrors, i as ProcHandler, j as ProcInit, k as ProcRequest, l as ProcResponse, n as ProcType, d as Procedure, c as ProcedureErrorSchemaType, x as ProcedureMap, y as RPCProcedure, R as Readable, f as ReaderErrorSchema, Y as ResponseData, e as Result, X as ResultUnwrapErr, T as ResultUnwrapOk, r as SerializedProcedureSchema, w as SerializedProcedureSchemaProtocolv1, p as SerializedServerSchema, u as SerializedServerSchemaProtocolv1, q as SerializedServiceSchema, v as SerializedServiceSchemaProtocolv1, S as Service, h as ServiceConfiguration, o as ServiceSchema, C as StreamProcedure, z as SubscriptionProcedure, E as UNCAUGHT_ERROR_CODE, F as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, J as createClient, D as flattenErrorType, s as serializeSchema, t as serializeSchemaV1Compat, M as unwrapOrThrow } from '../services-94e0afc3.js';
|
|
3
|
+
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-45658364.js';
|
|
4
|
+
import { t as ParsedMetadata, C as Connection, u as ServerHandshakeOptions, p as ServiceContext } from '../context-8d1ed9a1.js';
|
|
5
|
+
export { v as ProcedureHandlerContext, w as createClientHandshakeOptions, x as createServerHandshakeOptions } from '../context-8d1ed9a1.js';
|
|
6
|
+
import { S as ServerTransport } from '../server-eb7d2cfd.js';
|
|
7
7
|
import '@sinclair/typebox';
|
|
8
|
-
import '../client-
|
|
8
|
+
import '../client-ba6815ae.js';
|
|
9
9
|
import '@sinclair/typebox/value';
|
|
10
10
|
import '@opentelemetry/api';
|
|
11
11
|
import '@sinclair/typebox/errors';
|
|
@@ -55,6 +55,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
55
55
|
maxCancelledStreamTombstonesPerSession?: number;
|
|
56
56
|
}>): Server<Services>;
|
|
57
57
|
|
|
58
|
-
var version = "0.200.
|
|
58
|
+
var version = "0.200.4";
|
|
59
59
|
|
|
60
60
|
export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
WritableImpl,
|
|
13
13
|
flattenErrorType,
|
|
14
14
|
unwrapOrThrow
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ZVWJN6V2.js";
|
|
16
16
|
import {
|
|
17
17
|
ControlMessageCloseSchema,
|
|
18
18
|
ControlMessagePayloadSchema,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isStreamClose,
|
|
28
28
|
isStreamOpen,
|
|
29
29
|
version
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-Q7DD2FLX.js";
|
|
31
31
|
|
|
32
32
|
// router/services.ts
|
|
33
33
|
import { Type, Kind } from "@sinclair/typebox";
|
|
@@ -955,8 +955,10 @@ var RiverServer = class {
|
|
|
955
955
|
serviceName
|
|
956
956
|
},
|
|
957
957
|
extras: {
|
|
958
|
-
error: errorMsg
|
|
959
|
-
|
|
958
|
+
error: errorMsg,
|
|
959
|
+
originalException: err
|
|
960
|
+
},
|
|
961
|
+
tags: ["uncaught-handler-error"]
|
|
960
962
|
}
|
|
961
963
|
);
|
|
962
964
|
onServerCancel({
|