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.
- package/dist/bridge/index.js +1 -1
- package/package.json +1 -1
- package/readme.md +7 -0
package/dist/bridge/index.js
CHANGED
|
@@ -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
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.
|