Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / FUTURE_RATES_TOLERANCE_MS

Variable: FUTURE_RATES_TOLERANCE_MS

ts
const FUTURE_RATES_TOLERANCE_MS: 86400000 = 864e5;

Defined in: packages/core/dist/index.d.ts

How far a ratesVerifiedAt may sit in the future before strict pricing refuses it (RV1804): one day absorbs date-only strings authored ahead of UTC and ordinary clock skew, while a typo'd year (the hazard the clamp exists for) is months out and refuses.