@reddb-io/browser 0.1.0-alpha.1 → 0.1.0

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,7 +1,6 @@
1
- # RedDB Browser — experimental persistence and query engine
1
+ # RedDB Browser — persistence and query engine
2
2
 
3
- This experimental package is the first distribution of RedDB Browser. It runs the
4
- canonical Rust `.rdb` artifact publication/recovery code, RQL parser and shared
3
+ The `@reddb-io/browser` package runs the canonical Rust `.rdb` artifact publication/recovery code, RQL parser and shared
5
4
  scalar evaluator in a dedicated WebAssembly worker, persisting through a real
6
5
  OPFS sync access handle.
7
6
  Artifact storage requires a secure context, module workers, OPFS and Web Locks.
@@ -15,7 +14,7 @@ application cache. Sync is optional and must never gate local reads or writes.
15
14
 
16
15
  **It is not a database SDK yet.** It executes storage-free scalar SELECTs;
17
16
  queries over stored data, five-model local transactions, synchronization,
18
- conflict resolution and forwarding between tabs remain pending. It is published on the `experimental` npm channel and does not replace the remote `@reddb-io/client`.
17
+ conflict resolution and forwarding between tabs remain pending. It is published on the `latest` npm channel and does not replace the remote `@reddb-io/client`.
19
18
 
20
19
  ## Use from JS/TS
21
20
 
@@ -23,7 +22,7 @@ See the [application guide](https://github.com/reddb-io/reddb/blob/main/docs/cli
23
22
  Vite/React/Vue/Svelte, plain JavaScript, Worker ownership and offline assets.
24
23
 
25
24
  ```sh
26
- npm add @reddb-io/browser@experimental
25
+ npm add @reddb-io/browser
27
26
  ```
28
27
 
29
28
  ```ts
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@reddb-io/browser",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
- "description": "Experimental RedDB browser persistence and shared scalar execution; stored-data queries and sync remain pending.",
6
+ "description": "RedDB browser persistence and shared scalar execution; stored-data queries and sync remain pending.",
7
7
  "exports": {
8
8
  ".": {
9
9
  "types": "./src/index.d.ts",
@@ -41,6 +41,6 @@
41
41
  ],
42
42
  "publishConfig": {
43
43
  "access": "public",
44
- "tag": "experimental"
44
+ "tag": "latest"
45
45
  }
46
46
  }
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /** Experimental persistence and scalar execution; stored-data queries and sync remain pending. */
1
+ /** Persistence and scalar execution; stored-data queries and sync remain pending. */
2
2
  export class BrowserError extends Error {
3
3
  readonly code: string
4
4
  constructor(code: string, message: string)
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** Shared Rust/WASM runtime and experimental artifact storage. */
1
+ /** Shared Rust/WASM runtime and artifact storage. */
2
2
  import { BrowserError, RUNTIME_ABI_VERSION, VALUE_ENCODING } from './protocol.js'
3
3
  export { BrowserError } from './protocol.js'
4
4