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

@orpc/contract

Package Overview
Dependencies
Maintainers
0
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orpc/contract - npm Package Compare versions

Comparing version 0.0.0-next.8f9385e to 0.0.0-next.aa57fb6

3

dist/index.js

@@ -62,2 +62,5 @@ // src/procedure.ts

this.zz$crb = zz$crb;
if (zz$crb.prefix && zz$crb.prefix.includes("{")) {
throw new Error('Prefix cannot contain "{" for dynamic routing');
}
}

@@ -64,0 +67,0 @@ prefix(prefix) {

@@ -36,2 +36,3 @@ import type { HTTPMethod, HTTPPath, Schema, SchemaInput, SchemaOutput } from './types';

}
export type WELL_CONTRACT_PROCEDURE = ContractProcedure<Schema, Schema>;
export declare class DecoratedContractProcedure<TInputSchema extends Schema, TOutputSchema extends Schema> extends ContractProcedure<TInputSchema, TOutputSchema> {

@@ -38,0 +39,0 @@ static decorate<TInputSchema extends Schema, TOutputSchema extends Schema>(cp: ContractProcedure<TInputSchema, TOutputSchema>): DecoratedContractProcedure<TInputSchema, TOutputSchema>;

4

package.json
{
"name": "@orpc/contract",
"type": "module",
"version": "0.0.0-next.8f9385e",
"version": "0.0.0-next.aa57fb6",
"license": "MIT",

@@ -35,3 +35,3 @@ "homepage": "https://orpc.unnoq.com",

"dependencies": {
"@orpc/shared": "0.0.0-next.8f9385e"
"@orpc/shared": "0.0.0-next.aa57fb6"
},

@@ -38,0 +38,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