mongodb-livedata-server 0.1.4 → 0.1.5
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ liveDataServer.publish({
|
|
|
56
56
|
|
|
57
57
|
### Important notes
|
|
58
58
|
|
|
59
|
-
-
|
|
59
|
+
- This project has been used in production for over 2 years, however, while it works with our setup, it might not work for your setup. Use at your own risk.
|
|
60
60
|
- Neither method context nor subscription context have the `unblock` method anymore (because this package doesn't use Fibers)
|
|
61
61
|
- Meteor syntax for MongoDB queries is not supported. Please always use MongoDB Node.js driver syntax. For example, instead of
|
|
62
62
|
```ts
|
|
@@ -66,7 +66,7 @@ liveDataServer.publish({
|
|
|
66
66
|
```ts
|
|
67
67
|
const doc = await myCollection.findOne({ _id: id });
|
|
68
68
|
```
|
|
69
|
-
- Neither MongoDB.ObjectId nor it's Meteor.js alternative is supported at the moment. String ids only.
|
|
69
|
+
- Neither `MongoDB.ObjectId` nor it's Meteor.js alternative is supported at the moment. String ids only.
|
|
70
70
|
|
|
71
71
|
### DDP Extension
|
|
72
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mongodb-livedata-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "MongoDB live data server, extracted from Meteor, Fibers removed and converted to TypeScript",
|
|
5
5
|
"main": "dist/livedata_server.js",
|
|
6
6
|
"types": "dist/livedata_server.d.ts",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@types/double-ended-queue": "^2.1.7",
|
|
16
|
-
"@types/node": "^22.
|
|
16
|
+
"@types/node": "^22.19.3",
|
|
17
17
|
"@types/sockjs": "^0.3.36",
|
|
18
18
|
"double-ended-queue": "^2.1.0-0",
|
|
19
|
-
"mongodb": "^6.
|
|
19
|
+
"mongodb": "^6.21.0",
|
|
20
20
|
"permessage-deflate": "^0.1.7",
|
|
21
21
|
"sockjs": "^0.3.24"
|
|
22
22
|
},
|