@better-auth/kysely-adapter 1.7.7 → 1.7.9

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.
@@ -31,7 +31,11 @@ function createD1IndexIntrospector(database) {
31
31
  }));
32
32
  };
33
33
  }
34
- var D1SqliteAdapter = class extends SqliteAdapter {};
34
+ var D1SqliteAdapter = class extends SqliteAdapter {
35
+ get supportsMultipleConnections() {
36
+ return true;
37
+ }
38
+ };
35
39
  var D1SqliteDriver = class {
36
40
  #config;
37
41
  #connection;
package/dist/index.mjs CHANGED
@@ -101,7 +101,7 @@ const createKyselyAdapter = async (config) => {
101
101
  }
102
102
  }
103
103
  if ("batch" in db && "exec" in db && "prepare" in db) {
104
- const { createD1IndexIntrospector, D1SqliteDialect } = await import("./d1-sqlite-dialect-Cru74LbR.mjs");
104
+ const { createD1IndexIntrospector, D1SqliteDialect } = await import("./d1-sqlite-dialect-m0f01-4z.mjs");
105
105
  dialect = new D1SqliteDialect({ database: db });
106
106
  introspectIndexes = createD1IndexIntrospector(db);
107
107
  transaction = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/kysely-adapter",
3
- "version": "1.7.7",
3
+ "version": "1.7.9",
4
4
  "description": "Kysely adapter for Better Auth",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,9 +40,9 @@
40
40
  }
41
41
  },
42
42
  "peerDependencies": {
43
- "@better-auth/utils": "0.4.2",
43
+ "@better-auth/utils": "^0.4.2 || ^0.5.0",
44
44
  "kysely": "^0.28.17 || ^0.29.0",
45
- "@better-auth/core": "^1.7.7"
45
+ "@better-auth/core": "^1.7.9"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "kysely": {
@@ -50,14 +50,14 @@
50
50
  }
51
51
  },
52
52
  "devDependencies": {
53
- "@better-auth/utils": "0.4.2",
53
+ "@better-auth/utils": "0.5.0",
54
54
  "@cloudflare/workers-types": "^4.20250121.0",
55
55
  "@types/pg": "^8.20.0",
56
56
  "kysely": "^0.28.17 || ^0.29.0",
57
57
  "pg": "^8.0.0",
58
58
  "tsdown": "0.21.10",
59
59
  "typescript": "^6.0.3",
60
- "@better-auth/core": "1.7.7"
60
+ "@better-auth/core": "1.7.9"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsdown",