@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
  ClientTransport,
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/client.ts
9
9
  var WebSocketClientTransport = class extends ClientTransport {
@@ -299,6 +299,8 @@ var NaiveJsonCodec = {
299
299
  const val = this[key];
300
300
  if (val instanceof Uint8Array) {
301
301
  return { $t: uint8ArrayToBase64(val) };
302
+ } else if (typeof val === "bigint") {
303
+ return { $b: val.toString() };
302
304
  } else {
303
305
  return val;
304
306
  }
@@ -311,6 +313,8 @@ var NaiveJsonCodec = {
311
313
  function reviver(_key, val) {
312
314
  if (val?.$t !== void 0) {
313
315
  return base64ToUint8Array(val.$t);
316
+ } else if (val?.$b !== void 0) {
317
+ return BigInt(val.$b);
314
318
  } else {
315
319
  return val;
316
320
  }
@@ -727,7 +731,7 @@ function coerceErrorString(err) {
727
731
  }
728
732
 
729
733
  // package.json
730
- var version = "0.209.5";
734
+ var version = "0.209.7";
731
735
 
732
736
  // tracing/index.ts
733
737
  function createSessionTelemetryInfo(tracer, sessionId, to, from, propagationCtx) {