@zenstackhq/plugin-policy 3.9.0 → 3.9.1
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -222,7 +222,7 @@ var ExpressionTransformer = class {
|
|
|
222
222
|
eb = (0, kysely.expressionBuilder)();
|
|
223
223
|
constructor(client) {
|
|
224
224
|
this.client = client;
|
|
225
|
-
this.dialect = (0, _zenstackhq_orm.getCrudDialect)(this.
|
|
225
|
+
this.dialect = (0, _zenstackhq_orm.getCrudDialect)(this.client);
|
|
226
226
|
}
|
|
227
227
|
get schema() {
|
|
228
228
|
return this.client.$schema;
|
|
@@ -760,7 +760,7 @@ var PolicyHandler = class extends kysely.OperationNodeTransformer {
|
|
|
760
760
|
super();
|
|
761
761
|
this.client = client;
|
|
762
762
|
this.options = options;
|
|
763
|
-
this.dialect = (0, _zenstackhq_orm.getCrudDialect)(this.client
|
|
763
|
+
this.dialect = (0, _zenstackhq_orm.getCrudDialect)(this.client);
|
|
764
764
|
}
|
|
765
765
|
async handle(node, proceed) {
|
|
766
766
|
if (!this.isCrudQueryNode(node)) {
|