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/esm/Schema.js
CHANGED
|
@@ -3881,7 +3881,10 @@ export {
|
|
|
3881
3881
|
*/
|
|
3882
3882
|
set as Set };
|
|
3883
3883
|
const bigDecimalPretty = () => val => `BigDecimal(${bigDecimal_.format(bigDecimal_.normalize(val))})`;
|
|
3884
|
-
const bigDecimalArbitrary = () => fc => fc.tuple(fc.bigInt(), fc.integer(
|
|
3884
|
+
const bigDecimalArbitrary = () => fc => fc.tuple(fc.bigInt(), fc.integer({
|
|
3885
|
+
min: 0,
|
|
3886
|
+
max: 18
|
|
3887
|
+
})).map(([value, scale]) => bigDecimal_.make(value, scale));
|
|
3885
3888
|
/**
|
|
3886
3889
|
* @category BigDecimal constructors
|
|
3887
3890
|
* @since 3.10.0
|