effect 3.10.12 → 3.10.13
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.
- package/dist/cjs/Schema.js +4 -1
- package/dist/cjs/Schema.js.map +1 -1
- package/dist/cjs/internal/version.js +1 -1
- package/dist/dts/Schema.d.ts.map +1 -1
- package/dist/esm/Schema.js +4 -1
- package/dist/esm/Schema.js.map +1 -1
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/Schema.ts +2 -1
- package/src/internal/version.ts +1 -1
package/dist/cjs/Schema.js
CHANGED
|
@@ -4033,7 +4033,10 @@ const set = value => {
|
|
|
4033
4033
|
};
|
|
4034
4034
|
exports.Set = set;
|
|
4035
4035
|
const bigDecimalPretty = () => val => `BigDecimal(${bigDecimal_.format(bigDecimal_.normalize(val))})`;
|
|
4036
|
-
const bigDecimalArbitrary = () => fc => fc.tuple(fc.bigInt(), fc.integer(
|
|
4036
|
+
const bigDecimalArbitrary = () => fc => fc.tuple(fc.bigInt(), fc.integer({
|
|
4037
|
+
min: 0,
|
|
4038
|
+
max: 18
|
|
4039
|
+
})).map(([value, scale]) => bigDecimal_.make(value, scale));
|
|
4037
4040
|
/**
|
|
4038
4041
|
* @category BigDecimal constructors
|
|
4039
4042
|
* @since 3.10.0
|