@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.mjs CHANGED
@@ -221,7 +221,7 @@ var ExpressionTransformer = class {
221
221
  eb = expressionBuilder();
222
222
  constructor(client) {
223
223
  this.client = client;
224
- this.dialect = getCrudDialect(this.schema, this.clientOptions);
224
+ this.dialect = getCrudDialect(this.client);
225
225
  }
226
226
  get schema() {
227
227
  return this.client.$schema;
@@ -759,7 +759,7 @@ var PolicyHandler = class extends OperationNodeTransformer {
759
759
  super();
760
760
  this.client = client;
761
761
  this.options = options;
762
- this.dialect = getCrudDialect(this.client.$schema, this.client.$options);
762
+ this.dialect = getCrudDialect(this.client);
763
763
  }
764
764
  async handle(node, proceed) {
765
765
  if (!this.isCrudQueryNode(node)) {