anchordb-relay 0.2.0 → 0.2.1

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 +18 -1
  2. package/package.json +17 -3
package/README.md CHANGED
@@ -90,7 +90,7 @@ driven by any socket implementation — or tested without opening a port.
90
90
 
91
91
  ## Status
92
92
 
93
- **0.2.0.** MIT.
93
+ **0.2.1.** MIT.
94
94
 
95
95
  **37 tests.** Room routing and isolation, frame limits, and the MongoDB bridge: access control,
96
96
  streamed reads, all three write modes, session lifetime, and that a password reaches neither a log
@@ -99,3 +99,20 @@ line nor an error message.
99
99
  The bridge is tested against an injected fake driver — that seam is why `MongoDriver` exists.
100
100
  Everything above the driver is exercised for real; **the driver calls themselves have never run
101
101
  against a live MongoDB**, because there is none on the machine this was built on.
102
+
103
+ ## The AnchorDB family
104
+
105
+ Five packages. **Only `anchordb` is required** — the rest exist so that an offline-only app never
106
+ has to download Express, and an Express server never has to download React.
107
+
108
+ | Package | What it is | Runs where |
109
+ | --- | --- | --- |
110
+ | [`anchordb`](https://www.npmjs.com/package/anchordb) | The database — schema, models, queries, aggregation, optional sync | phone · browser · Node |
111
+ | [`anchordb-react`](https://www.npmjs.com/package/anchordb-react) | React and React Native hooks | the device |
112
+ | [`anchordb-angular`](https://www.npmjs.com/package/anchordb-angular) | Angular / Ionic module, DI and RxJS observables | the device |
113
+ | [`anchordb-sync-server`](https://www.npmjs.com/package/anchordb-sync-server) | Server half of sync — Express, NestJS, Next.js | your backend |
114
+ | **`anchordb-relay`** *(this package)* | Dev relay for the Anchor Lens inspector | your laptop |
115
+
116
+ Each one needs a different third-party framework as a peer dependency, and npm resolves those per
117
+ package rather than per import — which is why they are not one package. Full reasoning and API
118
+ reference: [github.com/knnadeera/anchordb](https://github.com/knnadeera/anchordb).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anchordb-relay",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Development-only relay that brokers Anchor Inspector connections between a mobile app and Anchor Lens.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "npm run typecheck && npm run build"
40
40
  },
41
41
  "dependencies": {
42
- "anchordb": "^0.2.0",
42
+ "anchordb": "^0.2.1",
43
43
  "ws": "^8.18.0"
44
44
  },
45
45
  "devDependencies": {
@@ -61,5 +61,19 @@
61
61
  "optionalDependencies": {
62
62
  "mongodb": "^6.10.0"
63
63
  },
64
- "author": "Nisala Nadeera <knnadeera@gmail.com>"
64
+ "author": "Nisala Nadeera <knnadeera@gmail.com>",
65
+ "keywords": [
66
+ "anchordb",
67
+ "devtools",
68
+ "inspector",
69
+ "debugging",
70
+ "relay",
71
+ "websocket",
72
+ "mongodb",
73
+ "offline-first",
74
+ "react-native",
75
+ "expo",
76
+ "database-gui",
77
+ "compass"
78
+ ]
65
79
  }