@replit/river 0.19.1 → 0.19.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-4PFUC4QB.js → chunk-JH275HID.js} +1 -1
- package/dist/{chunk-WER2DWCP.js → chunk-NBE3D667.js} +0 -4
- package/dist/{chunk-LO6MRYNI.js → chunk-SR4DBLJ6.js} +2 -2
- package/dist/{chunk-FILQOCCK.js → chunk-YFPVQTWL.js} +1 -1
- package/dist/{chunk-ZNXZ7QPT.js → chunk-ZWPEZS27.js} +1 -1
- package/dist/{connection-d625aa8d.d.ts → connection-aa0ea000.d.ts} +1 -1
- package/dist/{connection-ddc757b9.d.ts → connection-cfec12e6.d.ts} +1 -1
- package/dist/{index-2941de8c.d.ts → index-e2513701.d.ts} +3 -2
- package/dist/logging/index.cjs +0 -4
- package/dist/logging/index.d.cts +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.js +1 -1
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.d.cts +4 -4
- package/dist/router/index.d.ts +4 -4
- package/dist/router/index.js +2 -2
- package/dist/{services-ee45322f.d.ts → services-4bba42d8.d.ts} +1 -1
- package/dist/{services-d47ce743.d.ts → services-5fc5712d.d.ts} +1 -1
- package/dist/transport/impls/uds/client.d.cts +2 -2
- package/dist/transport/impls/uds/client.d.ts +2 -2
- package/dist/transport/impls/uds/client.js +3 -3
- package/dist/transport/impls/uds/server.d.cts +2 -2
- package/dist/transport/impls/uds/server.d.ts +2 -2
- package/dist/transport/impls/uds/server.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/transport/index.d.cts +2 -2
- package/dist/transport/index.d.ts +2 -2
- package/dist/transport/index.js +2 -2
- package/dist/util/testHelpers.d.cts +2 -2
- package/dist/util/testHelpers.d.ts +2 -2
- package/dist/util/testHelpers.js +3 -3
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-D5PVGZPQ.js";
|
|
7
7
|
import {
|
|
8
8
|
log
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NBE3D667.js";
|
|
10
10
|
|
|
11
11
|
// router/services.ts
|
|
12
12
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1255,7 +1255,7 @@ function createServer(transport, services, extendedContext) {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
// package.json
|
|
1258
|
-
var version = "0.19.
|
|
1258
|
+
var version = "0.19.2";
|
|
1259
1259
|
|
|
1260
1260
|
export {
|
|
1261
1261
|
serializeSchema,
|
|
@@ -11,7 +11,7 @@ declare const LoggingLevels: {
|
|
|
11
11
|
type LoggingLevel = keyof typeof LoggingLevels;
|
|
12
12
|
type LogFn = (msg: string, ctx?: MessageMetadata, level?: LoggingLevel) => void;
|
|
13
13
|
type Logger = {
|
|
14
|
-
[key in LoggingLevel]:
|
|
14
|
+
[key in LoggingLevel]: (msg: string, metadata?: MessageMetadata) => void;
|
|
15
15
|
};
|
|
16
16
|
type MessageMetadata = Record<string, unknown> & Partial<{
|
|
17
17
|
protocolVersion: string;
|
|
@@ -25,7 +25,8 @@ type MessageMetadata = Record<string, unknown> & Partial<{
|
|
|
25
25
|
declare const stringLogger: LogFn;
|
|
26
26
|
declare const coloredStringLogger: LogFn;
|
|
27
27
|
declare const jsonLogger: LogFn;
|
|
28
|
-
declare function bindLogger(fn:
|
|
28
|
+
declare function bindLogger(fn: undefined, level?: LoggingLevel): undefined;
|
|
29
|
+
declare function bindLogger(fn: LogFn | Logger, level?: LoggingLevel): Logger;
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* A connection is the actual raw underlying transport connection.
|
package/dist/logging/index.cjs
CHANGED
package/dist/logging/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-
|
|
1
|
+
export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-e2513701.js';
|
|
2
2
|
import '@sinclair/typebox';
|
|
3
3
|
import '../types-3e5768ec.js';
|
package/dist/logging/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-
|
|
1
|
+
export { m as LogFn, L as Logger, M as MessageMetadata, l as bindLogger, j as coloredStringLogger, k as jsonLogger, s as stringLogger } from '../index-e2513701.js';
|
|
2
2
|
import '@sinclair/typebox';
|
|
3
3
|
import '../types-3e5768ec.js';
|
package/dist/logging/index.js
CHANGED
package/dist/router/index.cjs
CHANGED
|
@@ -1353,7 +1353,7 @@ function createServer(transport, services, extendedContext) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
|
|
1355
1355
|
// package.json
|
|
1356
|
-
var version = "0.19.
|
|
1356
|
+
var version = "0.19.2";
|
|
1357
1357
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1358
1358
|
0 && (module.exports = {
|
|
1359
1359
|
Err,
|
package/dist/router/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-
|
|
2
|
-
export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-4bba42d8.js';
|
|
2
|
+
export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-4bba42d8.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
4
|
import { ServerTransport } from '../transport/index.cjs';
|
|
5
5
|
import { Pushable } from 'it-pushable';
|
|
6
|
-
import { C as Connection } from '../index-
|
|
6
|
+
import { C as Connection } from '../index-e2513701.js';
|
|
7
7
|
import '../types-3e5768ec.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -36,6 +36,6 @@ interface ProcStream {
|
|
|
36
36
|
*/
|
|
37
37
|
declare function createServer<Services extends AnyServiceSchemaMap>(transport: ServerTransport<Connection>, services: Services, extendedContext?: Omit<ServiceContext, 'state'>): Server<Services>;
|
|
38
38
|
|
|
39
|
-
var version = "0.19.
|
|
39
|
+
var version = "0.19.2";
|
|
40
40
|
|
|
41
41
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-
|
|
2
|
-
export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-
|
|
1
|
+
import { A as AnyServiceSchemaMap, I as InstantiatedServiceSchemaMap, P as PayloadType, b as Result, R as RiverError, S as ServiceContext } from '../services-5fc5712d.js';
|
|
2
|
+
export { C as Client, E as Err, O as Ok, B as Output, k as ProcErrors, g as ProcHandler, h as ProcInit, i as ProcInput, j as ProcOutput, l as ProcType, a as Procedure, o as ProcedureMap, d as ProcedureResult, p as RPCProcedure, z as ResultUnwrapErr, y as ResultUnwrapOk, x as RiverErrorSchema, c as RiverUncaughtSchema, n as SerializedServerSchema, e as Service, f as ServiceConfiguration, u as ServiceContextWithState, v as ServiceContextWithTransportInfo, m as ServiceSchema, r as StreamProcedure, q as SubscriptionProcedure, w as UNCAUGHT_ERROR, U as UploadProcedure, V as ValidProcType, t as createClient, s as serializeSchema } from '../services-5fc5712d.js';
|
|
3
3
|
import { Static } from '@sinclair/typebox';
|
|
4
4
|
import { ServerTransport } from '../transport/index.js';
|
|
5
5
|
import { Pushable } from 'it-pushable';
|
|
6
|
-
import { C as Connection } from '../index-
|
|
6
|
+
import { C as Connection } from '../index-e2513701.js';
|
|
7
7
|
import '../types-3e5768ec.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -36,6 +36,6 @@ interface ProcStream {
|
|
|
36
36
|
*/
|
|
37
37
|
declare function createServer<Services extends AnyServiceSchemaMap>(transport: ServerTransport<Connection>, services: Services, extendedContext?: Omit<ServiceContext, 'state'>): Server<Services>;
|
|
38
38
|
|
|
39
|
-
var version = "0.19.
|
|
39
|
+
var version = "0.19.2";
|
|
40
40
|
|
|
41
41
|
export { PayloadType, version as RIVER_VERSION, Result, RiverError, Server, ServiceContext, createServer };
|
package/dist/router/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
|
|
2
2
|
import { ClientTransport } from './transport/index.cjs';
|
|
3
3
|
import { Pushable } from 'it-pushable';
|
|
4
|
-
import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-
|
|
4
|
+
import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-e2513701.js';
|
|
5
5
|
|
|
6
6
|
type AsyncIter<T> = AsyncGenerator<T, T>;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Static, TObject, TUnion, TString, TSchema, TNever, TLiteral } from '@sinclair/typebox';
|
|
2
2
|
import { ClientTransport } from './transport/index.js';
|
|
3
3
|
import { Pushable } from 'it-pushable';
|
|
4
|
-
import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-
|
|
4
|
+
import { C as Connection, T as TransportClientId, a as Session, b as ParsedHandshakeMetadata } from './index-e2513701.js';
|
|
5
5
|
|
|
6
6
|
type AsyncIter<T> = AsyncGenerator<T, T>;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { U as UdsConnection } from '../../../connection-
|
|
1
|
+
import { U as UdsConnection } from '../../../connection-cfec12e6.js';
|
|
2
2
|
import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.cjs';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
4
|
import 'node:net';
|
|
5
5
|
import 'node:stream';
|
|
6
6
|
import '../../../types-3e5768ec.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { U as UdsConnection } from '../../../connection-
|
|
1
|
+
import { U as UdsConnection } from '../../../connection-cfec12e6.js';
|
|
2
2
|
import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.js';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
4
|
import 'node:net';
|
|
5
5
|
import 'node:stream';
|
|
6
6
|
import '../../../types-3e5768ec.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UdsConnection
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ZWPEZS27.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientTransport
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-YFPVQTWL.js";
|
|
7
7
|
import "../../../chunk-D5PVGZPQ.js";
|
|
8
8
|
import {
|
|
9
9
|
log
|
|
10
|
-
} from "../../../chunk-
|
|
10
|
+
} from "../../../chunk-NBE3D667.js";
|
|
11
11
|
import "../../../chunk-GZ7HCLLM.js";
|
|
12
12
|
|
|
13
13
|
// transport/impls/uds/client.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Server, Socket } from 'node:net';
|
|
2
2
|
import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.cjs';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
4
|
-
import { U as UdsConnection } from '../../../connection-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
|
+
import { U as UdsConnection } from '../../../connection-cfec12e6.js';
|
|
5
5
|
import '../../../types-3e5768ec.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
import 'node:stream';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Server, Socket } from 'node:net';
|
|
2
2
|
import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.js';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
4
|
-
import { U as UdsConnection } from '../../../connection-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
|
+
import { U as UdsConnection } from '../../../connection-cfec12e6.js';
|
|
5
5
|
import '../../../types-3e5768ec.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
import 'node:stream';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UdsConnection
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-ZWPEZS27.js";
|
|
4
4
|
import {
|
|
5
5
|
ServerTransport
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-YFPVQTWL.js";
|
|
7
7
|
import "../../../chunk-D5PVGZPQ.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-NBE3D667.js";
|
|
9
9
|
import "../../../chunk-GZ7HCLLM.js";
|
|
10
10
|
|
|
11
11
|
// transport/impls/uds/server.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import WebSocket from 'isomorphic-ws';
|
|
2
2
|
import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.cjs';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
4
|
-
import { W as WebSocketConnection } from '../../../connection-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
|
+
import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
|
|
5
5
|
import '../../../types-3e5768ec.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import WebSocket from 'isomorphic-ws';
|
|
2
2
|
import { ClientTransport, ClientTransportOptions as ProvidedClientTransportOptions } from '../../index.js';
|
|
3
|
-
import { T as TransportClientId } from '../../../index-
|
|
4
|
-
import { W as WebSocketConnection } from '../../../connection-
|
|
3
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
4
|
+
import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
|
|
5
5
|
import '../../../types-3e5768ec.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConnection
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-JH275HID.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientTransport
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-YFPVQTWL.js";
|
|
7
7
|
import "../../../chunk-D5PVGZPQ.js";
|
|
8
8
|
import {
|
|
9
9
|
log
|
|
10
|
-
} from "../../../chunk-
|
|
10
|
+
} from "../../../chunk-NBE3D667.js";
|
|
11
11
|
import "../../../chunk-GZ7HCLLM.js";
|
|
12
12
|
|
|
13
13
|
// transport/impls/ws/client.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TransportClientId } from '../../../index-
|
|
1
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
2
2
|
import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.cjs';
|
|
3
3
|
import { WebSocketServer } from 'ws';
|
|
4
4
|
import { WebSocket } from 'isomorphic-ws';
|
|
5
|
-
import { W as WebSocketConnection } from '../../../connection-
|
|
5
|
+
import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
import '../../../types-3e5768ec.js';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TransportClientId } from '../../../index-
|
|
1
|
+
import { T as TransportClientId } from '../../../index-e2513701.js';
|
|
2
2
|
import { ServerTransport, ServerTransportOptions as ProvidedServerTransportOptions } from '../../index.js';
|
|
3
3
|
import { WebSocketServer } from 'ws';
|
|
4
4
|
import { WebSocket } from 'isomorphic-ws';
|
|
5
|
-
import { W as WebSocketConnection } from '../../../connection-
|
|
5
|
+
import { W as WebSocketConnection } from '../../../connection-aa0ea000.js';
|
|
6
6
|
import '@sinclair/typebox';
|
|
7
7
|
import '../../../types-3e5768ec.js';
|
|
8
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConnection
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-JH275HID.js";
|
|
4
4
|
import {
|
|
5
5
|
ServerTransport
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-YFPVQTWL.js";
|
|
7
7
|
import "../../../chunk-D5PVGZPQ.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-NBE3D667.js";
|
|
9
9
|
import "../../../chunk-GZ7HCLLM.js";
|
|
10
10
|
|
|
11
11
|
// transport/impls/ws/server.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Codec } from '../types-3e5768ec.js';
|
|
2
|
-
import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-
|
|
3
|
-
export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-
|
|
2
|
+
import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-e2513701.js';
|
|
3
|
+
export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-e2513701.js';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
|
|
6
6
|
type ConnectionStatus = 'connect' | 'disconnect';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Codec } from '../types-3e5768ec.js';
|
|
2
|
-
import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-
|
|
3
|
-
export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-
|
|
2
|
+
import { O as OpaqueTransportMessage, C as Connection, a as Session, T as TransportClientId, P as PartialTransportMessage, S as SessionOptions, f as ClientHandshakeOptions, g as ServerHandshakeOptions } from '../index-e2513701.js';
|
|
3
|
+
export { H as HandshakeRequestMetadata, d as OpaqueTransportMessageSchema, b as ParsedHandshakeMetadata, e as TransportMessage, c as TransportMessageSchema, h as isStreamClose, i as isStreamOpen } from '../index-e2513701.js';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
|
|
6
6
|
type ConnectionStatus = 'connect' | 'disconnect';
|
package/dist/transport/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
ServerTransport,
|
|
6
6
|
Session,
|
|
7
7
|
Transport
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YFPVQTWL.js";
|
|
9
9
|
import {
|
|
10
10
|
OpaqueTransportMessageSchema,
|
|
11
11
|
TransportMessageSchema
|
|
12
12
|
} from "../chunk-D5PVGZPQ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-NBE3D667.js";
|
|
14
14
|
import "../chunk-GZ7HCLLM.js";
|
|
15
15
|
export {
|
|
16
16
|
ClientTransport,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
|
-
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-
|
|
2
|
+
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-4bba42d8.js';
|
|
3
3
|
import { Transport } from '../transport/index.cjs';
|
|
4
4
|
import * as it_pushable from 'it-pushable';
|
|
5
|
-
import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-
|
|
5
|
+
import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-e2513701.js';
|
|
6
6
|
import WebSocket from 'isomorphic-ws';
|
|
7
7
|
import http from 'node:http';
|
|
8
8
|
import net from 'node:net';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
|
-
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-
|
|
2
|
+
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../services-5fc5712d.js';
|
|
3
3
|
import { Transport } from '../transport/index.js';
|
|
4
4
|
import * as it_pushable from 'it-pushable';
|
|
5
|
-
import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-
|
|
5
|
+
import { P as PartialTransportMessage, C as Connection, O as OpaqueTransportMessage, S as SessionOptions, a as Session } from '../index-e2513701.js';
|
|
6
6
|
import WebSocket from 'isomorphic-ws';
|
|
7
7
|
import http from 'node:http';
|
|
8
8
|
import net from 'node:net';
|
package/dist/util/testHelpers.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UNCAUGHT_ERROR,
|
|
3
3
|
pushable
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SR4DBLJ6.js";
|
|
5
5
|
import {
|
|
6
6
|
Session,
|
|
7
7
|
defaultTransportOptions
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YFPVQTWL.js";
|
|
9
9
|
import {
|
|
10
10
|
coerceErrorString
|
|
11
11
|
} from "../chunk-D5PVGZPQ.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-NBE3D667.js";
|
|
13
13
|
import "../chunk-GZ7HCLLM.js";
|
|
14
14
|
|
|
15
15
|
// util/testHelpers.ts
|
package/package.json
CHANGED