@lunora/sql-store 1.0.0-alpha.37 → 1.0.0-alpha.39

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.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { createSqlCtxDb, decodeGlobalRow, readSqlCdcChanges, runSqlAggregateMigrations, runSqlCdcMigration, runSqlGlobalTableMigrations, runSqlRankMigrations, runSqlSearchMigrations, trimSqlCdcChanges } from './packem_shared/createSqlCtxDb-KdluzmSA.mjs';
1
+ export { createSqlCtxDb, decodeGlobalRow, readSqlCdcChanges, runSqlAggregateMigrations, runSqlCdcMigration, runSqlGlobalTableMigrations, runSqlRankMigrations, runSqlSearchMigrations, trimSqlCdcChanges } from './packem_shared/createSqlCtxDb-BPEyi1Yl.mjs';
2
2
  export { decodeBigint, effectiveColumnKind, sqliteDecode, sqliteEncode, tryJsonParse } from './packem_shared/decodeBigint-Dedu92k4.mjs';
@@ -1631,6 +1631,12 @@ const createSqlCtxDb = (options) => {
1631
1631
  }
1632
1632
  return rows[0] ?? null;
1633
1633
  },
1634
+ withGeoIndex() {
1635
+ throw new LunoraError(
1636
+ "INTERNAL",
1637
+ `geo indexes are not supported on \`.global()\` tables (table "${tableName}") — geospatial queries run only on sharded tables`
1638
+ );
1639
+ },
1634
1640
  withIndex() {
1635
1641
  throw new LunoraError("INTERNAL", LEGACY_READER_ERROR);
1636
1642
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/sql-store",
3
- "version": "1.0.0-alpha.37",
3
+ "version": "1.0.0-alpha.39",
4
4
  "description": "Internal dialect-parameterized SQL store core for Lunora .global() backends (D1, PlanetScale)",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -50,8 +50,8 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@lunora/do": "1.0.0-alpha.37",
54
- "@lunora/errors": "1.0.0-alpha.6",
53
+ "@lunora/do": "1.0.0-alpha.42",
54
+ "@lunora/errors": "1.0.0-alpha.7",
55
55
  "drizzle-orm": "^0.45.2"
56
56
  },
57
57
  "engines": {