@authhero/multi-tenancy 14.18.0 → 14.19.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.
@@ -92,7 +92,7 @@ export declare function createMultiTenancy(config: MultiTenancyConfig): Hono<{
92
92
  *
93
93
  * // Wrap your adapters with runtime fallback (uses same controlPlaneTenantId)
94
94
  * const dataAdapter = multiTenancy.wrapAdapters(baseAdapters, {
95
- * controlPlaneClientId: "default_client", // optional additional config
95
+ * controlPlaneClientId: "default", // optional additional config
96
96
  * });
97
97
  *
98
98
  * // Use the middleware
@@ -99,7 +99,7 @@ export interface MultiTenantResult {
99
99
  * dataAdapter,
100
100
  * controlPlane: {
101
101
  * tenantId: "main",
102
- * clientId: "default_client",
102
+ * clientId: "default",
103
103
  * },
104
104
  * });
105
105
  *
@@ -112,7 +112,7 @@ export interface MultiTenantResult {
112
112
  * dataAdapter,
113
113
  * controlPlane: {
114
114
  * tenantId: "main",
115
- * clientId: "default_client",
115
+ * clientId: "default",
116
116
  * },
117
117
  * sync: {
118
118
  * resourceServers: true,
@@ -128,7 +128,7 @@ export interface MultiTenantResult {
128
128
  * dataAdapter,
129
129
  * controlPlane: {
130
130
  * tenantId: "main",
131
- * clientId: "default_client",
131
+ * clientId: "default",
132
132
  * },
133
133
  * sync: false, // Each tenant manages their own entities
134
134
  * });
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "14.18.0",
14
+ "version": "14.19.0",
15
15
  "description": "Multi-tenancy support for AuthHero with organization-based access control and per-tenant database isolation",
16
16
  "files": [
17
17
  "dist"
@@ -36,9 +36,9 @@
36
36
  "typescript": "^5.6.0",
37
37
  "vite": "^6.0.0",
38
38
  "vitest": "^2.1.0",
39
- "authhero": "4.83.0",
40
- "@authhero/adapter-interfaces": "0.152.0",
41
- "@authhero/kysely-adapter": "10.115.0"
39
+ "@authhero/kysely-adapter": "10.121.0",
40
+ "authhero": "4.91.0",
41
+ "@authhero/adapter-interfaces": "1.0.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "zod": "^3.24.0"