@replit/river 0.23.5 → 0.23.7
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 +10 -3
- package/dist/{chunk-42ON4GTR.js → chunk-2KC75LS4.js} +2 -2
- package/dist/{chunk-SPP7ACQN.js → chunk-6LCL2ZZF.js} +18 -32
- package/dist/chunk-6LCL2ZZF.js.map +1 -0
- package/dist/{chunk-JJWZ5EHY.js → chunk-M3TGXFWT.js} +33 -31
- package/dist/chunk-M3TGXFWT.js.map +1 -0
- package/dist/{chunk-6GPJFN7T.js → chunk-MFF6IPBA.js} +24 -11
- package/dist/{chunk-6GPJFN7T.js.map → chunk-MFF6IPBA.js.map} +1 -1
- package/dist/{chunk-DZLXTSL5.js → chunk-RLVU5DRX.js} +2 -2
- package/dist/{chunk-N7OICPYR.js → chunk-XYFXRL7Q.js} +165 -101
- package/dist/chunk-XYFXRL7Q.js.map +1 -0
- package/dist/{connection-e257f6b7.d.ts → connection-6ce35bd5.d.ts} +1 -1
- package/dist/{connection-5331d77f.d.ts → connection-a3fdfa3a.d.ts} +1 -1
- package/dist/{index-926aea33.d.ts → index-60f03cb7.d.ts} +5 -2
- package/dist/logging/index.cjs +6 -73
- 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 -3
- package/dist/router/index.cjs +47 -33
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +6 -6
- package/dist/router/index.d.ts +6 -6
- package/dist/router/index.js +2 -3
- package/dist/{services-3f99f5d2.d.ts → services-fd8a9894.d.ts} +2 -2
- package/dist/transport/impls/uds/client.cjs +195 -81
- package/dist/transport/impls/uds/client.cjs.map +1 -1
- package/dist/transport/impls/uds/client.d.cts +3 -3
- package/dist/transport/impls/uds/client.d.ts +3 -3
- package/dist/transport/impls/uds/client.js +5 -7
- package/dist/transport/impls/uds/client.js.map +1 -1
- package/dist/transport/impls/uds/server.cjs +170 -73
- package/dist/transport/impls/uds/server.cjs.map +1 -1
- package/dist/transport/impls/uds/server.d.cts +3 -3
- package/dist/transport/impls/uds/server.d.ts +3 -3
- package/dist/transport/impls/uds/server.js +4 -4
- package/dist/transport/impls/ws/client.cjs +194 -80
- 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 +6 -8
- package/dist/transport/impls/ws/client.js.map +1 -1
- package/dist/transport/impls/ws/server.cjs +170 -73
- 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 +4 -4
- package/dist/transport/index.cjs +219 -105
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +2 -2
- package/dist/transport/index.d.ts +2 -2
- package/dist/transport/index.js +3 -3
- package/dist/{transport-cbe70659.d.ts → transport-3d34f714.d.ts} +11 -6
- package/dist/util/testHelpers.cjs +27 -18
- package/dist/util/testHelpers.cjs.map +1 -1
- package/dist/util/testHelpers.d.cts +5 -4
- package/dist/util/testHelpers.d.ts +5 -4
- package/dist/util/testHelpers.js +5 -4
- package/dist/util/testHelpers.js.map +1 -1
- package/package.json +5 -3
- package/dist/chunk-JJWZ5EHY.js.map +0 -1
- package/dist/chunk-N7OICPYR.js.map +0 -1
- package/dist/chunk-SPP7ACQN.js.map +0 -1
- /package/dist/{chunk-42ON4GTR.js.map → chunk-2KC75LS4.js.map} +0 -0
- /package/dist/{chunk-DZLXTSL5.js.map → chunk-RLVU5DRX.js.map} +0 -0
package/dist/router/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-fd8a9894.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-fd8a9894.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
|
-
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions,
|
|
5
|
-
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo, j as createClientHandshakeOptions, k as createServerHandshakeOptions } from '../transport-
|
|
4
|
+
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions, b as ServiceContext } from '../transport-3d34f714.js';
|
|
5
|
+
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo, j as createClientHandshakeOptions, k as createServerHandshakeOptions } from '../transport-3d34f714.js';
|
|
6
6
|
import { Pushable } from 'it-pushable';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-60f03cb7.js';
|
|
8
8
|
import '@sinclair/typebox/value';
|
|
9
9
|
import '@opentelemetry/api';
|
|
10
10
|
import '../types-3e5768ec.js';
|
|
@@ -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.7";
|
|
47
47
|
|
|
48
48
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-fd8a9894.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-fd8a9894.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
|
-
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions,
|
|
5
|
-
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo, j as createClientHandshakeOptions, k as createServerHandshakeOptions } from '../transport-
|
|
4
|
+
import { d as ServerTransport, C as Connection, f as ServerHandshakeOptions, b as ServiceContext } from '../transport-3d34f714.js';
|
|
5
|
+
export { g as ParsedMetadata, h as ServiceContextWithState, i as ServiceContextWithTransportInfo, j as createClientHandshakeOptions, k as createServerHandshakeOptions } from '../transport-3d34f714.js';
|
|
6
6
|
import { Pushable } from 'it-pushable';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-60f03cb7.js';
|
|
8
8
|
import '@sinclair/typebox/value';
|
|
9
9
|
import '@opentelemetry/api';
|
|
10
10
|
import '../types-3e5768ec.js';
|
|
@@ -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.7";
|
|
47
47
|
|
|
48
48
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -10,11 +10,10 @@ import {
|
|
|
10
10
|
createServer,
|
|
11
11
|
createServerHandshakeOptions,
|
|
12
12
|
serializeSchema
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-M3TGXFWT.js";
|
|
14
14
|
import {
|
|
15
15
|
version
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-SPP7ACQN.js";
|
|
16
|
+
} from "../chunk-MFF6IPBA.js";
|
|
18
17
|
export {
|
|
19
18
|
Err,
|
|
20
19
|
Ok,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
|
|
2
|
-
import { c as ClientTransport, C as Connection, l as ClientHandshakeOptions, i as ServiceContextWithTransportInfo } from './transport-
|
|
2
|
+
import { c as ClientTransport, C as Connection, l as ClientHandshakeOptions, i as ServiceContextWithTransportInfo } from './transport-3d34f714.js';
|
|
3
3
|
import { Pushable } from 'it-pushable';
|
|
4
|
-
import { T as TransportClientId } from './index-
|
|
4
|
+
import { T as TransportClientId } from './index-60f03cb7.js';
|
|
5
5
|
|
|
6
6
|
type AsyncIter<T> = AsyncGenerator<T, T>;
|
|
7
7
|
/**
|