@stndrds/schema 0.1.0-alpha.24 → 0.1.0-alpha.25
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/dist/chunk-PEF22PIF.mjs +9892 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/runtime.js +2 -2
- package/dist/runtime.mjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4022,8 +4022,8 @@ function runWithContext(context, fn) {
|
|
|
4022
4022
|
const frozenContext = Object.freeze({ ...context });
|
|
4023
4023
|
return storage.run(frozenContext, fn);
|
|
4024
4024
|
}
|
|
4025
|
-
|
|
4026
|
-
return
|
|
4025
|
+
function withTenantContext(tenantId, fn, userId) {
|
|
4026
|
+
return runWithContext({ tenantId, userId }, fn);
|
|
4027
4027
|
}
|
|
4028
4028
|
|
|
4029
4029
|
// src/runtime/formula/evaluator.ts
|
package/dist/index.mjs
CHANGED
package/dist/runtime.js
CHANGED
|
@@ -710,8 +710,8 @@ function runWithContext(context, fn) {
|
|
|
710
710
|
const frozenContext = Object.freeze({ ...context });
|
|
711
711
|
return storage.run(frozenContext, fn);
|
|
712
712
|
}
|
|
713
|
-
|
|
714
|
-
return
|
|
713
|
+
function withTenantContext(tenantId, fn, userId) {
|
|
714
|
+
return runWithContext({ tenantId, userId }, fn);
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
// src/runtime/formula/evaluator.ts
|
package/dist/runtime.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.25",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"expr-eval": "^2.0.2",
|
|
25
25
|
"zod": "^4.2.1",
|
|
26
|
-
"@stndrds/constants": "0.1.0-alpha.
|
|
26
|
+
"@stndrds/constants": "0.1.0-alpha.25"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@vitest/coverage-v8": "^2.1.9",
|