New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@orpc/client

Package Overview
Dependencies
Maintainers
0
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orpc/client - npm Package Compare versions

Comparing version 0.0.0-next.c59d67c to 0.0.0-next.db1f26d

4

dist/src/router.d.ts
import type { ContractProcedure, ContractRouter, SchemaOutput } from '@orpc/contract';
import type { Procedure, Router } from '@orpc/server';
import type { Lazy, Procedure, Router } from '@orpc/server';
import type { Promisable } from '@orpc/shared';

@@ -9,3 +9,3 @@ import { type ProcedureClient } from './procedure';

export type RouterClientWithRouter<TRouter extends Router<any>> = {
[K in keyof TRouter]: TRouter[K] extends Procedure<any, any, infer UInputSchema, infer UOutputSchema, infer UFuncOutput> ? ProcedureClient<UInputSchema, UOutputSchema, UFuncOutput> : TRouter[K] extends Router<any> ? RouterClientWithRouter<TRouter[K]> : never;
[K in keyof TRouter]: TRouter[K] extends Procedure<any, any, infer UInputSchema, infer UOutputSchema, infer UFuncOutput> | Lazy<Procedure<any, any, infer UInputSchema, infer UOutputSchema, infer UFuncOutput>> ? ProcedureClient<UInputSchema, UOutputSchema, UFuncOutput> : TRouter[K] extends Router<any> ? RouterClientWithRouter<TRouter[K]> : never;
};

@@ -12,0 +12,0 @@ export interface CreateRouterClientOptions {

{
"name": "@orpc/client",
"type": "module",
"version": "0.0.0-next.c59d67c",
"version": "0.0.0-next.db1f26d",
"license": "MIT",

@@ -32,12 +32,12 @@ "homepage": "https://orpc.unnoq.com",

"peerDependencies": {
"@orpc/contract": "0.0.0-next.c59d67c",
"@orpc/server": "0.0.0-next.c59d67c"
"@orpc/contract": "0.0.0-next.db1f26d",
"@orpc/server": "0.0.0-next.db1f26d"
},
"dependencies": {
"@orpc/shared": "0.0.0-next.c59d67c",
"@orpc/transformer": "0.0.0-next.c59d67c"
"@orpc/shared": "0.0.0-next.db1f26d",
"@orpc/transformer": "0.0.0-next.db1f26d"
},
"devDependencies": {
"zod": "^3.23.8",
"@orpc/openapi": "0.0.0-next.c59d67c"
"@orpc/openapi": "0.0.0-next.db1f26d"
},

@@ -44,0 +44,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc