@zenstackhq/orm 3.0.0-beta.24 → 3.0.0-beta.25

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/index.cjs CHANGED
@@ -3727,15 +3727,14 @@ function addBigIntValidation(schema, attributes) {
3727
3727
  if (val === void 0) {
3728
3728
  continue;
3729
3729
  }
3730
- const bigIntVal = BigInt(val);
3731
3730
  (0, import_ts_pattern12.match)(attr.name).with("@gt", () => {
3732
- result = result.gt(bigIntVal);
3731
+ result = result.gt(BigInt(val));
3733
3732
  }).with("@gte", () => {
3734
- result = result.gte(bigIntVal);
3733
+ result = result.gte(BigInt(val));
3735
3734
  }).with("@lt", () => {
3736
- result = result.lt(bigIntVal);
3735
+ result = result.lt(BigInt(val));
3737
3736
  }).with("@lte", () => {
3738
- result = result.lte(bigIntVal);
3737
+ result = result.lte(BigInt(val));
3739
3738
  });
3740
3739
  }
3741
3740
  return result;