@prisma/adapter-better-sqlite3 7.2.0-integration-engines-7-2-0-3-aqrln-zpupkzknszlw-04d61c41ec1a025cabe14093fa3121a5f45040ab.1 → 7.3.0-integration-fix-6-19-0-cloudflare-accelerate-engine.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.d.mts CHANGED
@@ -6,16 +6,16 @@ declare type BetterSQLite3InputParams = Options & {
6
6
  url: ':memory:' | (string & {});
7
7
  };
8
8
 
9
- export declare class PrismaBetterSqlite3 implements SqlMigrationAwareDriverAdapterFactory {
9
+ export declare class PrismaBetterSQLite3 implements SqlMigrationAwareDriverAdapterFactory {
10
10
  #private;
11
11
  readonly provider = "sqlite";
12
12
  readonly adapterName: string;
13
- constructor(config: BetterSQLite3InputParams, options?: PrismaBetterSqlite3Options);
13
+ constructor(config: BetterSQLite3InputParams, options?: PrismaBetterSQLite3Options);
14
14
  connect(): Promise<SqlDriverAdapter>;
15
15
  connectToShadowDb(): Promise<SqlDriverAdapter>;
16
16
  }
17
17
 
18
- declare type PrismaBetterSqlite3Options = {
18
+ declare type PrismaBetterSQLite3Options = {
19
19
  shadowDatabaseUrl?: string;
20
20
  timestampFormat?: 'iso8601' | 'unixepoch-ms';
21
21
  };
package/dist/index.d.ts CHANGED
@@ -6,16 +6,16 @@ declare type BetterSQLite3InputParams = Options & {
6
6
  url: ':memory:' | (string & {});
7
7
  };
8
8
 
9
- export declare class PrismaBetterSqlite3 implements SqlMigrationAwareDriverAdapterFactory {
9
+ export declare class PrismaBetterSQLite3 implements SqlMigrationAwareDriverAdapterFactory {
10
10
  #private;
11
11
  readonly provider = "sqlite";
12
12
  readonly adapterName: string;
13
- constructor(config: BetterSQLite3InputParams, options?: PrismaBetterSqlite3Options);
13
+ constructor(config: BetterSQLite3InputParams, options?: PrismaBetterSQLite3Options);
14
14
  connect(): Promise<SqlDriverAdapter>;
15
15
  connectToShadowDb(): Promise<SqlDriverAdapter>;
16
16
  }
17
17
 
18
- declare type PrismaBetterSqlite3Options = {
18
+ declare type PrismaBetterSQLite3Options = {
19
19
  shadowDatabaseUrl?: string;
20
20
  timestampFormat?: 'iso8601' | 'unixepoch-ms';
21
21
  };
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
- PrismaBetterSqlite3: () => PrismaBetterSqlite3AdapterFactory
33
+ PrismaBetterSQLite3: () => PrismaBetterSQLite3AdapterFactory
34
34
  });
35
35
  module.exports = __toCommonJS(index_exports);
36
36
 
@@ -593,7 +593,7 @@ var BetterSQLite3Transaction = class extends BetterSQLite3Queryable {
593
593
  return Promise.resolve();
594
594
  }
595
595
  };
596
- var PrismaBetterSqlite3Adapter = class extends BetterSQLite3Queryable {
596
+ var PrismaBetterSQLite3Adapter = class extends BetterSQLite3Queryable {
597
597
  #mutex = new Mutex();
598
598
  constructor(client, adapterOptions) {
599
599
  super(client, adapterOptions);
@@ -631,7 +631,7 @@ var PrismaBetterSqlite3Adapter = class extends BetterSQLite3Queryable {
631
631
  return Promise.resolve();
632
632
  }
633
633
  };
634
- var PrismaBetterSqlite3AdapterFactory = class {
634
+ var PrismaBetterSQLite3AdapterFactory = class {
635
635
  provider = "sqlite";
636
636
  adapterName = name;
637
637
  #config;
@@ -641,12 +641,12 @@ var PrismaBetterSqlite3AdapterFactory = class {
641
641
  this.#options = options;
642
642
  }
643
643
  connect() {
644
- return Promise.resolve(new PrismaBetterSqlite3Adapter(createBetterSQLite3Client(this.#config), this.#options));
644
+ return Promise.resolve(new PrismaBetterSQLite3Adapter(createBetterSQLite3Client(this.#config), this.#options));
645
645
  }
646
646
  connectToShadowDb() {
647
647
  const url = this.#options?.shadowDatabaseUrl ?? ":memory:";
648
648
  return Promise.resolve(
649
- new PrismaBetterSqlite3Adapter(createBetterSQLite3Client({ ...this.#config, url }), this.#options)
649
+ new PrismaBetterSQLite3Adapter(createBetterSQLite3Client({ ...this.#config, url }), this.#options)
650
650
  );
651
651
  }
652
652
  };
@@ -659,5 +659,5 @@ function createBetterSQLite3Client(input) {
659
659
  }
660
660
  // Annotate the CommonJS export names for ESM import in node:
661
661
  0 && (module.exports = {
662
- PrismaBetterSqlite3
662
+ PrismaBetterSQLite3
663
663
  });
package/dist/index.mjs CHANGED
@@ -557,7 +557,7 @@ var BetterSQLite3Transaction = class extends BetterSQLite3Queryable {
557
557
  return Promise.resolve();
558
558
  }
559
559
  };
560
- var PrismaBetterSqlite3Adapter = class extends BetterSQLite3Queryable {
560
+ var PrismaBetterSQLite3Adapter = class extends BetterSQLite3Queryable {
561
561
  #mutex = new Mutex();
562
562
  constructor(client, adapterOptions) {
563
563
  super(client, adapterOptions);
@@ -595,7 +595,7 @@ var PrismaBetterSqlite3Adapter = class extends BetterSQLite3Queryable {
595
595
  return Promise.resolve();
596
596
  }
597
597
  };
598
- var PrismaBetterSqlite3AdapterFactory = class {
598
+ var PrismaBetterSQLite3AdapterFactory = class {
599
599
  provider = "sqlite";
600
600
  adapterName = name;
601
601
  #config;
@@ -605,12 +605,12 @@ var PrismaBetterSqlite3AdapterFactory = class {
605
605
  this.#options = options;
606
606
  }
607
607
  connect() {
608
- return Promise.resolve(new PrismaBetterSqlite3Adapter(createBetterSQLite3Client(this.#config), this.#options));
608
+ return Promise.resolve(new PrismaBetterSQLite3Adapter(createBetterSQLite3Client(this.#config), this.#options));
609
609
  }
610
610
  connectToShadowDb() {
611
611
  const url = this.#options?.shadowDatabaseUrl ?? ":memory:";
612
612
  return Promise.resolve(
613
- new PrismaBetterSqlite3Adapter(createBetterSQLite3Client({ ...this.#config, url }), this.#options)
613
+ new PrismaBetterSQLite3Adapter(createBetterSQLite3Client({ ...this.#config, url }), this.#options)
614
614
  );
615
615
  }
616
616
  };
@@ -622,5 +622,5 @@ function createBetterSQLite3Client(input) {
622
622
  return db;
623
623
  }
624
624
  export {
625
- PrismaBetterSqlite3AdapterFactory as PrismaBetterSqlite3
625
+ PrismaBetterSQLite3AdapterFactory as PrismaBetterSQLite3
626
626
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-better-sqlite3",
3
- "version": "7.2.0-integration-engines-7-2-0-3-aqrln-zpupkzknszlw-04d61c41ec1a025cabe14093fa3121a5f45040ab.1",
3
+ "version": "7.3.0-integration-fix-6-19-0-cloudflare-accelerate-engine.1",
4
4
  "description": "Prisma's driver adapter for better-sqlite3, a fast SQLite3 driver for JavaScript runtimes",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31,8 +31,8 @@
31
31
  "license": "Apache-2.0",
32
32
  "sideEffects": false,
33
33
  "dependencies": {
34
- "better-sqlite3": "^12.4.5",
35
- "@prisma/driver-adapter-utils": "7.2.0-integration-engines-7-2-0-3-aqrln-zpupkzknszlw-04d61c41ec1a025cabe14093fa3121a5f45040ab.1"
34
+ "better-sqlite3": "^11.9.0",
35
+ "@prisma/driver-adapter-utils": "7.3.0-integration-fix-6-19-0-cloudflare-accelerate-engine.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/better-sqlite3": "7.6.12",