@prisma/adapter-neon 6.20.0-dev.7 → 6.20.0-dev.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.
package/README.md CHANGED
@@ -8,7 +8,7 @@ The [Neon serverless driver](https://github.com/neondatabase/serverless) is a lo
8
8
 
9
9
  ## Getting started
10
10
 
11
- > **Note**: Make sure your connection string exists in your `.env` file. Refer to [Neon's docs](https://neon.tech/docs/connect/connect-from-any-app) to learn how to retrieve your database's connection string.
11
+ > **Note**: Make sure your connection string exists in your `process.env`. Refer to [Neon's docs](https://neon.tech/docs/connect/connect-from-any-app) to learn how to retrieve your database's connection string.
12
12
  >
13
13
  > ```bash
14
14
  > DATABASE_URL="postgres://user:password@server.us-east-2.aws.neon.tech/neondb"
package/dist/index.d.mts CHANGED
@@ -66,7 +66,7 @@ declare class PrismaNeonAdapter extends NeonWsQueryable<neon.Pool> implements Sq
66
66
  underlyingDriver(): neon.Pool;
67
67
  }
68
68
 
69
- export declare class PrismaNeonHTTP implements SqlDriverAdapterFactory {
69
+ export declare class PrismaNeonHttp implements SqlDriverAdapterFactory {
70
70
  private readonly connectionString;
71
71
  private readonly options;
72
72
  readonly provider = "postgres";
package/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ declare class PrismaNeonAdapter extends NeonWsQueryable<neon.Pool> implements Sq
66
66
  underlyingDriver(): neon.Pool;
67
67
  }
68
68
 
69
- export declare class PrismaNeonHTTP implements SqlDriverAdapterFactory {
69
+ export declare class PrismaNeonHttp implements SqlDriverAdapterFactory {
70
70
  private readonly connectionString;
71
71
  private readonly options;
72
72
  readonly provider = "postgres";
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
33
  PrismaNeon: () => PrismaNeonAdapterFactory,
34
- PrismaNeonHTTP: () => PrismaNeonHTTPAdapterFactory
34
+ PrismaNeonHttp: () => PrismaNeonHttpAdapterFactory
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
37
 
@@ -684,7 +684,7 @@ var PrismaNeonAdapterFactory = class {
684
684
  return new PrismaNeonAdapter(pool, this.options);
685
685
  }
686
686
  };
687
- var PrismaNeonHTTPAdapter = class extends NeonQueryable {
687
+ var PrismaNeonHttpAdapter = class extends NeonQueryable {
688
688
  client;
689
689
  constructor(client) {
690
690
  super();
@@ -720,7 +720,7 @@ var PrismaNeonHTTPAdapter = class extends NeonQueryable {
720
720
  async dispose() {
721
721
  }
722
722
  };
723
- var PrismaNeonHTTPAdapterFactory = class {
723
+ var PrismaNeonHttpAdapterFactory = class {
724
724
  constructor(connectionString, options) {
725
725
  this.connectionString = connectionString;
726
726
  this.options = options;
@@ -728,11 +728,11 @@ var PrismaNeonHTTPAdapterFactory = class {
728
728
  provider = "postgres";
729
729
  adapterName = name;
730
730
  async connect() {
731
- return new PrismaNeonHTTPAdapter(neon.neon(this.connectionString, this.options));
731
+ return new PrismaNeonHttpAdapter(neon.neon(this.connectionString, this.options));
732
732
  }
733
733
  };
734
734
  // Annotate the CommonJS export names for ESM import in node:
735
735
  0 && (module.exports = {
736
736
  PrismaNeon,
737
- PrismaNeonHTTP
737
+ PrismaNeonHttp
738
738
  });
package/dist/index.mjs CHANGED
@@ -647,7 +647,7 @@ var PrismaNeonAdapterFactory = class {
647
647
  return new PrismaNeonAdapter(pool, this.options);
648
648
  }
649
649
  };
650
- var PrismaNeonHTTPAdapter = class extends NeonQueryable {
650
+ var PrismaNeonHttpAdapter = class extends NeonQueryable {
651
651
  client;
652
652
  constructor(client) {
653
653
  super();
@@ -683,7 +683,7 @@ var PrismaNeonHTTPAdapter = class extends NeonQueryable {
683
683
  async dispose() {
684
684
  }
685
685
  };
686
- var PrismaNeonHTTPAdapterFactory = class {
686
+ var PrismaNeonHttpAdapterFactory = class {
687
687
  constructor(connectionString, options) {
688
688
  this.connectionString = connectionString;
689
689
  this.options = options;
@@ -691,10 +691,10 @@ var PrismaNeonHTTPAdapterFactory = class {
691
691
  provider = "postgres";
692
692
  adapterName = name;
693
693
  async connect() {
694
- return new PrismaNeonHTTPAdapter(neon.neon(this.connectionString, this.options));
694
+ return new PrismaNeonHttpAdapter(neon.neon(this.connectionString, this.options));
695
695
  }
696
696
  };
697
697
  export {
698
698
  PrismaNeonAdapterFactory as PrismaNeon,
699
- PrismaNeonHTTPAdapterFactory as PrismaNeonHTTP
699
+ PrismaNeonHttpAdapterFactory as PrismaNeonHttp
700
700
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-neon",
3
- "version": "6.20.0-dev.7",
3
+ "version": "6.20.0-dev.9",
4
4
  "description": "Prisma's driver adapter for \"@neondatabase/serverless\"",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "postgres-array": "3.0.4",
35
35
  "@neondatabase/serverless": ">0.6.0 <2",
36
- "@prisma/driver-adapter-utils": "6.20.0-dev.7"
36
+ "@prisma/driver-adapter-utils": "6.20.0-dev.9"
37
37
  },
38
38
  "devDependencies": {
39
- "@prisma/debug": "6.20.0-dev.7"
39
+ "@prisma/debug": "6.20.0-dev.9"
40
40
  },
41
41
  "scripts": {
42
42
  "dev": "DEV=true tsx helpers/build.ts",