@replit/river 0.205.2 → 0.207.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-FCN2JPOE.js → chunk-7LMZNSVC.js} +2 -2
- package/dist/{chunk-BYA34LH3.js → chunk-BCCZA7SX.js} +14 -27
- package/dist/chunk-BCCZA7SX.js.map +1 -0
- package/dist/{chunk-W337YQLT.js → chunk-CRD3HDVN.js} +3 -3
- package/dist/{chunk-TP4OJAKI.js → chunk-I27WBSMZ.js} +3 -3
- package/dist/{chunk-FTOB2HQN.js → chunk-QMAVXV4Z.js} +8 -3
- package/dist/chunk-QMAVXV4Z.js.map +1 -0
- package/dist/{connection-8ed39cb5.d.ts → connection-933c87b2.d.ts} +2 -2
- package/dist/logging/index.d.cts +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/{message-865bba35.d.ts → message-ffacb98a.d.ts} +1 -1
- package/dist/router/index.cjs +15 -29
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +5 -8
- package/dist/router/index.d.ts +5 -8
- package/dist/router/index.js +2 -4
- package/dist/{services-036dcc97.d.ts → services-4cd29829.d.ts} +731 -16
- package/dist/testUtil/index.cjs +7 -2
- package/dist/testUtil/index.cjs.map +1 -1
- package/dist/testUtil/index.d.cts +3 -5
- package/dist/testUtil/index.d.ts +3 -5
- package/dist/testUtil/index.js +4 -4
- package/dist/transport/impls/ws/client.cjs +7 -2
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +3 -4
- package/dist/transport/impls/ws/client.d.ts +3 -4
- package/dist/transport/impls/ws/client.js +4 -4
- package/dist/transport/impls/ws/server.cjs +7 -2
- 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 +4 -4
- package/dist/transport/index.cjs +7 -2
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +72 -5
- package/dist/transport/index.d.ts +72 -5
- package/dist/transport/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-BYA34LH3.js.map +0 -1
- package/dist/chunk-FTOB2HQN.js.map +0 -1
- package/dist/client-8ab60722.d.ts +0 -54
- package/dist/context-2c4bb66b.d.ts +0 -670
- package/dist/server-dc261419.d.ts +0 -70
- /package/dist/{chunk-FCN2JPOE.js.map → chunk-7LMZNSVC.js.map} +0 -0
- /package/dist/{chunk-W337YQLT.js.map → chunk-CRD3HDVN.js.map} +0 -0
- /package/dist/{chunk-TP4OJAKI.js.map → chunk-I27WBSMZ.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap,
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export { t as ProcedureHandlerContext, u as createClientHandshakeOptions, v as createServerHandshakeOptions } from '../context-2c4bb66b.js';
|
|
6
|
-
import { S as ServerTransport } from '../server-dc261419.js';
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, c as ParsedMetadata, d as AnyProcedure, b as Connection, S as ServerHandshakeOptions, e as ServiceContext } from '../services-4cd29829.js';
|
|
2
|
+
export { M as BaseErrorSchemaType, K as CANCEL_CODE, O as Client, X as Err, Z as ErrResult, J as INVALID_REQUEST_CODE, T as Ok, _ as OkResult, w as PayloadType, l as ProcErrors, h as ProcHandler, i as ProcInit, j as ProcRequest, k as ProcResponse, m as ProcType, D as Procedure, E as ProcedureErrorSchemaType, Q as ProcedureHandlerContext, x as ProcedureMap, R as RPCProcedure, B as Readable, L as ReaderErrorSchema, a1 as ResponseData, Y as Result, a0 as ResultUnwrapErr, $ as ResultUnwrapOk, q as SerializedProcedureSchema, v as SerializedProcedureSchemaProtocolv1, o as SerializedServerSchema, t as SerializedServerSchemaProtocolv1, p as SerializedServiceSchema, u as SerializedServiceSchemaProtocolv1, f as Service, g as ServiceConfiguration, n as ServiceSchema, z as StreamProcedure, y as SubscriptionProcedure, G as UNCAUGHT_ERROR_CODE, H as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, N as createClient, a2 as createClientHandshakeOptions, a3 as createServerHandshakeOptions, F as flattenErrorType, s as serializeSchema, r as serializeSchemaV1Compat } from '../services-4cd29829.js';
|
|
3
|
+
import { T as TransportClientId, O as OpaqueTransportMessage } from '../message-ffacb98a.js';
|
|
4
|
+
import { ServerTransport } from '../transport/index.cjs';
|
|
7
5
|
import '@sinclair/typebox';
|
|
8
|
-
import '../client-8ab60722.js';
|
|
9
6
|
import '@opentelemetry/api';
|
|
10
7
|
import '../types-3e5768ec.js';
|
|
11
8
|
|
|
@@ -54,6 +51,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
54
51
|
maxCancelledStreamTombstonesPerSession?: number;
|
|
55
52
|
}>): Server<Services>;
|
|
56
53
|
|
|
57
|
-
var version = "0.
|
|
54
|
+
var version = "0.207.1";
|
|
58
55
|
|
|
59
56
|
export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap,
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export { t as ProcedureHandlerContext, u as createClientHandshakeOptions, v as createServerHandshakeOptions } from '../context-2c4bb66b.js';
|
|
6
|
-
import { S as ServerTransport } from '../server-dc261419.js';
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, c as ParsedMetadata, d as AnyProcedure, b as Connection, S as ServerHandshakeOptions, e as ServiceContext } from '../services-4cd29829.js';
|
|
2
|
+
export { M as BaseErrorSchemaType, K as CANCEL_CODE, O as Client, X as Err, Z as ErrResult, J as INVALID_REQUEST_CODE, T as Ok, _ as OkResult, w as PayloadType, l as ProcErrors, h as ProcHandler, i as ProcInit, j as ProcRequest, k as ProcResponse, m as ProcType, D as Procedure, E as ProcedureErrorSchemaType, Q as ProcedureHandlerContext, x as ProcedureMap, R as RPCProcedure, B as Readable, L as ReaderErrorSchema, a1 as ResponseData, Y as Result, a0 as ResultUnwrapErr, $ as ResultUnwrapOk, q as SerializedProcedureSchema, v as SerializedProcedureSchemaProtocolv1, o as SerializedServerSchema, t as SerializedServerSchemaProtocolv1, p as SerializedServiceSchema, u as SerializedServiceSchemaProtocolv1, f as Service, g as ServiceConfiguration, n as ServiceSchema, z as StreamProcedure, y as SubscriptionProcedure, G as UNCAUGHT_ERROR_CODE, H as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, N as createClient, a2 as createClientHandshakeOptions, a3 as createServerHandshakeOptions, F as flattenErrorType, s as serializeSchema, r as serializeSchemaV1Compat } from '../services-4cd29829.js';
|
|
3
|
+
import { T as TransportClientId, O as OpaqueTransportMessage } from '../message-ffacb98a.js';
|
|
4
|
+
import { ServerTransport } from '../transport/index.js';
|
|
7
5
|
import '@sinclair/typebox';
|
|
8
|
-
import '../client-8ab60722.js';
|
|
9
6
|
import '@opentelemetry/api';
|
|
10
7
|
import '../types-3e5768ec.js';
|
|
11
8
|
|
|
@@ -54,6 +51,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
54
51
|
maxCancelledStreamTombstonesPerSession?: number;
|
|
55
52
|
}>): Server<Services>;
|
|
56
53
|
|
|
57
|
-
var version = "0.
|
|
54
|
+
var version = "0.207.1";
|
|
58
55
|
|
|
59
56
|
export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -15,9 +15,8 @@ import {
|
|
|
15
15
|
flattenErrorType,
|
|
16
16
|
serializeSchema,
|
|
17
17
|
serializeSchemaV1Compat,
|
|
18
|
-
unwrapOrThrow,
|
|
19
18
|
version
|
|
20
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-BCCZA7SX.js";
|
|
21
20
|
export {
|
|
22
21
|
CANCEL_CODE,
|
|
23
22
|
Err,
|
|
@@ -35,7 +34,6 @@ export {
|
|
|
35
34
|
createServerHandshakeOptions,
|
|
36
35
|
flattenErrorType,
|
|
37
36
|
serializeSchema,
|
|
38
|
-
serializeSchemaV1Compat
|
|
39
|
-
unwrapOrThrow
|
|
37
|
+
serializeSchemaV1Compat
|
|
40
38
|
};
|
|
41
39
|
//# sourceMappingURL=index.js.map
|