@replit/river 0.23.3 → 0.23.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/README.md +48 -0
- package/dist/{chunk-IKT6A32W.js → chunk-BHNINW7F.js} +2 -2
- package/dist/chunk-BHNINW7F.js.map +1 -0
- package/dist/{chunk-XZV3HOQW.js → chunk-CHOAXTQF.js} +2 -2
- package/dist/chunk-CHOAXTQF.js.map +1 -0
- package/dist/{chunk-3U43VMW2.js → chunk-PTX6DT5G.js} +2 -2
- package/dist/{chunk-R3EG3FOP.js → chunk-RWYW2BES.js} +2 -2
- package/dist/{chunk-JBRQNEBV.js → chunk-WTJY7S3D.js} +2 -2
- package/dist/chunk-WTJY7S3D.js.map +1 -0
- package/dist/{connection-89a66019.d.ts → connection-36e8bb12.d.ts} +1 -1
- package/dist/{connection-4abad643.d.ts → connection-a5bc5e9f.d.ts} +1 -1
- package/dist/index-926aea33.d.ts +133 -0
- package/dist/logging/index.d.cts +1 -2
- package/dist/logging/index.d.ts +1 -2
- 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 +2 -2
- package/dist/{services-ef89f5b0.d.ts → services-da250ed2.d.ts} +2 -2
- package/dist/transport/impls/uds/client.cjs +1 -1
- package/dist/transport/impls/uds/client.cjs.map +1 -1
- package/dist/transport/impls/uds/client.d.cts +4 -4
- package/dist/transport/impls/uds/client.d.ts +4 -4
- package/dist/transport/impls/uds/client.js +3 -3
- package/dist/transport/impls/uds/server.cjs +1 -1
- package/dist/transport/impls/uds/server.cjs.map +1 -1
- package/dist/transport/impls/uds/server.d.cts +4 -4
- package/dist/transport/impls/uds/server.d.ts +4 -4
- package/dist/transport/impls/uds/server.js +3 -3
- 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 +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 -307
- package/dist/transport/index.d.ts +4 -307
- package/dist/transport/index.js +2 -2
- package/dist/transport-4a5e288a.d.ts +535 -0
- package/dist/util/testHelpers.cjs +1 -1
- package/dist/util/testHelpers.cjs.map +1 -1
- package/dist/util/testHelpers.d.cts +3 -3
- package/dist/util/testHelpers.d.ts +3 -3
- package/dist/util/testHelpers.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-IKT6A32W.js.map +0 -1
- package/dist/chunk-JBRQNEBV.js.map +0 -1
- package/dist/chunk-XZV3HOQW.js.map +0 -1
- package/dist/index-a009d7f6.d.ts +0 -360
- package/dist/services-edc3b16d.d.ts +0 -707
- /package/dist/{chunk-3U43VMW2.js.map → chunk-PTX6DT5G.js.map} +0 -0
- /package/dist/{chunk-R3EG3FOP.js.map → chunk-RWYW2BES.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-
|
|
2
|
-
export { C as Client, E as Err, O as Ok, x as Output, j as ProcErrors, f as ProcHandler, g as ProcInit, h as ProcInput, i as ProcOutput, k as ProcType, a as Procedure, n as ProcedureMap, d as ProcedureResult, o as RPCProcedure, w as ResultUnwrapErr, v as ResultUnwrapOk, u as RiverErrorSchema, c as RiverUncaughtSchema, m as SerializedServerSchema, S as Service, e as ServiceConfiguration, l as ServiceSchema, q as StreamProcedure, p as SubscriptionProcedure, t as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, r as createClient, s as serializeSchema } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-da250ed2.js';
|
|
2
|
+
export { C as Client, E as Err, O as Ok, x as Output, j as ProcErrors, f as ProcHandler, g as ProcInit, h as ProcInput, i as ProcOutput, k as ProcType, a as Procedure, n as ProcedureMap, d as ProcedureResult, o as RPCProcedure, w as ResultUnwrapErr, v as ResultUnwrapOk, u as RiverErrorSchema, c as RiverUncaughtSchema, m as SerializedServerSchema, S as Service, e as ServiceConfiguration, l as ServiceSchema, q as StreamProcedure, p as SubscriptionProcedure, t as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, r as createClient, s as serializeSchema } from '../services-da250ed2.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
|
-
import { ServerTransport } from '../transport
|
|
4
|
+
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions, a as ServiceContext } from '../transport-4a5e288a.js';
|
|
5
|
+
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo } from '../transport-4a5e288a.js';
|
|
5
6
|
import { Pushable } from 'it-pushable';
|
|
6
|
-
import
|
|
7
|
-
export { d as ParsedMetadata, e as ServiceContextWithState, f as ServiceContextWithTransportInfo } from '../index-a009d7f6.js';
|
|
8
|
-
import '../types-3e5768ec.js';
|
|
7
|
+
import '../index-926aea33.js';
|
|
9
8
|
import '@sinclair/typebox/value';
|
|
10
9
|
import '@opentelemetry/api';
|
|
10
|
+
import '../types-3e5768ec.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents a server with a set of services. Use {@link createServer} to create it.
|
|
@@ -43,6 +43,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
43
43
|
extendedContext?: Omit<ServiceContext, 'state'>;
|
|
44
44
|
}>): Server<Services>;
|
|
45
45
|
|
|
46
|
-
var version = "0.23.
|
|
46
|
+
var version = "0.23.4";
|
|
47
47
|
|
|
48
48
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-
|
|
2
|
-
export { C as Client, E as Err, O as Ok, x as Output, j as ProcErrors, f as ProcHandler, g as ProcInit, h as ProcInput, i as ProcOutput, k as ProcType, a as Procedure, n as ProcedureMap, d as ProcedureResult, o as RPCProcedure, w as ResultUnwrapErr, v as ResultUnwrapOk, u as RiverErrorSchema, c as RiverUncaughtSchema, m as SerializedServerSchema, S as Service, e as ServiceConfiguration, l as ServiceSchema, q as StreamProcedure, p as SubscriptionProcedure, t as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, r as createClient, s as serializeSchema } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-da250ed2.js';
|
|
2
|
+
export { C as Client, E as Err, O as Ok, x as Output, j as ProcErrors, f as ProcHandler, g as ProcInit, h as ProcInput, i as ProcOutput, k as ProcType, a as Procedure, n as ProcedureMap, d as ProcedureResult, o as RPCProcedure, w as ResultUnwrapErr, v as ResultUnwrapOk, u as RiverErrorSchema, c as RiverUncaughtSchema, m as SerializedServerSchema, S as Service, e as ServiceConfiguration, l as ServiceSchema, q as StreamProcedure, p as SubscriptionProcedure, t as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, r as createClient, s as serializeSchema } from '../services-da250ed2.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
|
-
import { ServerTransport } from '../transport
|
|
4
|
+
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions, a as ServiceContext } from '../transport-4a5e288a.js';
|
|
5
|
+
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo } from '../transport-4a5e288a.js';
|
|
5
6
|
import { Pushable } from 'it-pushable';
|
|
6
|
-
import
|
|
7
|
-
export { d as ParsedMetadata, e as ServiceContextWithState, f as ServiceContextWithTransportInfo } from '../index-a009d7f6.js';
|
|
8
|
-
import '../types-3e5768ec.js';
|
|
7
|
+
import '../index-926aea33.js';
|
|
9
8
|
import '@sinclair/typebox/value';
|
|
10
9
|
import '@opentelemetry/api';
|
|
10
|
+
import '../types-3e5768ec.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents a server with a set of services. Use {@link createServer} to create it.
|
|
@@ -43,6 +43,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
|
|
|
43
43
|
extendedContext?: Omit<ServiceContext, 'state'>;
|
|
44
44
|
}>): Server<Services>;
|
|
45
45
|
|
|
46
|
-
var version = "0.23.
|
|
46
|
+
var version = "0.23.4";
|
|
47
47
|
|
|
48
48
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
createClient,
|
|
9
9
|
createServer,
|
|
10
10
|
serializeSchema
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-WTJY7S3D.js";
|
|
12
12
|
import {
|
|
13
13
|
version
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-CHOAXTQF.js";
|
|
15
15
|
import "../chunk-SPP7ACQN.js";
|
|
16
16
|
export {
|
|
17
17
|
Err,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
|
|
2
|
-
import { ClientTransport } from './transport
|
|
2
|
+
import { c as ClientTransport, C as Connection, j as ClientHandshakeOptions, i as ServiceContextWithTransportInfo } from './transport-4a5e288a.js';
|
|
3
3
|
import { Pushable } from 'it-pushable';
|
|
4
|
-
import {
|
|
4
|
+
import { T as TransportClientId } from './index-926aea33.js';
|
|
5
5
|
|
|
6
6
|
type AsyncIter<T> = AsyncGenerator<T, T>;
|
|
7
7
|
/**
|