effect 3.17.7 → 3.17.8

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.
@@ -1,4 +1,4 @@
1
- let moduleVersion = "3.17.7";
1
+ let moduleVersion = "3.17.8";
2
2
  export const getCurrentVersion = () => moduleVersion;
3
3
  export const setCurrentVersion = version => {
4
4
  moduleVersion = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect",
3
- "version": "3.17.7",
3
+ "version": "3.17.8",
4
4
  "description": "The missing standard library for TypeScript, for writing production-grade software.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/Schema.ts CHANGED
@@ -9992,7 +9992,7 @@ export class Defect extends transform(
9992
9992
  err.stack = "stack" in i && typeof i.stack === "string" ? i.stack : ""
9993
9993
  return err
9994
9994
  }
9995
- return String(i)
9995
+ return internalCause_.prettyErrorMessage(i)
9996
9996
  },
9997
9997
  encode: (a) => {
9998
9998
  if (a instanceof Error) {
@@ -1,4 +1,4 @@
1
- let moduleVersion = "3.17.7"
1
+ let moduleVersion = "3.17.8"
2
2
 
3
3
  export const getCurrentVersion = () => moduleVersion
4
4