anchordb-sync-server 0.2.1 → 1.0.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 +1 -1
- package/package.json +19 -3
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ strategy decide, because only the client knows which strategy the developer chos
|
|
|
69
69
|
|
|
70
70
|
## Status
|
|
71
71
|
|
|
72
|
-
**0.
|
|
72
|
+
**1.0.0.** All three adapters share one protocol implementation and are held to the same 49-test
|
|
73
73
|
conformance suite. `MongooseStore` is typechecked and written against the documented Mongoose API
|
|
74
74
|
but is **not exercised against a live MongoDB** in this package's tests — set `MONGODB_URI` and run
|
|
75
75
|
your own integration check before relying on it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anchordb-sync-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"prepublishOnly": "npm run typecheck && npm run build"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"anchordb": "^0.
|
|
79
|
+
"anchordb": "^1.0.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"mongoose": ">=7",
|
|
@@ -120,5 +120,21 @@
|
|
|
120
120
|
"mongoose",
|
|
121
121
|
"conflict-resolution",
|
|
122
122
|
"crdt"
|
|
123
|
-
]
|
|
123
|
+
],
|
|
124
|
+
"typesVersions": {
|
|
125
|
+
"*": {
|
|
126
|
+
"express": [
|
|
127
|
+
"./dist/esm/adapters/express.d.ts"
|
|
128
|
+
],
|
|
129
|
+
"nestjs": [
|
|
130
|
+
"./dist/esm/adapters/nestjs.d.ts"
|
|
131
|
+
],
|
|
132
|
+
"nextjs": [
|
|
133
|
+
"./dist/esm/adapters/nextjs.d.ts"
|
|
134
|
+
],
|
|
135
|
+
"mongoose": [
|
|
136
|
+
"./dist/esm/store/mongoose.d.ts"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
}
|
|
124
140
|
}
|