@replit/river 0.206.0 → 0.207.1

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 (39) hide show
  1. package/dist/{chunk-VGWFMCOP.js → chunk-7LMZNSVC.js} +2 -2
  2. package/dist/{chunk-NTVJNU5K.js → chunk-BCCZA7SX.js} +2 -11
  3. package/dist/{chunk-NTVJNU5K.js.map → chunk-BCCZA7SX.js.map} +1 -1
  4. package/dist/{chunk-FCQWZRES.js → chunk-CRD3HDVN.js} +3 -3
  5. package/dist/{chunk-EMOYAUX3.js → chunk-I27WBSMZ.js} +3 -3
  6. package/dist/{chunk-JSU537MZ.js → chunk-QMAVXV4Z.js} +8 -3
  7. package/dist/chunk-QMAVXV4Z.js.map +1 -0
  8. package/dist/{connection-494a5b68.d.ts → connection-933c87b2.d.ts} +1 -1
  9. package/dist/router/index.cjs +3 -13
  10. package/dist/router/index.cjs.map +1 -1
  11. package/dist/router/index.d.cts +3 -3
  12. package/dist/router/index.d.ts +3 -3
  13. package/dist/router/index.js +2 -4
  14. package/dist/{services-15a0df95.d.ts → services-4cd29829.d.ts} +1 -8
  15. package/dist/testUtil/index.cjs +7 -2
  16. package/dist/testUtil/index.cjs.map +1 -1
  17. package/dist/testUtil/index.d.cts +1 -1
  18. package/dist/testUtil/index.d.ts +1 -1
  19. package/dist/testUtil/index.js +4 -4
  20. package/dist/transport/impls/ws/client.cjs +7 -2
  21. package/dist/transport/impls/ws/client.cjs.map +1 -1
  22. package/dist/transport/impls/ws/client.d.cts +2 -2
  23. package/dist/transport/impls/ws/client.d.ts +2 -2
  24. package/dist/transport/impls/ws/client.js +4 -4
  25. package/dist/transport/impls/ws/server.cjs +7 -2
  26. package/dist/transport/impls/ws/server.cjs.map +1 -1
  27. package/dist/transport/impls/ws/server.d.cts +2 -2
  28. package/dist/transport/impls/ws/server.d.ts +2 -2
  29. package/dist/transport/impls/ws/server.js +4 -4
  30. package/dist/transport/index.cjs +7 -2
  31. package/dist/transport/index.cjs.map +1 -1
  32. package/dist/transport/index.d.cts +2 -2
  33. package/dist/transport/index.d.ts +2 -2
  34. package/dist/transport/index.js +4 -4
  35. package/package.json +1 -1
  36. package/dist/chunk-JSU537MZ.js.map +0 -1
  37. /package/dist/{chunk-VGWFMCOP.js.map → chunk-7LMZNSVC.js.map} +0 -0
  38. /package/dist/{chunk-FCQWZRES.js.map → chunk-CRD3HDVN.js.map} +0 -0
  39. /package/dist/{chunk-EMOYAUX3.js.map → chunk-I27WBSMZ.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-JSU537MZ.js";
3
+ } from "./chunk-QMAVXV4Z.js";
4
4
 
5
5
  // transport/impls/ws/connection.ts
6
6
  var WS_HEALTHY_CLOSE_CODE = 1e3;
@@ -51,4 +51,4 @@ var WebSocketConnection = class extends Connection {
51
51
  export {
52
52
  WebSocketConnection
53
53
  };
54
- //# sourceMappingURL=chunk-VGWFMCOP.js.map
54
+ //# sourceMappingURL=chunk-7LMZNSVC.js.map
@@ -633,14 +633,6 @@ function Err(error) {
633
633
  payload: error
634
634
  };
635
635
  }
636
- function unwrapOrThrow(result) {
637
- if (result.ok) {
638
- return result.payload;
639
- }
640
- throw new Error(
641
- `Cannot non-ok result, got: ${result.payload.code} - ${result.payload.message}`
642
- );
643
- }
644
636
 
645
637
  // tracing/index.ts
646
638
  import {
@@ -1936,7 +1928,7 @@ function createServerHandshakeOptions(schema, validate) {
1936
1928
  }
1937
1929
 
1938
1930
  // package.json
1939
- var version = "0.206.0";
1931
+ var version = "0.207.1";
1940
1932
 
1941
1933
  export {
1942
1934
  UNCAUGHT_ERROR_CODE,
@@ -1964,7 +1956,6 @@ export {
1964
1956
  isAck,
1965
1957
  Ok,
1966
1958
  Err,
1967
- unwrapOrThrow,
1968
1959
  getPropagationContext,
1969
1960
  createSessionTelemetryInfo,
1970
1961
  createConnectionTelemetryInfo,
@@ -1976,4 +1967,4 @@ export {
1976
1967
  createServerHandshakeOptions,
1977
1968
  version
1978
1969
  };
1979
- //# sourceMappingURL=chunk-NTVJNU5K.js.map
1970
+ //# sourceMappingURL=chunk-BCCZA7SX.js.map