Skip to content

Commit

Permalink
re-export result types from main
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Nov 29, 2023
1 parent f5a149e commit 82634bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@replit/river",
"sideEffects": false,
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
"version": "0.5.0",
"version": "0.5.1",
"type": "module",
"exports": {
".": "./dist/router/index.js",
Expand Down
2 changes: 2 additions & 0 deletions router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ export type { ServerClient } from './client';
export { createServer } from './server';
export type { Server } from './server';
export type { ServiceContext, ServiceContextWithState } from './context';
export { Ok, Err, UNCAUGHT_ERROR, RiverUncaughtSchema } from './result';
export type { RiverErrorSchema, RiverError, Result } from './result';

0 comments on commit 82634bb

Please sign in to comment.