From 35e8fa0147a077d312844aedaa0031a31fc7f025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Gnansounou?= Date: Sat, 7 Sep 2024 16:24:59 +0100 Subject: [PATCH] RELEASING: Releasing 1 package(s) Releases: bignumber-arr-utils@0.1.0 [skip ci] --- .changeset/mighty-beers-think.md | 5 ----- CHANGELOG.md | 6 ++++++ README.md | 1 + package.json | 2 +- src/bignumber-arr-utils.ts | 4 ++-- 5 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 .changeset/mighty-beers-think.md diff --git a/.changeset/mighty-beers-think.md b/.changeset/mighty-beers-think.md deleted file mode 100644 index 195f2e2..0000000 --- a/.changeset/mighty-beers-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'bignumber-arr-utils': minor ---- - -Add min, max and includes functons diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e6232f..7cac0b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # bignumber-arr-utils +## 0.1.0 + +### Minor Changes + +- 76ba44c: Add min, max and includes functons + ## 0.0.1 ### Patch Changes diff --git a/README.md b/README.md index 0351866..f01e5b1 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ console.log(arr.max().toString()); // "3e18" The includes method checks if a specific BigNumber value is present in the array. It returns true if the value is found, and false otherwise. - **Parameters:** + - `n` - The value to check for in the array. - **Returns:** diff --git a/package.json b/package.json index 88b3526..0a8de55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bignumber-arr-utils", - "version": "0.0.1", + "version": "0.1.0", "description": "A lightweight utility library designed for efficient manipulation and calculation of large numbers within arrays", "main": "dist/index.js", "repository": { diff --git a/src/bignumber-arr-utils.ts b/src/bignumber-arr-utils.ts index 3387b73..7cb724a 100644 --- a/src/bignumber-arr-utils.ts +++ b/src/bignumber-arr-utils.ts @@ -115,7 +115,7 @@ export class BigNumberArrUtils implements IArrayUtils { * Returns the minimum of all BigNumber instances in the array. * * @throws {Error} If the array is empty. - * + * * ```ts * const arr = new BigNumberArrUtils(-0.8, 3e+18, 1.0000000000000001); * console.log(arr.min().toString()); // "-0.8" @@ -132,7 +132,7 @@ export class BigNumberArrUtils implements IArrayUtils { /** * Returns the maximum of all BigNumber instances in the array. - * + * * @throws {Error} If the array is empty. * * ```ts