@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.
- package/README.md +0 -2
- package/dist/{chunk-JY4555JT.js → chunk-MZP5A6YH.js} +6 -3
- package/dist/chunk-MZP5A6YH.js.map +1 -0
- package/dist/{chunk-Y6YEPMH6.js → chunk-QJCLTRLL.js} +32 -5
- package/dist/chunk-QJCLTRLL.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 +5 -2
- 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-BXjRTxa7.d.cts → services-B_BZhCoO.d.cts} +3 -1
- package/dist/{services-BsHCCIEq.d.ts → services-Bv1L3UhS.d.ts} +3 -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-JY4555JT.js.map +0 -1
- package/dist/chunk-Y6YEPMH6.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClientTransport,
|
|
3
3
|
WebSocketConnection
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-QJCLTRLL.js";
|
|
5
5
|
import "../../../chunk-CC7RN7GI.js";
|
|
6
|
-
import "../../../chunk-
|
|
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.
|
|
734
|
+
var version = "0.209.7";
|
|
731
735
|
|
|
732
736
|
// tracing/index.ts
|
|
733
737
|
function createSessionTelemetryInfo(tracer, sessionId, to, from, propagationCtx) {
|