kysely 0.7.5 → 0.7.6
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/cjs/kysely.js +2 -2
- package/dist/esm/kysely.js +2 -2
- package/package.json +1 -1
package/dist/cjs/kysely.js
CHANGED
|
@@ -75,7 +75,7 @@ class Kysely extends query_creator_js_1.QueryCreator {
|
|
|
75
75
|
config: args,
|
|
76
76
|
executor,
|
|
77
77
|
dialect,
|
|
78
|
-
driver,
|
|
78
|
+
driver: runtimeDriver,
|
|
79
79
|
parseContext,
|
|
80
80
|
});
|
|
81
81
|
}
|
|
@@ -278,7 +278,7 @@ exports.ConnectionBuilder = ConnectionBuilder;
|
|
|
278
278
|
class TransactionBuilder {
|
|
279
279
|
#props;
|
|
280
280
|
constructor(props) {
|
|
281
|
-
this.#props = props;
|
|
281
|
+
this.#props = (0, object_utils_js_1.freeze)(props);
|
|
282
282
|
}
|
|
283
283
|
setIsolationLevel(isolationLevel) {
|
|
284
284
|
return new TransactionBuilder({
|
package/dist/esm/kysely.js
CHANGED
|
@@ -72,7 +72,7 @@ export class Kysely extends QueryCreator {
|
|
|
72
72
|
config: args,
|
|
73
73
|
executor,
|
|
74
74
|
dialect,
|
|
75
|
-
driver,
|
|
75
|
+
driver: runtimeDriver,
|
|
76
76
|
parseContext,
|
|
77
77
|
});
|
|
78
78
|
}
|
|
@@ -271,7 +271,7 @@ preventAwait(ConnectionBuilder, "don't await ConnectionBuilder instances directl
|
|
|
271
271
|
export class TransactionBuilder {
|
|
272
272
|
#props;
|
|
273
273
|
constructor(props) {
|
|
274
|
-
this.#props = props;
|
|
274
|
+
this.#props = freeze(props);
|
|
275
275
|
}
|
|
276
276
|
setIsolationLevel(isolationLevel) {
|
|
277
277
|
return new TransactionBuilder({
|