@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.
Files changed (59) hide show
  1. package/README.md +48 -0
  2. package/dist/{chunk-IKT6A32W.js → chunk-BHNINW7F.js} +2 -2
  3. package/dist/chunk-BHNINW7F.js.map +1 -0
  4. package/dist/{chunk-XZV3HOQW.js → chunk-CHOAXTQF.js} +2 -2
  5. package/dist/chunk-CHOAXTQF.js.map +1 -0
  6. package/dist/{chunk-3U43VMW2.js → chunk-PTX6DT5G.js} +2 -2
  7. package/dist/{chunk-R3EG3FOP.js → chunk-RWYW2BES.js} +2 -2
  8. package/dist/{chunk-JBRQNEBV.js → chunk-WTJY7S3D.js} +2 -2
  9. package/dist/chunk-WTJY7S3D.js.map +1 -0
  10. package/dist/{connection-89a66019.d.ts → connection-36e8bb12.d.ts} +1 -1
  11. package/dist/{connection-4abad643.d.ts → connection-a5bc5e9f.d.ts} +1 -1
  12. package/dist/index-926aea33.d.ts +133 -0
  13. package/dist/logging/index.d.cts +1 -2
  14. package/dist/logging/index.d.ts +1 -2
  15. package/dist/router/index.cjs +1 -1
  16. package/dist/router/index.cjs.map +1 -1
  17. package/dist/router/index.d.cts +7 -7
  18. package/dist/router/index.d.ts +7 -7
  19. package/dist/router/index.js +2 -2
  20. package/dist/{services-ef89f5b0.d.ts → services-da250ed2.d.ts} +2 -2
  21. package/dist/transport/impls/uds/client.cjs +1 -1
  22. package/dist/transport/impls/uds/client.cjs.map +1 -1
  23. package/dist/transport/impls/uds/client.d.cts +4 -4
  24. package/dist/transport/impls/uds/client.d.ts +4 -4
  25. package/dist/transport/impls/uds/client.js +3 -3
  26. package/dist/transport/impls/uds/server.cjs +1 -1
  27. package/dist/transport/impls/uds/server.cjs.map +1 -1
  28. package/dist/transport/impls/uds/server.d.cts +4 -4
  29. package/dist/transport/impls/uds/server.d.ts +4 -4
  30. package/dist/transport/impls/uds/server.js +3 -3
  31. package/dist/transport/impls/ws/client.cjs +1 -1
  32. package/dist/transport/impls/ws/client.cjs.map +1 -1
  33. package/dist/transport/impls/ws/client.d.cts +4 -4
  34. package/dist/transport/impls/ws/client.d.ts +4 -4
  35. package/dist/transport/impls/ws/client.js +3 -3
  36. package/dist/transport/impls/ws/server.cjs +1 -1
  37. package/dist/transport/impls/ws/server.cjs.map +1 -1
  38. package/dist/transport/impls/ws/server.d.cts +3 -3
  39. package/dist/transport/impls/ws/server.d.ts +3 -3
  40. package/dist/transport/impls/ws/server.js +3 -3
  41. package/dist/transport/index.cjs +1 -1
  42. package/dist/transport/index.cjs.map +1 -1
  43. package/dist/transport/index.d.cts +4 -307
  44. package/dist/transport/index.d.ts +4 -307
  45. package/dist/transport/index.js +2 -2
  46. package/dist/transport-4a5e288a.d.ts +535 -0
  47. package/dist/util/testHelpers.cjs +1 -1
  48. package/dist/util/testHelpers.cjs.map +1 -1
  49. package/dist/util/testHelpers.d.cts +3 -3
  50. package/dist/util/testHelpers.d.ts +3 -3
  51. package/dist/util/testHelpers.js +3 -3
  52. package/package.json +1 -1
  53. package/dist/chunk-IKT6A32W.js.map +0 -1
  54. package/dist/chunk-JBRQNEBV.js.map +0 -1
  55. package/dist/chunk-XZV3HOQW.js.map +0 -1
  56. package/dist/index-a009d7f6.d.ts +0 -360
  57. package/dist/services-edc3b16d.d.ts +0 -707
  58. /package/dist/{chunk-3U43VMW2.js.map → chunk-PTX6DT5G.js.map} +0 -0
  59. /package/dist/{chunk-R3EG3FOP.js.map → chunk-RWYW2BES.js.map} +0 -0
@@ -1,13 +1,13 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-edc3b16d.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-edc3b16d.js';
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/index.cjs';
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 { C as Connection, c as ServerHandshakeOptions, a as ServiceContext } from '../index-a009d7f6.js';
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.3";
46
+ var version = "0.23.4";
47
47
 
48
48
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -1,13 +1,13 @@
1
- import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError } from '../services-ef89f5b0.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-ef89f5b0.js';
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/index.js';
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 { C as Connection, c as ServerHandshakeOptions, a as ServiceContext } from '../index-a009d7f6.js';
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.3";
46
+ var version = "0.23.4";
47
47
 
48
48
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -8,10 +8,10 @@ import {
8
8
  createClient,
9
9
  createServer,
10
10
  serializeSchema
11
- } from "../chunk-JBRQNEBV.js";
11
+ } from "../chunk-WTJY7S3D.js";
12
12
  import {
13
13
  version
14
- } from "../chunk-XZV3HOQW.js";
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/index.js';
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 { C as Connection, T as TransportClientId, g as ClientHandshakeOptions, f as ServiceContextWithTransportInfo } from './index-a009d7f6.js';
4
+ import { T as TransportClientId } from './index-926aea33.js';
5
5
 
6
6
  type AsyncIter<T> = AsyncGenerator<T, T>;
7
7
  /**
@@ -113,7 +113,7 @@ function isAck(controlFlag) {
113
113
  var import_api = require("@opentelemetry/api");
114
114
 
115
115
  // package.json
116
- var version = "0.23.3";
116
+ var version = "0.23.4";
117
117
 
118
118
  // tracing/index.ts
119
119
  function getPropagationContext(ctx) {