diff --git a/BigDecimal.js b/BigDecimal.js index f53fb2f..290a0e5 100644 --- a/BigDecimal.js +++ b/BigDecimal.js @@ -849,4 +849,8 @@ const BigDecimal = factory(10); const BigFloat = factory(2); const Decimal128 = factory(10, 'decimal128'); +BigDecimal.BigDecimal = BigDecimal; +BigFloat.BigFloat = BigFloat; +Decimal128.Decimal128 = Decimal128; + export {BigDecimal, BigFloat, Decimal128}; diff --git a/package.json b/package.json index 1867801..cb2bdf9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yaffle/bigdecimal", - "version": "2.0.0", + "version": "2.0.1", "description": "Arbitrary precision decimal arithmetic library. Polyfill for decimal proposal. Implemented on the top of BigInt.", "main": "BigDecimal.js", "types": "BigDecimal.d.ts",