-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for iterator & streaming Fix issue where Streaming responses wouldn't return a result to the client * simplify * Cleanup * Fix build * Remove commented out code * Fix issue with compiled library code The check for (async) generators broke in the compiled library code This is because the compiled code didn't actually create (native) generator functions and so all functions were assumed to be generators. The fix was to check the return value instead to check for (async) iterator like props * Remove unused imports * Bump client library package.json * Bump nodemon for client library * Add onError checkResult & onSuccess support to async generators * Add support for onError/checkResult/onSuccess for (synchronous) iterators * Pass in the options object... * Fix build * Clean up * Tweak useAsWaterfall fix * Remove unused import from sample app --------- Co-authored-by: Brett Beutell <[email protected]>
- Loading branch information
Showing
12 changed files
with
567 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"author": "Fiberplane<[email protected]>", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"version": "0.2.0-beta.2", | ||
"version": "0.3.0-beta.1", | ||
"dependencies": { | ||
"@opentelemetry/api": "~1.9.0", | ||
"@opentelemetry/exporter-trace-otlp-http": "^0.52.1", | ||
|
@@ -22,7 +22,7 @@ | |
"@swc/core": "^1.5.22", | ||
"@swc/plugin-transform-imports": "^2.0.4", | ||
"hono": "^4.3.9", | ||
"nodemon": "^3.1.4", | ||
"nodemon": "^3.1.5", | ||
"rimraf": "^6.0.1", | ||
"tsc-alias": "^1.8.10", | ||
"typescript": "^5.4.5" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.