diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c3fc03a..e1856df 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedrequest-interfaces', - version: '3.0.1', + version: '3.0.2', description: 'interfaces for making typed requests' } diff --git a/ts/index.ts b/ts/index.ts index d6b0edc..2a2b75d 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -11,6 +11,14 @@ export interface ITypedRequest { jwt: string; }; + /** + * localData tracks things within typedrequest. + * needed for VirtualStreams + */ + localData?: { + firstTypedrouter: any; + } + /** * server data that is added for dealing with the request server side. Will be omitted when sending the response */ @@ -44,6 +52,8 @@ export interface ITypedRequest { /** * a correlation id that + * used for matching request and response + * !important. Don't remove. */ correlation?: { id: string;