@orpc/contract
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -176,2 +176,1 @@ // src/procedure.ts | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -13,2 +13,1 @@ import type { ContractRouter } from './router'; | ||
} | ||
//# sourceMappingURL=builder.d.ts.map |
export declare const ORPC_HEADER = "x-orpc-transformer"; | ||
export declare const ORPC_HEADER_VALUE = "t"; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -10,2 +10,1 @@ /** unnoq */ | ||
export declare const oc: ContractBuilder; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -46,2 +46,1 @@ import type { HTTPMethod, HTTPPath, Schema, SchemaInput, SchemaOutput } from './types'; | ||
export declare function isContractProcedure(item: unknown): item is WELL_DEFINED_CONTRACT_PROCEDURE; | ||
//# sourceMappingURL=procedure.d.ts.map |
@@ -16,2 +16,1 @@ import type { ContractRouter, HandledContractRouter } from './router'; | ||
} | ||
//# sourceMappingURL=router-builder.d.ts.map |
@@ -16,2 +16,1 @@ import type { SchemaInput, SchemaOutput } from './types'; | ||
}; | ||
//# sourceMappingURL=router.d.ts.map |
@@ -8,2 +8,1 @@ import type { input, output, ZodType } from 'zod'; | ||
export type SchemaOutput<TSchema extends Schema, TFallback = unknown> = TSchema extends undefined ? TFallback : TSchema extends ZodType<any, any, any> ? output<TSchema> : TFallback; | ||
//# sourceMappingURL=types.d.ts.map |
import type { HTTPPath } from './types'; | ||
export declare function standardizeHTTPPath(path: HTTPPath): HTTPPath; | ||
export declare function prefixHTTPPath(prefix: HTTPPath, path: HTTPPath): HTTPPath; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@orpc/contract", | ||
"type": "module", | ||
"version": "0.10.0", | ||
"author": { | ||
"name": "unnoq", | ||
"email": "contact@unnoq.com", | ||
"url": "https://unnoq.com" | ||
}, | ||
"version": "0.11.0", | ||
"license": "MIT", | ||
"homepage": "https://github.com/unnoq/orpc", | ||
"homepage": "https://orpc.unnoq.com", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/unnoq/orpc.git", | ||
"url": "git+https://github.com/unnoq/orpc.git", | ||
"directory": "packages/contract" | ||
@@ -32,4 +27,4 @@ }, | ||
"files": [ | ||
"dist", | ||
"src" | ||
"!dist/*.tsbuildinfo", | ||
"dist" | ||
], | ||
@@ -40,6 +35,6 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@orpc/shared": "0.10.0" | ||
"@orpc/shared": "0.11.0" | ||
}, | ||
"scripts": { | ||
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'", | ||
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'", | ||
"build:watch": "pnpm run build --watch", | ||
@@ -46,0 +41,0 @@ "type:check": "tsc -b" |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
12075
11
277
2
1
+ Added@orpc/shared@0.11.0(transitive)
- Removed@orpc/shared@0.10.0(transitive)
Updated@orpc/shared@0.11.0