anchordb-sync-server 1.3.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 +15 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
The server half of the [AnchorDB](https://www.npmjs.com/package/anchordb) sync protocol, with
|
|
4
4
|
Express, NestJS and Next.js adapters.
|
|
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
|
npm install anchordb-sync-server
|
|
8
10
|
```
|
|
@@ -76,7 +78,7 @@ your own integration check before relying on it.
|
|
|
76
78
|
|
|
77
79
|
## The AnchorDB family
|
|
78
80
|
|
|
79
|
-
|
|
81
|
+
Six packages. **Only `anchordb` is required** — the rest exist so that an offline-only app never
|
|
80
82
|
has to download Express, and an Express server never has to download React.
|
|
81
83
|
|
|
82
84
|
| Package | What it is | Runs where |
|
|
@@ -86,9 +88,21 @@ has to download Express, and an Express server never has to download React.
|
|
|
86
88
|
| [`anchordb-angular`](https://www.npmjs.com/package/anchordb-angular) | Angular / Ionic module, DI and RxJS observables | the device |
|
|
87
89
|
| **`anchordb-sync-server`** *(this package)* | Server half of sync — Express, NestJS, Next.js | your backend |
|
|
88
90
|
| [`anchordb-relay`](https://www.npmjs.com/package/anchordb-relay) | Dev relay for the Anchor Lens inspector | your laptop |
|
|
91
|
+
| [`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 |
|
|
89
92
|
|
|
90
93
|
Each one needs a different third-party framework as a peer dependency, and npm resolves those per
|
|
91
94
|
package rather than per import — which is why they are not one package. Full reasoning and API
|
|
92
95
|
reference: [github.com/knnadeera/anchordb](https://github.com/knnadeera/anchordb).
|
|
93
96
|
|
|
94
97
|
MIT
|
|
98
|
+
|
|
99
|
+
## Bugs, support and feedback
|
|
100
|
+
|
|
101
|
+
Report a bug, ask for help or suggest a feature on the [AnchorDB project page](https://www.nisalanadeera.com/projects/anchordb#feedback) —
|
|
102
|
+
choose `anchordb-sync-server` as the package, and the reply comes by email.
|
|
103
|
+
|
|
104
|
+
Include the version (`npm ls anchordb`), where it runs, the smallest snippet that reproduces it, and
|
|
105
|
+
the full error.
|
|
106
|
+
|
|
107
|
+
**Sync problems:** say which conflict strategy you use, and whether the mutation shows as parked in
|
|
108
|
+
Anchor Lens — a push rejected by a unique index is parked rather than retried forever.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anchordb-sync-server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Framework-agnostic server implementation of the Anchor sync protocol, with Express, NestJS and Next.js adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"url": "git+https://github.com/knnadeera/anchordb.git",
|
|
102
102
|
"directory": "packages/sync-server"
|
|
103
103
|
},
|
|
104
|
-
"homepage": "https://
|
|
104
|
+
"homepage": "https://www.nisalanadeera.com/projects/anchordb",
|
|
105
105
|
"bugs": {
|
|
106
|
-
"url": "https://
|
|
106
|
+
"url": "https://www.nisalanadeera.com/projects/anchordb#feedback"
|
|
107
107
|
},
|
|
108
108
|
"author": "Nisala Nadeera <knnadeera@gmail.com>",
|
|
109
109
|
"keywords": [
|