@replit/river 0.209.5 → 0.209.6
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.
- package/dist/{chunk-JY4555JT.js → chunk-LTSD2AMH.js} +2 -2
- package/dist/{chunk-JY4555JT.js.map → chunk-LTSD2AMH.js.map} +1 -1
- package/dist/{chunk-Y6YEPMH6.js → chunk-V2YMCSBX.js} +32 -5
- package/dist/chunk-V2YMCSBX.js.map +1 -0
- package/dist/codec/index.cjs +29 -2
- package/dist/codec/index.cjs.map +1 -1
- package/dist/codec/index.js +2 -2
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +3 -3
- package/dist/router/index.d.ts +3 -3
- package/dist/router/index.js +1 -1
- package/dist/{services-BsHCCIEq.d.ts → services-DEubFUIR.d.ts} +1 -1
- package/dist/{services-BXjRTxa7.d.cts → services-GJyw0jKV.d.cts} +1 -1
- package/dist/testUtil/index.cjs +5 -1
- package/dist/testUtil/index.cjs.map +1 -1
- package/dist/testUtil/index.d.cts +1 -1
- package/dist/testUtil/index.d.ts +1 -1
- package/dist/testUtil/index.js +2 -2
- package/dist/transport/impls/ws/client.cjs +5 -1
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.js +2 -2
- package/dist/transport/impls/ws/server.cjs +5 -1
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.js +2 -2
- package/dist/transport/index.cjs +5 -1
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-Y6YEPMH6.js.map +0 -1
|
@@ -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-
|
|
6
|
+
import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-GJyw0jKV.cjs';
|
|
7
7
|
import { W as WsLike } from '../wslike-Dng9H1C7.cjs';
|
|
8
8
|
import NodeWs from 'ws';
|
|
9
9
|
import http from 'node:http';
|
package/dist/testUtil/index.d.ts
CHANGED
|
@@ -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-
|
|
6
|
+
import { J as BaseErrorSchemaType, v as Readable, _ as ReadableIterator, w as ReadableResult } from '../services-DEubFUIR.js';
|
|
7
7
|
import { W as WsLike } from '../wslike-Dng9H1C7.js';
|
|
8
8
|
import NodeWs from 'ws';
|
|
9
9
|
import http from 'node:http';
|
package/dist/testUtil/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
SessionStateGraph,
|
|
6
6
|
defaultClientTransportOptions,
|
|
7
7
|
defaultTransportOptions
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-V2YMCSBX.js";
|
|
9
9
|
import "../chunk-CC7RN7GI.js";
|
|
10
10
|
import {
|
|
11
11
|
currentProtocolVersion,
|
|
12
12
|
getTracer
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-LTSD2AMH.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.
|
|
681
|
+
var version = "0.209.6";
|
|
678
682
|
|
|
679
683
|
// tracing/index.ts
|
|
680
684
|
function getPropagationContext(ctx) {
|