@replit/river 0.15.6 → 0.15.7

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.
@@ -513,6 +513,7 @@ var Transport = class {
513
513
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
514
514
  );
515
515
  session.close();
516
+ this.deleteSession(session);
516
517
  }
517
518
  return;
518
519
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-37HZIKJO.js";
3
+ } from "./chunk-7SPCAA6Q.js";
4
4
 
5
5
  // transport/transforms/messageFraming.ts
6
6
  import { Transform } from "node:stream";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Connection
3
- } from "./chunk-37HZIKJO.js";
3
+ } from "./chunk-7SPCAA6Q.js";
4
4
 
5
5
  // transport/impls/ws/connection.ts
6
6
  var WebSocketConnection = class extends Connection {
@@ -752,6 +752,7 @@ var Transport = class {
752
752
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
753
753
  );
754
754
  session.close();
755
+ this.deleteSession(session);
755
756
  }
756
757
  return;
757
758
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  UdsConnection
3
- } from "../../../chunk-IZLLS6QJ.js";
3
+ } from "../../../chunk-L65XWBX2.js";
4
4
  import {
5
5
  ClientTransport
6
- } from "../../../chunk-37HZIKJO.js";
6
+ } from "../../../chunk-7SPCAA6Q.js";
7
7
  import "../../../chunk-GFRAOY75.js";
8
8
  import {
9
9
  log
@@ -593,6 +593,7 @@ var Transport = class {
593
593
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
594
594
  );
595
595
  session.close();
596
+ this.deleteSession(session);
596
597
  }
597
598
  return;
598
599
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  UdsConnection
3
- } from "../../../chunk-IZLLS6QJ.js";
3
+ } from "../../../chunk-L65XWBX2.js";
4
4
  import {
5
5
  ServerTransport
6
- } from "../../../chunk-37HZIKJO.js";
6
+ } from "../../../chunk-7SPCAA6Q.js";
7
7
  import "../../../chunk-GFRAOY75.js";
8
8
  import {
9
9
  log
@@ -656,6 +656,7 @@ var Transport = class {
656
656
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
657
657
  );
658
658
  session.close();
659
+ this.deleteSession(session);
659
660
  }
660
661
  return;
661
662
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConnection
3
- } from "../../../chunk-UPMTISRG.js";
3
+ } from "../../../chunk-XLJGKNV2.js";
4
4
  import {
5
5
  ClientTransport
6
- } from "../../../chunk-37HZIKJO.js";
6
+ } from "../../../chunk-7SPCAA6Q.js";
7
7
  import "../../../chunk-GFRAOY75.js";
8
8
  import {
9
9
  log
@@ -593,6 +593,7 @@ var Transport = class {
593
593
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
594
594
  );
595
595
  session.close();
596
+ this.deleteSession(session);
596
597
  }
597
598
  return;
598
599
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConnection
3
- } from "../../../chunk-UPMTISRG.js";
3
+ } from "../../../chunk-XLJGKNV2.js";
4
4
  import {
5
5
  ServerTransport
6
- } from "../../../chunk-37HZIKJO.js";
6
+ } from "../../../chunk-7SPCAA6Q.js";
7
7
  import "../../../chunk-GFRAOY75.js";
8
8
  import "../../../chunk-H4BYJELI.js";
9
9
  import "../../../chunk-GZ7HCLLM.js";
@@ -687,6 +687,7 @@ var Transport = class {
687
687
  `${this.clientId} -- received out-of-order msg (got: ${msg.seq}, wanted: ${session.nextExpectedSeq}), marking connection as dead: ${JSON.stringify(msg)}`
688
688
  );
689
689
  session.close();
690
+ this.deleteSession(session);
690
691
  }
691
692
  return;
692
693
  }
@@ -6,7 +6,7 @@ import {
6
6
  ServerTransport,
7
7
  Session,
8
8
  Transport
9
- } from "../chunk-37HZIKJO.js";
9
+ } from "../chunk-7SPCAA6Q.js";
10
10
  import {
11
11
  OpaqueTransportMessageSchema,
12
12
  TransportMessageSchema
@@ -5,7 +5,7 @@ import {
5
5
  import "../chunk-RPIDSIQG.js";
6
6
  import {
7
7
  Session
8
- } from "../chunk-37HZIKJO.js";
8
+ } from "../chunk-7SPCAA6Q.js";
9
9
  import {
10
10
  coerceErrorString
11
11
  } from "../chunk-GFRAOY75.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@replit/river",
3
3
  "description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
4
- "version": "0.15.6",
4
+ "version": "0.15.7",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {