@lunora/d1 1.0.0-alpha.163 → 1.0.0-alpha.165

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
@@ -480,7 +480,6 @@ interface D1RetryOptions {
480
480
  * and surfaces immediately. Retrying a genuine bug — a syntax error, a
481
481
  * constraint violation — turns one fast failure into three slow ones and
482
482
  * hides the cause.
483
- * @experimental
484
483
  */
485
484
  declare const isTransientD1Error: (error: unknown) => boolean;
486
485
  /**
@@ -490,7 +489,6 @@ declare const isTransientD1Error: (error: unknown) => boolean;
490
489
  * Its own class so a caller can tell "D1 hung" apart from "D1 returned an
491
490
  * error" — they have different remedies, and collapsing them hides which one
492
491
  * is happening.
493
- * @experimental
494
492
  */
495
493
  declare class D1TimeoutError extends Error {
496
494
  /** Milliseconds waited before the attempt was abandoned. */
@@ -505,7 +503,6 @@ declare class D1TimeoutError extends Error {
505
503
  * are. A write is only if it is idempotent — an upsert keyed on a primary key,
506
504
  * a delete by id, an `INSERT OR IGNORE`. A bare `INSERT` or a relative
507
505
  * `UPDATE` is not, and re-running one after a lost response double-applies it.
508
- * @experimental
509
506
  */
510
507
  declare const withD1Retry: <T>(operation: () => Promise<T>, options?: D1RetryOptions) => Promise<T>;
511
508
  /**
@@ -521,7 +518,6 @@ declare const withD1Retry: <T>(operation: () => Promise<T>, options?: D1RetryOpt
521
518
  * `all` is not the read path either. It only retries when
522
519
  * {@link isReadOnlyD1Sql} proves the statement is one, because `UPDATE …
523
520
  * RETURNING` runs through `all` too.
524
- * @experimental
525
521
  */
526
522
  declare const retryingExec: (exec: SqlCtxExec, options?: D1RetryOptions) => SqlCtxExec;
527
523
  /**
package/dist/index.d.ts CHANGED
@@ -480,7 +480,6 @@ interface D1RetryOptions {
480
480
  * and surfaces immediately. Retrying a genuine bug — a syntax error, a
481
481
  * constraint violation — turns one fast failure into three slow ones and
482
482
  * hides the cause.
483
- * @experimental
484
483
  */
485
484
  declare const isTransientD1Error: (error: unknown) => boolean;
486
485
  /**
@@ -490,7 +489,6 @@ declare const isTransientD1Error: (error: unknown) => boolean;
490
489
  * Its own class so a caller can tell "D1 hung" apart from "D1 returned an
491
490
  * error" — they have different remedies, and collapsing them hides which one
492
491
  * is happening.
493
- * @experimental
494
492
  */
495
493
  declare class D1TimeoutError extends Error {
496
494
  /** Milliseconds waited before the attempt was abandoned. */
@@ -505,7 +503,6 @@ declare class D1TimeoutError extends Error {
505
503
  * are. A write is only if it is idempotent — an upsert keyed on a primary key,
506
504
  * a delete by id, an `INSERT OR IGNORE`. A bare `INSERT` or a relative
507
505
  * `UPDATE` is not, and re-running one after a lost response double-applies it.
508
- * @experimental
509
506
  */
510
507
  declare const withD1Retry: <T>(operation: () => Promise<T>, options?: D1RetryOptions) => Promise<T>;
511
508
  /**
@@ -521,7 +518,6 @@ declare const withD1Retry: <T>(operation: () => Promise<T>, options?: D1RetryOpt
521
518
  * `all` is not the read path either. It only retries when
522
519
  * {@link isReadOnlyD1Sql} proves the statement is one, because `UPDATE …
523
520
  * RETURNING` runs through `all` too.
524
- * @experimental
525
521
  */
526
522
  declare const retryingExec: (exec: SqlCtxExec, options?: D1RetryOptions) => SqlCtxExec;
527
523
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/d1",
3
- "version": "1.0.0-alpha.163",
3
+ "version": "1.0.0-alpha.165",
4
4
  "description": "D1 adapter for Lunora .global() tables, wrapping the Sessions API for read-your-writes",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@lunora/errors": "1.0.0-alpha.50",
54
- "@lunora/platform": "1.0.0-alpha.55",
55
- "@lunora/shard-engine": "1.0.0-alpha.112",
56
- "@lunora/sql-store": "1.0.0-alpha.164",
54
+ "@lunora/platform": "1.0.0-alpha.56",
55
+ "@lunora/shard-engine": "1.0.0-alpha.114",
56
+ "@lunora/sql-store": "1.0.0-alpha.166",
57
57
  "drizzle-orm": "^0.45.3"
58
58
  },
59
59
  "engines": {