anchordb-relay 1.2.0 → 1.3.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 +12 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Development-only relay that lets Anchor Lens open the database of an app running
|
|
4
4
|
[AnchorDB](https://www.npmjs.com/package/anchordb) — on a phone, an emulator or a browser.
|
|
5
5
|
|
|
6
|
+
**[Overview](https://www.nisalanadeera.com/projects/anchordb)** · **[Report a bug or get support](https://www.nisalanadeera.com/projects/anchordb#feedback)**
|
|
7
|
+
|
|
6
8
|
```bash
|
|
7
9
|
npx anchor-relay --host 0.0.0.0 --room my-app
|
|
8
10
|
```
|
|
@@ -150,7 +152,7 @@ driver; **its driver calls have never run against a live MongoDB.**
|
|
|
150
152
|
|
|
151
153
|
## The AnchorDB family
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
Six packages. **Only `anchordb` is required** — the rest exist so that an offline-only app never
|
|
154
156
|
has to download Express, and an Express server never has to download React.
|
|
155
157
|
|
|
156
158
|
| Package | What it is | Runs where |
|
|
@@ -160,7 +162,16 @@ has to download Express, and an Express server never has to download React.
|
|
|
160
162
|
| [`anchordb-angular`](https://www.npmjs.com/package/anchordb-angular) | Angular / Ionic module, DI and RxJS observables | the device |
|
|
161
163
|
| [`anchordb-sync-server`](https://www.npmjs.com/package/anchordb-sync-server) | Server half of sync — Express, NestJS, Next.js | your backend |
|
|
162
164
|
| **`anchordb-relay`** *(this package)* | Dev relay for the Anchor Lens inspector | your laptop |
|
|
165
|
+
| [`anchordb-lens-link`](https://www.npmjs.com/package/anchordb-lens-link) | Open a QA build's database in Anchor Lens on the same phone, from a file | the device, in QA builds |
|
|
163
166
|
|
|
164
167
|
Each one needs a different third-party framework as a peer dependency, and npm resolves those per
|
|
165
168
|
package rather than per import — which is why they are not one package. Full reasoning and API
|
|
166
169
|
reference: [github.com/knnadeera/anchordb](https://github.com/knnadeera/anchordb).
|
|
170
|
+
|
|
171
|
+
## Bugs, support and feedback
|
|
172
|
+
|
|
173
|
+
Report a bug, ask for help or suggest a feature on the [AnchorDB project page](https://www.nisalanadeera.com/projects/anchordb#feedback) —
|
|
174
|
+
choose `anchordb-relay` as the package, and the reply comes by email.
|
|
175
|
+
|
|
176
|
+
Include the version (`npm ls anchordb`), where it runs, the smallest snippet that reproduces it, and
|
|
177
|
+
the full error.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anchordb-relay",
|
|
3
|
-
"version": "1.2
|
|
3
|
+
"version": "1.3.2",
|
|
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": "^1.
|
|
42
|
+
"anchordb": "^1.3.0",
|
|
43
43
|
"qrcode-terminal": "^0.12.0",
|
|
44
44
|
"ws": "^8.18.0"
|
|
45
45
|
},
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"url": "git+https://github.com/knnadeera/anchordb.git",
|
|
56
56
|
"directory": "packages/inspector-relay"
|
|
57
57
|
},
|
|
58
|
-
"homepage": "https://
|
|
58
|
+
"homepage": "https://www.nisalanadeera.com/projects/anchordb",
|
|
59
59
|
"bugs": {
|
|
60
|
-
"url": "https://
|
|
60
|
+
"url": "https://www.nisalanadeera.com/projects/anchordb#feedback"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
63
|
"mongodb": "^6.10.0"
|