Skip to content

Commit

Permalink
types: change return type of stream proc to use `AsyncIterableIterato…
Browse files Browse the repository at this point in the history
…r` (#7)

* version bump to v0.1.8

* asynciterator -> asynciterableiterator

* version bump to 0.1.9
  • Loading branch information
jackyzha0 authored Oct 12, 2023
1 parent 107db3d commit 6bcf3c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@replit/river",
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
"version": "0.1.7",
"version": "0.1.9",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion router/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type ServiceClient<Router extends AnyService> = {
() => Promise<
[
Pushable<Static<ProcInput<Router, ProcName>>>, // input
AsyncIterator<Static<ProcOutput<Router, ProcName>>>, // output
AsyncIterableIterator<Static<ProcOutput<Router, ProcName>>>, // output
() => void, // close handle
]
>;
Expand Down

0 comments on commit 6bcf3c5

Please sign in to comment.