@inai-dev/types 1.2.0 → 1.3.0

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.
package/README.md CHANGED
@@ -41,7 +41,7 @@ import type {
41
41
 
42
42
  ```ts
43
43
  import type {
44
- InAIAuthConfig, // Client config (publishableKey, tenantId)
44
+ InAIAuthConfig, // Client config (publishableKey, tenantId, jwksUrl)
45
45
  InAIMiddlewareConfig, // Middleware config (publicRoutes, signInUrl, beforeAuth, afterAuth)
46
46
  InAIAuthSDKConfig, // SDK-wide config (signInUrl, signUpUrl, afterSignInUrl, publishableKey)
47
47
  } from "@inai-dev/types";
@@ -78,7 +78,7 @@ import type {
78
78
  | `ApplicationStats` | Resource | Application statistics |
79
79
  | `ApiKeyResource` | Resource | API key data |
80
80
  | `PaginatedResult<T>` | Resource | Paginated response |
81
- | `InAIAuthConfig` | Config | Client configuration |
81
+ | `InAIAuthConfig` | Config | Client configuration (`publishableKey`, `apiUrl`, `tenantId`, `jwksUrl`) |
82
82
  | `InAIMiddlewareConfig` | Config | Middleware configuration |
83
83
  | `InAIAuthSDKConfig` | Config | SDK global configuration |
84
84
  | `LoginParams` | Result | Login request parameters |
package/dist/index.d.cts CHANGED
@@ -153,6 +153,7 @@ interface InAIAuthConfig {
153
153
  apiUrl?: string;
154
154
  publishableKey?: string;
155
155
  tenantId?: string;
156
+ jwksUrl?: string;
156
157
  }
157
158
  interface InAIMiddlewareConfig {
158
159
  publicRoutes?: string[] | ((req: unknown) => boolean);
package/dist/index.d.ts CHANGED
@@ -153,6 +153,7 @@ interface InAIAuthConfig {
153
153
  apiUrl?: string;
154
154
  publishableKey?: string;
155
155
  tenantId?: string;
156
+ jwksUrl?: string;
156
157
  }
157
158
  interface InAIMiddlewareConfig {
158
159
  publicRoutes?: string[] | ((req: unknown) => boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inai-dev/types",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "TypeScript types for the InAI Auth SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",