@seam-rpc/server 4.3.18 → 4.3.19

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -121,7 +121,7 @@ export class SeamRouter {
121
121
  return;
122
122
  }
123
123
  if (output.ok !== true) {
124
- seamSpace.emit("apiError", output.error, {
124
+ seamSpace.emit("apiError", new RpcError(output.error, undefined), {
125
125
  routerPath: path,
126
126
  procedureName: req.params.procName,
127
127
  input,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seam-rpc/server",
3
- "version": "4.3.18",
3
+ "version": "4.3.19",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "bin": {