@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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientConstructor } from './contract-DguafRNB.cjs';
2
- export { a as ClientContract } from './contract-DguafRNB.cjs';
1
+ import { C as ClientConstructor } from './contract-0F-AwA7Z.cjs';
2
+ export { a as ClientContract } from './contract-0F-AwA7Z.cjs';
3
3
  import '@zenstackhq/sdk/schema';
4
4
  import 'decimal.js';
5
5
  import 'kysely';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientConstructor } from './contract-DguafRNB.js';
2
- export { a as ClientContract } from './contract-DguafRNB.js';
1
+ import { C as ClientConstructor } from './contract-0F-AwA7Z.js';
2
+ export { a as ClientContract } from './contract-0F-AwA7Z.js';
3
3
  import '@zenstackhq/sdk/schema';
4
4
  import 'decimal.js';
5
5
  import 'kysely';
package/dist/index.js CHANGED
@@ -5863,20 +5863,10 @@ var ClientImpl = class _ClientImpl {
5863
5863
  return match19(this.schema.provider.type).with("sqlite", () => this.makeSqliteKyselyDialect()).with("postgresql", () => this.makePostgresKyselyDialect()).exhaustive();
5864
5864
  }
5865
5865
  makePostgresKyselyDialect() {
5866
- const { dialectConfigProvider } = this.schema.provider;
5867
- const mergedConfig = {
5868
- ...dialectConfigProvider(),
5869
- ...this.options?.dialectConfig
5870
- };
5871
- return new PostgresDialect(mergedConfig);
5866
+ return new PostgresDialect(this.options.dialectConfig);
5872
5867
  }
5873
5868
  makeSqliteKyselyDialect() {
5874
- const { dialectConfigProvider } = this.schema.provider;
5875
- const mergedConfig = {
5876
- ...dialectConfigProvider(),
5877
- ...this.options?.dialectConfig
5878
- };
5879
- return new SqliteDialect(mergedConfig);
5869
+ return new SqliteDialect(this.options.dialectConfig);
5880
5870
  }
5881
5871
  async $transaction(callback) {
5882
5872
  return this.kysely.transaction().execute((tx) => {