@effect/sql-d1 4.0.0-beta.70 → 4.0.0-beta.71

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.ts CHANGED
@@ -2,27 +2,6 @@
2
2
  * @since 4.0.0
3
3
  */
4
4
  /**
5
- * Cloudflare D1 client implementation for Effect SQL, backed by a Workers `D1Database` binding.
6
- *
7
- * This module adapts a Cloudflare D1 database binding into both the
8
- * D1-specific `D1Client` service and the generic Effect `SqlClient` service.
9
- * Use it in Workers, Pages Functions, and tests that provide a D1 binding to
10
- * run SQLite-compatible queries through Effect services and layers, including
11
- * repositories, migrations, request handlers, and local development against
12
- * Wrangler or Miniflare-backed D1 databases.
13
- *
14
- * The client prepares statements with D1, caches them by SQL string, and uses
15
- * the SQLite statement compiler for query and result name transforms. D1
16
- * commits individual statements automatically, and native `D1Database.batch`
17
- * is the D1 API for sequential, transactional multi-statement work; this
18
- * adapter does not expose Effect SQL transactions because it cannot map
19
- * `withTransaction` onto a connection-scoped D1 transaction. D1 databases are
20
- * serverless SQLite storage with platform limits and single-database serialized
21
- * execution, so keep queries small and indexed, batch large maintenance work
22
- * at the D1 API level, and use D1 sessions outside this client when an
23
- * application needs bookmark-based sequential consistency or read replicas.
24
- * Streaming queries and `updateValues` are not supported.
25
- *
26
5
  * @since 4.0.0
27
6
  */
28
7
  export * as D1Client from "./D1Client.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA"}
package/dist/index.js CHANGED
@@ -3,27 +3,6 @@
3
3
  */
4
4
  // @barrel: Auto-generated exports. Do not edit manually.
5
5
  /**
6
- * Cloudflare D1 client implementation for Effect SQL, backed by a Workers `D1Database` binding.
7
- *
8
- * This module adapts a Cloudflare D1 database binding into both the
9
- * D1-specific `D1Client` service and the generic Effect `SqlClient` service.
10
- * Use it in Workers, Pages Functions, and tests that provide a D1 binding to
11
- * run SQLite-compatible queries through Effect services and layers, including
12
- * repositories, migrations, request handlers, and local development against
13
- * Wrangler or Miniflare-backed D1 databases.
14
- *
15
- * The client prepares statements with D1, caches them by SQL string, and uses
16
- * the SQLite statement compiler for query and result name transforms. D1
17
- * commits individual statements automatically, and native `D1Database.batch`
18
- * is the D1 API for sequential, transactional multi-statement work; this
19
- * adapter does not expose Effect SQL transactions because it cannot map
20
- * `withTransaction` onto a connection-scoped D1 transaction. D1 databases are
21
- * serverless SQLite storage with platform limits and single-database serialized
22
- * execution, so keep queries small and indexed, batch large maintenance work
23
- * at the D1 API level, and use D1 sessions outside this client when an
24
- * application needs bookmark-based sequential consistency or read replicas.
25
- * Streaming queries and `updateValues` are not supported.
26
- *
27
6
  * @since 4.0.0
28
7
  */
29
8
  export * as D1Client from "./D1Client.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["D1Client"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAIA;AAEA;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,OAAO,KAAKA,QAAQ,MAAM,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["D1Client"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAIA;AAEA;;;AAGA,OAAO,KAAKA,QAAQ,MAAM,eAAe","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/sql-d1",
3
- "version": "4.0.0-beta.70",
3
+ "version": "4.0.0-beta.71",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A Cloudflare D1 integration for Effect",
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "miniflare": "^4.20260507.1",
51
- "effect": "^4.0.0-beta.70"
51
+ "effect": "^4.0.0-beta.71"
52
52
  },
53
53
  "peerDependencies": {
54
- "effect": "^4.0.0-beta.70"
54
+ "effect": "^4.0.0-beta.71"
55
55
  },
56
56
  "dependencies": {
57
57
  "@cloudflare/workers-types": "^4.20260511.1"
package/src/index.ts CHANGED
@@ -5,27 +5,6 @@
5
5
  // @barrel: Auto-generated exports. Do not edit manually.
6
6
 
7
7
  /**
8
- * Cloudflare D1 client implementation for Effect SQL, backed by a Workers `D1Database` binding.
9
- *
10
- * This module adapts a Cloudflare D1 database binding into both the
11
- * D1-specific `D1Client` service and the generic Effect `SqlClient` service.
12
- * Use it in Workers, Pages Functions, and tests that provide a D1 binding to
13
- * run SQLite-compatible queries through Effect services and layers, including
14
- * repositories, migrations, request handlers, and local development against
15
- * Wrangler or Miniflare-backed D1 databases.
16
- *
17
- * The client prepares statements with D1, caches them by SQL string, and uses
18
- * the SQLite statement compiler for query and result name transforms. D1
19
- * commits individual statements automatically, and native `D1Database.batch`
20
- * is the D1 API for sequential, transactional multi-statement work; this
21
- * adapter does not expose Effect SQL transactions because it cannot map
22
- * `withTransaction` onto a connection-scoped D1 transaction. D1 databases are
23
- * serverless SQLite storage with platform limits and single-database serialized
24
- * execution, so keep queries small and indexed, batch large maintenance work
25
- * at the D1 API level, and use D1 sessions outside this client when an
26
- * application needs bookmark-based sequential consistency or read replicas.
27
- * Streaming queries and `updateValues` are not supported.
28
- *
29
8
  * @since 4.0.0
30
9
  */
31
10
  export * as D1Client from "./D1Client.ts"