@replit/river 0.19.1 → 0.19.2

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.
Files changed (37) hide show
  1. package/dist/{chunk-4PFUC4QB.js → chunk-JH275HID.js} +1 -1
  2. package/dist/{chunk-WER2DWCP.js → chunk-NBE3D667.js} +0 -4
  3. package/dist/{chunk-LO6MRYNI.js → chunk-SR4DBLJ6.js} +2 -2
  4. package/dist/{chunk-FILQOCCK.js → chunk-YFPVQTWL.js} +1 -1
  5. package/dist/{chunk-ZNXZ7QPT.js → chunk-ZWPEZS27.js} +1 -1
  6. package/dist/{connection-d625aa8d.d.ts → connection-aa0ea000.d.ts} +1 -1
  7. package/dist/{connection-ddc757b9.d.ts → connection-cfec12e6.d.ts} +1 -1
  8. package/dist/{index-2941de8c.d.ts → index-e2513701.d.ts} +3 -2
  9. package/dist/logging/index.cjs +0 -4
  10. package/dist/logging/index.d.cts +1 -1
  11. package/dist/logging/index.d.ts +1 -1
  12. package/dist/logging/index.js +1 -1
  13. package/dist/router/index.cjs +1 -1
  14. package/dist/router/index.d.cts +4 -4
  15. package/dist/router/index.d.ts +4 -4
  16. package/dist/router/index.js +2 -2
  17. package/dist/{services-ee45322f.d.ts → services-4bba42d8.d.ts} +1 -1
  18. package/dist/{services-d47ce743.d.ts → services-5fc5712d.d.ts} +1 -1
  19. package/dist/transport/impls/uds/client.d.cts +2 -2
  20. package/dist/transport/impls/uds/client.d.ts +2 -2
  21. package/dist/transport/impls/uds/client.js +3 -3
  22. package/dist/transport/impls/uds/server.d.cts +2 -2
  23. package/dist/transport/impls/uds/server.d.ts +2 -2
  24. package/dist/transport/impls/uds/server.js +3 -3
  25. package/dist/transport/impls/ws/client.d.cts +2 -2
  26. package/dist/transport/impls/ws/client.d.ts +2 -2
  27. package/dist/transport/impls/ws/client.js +3 -3
  28. package/dist/transport/impls/ws/server.d.cts +2 -2
  29. package/dist/transport/impls/ws/server.d.ts +2 -2
  30. package/dist/transport/impls/ws/server.js +3 -3
  31. package/dist/transport/index.d.cts +2 -2
  32. package/dist/transport/index.d.ts +2 -2
  33. package/dist/transport/index.js +2 -2
  34. package/dist/util/testHelpers.d.cts +2 -2
  35. package/dist/util/testHelpers.d.ts +2 -2
  36. package/dist/util/testHelpers.js +3 -3
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-FILQOCCK.js";
3
+ } from "./chunk-YFPVQTWL.js";
4
4
 
5
5
  // transport/impls/ws/connection.ts
6
6
  var WebSocketConnection = class extends Connection {
@@ -51,10 +51,6 @@ var jsonLogger = (msg, ctx, level) => {
51
51
  };
52
52
  var log = void 0;
53
53
  function bindLogger(fn, level) {
54
- if (!fn) {
55
- log = void 0;
56
- return;
57
- }
58
54
  if (typeof fn === "function") {
59
55
  log = new BaseLogger(fn, level);
60
56
  return log;
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-D5PVGZPQ.js";
7
7
  import {
8
8
  log
9
- } from "./chunk-WER2DWCP.js";
9
+ } from "./chunk-NBE3D667.js";
10
10
 
11
11
  // router/services.ts
12
12
  import { Type } from "@sinclair/typebox";
@@ -1255,7 +1255,7 @@ function createServer(transport, services, extendedContext) {
1255
1255
  }
1256
1256
 
1257
1257
  // package.json
1258
- var version = "0.19.1";
1258
+ var version = "0.19.2";
1259
1259
 
1260
1260
  export {
1261
1261
  serializeSchema,
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-D5PVGZPQ.js";
11
11
  import {
12
12
  log
13
- } from "./chunk-WER2DWCP.js";
13
+ } from "./chunk-NBE3D667.js";
14
14
  import {
15
15
  NaiveJsonCodec
16
16
  } from "./chunk-GZ7HCLLM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-FILQOCCK.js";
3
+ } from "./chunk-YFPVQTWL.js";
4
4
 
5
5
  // transport/transforms/messageFraming.ts
6
6
  import { Transform } from "node:stream";
@@ -1,5 +1,5 @@
1
1
  import WebSocket from 'isomorphic-ws';
2
- import { C as Connection } from './index-2941de8c.js';
2
+ import { C as Connection } from './index-e2513701.js';
3
3
 
4
4
  declare class WebSocketConnection extends Connection {
5
5
  ws: WebSocket;
@@ -1,4 +1,4 @@
1
- import { C as Connection } from './index-2941de8c.js';
1
+ import { C as Connection } from './index-e2513701.js';
2
2
  import { Socket } from 'node:net';
3
3
  import stream, { Transform, TransformCallback, TransformOptions } from 'node:stream';
4
4
 
@@ -11,7 +11,7 @@ declare const LoggingLevels: {
11
11
  type LoggingLevel = keyof typeof LoggingLevels;
12
12
  type LogFn = (msg: string, ctx?: MessageMetadata, level?: LoggingLevel) => void;
13
13
  type Logger = {
14
- [key in LoggingLevel]: LogFn;
14
+ [key in LoggingLevel]: (msg: string, metadata?: MessageMetadata) => void;
15
15
  };
16
16
  type MessageMetadata = Record<string, unknown> & Partial<{
17
17
  protocolVersion: string;
@@ -25,7 +25,8 @@ type MessageMetadata = Record<string, unknown> & Partial<{
25
25
  declare const stringLogger: LogFn;
26
26
  declare const coloredStringLogger: LogFn;
27
27
  declare const jsonLogger: LogFn;
28
- declare function bindLogger(fn: LogFn | Logger | undefined, level?: LoggingLevel): Logger | undefined;
28
+ declare function bindLogger(fn: undefined, level?: LoggingLevel): undefined;
29
+ declare function bindLogger(fn: LogFn | Logger, level?: LoggingLevel): Logger;
29
30
 
30
31
  /**
31
32
  * A connection is the actual raw underlying transport connection.
@@ -80,10 +80,6 @@ var jsonLogger = (msg, ctx, level) => {
80
80
  };
81
81
  var log = void 0;
82
82
  function bindLogger(fn, level) {
83
- if (!fn) {
84
- log = void 0;
85
- return;
86
- }
87
83
  if (typeof fn === "function") {
88
84
  log = new BaseLogger(fn, level);
89
85
  return log;
@@ -1,3 +1,3 @@
1
- export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-2941de8c.js';
1
+ export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-e2513701.js';
2
2
  import '@sinclair/typebox';
3
3
  import '../types-3e5768ec.js';
@@ -1,3 +1,3 @@
1
- export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-2941de8c.js';
1
+ export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-e2513701.js';
2
2
  import '@sinclair/typebox';
3
3
  import '../types-3e5768ec.js';
@@ -3,7 +3,7 @@ import {
3
3
  coloredStringLogger,
4
4
  jsonLogger,
5
5
  stringLogger
6
- } from "../chunk-WER2DWCP.js";
6
+ } from "../chunk-NBE3D667.js";
7
7
  export {
8
8
  bindLogger,
9
9
  coloredStringLogger,
@@ -1353,7 +1353,7 @@ function createServer(transport, services, extendedContext) {
1353
1353
  }
1354
1354
 
1355
1355
  // package.json
1356
- var version = "0.19.1";
1356
+ var version = "0.19.2";
1357
1357
  // Annotate the CommonJS export names for ESM import in node:
1358
1358
  0 && (module.exports = {
1359
1359
  Err,
@@ -1,9 +1,9 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-ee45322f.js';
2
- export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-ee45322f.js';
1
+ import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-4bba42d8.js';
2
+ export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-4bba42d8.js';
3
3
  import { Static } from '@sinclair/typebox';
4
4
  import { ServerTransport } from '../transport/index.cjs';
5
5
  import { Pushable } from 'it-pushable';
6
- import { C as Connection } from '../index-2941de8c.js';
6
+ import { C as Connection } from '../index-e2513701.js';
7
7
  import '../types-3e5768ec.js';
8
8
 
9
9
  /**
@@ -36,6 +36,6 @@ interface ProcStream {
36
36
  */
37
37
  declare function createServer<Services extends AnyServiceSchemaMap>(transport: ServerTransport<Connection>, services: Services, extendedContext?: Omit<ServiceContext, 'state'>): Server<Services>;
38
38
 
39
- var version = "0.19.1";
39
+ var version = "0.19.2";
40
40
 
41
41
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -1,9 +1,9 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-d47ce743.js';
2
- export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-d47ce743.js';
1
+ import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-5fc5712d.js';
2
+ export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-5fc5712d.js';
3
3
  import { Static } from '@sinclair/typebox';
4
4
  import { ServerTransport } from '../transport/index.js';
5
5
  import { Pushable } from 'it-pushable';
6
- import { C as Connection } from '../index-2941de8c.js';
6
+ import { C as Connection } from '../index-e2513701.js';
7
7
  import '../types-3e5768ec.js';
8
8
 
9
9
  /**
@@ -36,6 +36,6 @@ interface ProcStream {
36
36
  */
37
37
  declare function createServer<Services extends AnyServiceSchemaMap>(transport: ServerTransport<Connection>, services: Services, extendedContext?: Omit<ServiceContext, 'state'>): Server<Services>;
38
38
 
39
- var version = "0.19.1";
39
+ var version = "0.19.2";
40
40
 
41
41
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -9,9 +9,9 @@ import {
9
9
  createServer,
10
10
  serializeSchema,
11
11
  version
12
- } from "../chunk-LO6MRYNI.js";
12
+ } from "../chunk-SR4DBLJ6.js";
13
13
  import "../chunk-D5PVGZPQ.js";
14
- import "../chunk-WER2DWCP.js";
14
+ import "../chunk-NBE3D667.js";
15
15
  export {
16
16
  Err,
17
17
  Ok,
@@ -1,7 +1,7 @@
1
1
  import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
2
2
  import { ClientTransport } from './transport/index.cjs';
3
3
  import { Pushable } from 'it-pushable';
4
- import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-2941de8c.js';
4
+ import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-e2513701.js';
5
5
 
6
6
  type AsyncIter<T> = AsyncGenerator<T, T>;
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
2
2
  import { ClientTransport } from './transport/index.js';
3
3
  import { Pushable } from 'it-pushable';
4
- import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-2941de8c.js';
4
+ import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-e2513701.js';
5
5
 
6
6
  type AsyncIter<T> = AsyncGenerator<T, T>;
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { U as UdsConnection } from '../../../connection-ddc757b9.js';
1
+ import { U as UdsConnection } from '../../../connection-cfec12e6.js';
2
2
  import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.cjs';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
4
  import 'node:net';
5
5
  import 'node:stream';
6
6
  import '../../../types-3e5768ec.js';
@@ -1,6 +1,6 @@
1
- import { U as UdsConnection } from '../../../connection-ddc757b9.js';
1
+ import { U as UdsConnection } from '../../../connection-cfec12e6.js';
2
2
  import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.js';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
4
  import 'node:net';
5
5
  import 'node:stream';
6
6
  import '../../../types-3e5768ec.js';
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  UdsConnection
3
- } from "../../../chunk-ZNXZ7QPT.js";
3
+ } from "../../../chunk-ZWPEZS27.js";
4
4
  import {
5
5
  ClientTransport
6
- } from "../../../chunk-FILQOCCK.js";
6
+ } from "../../../chunk-YFPVQTWL.js";
7
7
  import "../../../chunk-D5PVGZPQ.js";
8
8
  import {
9
9
  log
10
- } from "../../../chunk-WER2DWCP.js";
10
+ } from "../../../chunk-NBE3D667.js";
11
11
  import "../../../chunk-GZ7HCLLM.js";
12
12
 
13
13
  // transport/impls/uds/client.ts
@@ -1,7 +1,7 @@
1
1
  import { Server, Socket } from 'node:net';
2
2
  import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.cjs';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
4
- import { U as UdsConnection } from '../../../connection-ddc757b9.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
+ import { U as UdsConnection } from '../../../connection-cfec12e6.js';
5
5
  import '../../../types-3e5768ec.js';
6
6
  import '@sinclair/typebox';
7
7
  import 'node:stream';
@@ -1,7 +1,7 @@
1
1
  import { Server, Socket } from 'node:net';
2
2
  import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.js';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
4
- import { U as UdsConnection } from '../../../connection-ddc757b9.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
+ import { U as UdsConnection } from '../../../connection-cfec12e6.js';
5
5
  import '../../../types-3e5768ec.js';
6
6
  import '@sinclair/typebox';
7
7
  import 'node:stream';
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  UdsConnection
3
- } from "../../../chunk-ZNXZ7QPT.js";
3
+ } from "../../../chunk-ZWPEZS27.js";
4
4
  import {
5
5
  ServerTransport
6
- } from "../../../chunk-FILQOCCK.js";
6
+ } from "../../../chunk-YFPVQTWL.js";
7
7
  import "../../../chunk-D5PVGZPQ.js";
8
- import "../../../chunk-WER2DWCP.js";
8
+ import "../../../chunk-NBE3D667.js";
9
9
  import "../../../chunk-GZ7HCLLM.js";
10
10
 
11
11
  // transport/impls/uds/server.ts
@@ -1,7 +1,7 @@
1
1
  import WebSocket from 'isomorphic-ws';
2
2
  import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.cjs';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
4
- import { W as WebSocketConnection } from '../../../connection-d625aa8d.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
+ import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
5
5
  import '../../../types-3e5768ec.js';
6
6
  import '@sinclair/typebox';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import WebSocket from 'isomorphic-ws';
2
2
  import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.js';
3
- import { T as TransportClientId } from '../../../index-2941de8c.js';
4
- import { W as WebSocketConnection } from '../../../connection-d625aa8d.js';
3
+ import { T as TransportClientId } from '../../../index-e2513701.js';
4
+ import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
5
5
  import '../../../types-3e5768ec.js';
6
6
  import '@sinclair/typebox';
7
7
 
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  WebSocketConnection
3
- } from "../../../chunk-4PFUC4QB.js";
3
+ } from "../../../chunk-JH275HID.js";
4
4
  import {
5
5
  ClientTransport
6
- } from "../../../chunk-FILQOCCK.js";
6
+ } from "../../../chunk-YFPVQTWL.js";
7
7
  import "../../../chunk-D5PVGZPQ.js";
8
8
  import {
9
9
  log
10
- } from "../../../chunk-WER2DWCP.js";
10
+ } from "../../../chunk-NBE3D667.js";
11
11
  import "../../../chunk-GZ7HCLLM.js";
12
12
 
13
13
  // transport/impls/ws/client.ts
@@ -1,8 +1,8 @@
1
- import { T as TransportClientId } from '../../../index-2941de8c.js';
1
+ import { T as TransportClientId } from '../../../index-e2513701.js';
2
2
  import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.cjs';
3
3
  import { WebSocketServer } from 'ws';
4
4
  import { WebSocket } from 'isomorphic-ws';
5
- import { W as WebSocketConnection } from '../../../connection-d625aa8d.js';
5
+ import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
6
6
  import '@sinclair/typebox';
7
7
  import '../../../types-3e5768ec.js';
8
8
 
@@ -1,8 +1,8 @@
1
- import { T as TransportClientId } from '../../../index-2941de8c.js';
1
+ import { T as TransportClientId } from '../../../index-e2513701.js';
2
2
  import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.js';
3
3
  import { WebSocketServer } from 'ws';
4
4
  import { WebSocket } from 'isomorphic-ws';
5
- import { W as WebSocketConnection } from '../../../connection-d625aa8d.js';
5
+ import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
6
6
  import '@sinclair/typebox';
7
7
  import '../../../types-3e5768ec.js';
8
8
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WebSocketConnection
3
- } from "../../../chunk-4PFUC4QB.js";
3
+ } from "../../../chunk-JH275HID.js";
4
4
  import {
5
5
  ServerTransport
6
- } from "../../../chunk-FILQOCCK.js";
6
+ } from "../../../chunk-YFPVQTWL.js";
7
7
  import "../../../chunk-D5PVGZPQ.js";
8
- import "../../../chunk-WER2DWCP.js";
8
+ import "../../../chunk-NBE3D667.js";
9
9
  import "../../../chunk-GZ7HCLLM.js";
10
10
 
11
11
  // transport/impls/ws/server.ts
@@ -1,6 +1,6 @@
1
1
  import { C as Codec } from '../types-3e5768ec.js';
2
- import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-2941de8c.js';
3
- export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-2941de8c.js';
2
+ import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-e2513701.js';
3
+ export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-e2513701.js';
4
4
  import '@sinclair/typebox';
5
5
 
6
6
  type ConnectionStatus = 'connect' | 'disconnect';
@@ -1,6 +1,6 @@
1
1
  import { C as Codec } from '../types-3e5768ec.js';
2
- import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-2941de8c.js';
3
- export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-2941de8c.js';
2
+ import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-e2513701.js';
3
+ export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-e2513701.js';
4
4
  import '@sinclair/typebox';
5
5
 
6
6
  type ConnectionStatus = 'connect' | 'disconnect';
@@ -5,12 +5,12 @@ import {
5
5
  ServerTransport,
6
6
  Session,
7
7
  Transport
8
- } from "../chunk-FILQOCCK.js";
8
+ } from "../chunk-YFPVQTWL.js";
9
9
  import {
10
10
  OpaqueTransportMessageSchema,
11
11
  TransportMessageSchema
12
12
  } from "../chunk-D5PVGZPQ.js";
13
- import "../chunk-WER2DWCP.js";
13
+ import "../chunk-NBE3D667.js";
14
14
  import "../chunk-GZ7HCLLM.js";
15
15
  export {
16
16
  ClientTransport,
@@ -1,8 +1,8 @@
1
1
  import { Static } from '@sinclair/typebox';
2
- import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-ee45322f.js';
2
+ import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-4bba42d8.js';
3
3
  import { Transport } from '../transport/index.cjs';
4
4
  import * as it_pushable from 'it-pushable';
5
- import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-2941de8c.js';
5
+ import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-e2513701.js';
6
6
  import WebSocket from 'isomorphic-ws';
7
7
  import http from 'node:http';
8
8
  import net from 'node:net';
@@ -1,8 +1,8 @@
1
1
  import { Static } from '@sinclair/typebox';
2
- import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-d47ce743.js';
2
+ import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-5fc5712d.js';
3
3
  import { Transport } from '../transport/index.js';
4
4
  import * as it_pushable from 'it-pushable';
5
- import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-2941de8c.js';
5
+ import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-e2513701.js';
6
6
  import WebSocket from 'isomorphic-ws';
7
7
  import http from 'node:http';
8
8
  import net from 'node:net';
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  UNCAUGHT_ERROR,
3
3
  pushable
4
- } from "../chunk-LO6MRYNI.js";
4
+ } from "../chunk-SR4DBLJ6.js";
5
5
  import {
6
6
  Session,
7
7
  defaultTransportOptions
8
- } from "../chunk-FILQOCCK.js";
8
+ } from "../chunk-YFPVQTWL.js";
9
9
  import {
10
10
  coerceErrorString
11
11
  } from "../chunk-D5PVGZPQ.js";
12
- import "../chunk-WER2DWCP.js";
12
+ import "../chunk-NBE3D667.js";
13
13
  import "../chunk-GZ7HCLLM.js";
14
14
 
15
15
  // util/testHelpers.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@replit/river",
3
3
  "description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
4
- "version": "0.19.1",
4
+ "version": "0.19.2",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {