@peerbit/server 5.10.12 → 5.10.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/server",
3
- "version": "5.10.12",
3
+ "version": "5.10.13",
4
4
  "author": "dao.xyz",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,7 +67,7 @@
67
67
  "@types/libsodium-wrappers": "^0.7.14",
68
68
  "uuid": "^10.0.0",
69
69
  "@peerbit/test-lib": "0.0.1",
70
- "@peerbit/test-utils": "2.3.17"
70
+ "@peerbit/test-utils": "2.3.18"
71
71
  },
72
72
  "dependencies": {
73
73
  "axios": "^1.4.0",
@@ -89,12 +89,12 @@
89
89
  "memory-level": "^3.1.0",
90
90
  "multiformats": "^13.4.1",
91
91
  "abstract-level": "^3.1.0",
92
- "peerbit": "4.4.17",
93
- "@peerbit/blocks": "3.1.7",
92
+ "peerbit": "4.4.18",
93
+ "@peerbit/blocks": "3.1.8",
94
94
  "@peerbit/crypto": "2.4.1",
95
+ "@peerbit/program": "5.6.2",
95
96
  "@peerbit/pubsub": "4.1.4",
96
- "@peerbit/time": "2.3.0",
97
- "@peerbit/program": "5.6.1"
97
+ "@peerbit/time": "2.3.0"
98
98
  },
99
99
  "optionalDependencies": {
100
100
  "@aws-sdk/client-ec2": "^3.390.0",
package/src/server.ts CHANGED
@@ -259,6 +259,10 @@ export const startServerWithNode = async (properties: {
259
259
  });
260
260
  });
261
261
 
262
+ process.on("unhandledRejection", (reason) => {
263
+ console.error("Unhandled rejection", reason);
264
+ });
265
+
262
266
  process.on("uncaughtException", (err) => {
263
267
  console.error("Uncaught exception", err);
264
268
  });