@seam-rpc/server 4.3.16 → 4.3.18

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/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import { Result } from "@seam-rpc/core";
1
+ import { Result, RpcError } from "@seam-rpc/core";
2
2
  import EventEmitter from "events";
3
3
  import express, { Express, NextFunction, Request, RequestHandler, Response } from "express";
4
4
  import * as z from "zod";
5
+ export { RpcError };
5
6
  export interface RouterDefinition {
6
7
  [procName: string]: (...args: any[]) => Promise<any>;
7
8
  }
@@ -80,4 +81,3 @@ export declare class SeamSpace extends EventEmitter<SeamEvents> {
80
81
  get jsonParser(): import("connect").NextHandleFunction;
81
82
  get fileHandler(): express.RequestHandler<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;
82
83
  }
83
- export {};
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ import EventEmitter from "events";
3
3
  import express, { Router } from "express";
4
4
  import FormData from "form-data";
5
5
  import * as z from "zod";
6
+ export { RpcError };
6
7
  ;
7
8
  ;
8
9
  const errorHandler = (code, ...args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seam-rpc/server",
3
- "version": "4.3.16",
3
+ "version": "4.3.18",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "bin": {