@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
|
ServerTransport,
|
|
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/server.ts
|
|
9
9
|
function cleanHeaders(headers) {
|
package/dist/transport/index.cjs
CHANGED
|
@@ -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.
|
|
650
|
+
var version = "0.209.7";
|
|
647
651
|
|
|
648
652
|
// tracing/index.ts
|
|
649
653
|
function getPropagationContext(ctx) {
|