@elmoorx/edge-db 2.0.0-alpha.25 → 3.0.0-alpha.2

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
@@ -1,4 +1,4 @@
1
- # @wafra/edge-db
1
+ # @elmoorx/edge-db
2
2
 
3
3
  > Edge database: global replication, eventual consistency, low latency reads
4
4
 
@@ -7,13 +7,13 @@ Part of the [Wafra Framework](https://github.com/wafra/framework) — Build fast
7
7
  ## Installation
8
8
 
9
9
  ```bash
10
- npm install @wafra/edge-db
10
+ npm install @elmoorx/edge-db
11
11
  ```
12
12
 
13
13
  ## Quick Start
14
14
 
15
15
  ```typescript
16
- import { /* exports */ } from '@wafra/edge-db';
16
+ import { /* exports */ } from '@elmoorx/edge-db';
17
17
  ```
18
18
 
19
19
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmoorx/edge-db",
3
- "version": "2.0.0-alpha.25",
3
+ "version": "3.0.0-alpha.2",
4
4
  "description": "Edge database: global replication, eventual consistency, low latency reads",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -34,5 +34,9 @@
34
34
  "sideEffects": false,
35
35
  "exports": {
36
36
  ".": "./src/index.ts"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public",
40
+ "registry": "https://registry.npmjs.org/"
37
41
  }
38
42
  }
package/src/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @wafra/edge-db — Edge Databases (v2.0)
2
+ * @elmoorx/edge-db — Edge Databases (v2.0)
3
3
  * ============================================
4
4
  * Built-in database for Wafra apps. SQLite at the edge with CRDT sync.
5
5
  * Works on Cloudflare Workers (D1), Vercel Edge (libSQL), Deno (SQLite).
6
6
  *
7
- * import { db, query, mutation } from "@wafra/edge-db";
7
+ * import { db, query, mutation } from "@elmoorx/edge-db";
8
8
  *
9
9
  * // Reactive query — auto-updates when data changes
10
10
  * const users = query('SELECT * FROM users WHERE active = ?', [true]);
@@ -191,7 +191,7 @@ export async function transaction<T>(
191
191
 
192
192
  // ============ REACTIVE QUERIES ============
193
193
 
194
- import { $state, $effect, $batch } from "@wafra/runtime";
194
+ import { $state, $effect, $batch } from "@elmoorx/runtime";
195
195
 
196
196
  /**
197
197
  * useQuery — reactive query that auto-updates when data changes.