@nmtjs/client
Advanced tools
Comparing version 0.4.8 to 0.5.0
@@ -51,5 +51,5 @@ import type { | ||
? [options?: ClientCallOptions] | ||
: t.infer.staticType< | ||
: t.infer.input.decoded< | ||
Services[K][P]['contract']['input'] | ||
>['isOptional'] extends true | ||
> extends undefined | ||
? [data?: Services[K][P]['input'], options?: ClientCallOptions] | ||
@@ -62,3 +62,3 @@ : [data: Services[K][P]['input'], options?: ClientCallOptions] | ||
? undefined | ||
: Services[K][P]['output'] | ||
: t.infer.decoded<Services[K][P]['output']> | ||
subscription: Subscription<{ | ||
@@ -65,0 +65,0 @@ [KE in keyof Services[K][P]['events']]: [ |
@@ -13,3 +13,3 @@ import type { TServiceContract, TSubscriptionContract } from '@nmtjs/contract' | ||
contract: Services[K]['procedures'][P] | ||
input: InputType<t.infer.encoded<Services[K]['procedures'][P]['input']>> | ||
input: t.infer.input.encoded<Services[K]['procedures'][P]['input']> | ||
output: OutputType< | ||
@@ -16,0 +16,0 @@ t.infer.encoded<Services[K]['procedures'][P]['output']> |
@@ -22,5 +22,5 @@ { | ||
"dependencies": { | ||
"@nmtjs/type": "0.4.8", | ||
"@nmtjs/common": "0.4.8", | ||
"@nmtjs/contract": "0.4.8" | ||
"@nmtjs/type": "0.5.0", | ||
"@nmtjs/common": "0.5.0", | ||
"@nmtjs/contract": "0.5.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "files": [ | ||
], | ||
"version": "0.4.8", | ||
"version": "0.5.0", | ||
"scripts": { | ||
@@ -38,0 +38,0 @@ "build": "neemata-build -p neutral ./index.ts './lib/**/*.ts'", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61482
+ Added@nmtjs/common@0.5.0(transitive)
+ Added@nmtjs/contract@0.5.0(transitive)
+ Added@nmtjs/type@0.5.0(transitive)
+ Added@sinclair/typebox@0.34.16(transitive)
- Removed@nmtjs/common@0.4.8(transitive)
- Removed@nmtjs/contract@0.4.8(transitive)
- Removed@nmtjs/type@0.4.8(transitive)
- Removed@sinclair/typebox@0.34.15(transitive)
Updated@nmtjs/common@0.5.0
Updated@nmtjs/contract@0.5.0
Updated@nmtjs/type@0.5.0