@zenstackhq/plugin-policy 3.9.0 → 3.9.2

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 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.schema, this.clientOptions);
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.$schema, this.client.$options);
763
+ this.dialect = (0, _zenstackhq_orm.getCrudDialect)(this.client);
764
764
  }
765
765
  async handle(node, proceed) {
766
766
  if (!this.isCrudQueryNode(node)) {