@replit/river 0.26.7 → 0.26.8

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 (33) hide show
  1. package/dist/{chunk-I3Z6XQVK.js → chunk-CATCCJAL.js} +3 -3
  2. package/dist/{chunk-F32IOMOX.js → chunk-NHXIQELK.js} +2 -2
  3. package/dist/{chunk-KMH4I245.js → chunk-QEVXZ3I7.js} +4 -3
  4. package/dist/chunk-QEVXZ3I7.js.map +1 -0
  5. package/dist/{chunk-C7OSTU6D.js → chunk-QXQG6ZFZ.js} +2 -2
  6. package/dist/{chunk-X4TDCNNT.js → chunk-SIRVFV3D.js} +4 -4
  7. package/dist/{chunk-JJX4ALPO.js → chunk-XMXSGTU2.js} +4 -4
  8. package/dist/{chunk-NHM3XC6K.js → chunk-ZFSQNWYX.js} +2 -2
  9. package/dist/{chunk-NHM3XC6K.js.map → chunk-ZFSQNWYX.js.map} +1 -1
  10. package/dist/router/index.cjs +1 -1
  11. package/dist/router/index.cjs.map +1 -1
  12. package/dist/router/index.d.cts +1 -1
  13. package/dist/router/index.d.ts +1 -1
  14. package/dist/router/index.js +2 -2
  15. package/dist/transport/impls/ws/client.cjs +3 -2
  16. package/dist/transport/impls/ws/client.cjs.map +1 -1
  17. package/dist/transport/impls/ws/client.js +5 -5
  18. package/dist/transport/impls/ws/server.cjs +3 -2
  19. package/dist/transport/impls/ws/server.cjs.map +1 -1
  20. package/dist/transport/impls/ws/server.js +5 -5
  21. package/dist/transport/index.cjs +1 -1
  22. package/dist/transport/index.cjs.map +1 -1
  23. package/dist/transport/index.js +5 -5
  24. package/dist/util/testHelpers.cjs +1 -1
  25. package/dist/util/testHelpers.cjs.map +1 -1
  26. package/dist/util/testHelpers.js +3 -3
  27. package/package.json +1 -1
  28. package/dist/chunk-KMH4I245.js.map +0 -1
  29. /package/dist/{chunk-I3Z6XQVK.js.map → chunk-CATCCJAL.js.map} +0 -0
  30. /package/dist/{chunk-F32IOMOX.js.map → chunk-NHXIQELK.js.map} +0 -0
  31. /package/dist/{chunk-C7OSTU6D.js.map → chunk-QXQG6ZFZ.js.map} +0 -0
  32. /package/dist/{chunk-X4TDCNNT.js.map → chunk-SIRVFV3D.js.map} +0 -0
  33. /package/dist/{chunk-JJX4ALPO.js.map → chunk-XMXSGTU2.js.map} +0 -0
@@ -46,6 +46,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
46
46
  extendedContext?: Omit<ServiceContext, 'state'>;
47
47
  }>): Server<Services>;
48
48
 
49
- var version = "0.26.7";
49
+ var version = "0.26.8";
50
50
 
51
51
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -46,6 +46,6 @@ declare function createServer<Services extends AnyServiceSchemaMap>(transport: S
46
46
  extendedContext?: Omit<ServiceContext, 'state'>;
47
47
  }>): Server<Services>;
48
48
 
49
- var version = "0.26.7";
49
+ var version = "0.26.8";
50
50
 
51
51
  export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
@@ -10,10 +10,10 @@ import {
10
10
  createServer,
11
11
  createServerHandshakeOptions,
12
12
  serializeSchema
13
- } from "../chunk-C7OSTU6D.js";
13
+ } from "../chunk-QXQG6ZFZ.js";
14
14
  import {
15
15
  version
16
- } from "../chunk-NHM3XC6K.js";
16
+ } from "../chunk-ZFSQNWYX.js";
17
17
  export {
18
18
  Err,
19
19
  Ok,
@@ -632,7 +632,7 @@ var SessionNoConnection = class extends IdentifiedSessionWithGracePeriod {
632
632
  var import_api = require("@opentelemetry/api");
633
633
 
634
634
  // package.json
635
- var version = "0.26.7";
635
+ var version = "0.26.8";
636
636
 
637
637
  // tracing/index.ts
638
638
  function getPropagationContext(ctx) {
@@ -1805,6 +1805,7 @@ var Connection = class {
1805
1805
  };
1806
1806
 
1807
1807
  // transport/impls/ws/connection.ts
1808
+ var WS_HEALTHY_CLOSE_CODE = 1e3;
1808
1809
  var WebSocketConnection = class extends Connection {
1809
1810
  ws;
1810
1811
  extras;
@@ -1851,7 +1852,7 @@ var WebSocketConnection = class extends Connection {
1851
1852
  return true;
1852
1853
  }
1853
1854
  close() {
1854
- this.ws.close();
1855
+ this.ws.close(WS_HEALTHY_CLOSE_CODE);
1855
1856
  }
1856
1857
  };
1857
1858