@replit/river 0.26.8 → 0.26.9

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-QXQG6ZFZ.js → chunk-6LX3MQEH.js} +2 -2
  2. package/dist/{chunk-NHXIQELK.js → chunk-JVPSOBWJ.js} +2 -2
  3. package/dist/{chunk-QEVXZ3I7.js → chunk-LODVVI6A.js} +2 -2
  4. package/dist/{chunk-CATCCJAL.js → chunk-OPWZHQ7Z.js} +5 -3
  5. package/dist/chunk-OPWZHQ7Z.js.map +1 -0
  6. package/dist/{chunk-SIRVFV3D.js → chunk-SKWHS7YK.js} +4 -4
  7. package/dist/{chunk-ZFSQNWYX.js → chunk-VPXUTLMK.js} +2 -2
  8. package/dist/{chunk-ZFSQNWYX.js.map → chunk-VPXUTLMK.js.map} +1 -1
  9. package/dist/{chunk-XMXSGTU2.js → chunk-YHILUN2S.js} +4 -4
  10. package/dist/router/index.cjs +1 -1
  11. package/dist/router/index.cjs.map +1 -1
  12. package/dist/router/index.d.cts +3 -3
  13. package/dist/router/index.d.ts +3 -3
  14. package/dist/router/index.js +2 -2
  15. package/dist/{services-4478e99b.d.ts → services-be18d10a.d.ts} +1 -1
  16. package/dist/transport/impls/ws/client.cjs +3 -1
  17. package/dist/transport/impls/ws/client.cjs.map +1 -1
  18. package/dist/transport/impls/ws/client.js +5 -5
  19. package/dist/transport/impls/ws/server.cjs +3 -1
  20. package/dist/transport/impls/ws/server.cjs.map +1 -1
  21. package/dist/transport/impls/ws/server.js +5 -5
  22. package/dist/transport/index.cjs +3 -1
  23. package/dist/transport/index.cjs.map +1 -1
  24. package/dist/transport/index.js +5 -5
  25. package/dist/util/testHelpers.cjs +9 -5
  26. package/dist/util/testHelpers.cjs.map +1 -1
  27. package/dist/util/testHelpers.d.cts +7 -7
  28. package/dist/util/testHelpers.d.ts +7 -7
  29. package/dist/util/testHelpers.js +11 -7
  30. package/dist/util/testHelpers.js.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-CATCCJAL.js.map +0 -1
  33. /package/dist/{chunk-QXQG6ZFZ.js.map → chunk-6LX3MQEH.js.map} +0 -0
  34. /package/dist/{chunk-NHXIQELK.js.map → chunk-JVPSOBWJ.js.map} +0 -0
  35. /package/dist/{chunk-QEVXZ3I7.js.map → chunk-LODVVI6A.js.map} +0 -0
  36. /package/dist/{chunk-SIRVFV3D.js.map → chunk-SKWHS7YK.js.map} +0 -0
  37. /package/dist/{chunk-XMXSGTU2.js.map → chunk-YHILUN2S.js.map} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  ClientTransport
3
- } from "../chunk-XMXSGTU2.js";
3
+ } from "../chunk-YHILUN2S.js";
4
4
  import {
5
5
  ServerTransport
6
- } from "../chunk-SIRVFV3D.js";
6
+ } from "../chunk-SKWHS7YK.js";
7
7
  import {
8
8
  Connection,
9
9
  ProtocolError,
10
10
  Transport
11
- } from "../chunk-CATCCJAL.js";
11
+ } from "../chunk-OPWZHQ7Z.js";
12
12
  import "../chunk-KTS4HBYE.js";
13
13
  import {
14
14
  SessionState
15
- } from "../chunk-NHXIQELK.js";
15
+ } from "../chunk-JVPSOBWJ.js";
16
16
  import {
17
17
  OpaqueTransportMessageSchema,
18
18
  TransportMessageSchema
19
- } from "../chunk-ZFSQNWYX.js";
19
+ } from "../chunk-VPXUTLMK.js";
20
20
  import "../chunk-4PVU7J25.js";
21
21
  export {
22
22
  ClientTransport,
@@ -455,7 +455,7 @@ function Err(error) {
455
455
  var import_api = require("@opentelemetry/api");
456
456
 
457
457
  // package.json
458
- var version = "0.26.8";
458
+ var version = "0.26.9";
459
459
 
460
460
  // tracing/index.ts
461
461
  function createSessionTelemetryInfo(sessionId, to, from, propagationCtx) {
@@ -1481,12 +1481,16 @@ function asClientUpload(state, proc, init, extendedContext, session = dummySessi
1481
1481
  const input = pushable({ objectMode: true });
1482
1482
  if (init) {
1483
1483
  const _proc = proc;
1484
- const result = _proc.handler(dummyCtx(state, session, extendedContext), init, input).catch(catchProcError);
1485
- return [input, result];
1484
+ return [
1485
+ input,
1486
+ _proc.handler(dummyCtx(state, session, extendedContext), init, input).catch(catchProcError)
1487
+ ];
1486
1488
  } else {
1487
1489
  const _proc = proc;
1488
- const result = _proc.handler(dummyCtx(state, session, extendedContext), input).catch(catchProcError);
1489
- return [input, result];
1490
+ return [
1491
+ input,
1492
+ _proc.handler(dummyCtx(state, session, extendedContext), input).catch(catchProcError)
1493
+ ];
1490
1494
  }
1491
1495
  }
1492
1496
  function getTransportConnections(transport) {