@replit/river 0.206.0 → 0.207.2
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-JSU537MZ.js → chunk-24EWYOGK.js} +27 -11
- package/dist/chunk-24EWYOGK.js.map +1 -0
- package/dist/{chunk-NTVJNU5K.js → chunk-46IVOKJU.js} +2 -11
- package/dist/{chunk-NTVJNU5K.js.map → chunk-46IVOKJU.js.map} +1 -1
- package/dist/{chunk-VGWFMCOP.js → chunk-4HE7UYRL.js} +2 -2
- package/dist/{chunk-FCQWZRES.js → chunk-A7RGOVRV.js} +3 -3
- package/dist/{chunk-EMOYAUX3.js → chunk-XV4RQ62N.js} +3 -3
- package/dist/{connection-494a5b68.d.ts → connection-a18e31d5.d.ts} +1 -1
- package/dist/router/index.cjs +3 -13
- 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 +2 -4
- package/dist/{services-15a0df95.d.ts → services-43528f4b.d.ts} +3 -9
- package/dist/testUtil/index.cjs +26 -10
- 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 +4 -4
- package/dist/transport/impls/ws/client.cjs +26 -10
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +2 -2
- package/dist/transport/impls/ws/client.d.ts +2 -2
- package/dist/transport/impls/ws/client.js +4 -4
- package/dist/transport/impls/ws/server.cjs +26 -10
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.d.cts +2 -2
- package/dist/transport/impls/ws/server.d.ts +2 -2
- package/dist/transport/impls/ws/server.js +4 -4
- package/dist/transport/index.cjs +26 -10
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +2 -2
- package/dist/transport/index.d.ts +2 -2
- package/dist/transport/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-JSU537MZ.js.map +0 -1
- /package/dist/{chunk-VGWFMCOP.js.map → chunk-4HE7UYRL.js.map} +0 -0
- /package/dist/{chunk-FCQWZRES.js.map → chunk-A7RGOVRV.js.map} +0 -0
- /package/dist/{chunk-EMOYAUX3.js.map → chunk-XV4RQ62N.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Connection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-24EWYOGK.js";
|
|
4
4
|
|
|
5
5
|
// transport/impls/ws/connection.ts
|
|
6
6
|
var WS_HEALTHY_CLOSE_CODE = 1e3;
|
|
@@ -51,4 +51,4 @@ var WebSocketConnection = class extends Connection {
|
|
|
51
51
|
export {
|
|
52
52
|
WebSocketConnection
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-4HE7UYRL.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ProtocolError,
|
|
4
4
|
Transport,
|
|
5
5
|
defaultClientTransportOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-24EWYOGK.js";
|
|
7
7
|
import {
|
|
8
8
|
ControlMessageHandshakeResponseSchema,
|
|
9
9
|
HandshakeErrorRetriableResponseCodes,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
currentProtocolVersion,
|
|
12
12
|
getPropagationContext,
|
|
13
13
|
handshakeRequestMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-46IVOKJU.js";
|
|
15
15
|
|
|
16
16
|
// transport/client.ts
|
|
17
17
|
import { SpanStatusCode } from "@opentelemetry/api";
|
|
@@ -435,4 +435,4 @@ var ClientTransport = class extends Transport {
|
|
|
435
435
|
export {
|
|
436
436
|
ClientTransport
|
|
437
437
|
};
|
|
438
|
-
//# sourceMappingURL=chunk-
|
|
438
|
+
//# sourceMappingURL=chunk-A7RGOVRV.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ServerSessionStateGraph,
|
|
4
4
|
Transport,
|
|
5
5
|
defaultServerTransportOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-24EWYOGK.js";
|
|
7
7
|
import {
|
|
8
8
|
ControlMessageHandshakeRequestSchema,
|
|
9
9
|
HandshakeErrorCustomHandlerFatalResponseCodes,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
currentProtocolVersion,
|
|
13
13
|
handshakeResponseMessage,
|
|
14
14
|
isAcceptedProtocolVersion
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-46IVOKJU.js";
|
|
16
16
|
|
|
17
17
|
// transport/server.ts
|
|
18
18
|
import { SpanStatusCode } from "@opentelemetry/api";
|
|
@@ -374,4 +374,4 @@ var ServerTransport = class extends Transport {
|
|
|
374
374
|
export {
|
|
375
375
|
ServerTransport
|
|
376
376
|
};
|
|
377
|
-
//# sourceMappingURL=chunk-
|
|
377
|
+
//# sourceMappingURL=chunk-XV4RQ62N.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as ProtocolVersion, O as OpaqueTransportMessage, a as Tags } from './message-ffacb98a.js';
|
|
2
|
-
import { b as Connection } from './services-
|
|
2
|
+
import { b as Connection } from './services-43528f4b.js';
|
|
3
3
|
import { W as WsLike } from './wslike-e0b32dd5.js';
|
|
4
4
|
|
|
5
5
|
interface ConnectionInfoExtras extends Record<string, unknown> {
|
package/dist/router/index.cjs
CHANGED
|
@@ -36,8 +36,7 @@ __export(router_exports, {
|
|
|
36
36
|
createServerHandshakeOptions: () => createServerHandshakeOptions,
|
|
37
37
|
flattenErrorType: () => flattenErrorType,
|
|
38
38
|
serializeSchema: () => serializeSchema,
|
|
39
|
-
serializeSchemaV1Compat: () => serializeSchemaV1Compat
|
|
40
|
-
unwrapOrThrow: () => unwrapOrThrow
|
|
39
|
+
serializeSchemaV1Compat: () => serializeSchemaV1Compat
|
|
41
40
|
});
|
|
42
41
|
module.exports = __toCommonJS(router_exports);
|
|
43
42
|
|
|
@@ -620,14 +619,6 @@ function Err(error) {
|
|
|
620
619
|
payload: error
|
|
621
620
|
};
|
|
622
621
|
}
|
|
623
|
-
function unwrapOrThrow(result) {
|
|
624
|
-
if (result.ok) {
|
|
625
|
-
return result.payload;
|
|
626
|
-
}
|
|
627
|
-
throw new Error(
|
|
628
|
-
`Cannot non-ok result, got: ${result.payload.code} - ${result.payload.message}`
|
|
629
|
-
);
|
|
630
|
-
}
|
|
631
622
|
|
|
632
623
|
// tracing/index.ts
|
|
633
624
|
var import_api = require("@opentelemetry/api");
|
|
@@ -1882,7 +1873,7 @@ function createServerHandshakeOptions(schema, validate) {
|
|
|
1882
1873
|
}
|
|
1883
1874
|
|
|
1884
1875
|
// package.json
|
|
1885
|
-
var version = "0.
|
|
1876
|
+
var version = "0.207.2";
|
|
1886
1877
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1887
1878
|
0 && (module.exports = {
|
|
1888
1879
|
CANCEL_CODE,
|
|
@@ -1901,7 +1892,6 @@ var version = "0.206.0";
|
|
|
1901
1892
|
createServerHandshakeOptions,
|
|
1902
1893
|
flattenErrorType,
|
|
1903
1894
|
serializeSchema,
|
|
1904
|
-
serializeSchemaV1Compat
|
|
1905
|
-
unwrapOrThrow
|
|
1895
|
+
serializeSchemaV1Compat
|
|
1906
1896
|
});
|
|
1907
1897
|
//# sourceMappingURL=index.cjs.map
|