From d19a07b3d6762aa36d1999b11a2ed6fc150fb049 Mon Sep 17 00:00:00 2001 From: Viktor Mukhachev Date: Mon, 6 May 2024 11:11:03 +0200 Subject: [PATCH] update --- BigDecimal.js | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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",