Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

CURRENCY_PACKAGE

const CURRENCY_PACKAGE: IEnginePackage;

Defined in: packages/engine/src/packages/currency/CurrencyPackage.ts:86

The default currency package: live rates and historical rates, both from Frankfurter.

Kept as a named constant so existing imports and BUILTIN_PACKAGES keep working unchanged; a host with its own historical source builds its own via createCurrencyPackage and substitutes it in.