@plyaz/types 1.7.21 → 1.7.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,7 +157,7 @@ export interface HeaderValidationResult {
157
157
  /**
158
158
  * Build enriched context headers from request context
159
159
  */
160
- export interface RequestContext {
160
+ export interface RequestContext<EndpointsList> {
161
161
  request?: {
162
162
  headers?: Record<string, string | string[] | undefined>;
163
163
  ip?: string;
@@ -165,7 +165,7 @@ export interface RequestContext {
165
165
  url?: string;
166
166
  [key: string]: unknown;
167
167
  };
168
- clientContext?: ApiClientInstance;
168
+ clientContext?: ApiClientInstance<EndpointsList>;
169
169
  [key: string]: unknown;
170
170
  }
171
171
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.7.21",
3
+ "version": "1.7.22",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",