genosdb 0.15.2 → 0.15.3

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.
Files changed (2) hide show
  1. package/README.md +20 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,13 +12,13 @@ A lightweight, decentralized graph database designed for modern web applications
12
12
  [![Production Build](https://img.shields.io/badge/Production%20Build-Free%20for%20personal%20%26%20commercial%20use-brightgreen.svg?style=for-the-badge)](https://github.com/estebanrfp/gdb/blob/main/docs/index.md)
13
13
 
14
14
  ![Downloads on NPM](https://img.shields.io/npm/dw/genosdb)
15
- [![](https://data.jsdelivr.com/v1/package/npm/genosdb/badge)](https://www.jsdelivr.com/package/npm/genosdb)
16
- [![Tests](https://img.shields.io/badge/Tests-passing-brightgreen)](https://estebanrfp.github.io/gdb/tests/report.html)
15
+ [![jsDelivr](https://img.shields.io/badge/jsDelivr-1k%20hits%2Fmonth-brightgreen)](https://www.jsdelivr.com/package/npm/genosdb)
17
16
 
17
+ [![Tests](https://img.shields.io/badge/Tests-passing-brightgreen)](https://estebanrfp.github.io/gdb/tests/report.html)
18
+ [![Security](https://img.shields.io/badge/security-socket.dev-success)](https://socket.dev/npm/package/genosdb)
18
19
  ![Project Status](https://img.shields.io/badge/status-stable--beta-blue)
19
20
 
20
21
  ![NPM Unpacked Size (with version)](https://img.shields.io/npm/unpacked-size/genosdb/latest)
21
-
22
22
  ![npm package minimized gzipped size](https://img.shields.io/bundlejs/size/genosdb)
23
23
 
24
24
 
@@ -41,15 +41,23 @@ A lightweight, decentralized graph database designed for modern web applications
41
41
 
42
42
  GenosDB runs **entirely in your browser** — there is no central database server. The Security Manager signs every operation with your key, nodes are stored locally in OPFS, and changes replicate **peer-to-peer over WebRTC**. Nostr relays only help peers discover each other — they never see your data.
43
43
 
44
- ```mermaid
45
- %%{init: {'theme':'base', 'themeVariables': {'primaryColor':'transparent','primaryBorderColor':'#3b82f6','primaryTextColor':'#64748b','lineColor':'#3b82f6','edgeLabelBackground':'#22222200','fontFamily':'Inter, ui-sans-serif, sans-serif'}}}%%
46
- graph TD
47
- A["Your Browser + GenosDB"] -->|signs every action| B["Security Manager — your key"]
48
- A -->|stores nodes| C["Graph store · OPFS"]
49
- A -->|reactive queries| D["db.map subscriptions"]
50
- C -->|P2P delta sync over WebRTC| E["Other Participants"]
51
- C -->|cross-tab| F["BroadcastChannel"]
52
- G["Nostr relays"] -.->|signaling / peer discovery only| A
44
+ ```ascii
45
+ Nostr Relays
46
+
47
+ peer discovery only
48
+
49
+
50
+ Browser + GenosDB
51
+
52
+ ├─► Security Manager (signs operations)
53
+
54
+ ├─► Graph Store (OPFS) (stores nodes)
55
+ │ │
56
+ │ ├─► Other Peers (WebRTC sync)
57
+ │ │
58
+ │ └─► BroadcastChannel (cross-tab)
59
+
60
+ └─► db.map subscriptions (reactive queries)
53
61
  ```
54
62
 
55
63
  ## Main Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genosdb",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "GenosDB (GDB): distributed graph database in real-time, peer-to-peer, scalable storage - efficient querying of complex relationships.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",