@replit/river 0.209.5 → 0.209.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.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ServerTransport,
3
3
  WebSocketConnection
4
- } from "../../../chunk-Y6YEPMH6.js";
4
+ } from "../../../chunk-QJCLTRLL.js";
5
5
  import "../../../chunk-CC7RN7GI.js";
6
- import "../../../chunk-JY4555JT.js";
6
+ import "../../../chunk-MZP5A6YH.js";
7
7
 
8
8
  // transport/impls/ws/server.ts
9
9
  function cleanHeaders(headers) {
@@ -160,6 +160,8 @@ var NaiveJsonCodec = {
160
160
  const val = this[key];
161
161
  if (val instanceof Uint8Array) {
162
162
  return { $t: uint8ArrayToBase64(val) };
163
+ } else if (typeof val === "bigint") {
164
+ return { $b: val.toString() };
163
165
  } else {
164
166
  return val;
165
167
  }
@@ -172,6 +174,8 @@ var NaiveJsonCodec = {
172
174
  function reviver(_key, val) {
173
175
  if (val?.$t !== void 0) {
174
176
  return base64ToUint8Array(val.$t);
177
+ } else if (val?.$b !== void 0) {
178
+ return BigInt(val.$b);
175
179
  } else {
176
180
  return val;
177
181
  }
@@ -643,7 +647,7 @@ function coerceErrorString(err) {
643
647
  }
644
648
 
645
649
  // package.json
646
- var version = "0.209.5";
650
+ var version = "0.209.7";
647
651
 
648
652
  // tracing/index.ts
649
653
  function getPropagationContext(ctx) {