@fuel-ts/math
Advanced tools
Comparing version 0.0.0-next-20241014005925 to 0.0.0-next-20241014012553
@@ -82,2 +82,3 @@ import BnJs from 'bn.js'; | ||
maxU64(): BN; | ||
max(num: BNInput): BN; | ||
normalizeZeroToOne(): BN; | ||
@@ -84,0 +85,0 @@ } |
@@ -250,2 +250,5 @@ "use strict"; | ||
} | ||
max(num) { | ||
return this.gte(num) ? new BN(num) : this; | ||
} | ||
normalizeZeroToOne() { | ||
@@ -252,0 +255,0 @@ return this.isZero() ? new BN(1) : this; |
{ | ||
"name": "@fuel-ts/math", | ||
"version": "0.0.0-next-20241014005925", | ||
"version": "0.0.0-next-20241014012553", | ||
"description": "", | ||
@@ -38,3 +38,3 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)", | ||
"bn.js": "^5.2.1", | ||
"@fuel-ts/errors": "0.0.0-next-20241014005925" | ||
"@fuel-ts/errors": "0.0.0-next-20241014012553" | ||
}, | ||
@@ -41,0 +41,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
407022
4193
+ Added@fuel-ts/errors@0.0.0-next-20241014012553(transitive)
+ Added@fuel-ts/versions@0.0.0-next-20241014012553(transitive)
- Removed@fuel-ts/errors@0.0.0-next-20241014005925(transitive)
- Removed@fuel-ts/versions@0.0.0-next-20241014005925(transitive)