@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.
@@ -3,7 +3,7 @@ import { C as ClientTransport } from '../client-DXJRow2s.cjs';
3
3
  import { S as ServerTransport } from '../server-BDSYa-CO.cjs';
4
4
  import { c as TransportClientId, e as PartialTransportMessage, b as OpaqueTransportMessage } from '../message-Dlsh5WDF.cjs';
5
5
  import { TSchema, Static } from '@sinclair/typebox';
6
- import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-BXjRTxa7.cjs';
6
+ import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-B_BZhCoO.cjs';
7
7
  import { W as WsLike } from '../wslike-Dng9H1C7.cjs';
8
8
  import NodeWs from 'ws';
9
9
  import http from 'node:http';
@@ -3,7 +3,7 @@ import { C as ClientTransport } from '../client-Dw0JBBs3.js';
3
3
  import { S as ServerTransport } from '../server-DFOzjvLh.js';
4
4
  import { c as TransportClientId, e as PartialTransportMessage, b as OpaqueTransportMessage } from '../message-Dlsh5WDF.js';
5
5
  import { TSchema, Static } from '@sinclair/typebox';
6
- import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-BsHCCIEq.js';
6
+ import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-Bv1L3UhS.js';
7
7
  import { W as WsLike } from '../wslike-Dng9H1C7.js';
8
8
  import NodeWs from 'ws';
9
9
  import http from 'node:http';
@@ -5,12 +5,12 @@ import {
5
5
  SessionStateGraph,
6
6
  defaultClientTransportOptions,
7
7
  defaultTransportOptions
8
- } from "../chunk-Y6YEPMH6.js";
8
+ } from "../chunk-QJCLTRLL.js";
9
9
  import "../chunk-CC7RN7GI.js";
10
10
  import {
11
11
  currentProtocolVersion,
12
12
  getTracer
13
- } from "../chunk-JY4555JT.js";
13
+ } from "../chunk-MZP5A6YH.js";
14
14
 
15
15
  // testUtil/index.ts
16
16
  import NodeWs, { WebSocketServer } from "ws";
@@ -179,6 +179,8 @@ var NaiveJsonCodec = {
179
179
  const val = this[key];
180
180
  if (val instanceof Uint8Array) {
181
181
  return { $t: uint8ArrayToBase64(val) };
182
+ } else if (typeof val === "bigint") {
183
+ return { $b: val.toString() };
182
184
  } else {
183
185
  return val;
184
186
  }
@@ -191,6 +193,8 @@ var NaiveJsonCodec = {
191
193
  function reviver(_key, val) {
192
194
  if (val?.$t !== void 0) {
193
195
  return base64ToUint8Array(val.$t);
196
+ } else if (val?.$b !== void 0) {
197
+ return BigInt(val.$b);
194
198
  } else {
195
199
  return val;
196
200
  }
@@ -674,7 +678,7 @@ function coerceErrorString(err) {
674
678
  }
675
679
 
676
680
  // package.json
677
- var version = "0.209.5";
681
+ var version = "0.209.7";
678
682
 
679
683
  // tracing/index.ts
680
684
  function getPropagationContext(ctx) {