@replit/river
Advanced tools
Comparing version 0.13.4 to 0.13.5
@@ -1,4 +0,4 @@ | ||
import { A as AnyService, P as PayloadType, b as Result, R as RiverError, S as ServiceContext, d as ProcType, e as ProcInput, f as ProcOutput, g as ProcErrors, h as ProcHasInit, i as ProcInit } from '../builder-6f4630d0.js'; | ||
export { E as Err, O as Ok, m as ProcHandler, k as ProcListing, a as Procedure, p as RiverErrorSchema, c as RiverUncaughtSchema, l as Service, j as ServiceBuilder, n as ServiceContextWithState, o as ServiceContextWithTransportInfo, U as UNCAUGHT_ERROR, V as ValidProcType, s as serializeService } from '../builder-6f4630d0.js'; | ||
import { S as ServerTransport, C as Connection, a as ClientTransport } from '../index-5c55c0d3.js'; | ||
import { A as AnyService, P as PayloadType, b as Result, R as RiverError, S as ServiceContext, d as ProcType, e as ProcInput, f as ProcOutput, g as ProcErrors, h as ProcHasInit, i as ProcInit } from '../builder-533e1324.js'; | ||
export { E as Err, O as Ok, m as ProcHandler, k as ProcListing, a as Procedure, p as RiverErrorSchema, c as RiverUncaughtSchema, l as Service, j as ServiceBuilder, n as ServiceContextWithState, o as ServiceContextWithTransportInfo, U as UNCAUGHT_ERROR, V as ValidProcType, s as serializeService } from '../builder-533e1324.js'; | ||
import { S as ServerTransport, C as Connection, a as ClientTransport } from '../index-2154021c.js'; | ||
import { Pushable } from 'it-pushable'; | ||
@@ -5,0 +5,0 @@ import { Static } from '@sinclair/typebox'; |
@@ -11,3 +11,3 @@ import { | ||
serializeService | ||
} from "../chunk-ASZ3VDCS.js"; | ||
} from "../chunk-E2CP4UWB.js"; | ||
import "../chunk-GFRAOY75.js"; | ||
@@ -14,0 +14,0 @@ import "../chunk-H4BYJELI.js"; |
@@ -1,3 +0,3 @@ | ||
import { a as ClientTransport, b as TransportClientId, c as TransportOptions } from '../../../index-5c55c0d3.js'; | ||
import { U as UdsConnection } from '../../../connection-8d0efae0.js'; | ||
import { a as ClientTransport, b as TransportClientId, c as TransportOptions } from '../../../index-2154021c.js'; | ||
import { U as UdsConnection } from '../../../connection-1f994b63.js'; | ||
import '../../../types-3e5768ec.js'; | ||
@@ -4,0 +4,0 @@ import '@sinclair/typebox'; |
import { | ||
UdsConnection | ||
} from "../../../chunk-FIX2F6VT.js"; | ||
} from "../../../chunk-4JFIL3FG.js"; | ||
import { | ||
ClientTransport | ||
} from "../../../chunk-MCTB3NYK.js"; | ||
} from "../../../chunk-WYHD3FN7.js"; | ||
import "../../../chunk-GFRAOY75.js"; | ||
@@ -8,0 +8,0 @@ import { |
import { Server, Socket } from 'node:net'; | ||
import { S as ServerTransport, b as TransportClientId, c as TransportOptions } from '../../../index-5c55c0d3.js'; | ||
import { U as UdsConnection } from '../../../connection-8d0efae0.js'; | ||
import { S as ServerTransport, b as TransportClientId, c as TransportOptions } from '../../../index-2154021c.js'; | ||
import { U as UdsConnection } from '../../../connection-1f994b63.js'; | ||
import '../../../types-3e5768ec.js'; | ||
@@ -5,0 +5,0 @@ import '@sinclair/typebox'; |
import { | ||
UdsConnection | ||
} from "../../../chunk-FIX2F6VT.js"; | ||
} from "../../../chunk-4JFIL3FG.js"; | ||
import { | ||
ServerTransport | ||
} from "../../../chunk-MCTB3NYK.js"; | ||
} from "../../../chunk-WYHD3FN7.js"; | ||
import "../../../chunk-GFRAOY75.js"; | ||
@@ -27,5 +27,2 @@ import { | ||
this.handleConnection(conn); | ||
log?.info( | ||
`${this.clientId} -- new incoming uds connection (id: ${conn.debugId})` | ||
); | ||
}; | ||
@@ -32,0 +29,0 @@ close() { |
import WebSocket from 'isomorphic-ws'; | ||
import { a as ClientTransport, b as TransportClientId, c as TransportOptions } from '../../../index-5c55c0d3.js'; | ||
import { W as WebSocketConnection } from '../../../connection-fe33e684.js'; | ||
import { a as ClientTransport, b as TransportClientId, c as TransportOptions } from '../../../index-2154021c.js'; | ||
import { W as WebSocketConnection } from '../../../connection-f46114a1.js'; | ||
import '../../../types-3e5768ec.js'; | ||
@@ -5,0 +5,0 @@ import '@sinclair/typebox'; |
import { | ||
WebSocketConnection | ||
} from "../../../chunk-5V6B7TM3.js"; | ||
} from "../../../chunk-MSJNWNYI.js"; | ||
import { | ||
ClientTransport | ||
} from "../../../chunk-MCTB3NYK.js"; | ||
} from "../../../chunk-WYHD3FN7.js"; | ||
import "../../../chunk-GFRAOY75.js"; | ||
@@ -8,0 +8,0 @@ import { |
@@ -1,5 +0,5 @@ | ||
import { S as ServerTransport, b as TransportClientId, c as TransportOptions } from '../../../index-5c55c0d3.js'; | ||
import { S as ServerTransport, b as TransportClientId, c as TransportOptions } from '../../../index-2154021c.js'; | ||
import { WebSocketServer } from 'ws'; | ||
import { WebSocket } from 'isomorphic-ws'; | ||
import { W as WebSocketConnection } from '../../../connection-fe33e684.js'; | ||
import { W as WebSocketConnection } from '../../../connection-f46114a1.js'; | ||
import '../../../types-3e5768ec.js'; | ||
@@ -6,0 +6,0 @@ import '@sinclair/typebox'; |
import { | ||
WebSocketConnection | ||
} from "../../../chunk-5V6B7TM3.js"; | ||
} from "../../../chunk-MSJNWNYI.js"; | ||
import { | ||
ServerTransport | ||
} from "../../../chunk-MCTB3NYK.js"; | ||
} from "../../../chunk-WYHD3FN7.js"; | ||
import "../../../chunk-GFRAOY75.js"; | ||
import { | ||
log | ||
} from "../../../chunk-H4BYJELI.js"; | ||
import "../../../chunk-H4BYJELI.js"; | ||
import "../../../chunk-GZ7HCLLM.js"; | ||
@@ -23,5 +21,2 @@ | ||
const conn = new WebSocketConnection(ws); | ||
log?.info( | ||
`${this.clientId} -- new incoming ws connection (id: ${conn.debugId})` | ||
); | ||
this.handleConnection(conn); | ||
@@ -28,0 +23,0 @@ }; |
@@ -1,3 +0,3 @@ | ||
export { a as ClientTransport, C as Connection, l as EventHandler, E as EventMap, k as EventTypes, O as OpaqueTransportMessage, g as OpaqueTransportMessageSchema, S as ServerTransport, d as Session, T as Transport, b as TransportClientId, h as TransportMessage, f as TransportMessageSchema, c as TransportOptions, e as TransportStatus, j as isStreamClose, i as isStreamOpen } from '../index-5c55c0d3.js'; | ||
export { a as ClientTransport, C as Connection, l as EventHandler, E as EventMap, k as EventTypes, O as OpaqueTransportMessage, g as OpaqueTransportMessageSchema, S as ServerTransport, d as Session, T as Transport, b as TransportClientId, h as TransportMessage, f as TransportMessageSchema, c as TransportOptions, e as TransportStatus, j as isStreamClose, i as isStreamOpen } from '../index-2154021c.js'; | ||
import '../types-3e5768ec.js'; | ||
import '@sinclair/typebox'; |
@@ -8,3 +8,3 @@ import "../chunk-5IZ2UHWV.js"; | ||
Transport | ||
} from "../chunk-MCTB3NYK.js"; | ||
} from "../chunk-WYHD3FN7.js"; | ||
import { | ||
@@ -11,0 +11,0 @@ OpaqueTransportMessageSchema, |
import * as it_pushable from 'it-pushable'; | ||
import WebSocket from 'isomorphic-ws'; | ||
import http from 'node:http'; | ||
import { P as PartialTransportMessage, T as Transport, C as Connection, O as OpaqueTransportMessage } from '../index-5c55c0d3.js'; | ||
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema } from '../builder-6f4630d0.js'; | ||
import { P as PartialTransportMessage, T as Transport, C as Connection, O as OpaqueTransportMessage } from '../index-2154021c.js'; | ||
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema } from '../builder-533e1324.js'; | ||
import { Static } from '@sinclair/typebox'; | ||
@@ -7,0 +7,0 @@ import net from 'node:net'; |
import { | ||
UNCAUGHT_ERROR, | ||
pushable | ||
} from "../chunk-ASZ3VDCS.js"; | ||
} from "../chunk-E2CP4UWB.js"; | ||
import "../chunk-5IZ2UHWV.js"; | ||
@@ -9,3 +9,3 @@ import { | ||
defaultSessionOptions | ||
} from "../chunk-MCTB3NYK.js"; | ||
} from "../chunk-WYHD3FN7.js"; | ||
import { | ||
@@ -12,0 +12,0 @@ coerceErrorString |
{ | ||
"name": "@replit/river", | ||
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340890
10041