@replit/river
Advanced tools
Comparing version 0.18.3 to 0.18.4
import { TUnion, Static } from '@sinclair/typebox'; | ||
import { e as ProcedureMap, P as PayloadType, c as RiverUncaughtSchema, U as Unbranded, B as Branded, A as AnyProcedure, R as RiverError, b as Result, S as ServiceContext } from '../procedures-85e52b9c.js'; | ||
export { E as Err, O as Ok, a as Procedure, d as ProcedureResult, f as RPCProcedure, m as RiverErrorSchema, j as ServiceContextWithState, k as ServiceContextWithTransportInfo, i as StreamProcedure, h as SubscriptionProcedure, l as UNCAUGHT_ERROR, g as UploadProcedure, V as ValidProcType } from '../procedures-85e52b9c.js'; | ||
import { e as ProcedureMap, P as PayloadType, c as RiverUncaughtSchema, U as Unbranded, B as Branded, A as AnyProcedure, R as RiverError, b as Result, S as ServiceContext } from '../procedures-bfffcb0b.js'; | ||
export { E as Err, O as Ok, a as Procedure, d as ProcedureResult, f as RPCProcedure, m as RiverErrorSchema, j as ServiceContextWithState, k as ServiceContextWithTransportInfo, i as StreamProcedure, h as SubscriptionProcedure, l as UNCAUGHT_ERROR, g as UploadProcedure, V as ValidProcType } from '../procedures-bfffcb0b.js'; | ||
import { b as ClientTransport, C as Connection, c as ServerTransport } from '../index-d412ca83.js'; | ||
@@ -390,3 +390,2 @@ import { Pushable } from 'it-pushable'; | ||
streams: Map<string, ProcStream>; | ||
serialize(): SerializedServerSchema; | ||
close(): Promise<void>; | ||
@@ -405,3 +404,2 @@ } | ||
} | ||
type SerializedServerSchema = Record<string, SerializedServiceSchema>; | ||
/** | ||
@@ -417,4 +415,4 @@ * Creates a server instance that listens for incoming messages from a transport and routes them to the appropriate service and procedure. | ||
var version = "0.18.3"; | ||
var version = "0.18.4"; | ||
export { Client, PayloadType, ProcErrors, ProcHandler, ProcInit, ProcInput, ProcOutput, ProcType, ProcedureMap, version as RIVER_VERSION, Result, RiverError, RiverUncaughtSchema, Server, Service, ServiceConfiguration, ServiceContext, ServiceSchema, createClient, createServer }; |
@@ -11,3 +11,3 @@ import { | ||
version | ||
} from "../chunk-7OS34AWW.js"; | ||
} from "../chunk-TF7XT3LV.js"; | ||
import "../chunk-VH3NGOXQ.js"; | ||
@@ -14,0 +14,0 @@ import "../chunk-WER2DWCP.js"; |
import { Static } from '@sinclair/typebox'; | ||
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../procedures-85e52b9c.js'; | ||
import { P as PayloadType, R as RiverError, a as Procedure, S as ServiceContext, b as Result, c as RiverUncaughtSchema, d as ProcedureResult } from '../procedures-bfffcb0b.js'; | ||
import { T as Transport, C as Connection, S as SessionOptions, a as Session } from '../index-d412ca83.js'; | ||
@@ -4,0 +4,0 @@ import * as it_pushable from 'it-pushable'; |
import { | ||
UNCAUGHT_ERROR, | ||
pushable | ||
} from "../chunk-7OS34AWW.js"; | ||
} from "../chunk-TF7XT3LV.js"; | ||
import "../chunk-RPIDSIQG.js"; | ||
@@ -6,0 +6,0 @@ import { |
{ | ||
"name": "@replit/river", | ||
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!", | ||
"version": "0.18.3", | ||
"version": "0.18.4", | ||
"type": "module", | ||
@@ -71,3 +71,4 @@ "exports": { | ||
"typescript": "^5.2.2", | ||
"vitest": "^1.3.1" | ||
"vitest": "^1.3.1", | ||
"vscode-langservers-extracted": "4.8.0" | ||
}, | ||
@@ -74,0 +75,0 @@ "scripts": { |
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
416206
12
12128