@happyvertical/smrt-tenancy 0.40.14 → 0.40.16
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.json +2 -2
- package/dist/smrt-knowledge.json +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @happyvertical/smrt-tenancy
|
|
2
2
|
|
|
3
|
-
Multi-tenancy for
|
|
3
|
+
Multi-tenancy for s-m-r-t with AsyncLocalStorage context propagation, automatic query filtering, and tenant ID population.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n as createExpressMiddleware, r as createCliContext, t as createSvelteK
|
|
|
3
3
|
import { _ as unregisterTenantScopedClass, a as setupTestTenancy, c as disableTenancy, d as isTenancyEnabled, f as clearTenantScopedRegistry, g as registerTenantScopedClass, h as isTenantScopedClass, i as resetTenancy, l as enableTenancy, m as getTenantScopedConfig, n as assertTenantIsolationViolation, o as testTenantIsolation, p as getAllTenantScopedClasses, r as createTestTenantContext, s as createTenantInterceptor, t as assertTenantContextRequired, u as runTenantScopedEntryPoint } from "./chunks/testing-5mZMoGX9.js";
|
|
4
4
|
import { ObjectRegistry, applyPendingDecoratorRegistrations, registerCompatibleFieldDecorator } from "@happyvertical/smrt-core";
|
|
5
5
|
//#region src/__smrt-register__.ts
|
|
6
|
-
ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":
|
|
6
|
+
ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":1784534111453,\"packageName\":\"@happyvertical/smrt-tenancy\",\"packageVersion\":\"0.40.16\",\"objects\":{},\"moduleType\":\"smrt\",\"smrtDependencies\":[\"@happyvertical/smrt-core\"]}"));
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/decorators.ts
|
|
9
9
|
function TenantScoped(options = {}) {
|
package/dist/manifest.json
CHANGED
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-20T07:55:15.118Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-tenancy",
|
|
5
|
-
"packageVersion": "0.40.
|
|
5
|
+
"packageVersion": "0.40.16",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "bf711f5bf55fdeded9d7a477067a73801a344117b1626d5fc05924bbc39c04cf",
|
|
10
|
+
"packageJson": "4c6d92d3b4e2c144e63e7de5dba8c90756641afcb62b2935c812222e0fd4ceb0",
|
|
11
11
|
"agents": "2cca65b88723b4478ea7e41d8c8249f224731729138daa3f873af4faba21abf5"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-tenancy",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.16",
|
|
4
4
|
"description": "Production-ready multi-tenancy framework for SMRT with automatic tenant isolation and enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@happyvertical/logger": "^0.80.2",
|
|
45
45
|
"@happyvertical/sql": "^0.80.2",
|
|
46
46
|
"@happyvertical/utils": "^0.80.2",
|
|
47
|
-
"@happyvertical/smrt-
|
|
48
|
-
"@happyvertical/smrt-
|
|
49
|
-
"@happyvertical/smrt-ui": "0.40.
|
|
47
|
+
"@happyvertical/smrt-types": "0.40.16",
|
|
48
|
+
"@happyvertical/smrt-core": "0.40.16",
|
|
49
|
+
"@happyvertical/smrt-ui": "0.40.16"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"svelte": "^5.56.4"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
66
|
"vite": "8.1.4",
|
|
67
67
|
"vitest": "4.1.10",
|
|
68
|
-
"@happyvertical/smrt-vitest": "0.40.
|
|
68
|
+
"@happyvertical/smrt-vitest": "0.40.16"
|
|
69
69
|
},
|
|
70
70
|
"keywords": [
|
|
71
71
|
"ai",
|