typed-bridge 1.0.0 → 1.0.1

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.
@@ -17,7 +17,7 @@ exports.default = (bridge, contextParser) => async (req, res) => {
17
17
  return;
18
18
  context = contextParserRes?.context;
19
19
  }
20
- res.json(await serverFunction(args, context));
20
+ res.json((await serverFunction(args, context)) || {});
21
21
  }
22
22
  catch (error) {
23
23
  if (Array.isArray(error.errors)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typed-bridge",
3
3
  "description": "Strictly typed server functions for typescript apps",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "author": "neilveil",
package/readme.md CHANGED
@@ -120,6 +120,13 @@ tbConfig.responseDelay = 0 // Custom response delay in milliseconds
120
120
  tbConfig.gracefulShutdown = false // Wait for processes to complete after shutdown
121
121
  ```
122
122
 
123
+ ## To do
124
+
125
+ - Zod setup docs
126
+ - Integrate with existing express app docs
127
+ - Fix local ip logging issue
128
+ - Fix gen command
129
+
123
130
  ## Developer
124
131
 
125
132
  Developed & maintained by [neilveil](https://github.com/neilveil). Give a star to support my work.