@replit/river
Advanced tools
Comparing version 0.12.3 to 0.12.4
@@ -8,4 +8,6 @@ import { | ||
import "../../../chunk-GZ7HCLLM.js"; | ||
import "../../../chunk-XFFS4UOD.js"; | ||
import { | ||
coerceErrorString | ||
} from "../../../chunk-XFFS4UOD.js"; | ||
import { | ||
log | ||
@@ -65,3 +67,5 @@ } from "../../../chunk-H4BYJELI.js"; | ||
ws.removeEventListener("close", onClose); | ||
resolve({ err: err.message || err.code || "unknown error" }); | ||
resolve({ | ||
err: err?.code ?? coerceErrorString(err) | ||
}); | ||
}; | ||
@@ -68,0 +72,0 @@ ws.addEventListener("open", onOpen); |
{ | ||
"name": "@replit/river", | ||
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
395852
11585