@zenstackhq/runtime 3.0.0-alpha.2 → 3.0.0-alpha.3

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/client.cjs CHANGED
@@ -5896,20 +5896,10 @@ var ClientImpl = class _ClientImpl {
5896
5896
  return (0, import_ts_pattern19.match)(this.schema.provider.type).with("sqlite", () => this.makeSqliteKyselyDialect()).with("postgresql", () => this.makePostgresKyselyDialect()).exhaustive();
5897
5897
  }
5898
5898
  makePostgresKyselyDialect() {
5899
- const { dialectConfigProvider } = this.schema.provider;
5900
- const mergedConfig = {
5901
- ...dialectConfigProvider(),
5902
- ...this.options?.dialectConfig
5903
- };
5904
- return new import_kysely16.PostgresDialect(mergedConfig);
5899
+ return new import_kysely16.PostgresDialect(this.options.dialectConfig);
5905
5900
  }
5906
5901
  makeSqliteKyselyDialect() {
5907
- const { dialectConfigProvider } = this.schema.provider;
5908
- const mergedConfig = {
5909
- ...dialectConfigProvider(),
5910
- ...this.options?.dialectConfig
5911
- };
5912
- return new import_kysely16.SqliteDialect(mergedConfig);
5902
+ return new import_kysely16.SqliteDialect(this.options.dialectConfig);
5913
5903
  }
5914
5904
  async $transaction(callback) {
5915
5905
  return this.kysely.transaction().execute((tx) => {