@replit/river 0.205.1 → 0.206.0

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 (47) hide show
  1. package/dist/{chunk-OVLZDQF4.js → chunk-EMOYAUX3.js} +4 -4
  2. package/dist/{chunk-OVLZDQF4.js.map → chunk-EMOYAUX3.js.map} +1 -1
  3. package/dist/{chunk-3XCLUGDM.js → chunk-FCQWZRES.js} +3 -3
  4. package/dist/{chunk-Y2N4EJYG.js → chunk-JSU537MZ.js} +39 -6
  5. package/dist/chunk-JSU537MZ.js.map +1 -0
  6. package/dist/{chunk-HNBYBRJ7.js → chunk-NTVJNU5K.js} +14 -18
  7. package/dist/chunk-NTVJNU5K.js.map +1 -0
  8. package/dist/{chunk-356UADV3.js → chunk-VGWFMCOP.js} +2 -2
  9. package/dist/{connection-03726441.d.ts → connection-494a5b68.d.ts} +2 -2
  10. package/dist/logging/index.d.cts +1 -1
  11. package/dist/logging/index.d.ts +1 -1
  12. package/dist/{message-865bba35.d.ts → message-ffacb98a.d.ts} +1 -1
  13. package/dist/router/index.cjs +13 -17
  14. package/dist/router/index.cjs.map +1 -1
  15. package/dist/router/index.d.cts +5 -8
  16. package/dist/router/index.d.ts +5 -8
  17. package/dist/router/index.js +1 -1
  18. package/dist/{services-47b312aa.d.ts → services-15a0df95.d.ts} +731 -9
  19. package/dist/testUtil/index.cjs +43 -7
  20. package/dist/testUtil/index.cjs.map +1 -1
  21. package/dist/testUtil/index.d.cts +3 -5
  22. package/dist/testUtil/index.d.ts +3 -5
  23. package/dist/testUtil/index.js +8 -5
  24. package/dist/testUtil/index.js.map +1 -1
  25. package/dist/transport/impls/ws/client.cjs +38 -5
  26. package/dist/transport/impls/ws/client.cjs.map +1 -1
  27. package/dist/transport/impls/ws/client.d.cts +3 -4
  28. package/dist/transport/impls/ws/client.d.ts +3 -4
  29. package/dist/transport/impls/ws/client.js +4 -4
  30. package/dist/transport/impls/ws/server.cjs +39 -6
  31. package/dist/transport/impls/ws/server.cjs.map +1 -1
  32. package/dist/transport/impls/ws/server.d.cts +4 -4
  33. package/dist/transport/impls/ws/server.d.ts +4 -4
  34. package/dist/transport/impls/ws/server.js +4 -4
  35. package/dist/transport/index.cjs +39 -6
  36. package/dist/transport/index.cjs.map +1 -1
  37. package/dist/transport/index.d.cts +72 -5
  38. package/dist/transport/index.d.ts +72 -5
  39. package/dist/transport/index.js +4 -4
  40. package/package.json +4 -4
  41. package/dist/chunk-HNBYBRJ7.js.map +0 -1
  42. package/dist/chunk-Y2N4EJYG.js.map +0 -1
  43. package/dist/client-c44d1c69.d.ts +0 -54
  44. package/dist/context-ebf88958.d.ts +0 -659
  45. package/dist/server-b169b234.d.ts +0 -70
  46. /package/dist/{chunk-3XCLUGDM.js.map → chunk-FCQWZRES.js.map} +0 -0
  47. /package/dist/{chunk-356UADV3.js.map → chunk-VGWFMCOP.js.map} +0 -0
@@ -1,11 +1,8 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, a as AnyProcedure } from '../services-47b312aa.js';
2
- export { E as BaseErrorSchemaType, C as CANCEL_CODE, G as Client, H as Err, L as ErrResult, B as INVALID_REQUEST_CODE, O as Ok, M as OkResult, p as PayloadType, f as ProcErrors, P as ProcHandler, c as ProcInit, d as ProcRequest, e as ProcResponse, g as ProcType, v as Procedure, w as ProcedureErrorSchemaType, q as ProcedureMap, R as RPCProcedure, u as Readable, D as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, k as SerializedProcedureSchema, o as SerializedProcedureSchemaProtocolv1, i as SerializedServerSchema, m as SerializedServerSchemaProtocolv1, j as SerializedServiceSchema, n as SerializedServiceSchemaProtocolv1, S as Service, b as ServiceConfiguration, h as ServiceSchema, t as StreamProcedure, r as SubscriptionProcedure, y as UNCAUGHT_ERROR_CODE, z as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, F as createClient, x as flattenErrorType, s as serializeSchema, l as serializeSchemaV1Compat, J as unwrapOrThrow } from '../services-47b312aa.js';
3
- import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-865bba35.js';
4
- import { q as ParsedMetadata, C as Connection, r as ServerHandshakeOptions, s as ServiceContext } from '../context-ebf88958.js';
5
- export { t as ProcedureHandlerContext, u as createClientHandshakeOptions, v as createServerHandshakeOptions } from '../context-ebf88958.js';
6
- import { S as ServerTransport } from '../server-b169b234.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-15a0df95.js';
2
+ export { M as BaseErrorSchemaType, K as CANCEL_CODE, O as Client, X as Err, _ 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, a2 as ResponseData, Z as Result, a1 as ResultUnwrapErr, a0 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, a3 as createClientHandshakeOptions, a4 as createServerHandshakeOptions, F as flattenErrorType, s as serializeSchema, r as serializeSchemaV1Compat, Y as unwrapOrThrow } from '../services-15a0df95.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-c44d1c69.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.205.1";
54
+ var version = "0.206.0";
58
55
 
59
56
  export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
@@ -1,11 +1,8 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, a as AnyProcedure } from '../services-47b312aa.js';
2
- export { E as BaseErrorSchemaType, C as CANCEL_CODE, G as Client, H as Err, L as ErrResult, B as INVALID_REQUEST_CODE, O as Ok, M as OkResult, p as PayloadType, f as ProcErrors, P as ProcHandler, c as ProcInit, d as ProcRequest, e as ProcResponse, g as ProcType, v as Procedure, w as ProcedureErrorSchemaType, q as ProcedureMap, R as RPCProcedure, u as Readable, D as ReaderErrorSchema, T as ResponseData, K as Result, Q as ResultUnwrapErr, N as ResultUnwrapOk, k as SerializedProcedureSchema, o as SerializedProcedureSchemaProtocolv1, i as SerializedServerSchema, m as SerializedServerSchemaProtocolv1, j as SerializedServiceSchema, n as SerializedServiceSchemaProtocolv1, S as Service, b as ServiceConfiguration, h as ServiceSchema, t as StreamProcedure, r as SubscriptionProcedure, y as UNCAUGHT_ERROR_CODE, z as UNEXPECTED_DISCONNECT_CODE, U as UploadProcedure, V as ValidProcType, W as Writable, F as createClient, x as flattenErrorType, s as serializeSchema, l as serializeSchemaV1Compat, J as unwrapOrThrow } from '../services-47b312aa.js';
3
- import { c as TransportClientId, b as OpaqueTransportMessage } from '../message-865bba35.js';
4
- import { q as ParsedMetadata, C as Connection, r as ServerHandshakeOptions, s as ServiceContext } from '../context-ebf88958.js';
5
- export { t as ProcedureHandlerContext, u as createClientHandshakeOptions, v as createServerHandshakeOptions } from '../context-ebf88958.js';
6
- import { S as ServerTransport } from '../server-b169b234.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-15a0df95.js';
2
+ export { M as BaseErrorSchemaType, K as CANCEL_CODE, O as Client, X as Err, _ 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, a2 as ResponseData, Z as Result, a1 as ResultUnwrapErr, a0 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, a3 as createClientHandshakeOptions, a4 as createServerHandshakeOptions, F as flattenErrorType, s as serializeSchema, r as serializeSchemaV1Compat, Y as unwrapOrThrow } from '../services-15a0df95.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-c44d1c69.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.205.1";
54
+ var version = "0.206.0";
58
55
 
59
56
  export { ParsedMetadata, version as RIVER_VERSION, Server, ServiceContext, createServer };
@@ -17,7 +17,7 @@ import {
17
17
  serializeSchemaV1Compat,
18
18
  unwrapOrThrow,
19
19
  version
20
- } from "../chunk-HNBYBRJ7.js";
20
+ } from "../chunk-NTVJNU5K.js";
21
21
  export {
22
22
  CANCEL_CODE,
23
23
  Err,