@orpc/contract
Advanced tools
Comparing version 0.0.0-next.8f9385e to 0.0.0-next.aa57fb6
@@ -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>; |
{ | ||
"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": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12666
281
0
232
232
+ Added@orpc/shared@0.0.0-next.aa57fb6(transitive)
+ Addedtype-fest@4.36.0(transitive)
- Removed@orpc/shared@0.0.0-next.8f9385e(transitive)
- Removedtype-fest@4.35.0(transitive)