@replit/river 0.209.0 → 0.209.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-RATCBAZE.js → chunk-2AV3IIW5.js} +2 -2
- package/dist/chunk-2AV3IIW5.js.map +1 -0
- package/dist/{chunk-LPWARXI3.js → chunk-2DRHPFKM.js} +2 -2
- package/dist/{chunk-TVN2TB6X.js → chunk-UC4MQ5FP.js} +2 -2
- package/dist/{client-aETS93z1.d.cts → client-CRY4aeRv.d.cts} +1 -1
- package/dist/{client-BzJwq-hg.d.ts → client-Cvl0bF5y.d.ts} +1 -1
- package/dist/codec/index.js +2 -2
- package/dist/{transport-CxjUaGhi.d.cts → common-MmS1PQN7.d.cts} +232 -232
- package/dist/{transport-DwEB67zY.d.ts → common-yodP-WNy.d.ts} +232 -232
- package/dist/{connection-hUWlS-hg.d.cts → connection-BVE0wfE7.d.cts} +1 -1
- package/dist/{connection-b1wd5XrC.d.ts → connection-BphUYGjL.d.ts} +1 -1
- package/dist/router/index.cjs +1 -1
- 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 +1 -1
- package/dist/{server-BBgDVOzk.d.cts → server-BKZTIlAc.d.cts} +1 -1
- package/dist/{server-DZ0Yzmpf.d.ts → server-hDGOXIRA.d.ts} +1 -1
- package/dist/{services-DC_uol9A.d.cts → services-9I3wdkpy.d.cts} +3 -3
- package/dist/{services-DBvjc-Mq.d.ts → services-BFGny14R.d.ts} +3 -3
- package/dist/testUtil/index.cjs +1 -1
- package/dist/testUtil/index.cjs.map +1 -1
- package/dist/testUtil/index.d.cts +4 -4
- package/dist/testUtil/index.d.ts +4 -4
- package/dist/testUtil/index.js +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/package.json +1 -1
- package/dist/chunk-RATCBAZE.js.map +0 -1
- /package/dist/{chunk-LPWARXI3.js.map → chunk-2DRHPFKM.js.map} +0 -0
- /package/dist/{chunk-TVN2TB6X.js.map → chunk-UC4MQ5FP.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, P as ProcedureHandlerContext, a as PayloadType, I as InstantiatedServiceSchemaMap, b as AnyProcedure } from '../services-
|
|
2
|
-
export { F as BaseErrorSchemaType, D as CANCEL_CODE, H as Client, J as Err, L as ErrResult, C as INVALID_REQUEST_CODE, O as Ok, M as OkResult, h as ProcErrors, d as ProcHandler, e as ProcInit, f as ProcRequest, g as ProcResponse, i as ProcType, w as Procedure, x as ProcedureErrorSchemaType, r as ProcedureMap, R as RPCProcedure, v as Readable, E as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, m as SerializedProcedureSchema, q as SerializedProcedureSchemaProtocolv1, k as SerializedServerSchema, o as SerializedServerSchemaProtocolv1, l as SerializedServiceSchema, p as SerializedServiceSchemaProtocolv1, S as Service, c as ServiceConfiguration, u as StreamProcedure, t as SubscriptionProcedure, z as UNCAUGHT_ERROR_CODE, B as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, G as createClient, j as createServiceSchema, y as flattenErrorType, s as serializeSchema, n as serializeSchemaV1Compat } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, P as ProcedureHandlerContext, a as PayloadType, I as InstantiatedServiceSchemaMap, b as AnyProcedure } from '../services-9I3wdkpy.cjs';
|
|
2
|
+
export { F as BaseErrorSchemaType, D as CANCEL_CODE, H as Client, J as Err, L as ErrResult, C as INVALID_REQUEST_CODE, O as Ok, M as OkResult, h as ProcErrors, d as ProcHandler, e as ProcInit, f as ProcRequest, g as ProcResponse, i as ProcType, w as Procedure, x as ProcedureErrorSchemaType, r as ProcedureMap, R as RPCProcedure, v as Readable, E as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, m as SerializedProcedureSchema, q as SerializedProcedureSchemaProtocolv1, k as SerializedServerSchema, o as SerializedServerSchemaProtocolv1, l as SerializedServiceSchema, p as SerializedServiceSchemaProtocolv1, S as Service, c as ServiceConfiguration, u as StreamProcedure, t as SubscriptionProcedure, z as UNCAUGHT_ERROR_CODE, B as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, G as createClient, j as createServiceSchema, y as flattenErrorType, s as serializeSchema, n as serializeSchemaV1Compat } from '../services-9I3wdkpy.cjs';
|
|
3
3
|
import { TSchema, Static } from '@sinclair/typebox';
|
|
4
4
|
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-Dlsh5WDF.cjs';
|
|
5
|
-
import { C as Connection, q as ServerHandshakeOptions } from '../
|
|
6
|
-
export { r as createClientHandshakeOptions, s as createServerHandshakeOptions } from '../
|
|
7
|
-
import { S as ServerTransport } from '../server-
|
|
5
|
+
import { C as Connection, q as ServerHandshakeOptions } from '../common-MmS1PQN7.cjs';
|
|
6
|
+
export { r as createClientHandshakeOptions, s as createServerHandshakeOptions } from '../common-MmS1PQN7.cjs';
|
|
7
|
+
import { S as ServerTransport } from '../server-BKZTIlAc.cjs';
|
|
8
8
|
import '@opentelemetry/api';
|
|
9
|
-
import '../client-
|
|
9
|
+
import '../client-CRY4aeRv.cjs';
|
|
10
10
|
import '../index-D9R6UTMl.cjs';
|
|
11
11
|
import '../adapter-DjiEwOYi.cjs';
|
|
12
12
|
|
|
@@ -74,6 +74,6 @@ declare function createServer<Context extends object, MetadataSchema extends TSc
|
|
|
74
74
|
middlewares?: Array<Middleware>;
|
|
75
75
|
}>): Server<Context, ParsedMetadata, Services>;
|
|
76
76
|
|
|
77
|
-
var version = "0.209.
|
|
77
|
+
var version = "0.209.1";
|
|
78
78
|
|
|
79
79
|
export { type Middleware, type MiddlewareContext, type MiddlewareParam, PayloadType, ProcedureHandlerContext, version as RIVER_VERSION, type Server, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, P as ProcedureHandlerContext, a as PayloadType, I as InstantiatedServiceSchemaMap, b as AnyProcedure } from '../services-
|
|
2
|
-
export { F as BaseErrorSchemaType, D as CANCEL_CODE, H as Client, J as Err, L as ErrResult, C as INVALID_REQUEST_CODE, O as Ok, M as OkResult, h as ProcErrors, d as ProcHandler, e as ProcInit, f as ProcRequest, g as ProcResponse, i as ProcType, w as Procedure, x as ProcedureErrorSchemaType, r as ProcedureMap, R as RPCProcedure, v as Readable, E as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, m as SerializedProcedureSchema, q as SerializedProcedureSchemaProtocolv1, k as SerializedServerSchema, o as SerializedServerSchemaProtocolv1, l as SerializedServiceSchema, p as SerializedServiceSchemaProtocolv1, S as Service, c as ServiceConfiguration, u as StreamProcedure, t as SubscriptionProcedure, z as UNCAUGHT_ERROR_CODE, B as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, G as createClient, j as createServiceSchema, y as flattenErrorType, s as serializeSchema, n as serializeSchemaV1Compat } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, P as ProcedureHandlerContext, a as PayloadType, I as InstantiatedServiceSchemaMap, b as AnyProcedure } from '../services-BFGny14R.js';
|
|
2
|
+
export { F as BaseErrorSchemaType, D as CANCEL_CODE, H as Client, J as Err, L as ErrResult, C as INVALID_REQUEST_CODE, O as Ok, M as OkResult, h as ProcErrors, d as ProcHandler, e as ProcInit, f as ProcRequest, g as ProcResponse, i as ProcType, w as Procedure, x as ProcedureErrorSchemaType, r as ProcedureMap, R as RPCProcedure, v as Readable, E as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, m as SerializedProcedureSchema, q as SerializedProcedureSchemaProtocolv1, k as SerializedServerSchema, o as SerializedServerSchemaProtocolv1, l as SerializedServiceSchema, p as SerializedServiceSchemaProtocolv1, S as Service, c as ServiceConfiguration, u as StreamProcedure, t as SubscriptionProcedure, z as UNCAUGHT_ERROR_CODE, B as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, G as createClient, j as createServiceSchema, y as flattenErrorType, s as serializeSchema, n as serializeSchemaV1Compat } from '../services-BFGny14R.js';
|
|
3
3
|
import { TSchema, Static } from '@sinclair/typebox';
|
|
4
4
|
import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-Dlsh5WDF.js';
|
|
5
|
-
import { C as Connection, q as ServerHandshakeOptions } from '../
|
|
6
|
-
export { r as createClientHandshakeOptions, s as createServerHandshakeOptions } from '../
|
|
7
|
-
import { S as ServerTransport } from '../server-
|
|
5
|
+
import { C as Connection, q as ServerHandshakeOptions } from '../common-yodP-WNy.js';
|
|
6
|
+
export { r as createClientHandshakeOptions, s as createServerHandshakeOptions } from '../common-yodP-WNy.js';
|
|
7
|
+
import { S as ServerTransport } from '../server-hDGOXIRA.js';
|
|
8
8
|
import '@opentelemetry/api';
|
|
9
|
-
import '../client-
|
|
9
|
+
import '../client-Cvl0bF5y.js';
|
|
10
10
|
import '../index-CSM8soK7.js';
|
|
11
11
|
import '../adapter-Cp7_gIVA.js';
|
|
12
12
|
|
|
@@ -74,6 +74,6 @@ declare function createServer<Context extends object, MetadataSchema extends TSc
|
|
|
74
74
|
middlewares?: Array<Middleware>;
|
|
75
75
|
}>): Server<Context, ParsedMetadata, Services>;
|
|
76
76
|
|
|
77
|
-
var version = "0.209.
|
|
77
|
+
var version = "0.209.1";
|
|
78
78
|
|
|
79
79
|
export { type Middleware, type MiddlewareContext, type MiddlewareParam, PayloadType, ProcedureHandlerContext, version as RIVER_VERSION, type Server, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Connection, t as CommonSession, d as SessionState, u as CommonSessionProps, T as Transport, v as ServerTransportOptions, q as ServerHandshakeOptions, w as ServerSession, c as ProvidedServerTransportOptions, D as DeleteSessionOptions } from './
|
|
1
|
+
import { C as Connection, t as CommonSession, d as SessionState, u as CommonSessionProps, T as Transport, v as ServerTransportOptions, q as ServerHandshakeOptions, w as ServerSession, c as ProvidedServerTransportOptions, D as DeleteSessionOptions } from './common-MmS1PQN7.cjs';
|
|
2
2
|
import { b as OpaqueTransportMessage, H as HandshakeErrorResponseCodes, P as ProtocolVersion, a as TransportMessage, c as TransportClientId } from './message-Dlsh5WDF.cjs';
|
|
3
3
|
import { Static, TSchema } from '@sinclair/typebox';
|
|
4
4
|
import { T as Tags } from './index-D9R6UTMl.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Connection, t as CommonSession, d as SessionState, u as CommonSessionProps, T as Transport, v as ServerTransportOptions, q as ServerHandshakeOptions, w as ServerSession, c as ProvidedServerTransportOptions, D as DeleteSessionOptions } from './
|
|
1
|
+
import { C as Connection, t as CommonSession, d as SessionState, u as CommonSessionProps, T as Transport, v as ServerTransportOptions, q as ServerHandshakeOptions, w as ServerSession, c as ProvidedServerTransportOptions, D as DeleteSessionOptions } from './common-yodP-WNy.js';
|
|
2
2
|
import { b as OpaqueTransportMessage, H as HandshakeErrorResponseCodes, P as ProtocolVersion, a as TransportMessage, c as TransportClientId } from './message-Dlsh5WDF.js';
|
|
3
3
|
import { Static, TSchema } from '@sinclair/typebox';
|
|
4
4
|
import { T as Tags } from './index-CSM8soK7.js';
|
|
@@ -2,8 +2,8 @@ import * as _sinclair_typebox from '@sinclair/typebox';
|
|
|
2
2
|
import { TNever, TObject, TLiteral, TString, TSchema, TUnion, Static } from '@sinclair/typebox';
|
|
3
3
|
import { Span } from '@opentelemetry/api';
|
|
4
4
|
import { c as TransportClientId } from './message-Dlsh5WDF.cjs';
|
|
5
|
-
import { C as Connection, n as ClientHandshakeOptions, z as SessionId } from './
|
|
6
|
-
import { C as ClientTransport } from './client-
|
|
5
|
+
import { C as Connection, n as ClientHandshakeOptions, z as SessionId } from './common-MmS1PQN7.cjs';
|
|
6
|
+
import { C as ClientTransport } from './client-CRY4aeRv.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* {@link UNCAUGHT_ERROR_CODE} is the code that is used when an error is thrown
|
|
@@ -813,7 +813,7 @@ declare function createServiceSchema<Context extends object = object, ParsedMeta
|
|
|
813
813
|
* Depending on your preferences, this may be a more appealing way to define
|
|
814
814
|
* a schema versus using the {@link ServiceSchema.define} method.
|
|
815
815
|
*/
|
|
816
|
-
scaffold<State_1 extends object>(config: ServiceConfiguration<Context, State_1>): ServiceScaffold<Context, State_1,
|
|
816
|
+
scaffold<State_1 extends object>(config: ServiceConfiguration<Context, State_1>): ServiceScaffold<Context, State_1, ParsedMetadata>;
|
|
817
817
|
/**
|
|
818
818
|
* Creates a new {@link ServiceSchema} with the given configuration and procedures.
|
|
819
819
|
*
|
|
@@ -2,8 +2,8 @@ import * as _sinclair_typebox from '@sinclair/typebox';
|
|
|
2
2
|
import { TNever, TObject, TLiteral, TString, TSchema, TUnion, Static } from '@sinclair/typebox';
|
|
3
3
|
import { Span } from '@opentelemetry/api';
|
|
4
4
|
import { c as TransportClientId } from './message-Dlsh5WDF.js';
|
|
5
|
-
import { C as Connection, n as ClientHandshakeOptions, z as SessionId } from './
|
|
6
|
-
import { C as ClientTransport } from './client-
|
|
5
|
+
import { C as Connection, n as ClientHandshakeOptions, z as SessionId } from './common-yodP-WNy.js';
|
|
6
|
+
import { C as ClientTransport } from './client-Cvl0bF5y.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* {@link UNCAUGHT_ERROR_CODE} is the code that is used when an error is thrown
|
|
@@ -813,7 +813,7 @@ declare function createServiceSchema<Context extends object = object, ParsedMeta
|
|
|
813
813
|
* Depending on your preferences, this may be a more appealing way to define
|
|
814
814
|
* a schema versus using the {@link ServiceSchema.define} method.
|
|
815
815
|
*/
|
|
816
|
-
scaffold<State_1 extends object>(config: ServiceConfiguration<Context, State_1>): ServiceScaffold<Context, State_1,
|
|
816
|
+
scaffold<State_1 extends object>(config: ServiceConfiguration<Context, State_1>): ServiceScaffold<Context, State_1, ParsedMetadata>;
|
|
817
817
|
/**
|
|
818
818
|
* Creates a new {@link ServiceSchema} with the given configuration and procedures.
|
|
819
819
|
*
|